:root {
  --purple-950: #321043;
  --purple-900: #48115f;
  --purple-800: #641b83;
  --purple-700: #782798;
  --purple-100: #f1e8f6;
  --purple-50: #faf6fc;
  --green-700: #347e18;
  --green-100: #eaf6e5;
  --blue-800: #173f75;
  --blue-100: #e9f4fd;
  --yellow-500: #f7b900;
  --yellow-100: #fff7d6;
  --ink: #26182d;
  --muted: #6e6473;
  --line: #e8deeb;
  --surface: #ffffff;
  --background: #fdfbfe;
  --shadow-sm: 0 8px 26px rgba(67, 25, 82, 0.08);
  --shadow-md: 0 20px 55px rgba(67, 25, 82, 0.13);
  --shadow-lg: 0 30px 90px rgba(67, 25, 82, 0.18);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --container: 1180px;
  --header-height: 84px;
  --font: "Tajawal", Tahoma, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--background);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  line-height: 1.3;
}

p {
  color: var(--muted);
}

::selection {
  color: #fff;
  background: var(--purple-700);
}

:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 110px;
}

.skip-link {
  position: fixed;
  inset: 14px auto auto 50%;
  z-index: 2000;
  padding: 10px 18px;
  color: #fff;
  background: var(--purple-900);
  border-radius: 999px;
  transform: translate(-50%, -160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(253, 251, 254, 0.9);
  border-block-end: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(53, 18, 66, 0.07);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: grid;
  width: 118px;
  height: 62px;
  place-items: center;
  overflow: hidden;
}

.brand img,
.footer-brand img {
  width: 122px;
  margin-block: -30px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 16px;
  font-weight: 700;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 10px;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  inset: auto 0 3px;
  height: 2px;
  content: "";
  background: var(--purple-700);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:hover::after,
.primary-nav > a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 22px;
  color: #fff;
  background: var(--purple-800);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(100, 27, 131, 0.2);
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  background: var(--purple-900);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: var(--purple-900);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  padding-block: 70px 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(243, 219, 253, 0.72), transparent 31%),
    radial-gradient(circle at 15% 78%, rgba(220, 242, 255, 0.78), transparent 28%),
    linear-gradient(145deg, #fdfbfe 0%, #f9f4fc 47%, #f2f9ff 100%);
}

.hero::after {
  position: absolute;
  inset: auto -10% -150px;
  height: 260px;
  content: "";
  background: #fff;
  border-radius: 50% 50% 0 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: 40px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 15px;
  color: var(--purple-700);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.eyebrow span {
  width: 28px;
  height: 4px;
  background: var(--yellow-500);
  border-radius: 999px;
}

.hero h1 {
  max-width: 690px;
  margin-block-end: 25px;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.hero h1 strong {
  position: relative;
  display: inline-block;
  color: var(--purple-700);
  font-weight: 900;
}

.hero h1 strong::after {
  position: absolute;
  inset: auto 4% 2px;
  z-index: -1;
  height: 12px;
  content: "";
  background: rgba(247, 185, 0, 0.34);
  border-radius: 999px;
  transform: rotate(-1deg);
}

.hero-lead {
  max-width: 665px;
  margin-block-end: 34px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block-end: 30px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 0;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  box-shadow: 0 13px 28px rgba(100, 27, 131, 0.26);
}

.button-primary:hover {
  box-shadow: 0 18px 34px rgba(100, 27, 131, 0.33);
}

.button-secondary {
  color: var(--purple-800);
  background: #fff;
  border: 1px solid #dfcfe6;
  box-shadow: var(--shadow-sm);
}

.button-yellow {
  color: var(--purple-950);
  background: var(--yellow-500);
  box-shadow: 0 12px 25px rgba(247, 185, 0, 0.24);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #514657;
  font-size: 15px;
  font-weight: 700;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.check {
  display: grid;
  width: 23px;
  height: 23px;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 50%;
  place-items: center;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 650px;
  align-items: end;
  justify-items: center;
}

.hero-glow {
  position: absolute;
  inset: 80px 5% 0;
  background: radial-gradient(circle, rgba(224, 243, 255, 0.94), rgba(240, 226, 247, 0.68) 58%, transparent 72%);
  border-radius: 50%;
  filter: blur(4px);
}

.hero-child {
  position: relative;
  z-index: 2;
  width: min(100%, 610px);
  filter: drop-shadow(0 28px 35px rgba(49, 20, 63, 0.16));
}

.hero-orbit {
  position: absolute;
  z-index: 3;
  padding: 9px 18px;
  color: var(--purple-900);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(107, 31, 138, 0.12);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 18px;
  font-weight: 900;
  direction: ltr;
  backdrop-filter: blur(8px);
}

.orbit-one {
  inset: 20% auto auto 3%;
  transform: rotate(-7deg);
}

.orbit-two {
  inset: 47% 1% auto auto;
  color: var(--green-700);
  transform: rotate(6deg);
}

.hero-decoration {
  position: absolute;
  color: rgba(116, 47, 145, 0.12);
  font-size: 78px;
  font-weight: 900;
  transform: rotate(-12deg);
}

.hero-decoration-one {
  inset: 9% 4% auto auto;
}

.hero-decoration-two {
  inset: auto auto 20% 5%;
  transform: rotate(15deg);
}

.hero-decoration-three {
  inset: 36% auto auto 3%;
  font-size: 52px;
  transform: rotate(10deg);
}

.principles {
  position: relative;
  z-index: 5;
  background: #fff;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-block: 35px;
}

.principle-grid article {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.principle-grid article:not(:last-child) {
  position: relative;
}

.principle-icon {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 18px;
  place-items: center;
}

.principle-icon svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.principle-icon.purple {
  color: var(--purple-700);
  background: var(--purple-100);
}

.principle-icon.green {
  color: var(--green-700);
  background: var(--green-100);
}

.principle-icon.blue {
  color: var(--blue-800);
  background: var(--blue-100);
}

.principle-grid h2 {
  margin-block-end: 1px;
  font-size: 19px;
}

.principle-grid p {
  margin: 0;
  font-size: 14px;
}

.split-grid,
.preview-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
}

.book-stage {
  position: relative;
  display: grid;
  min-height: 640px;
  place-items: center;
}

.book-stage::before {
  position: absolute;
  inset: 8% 6%;
  content: "";
  background: linear-gradient(145deg, #efe1f5, #e2f3fd);
  border-radius: 48% 52% 51% 49% / 47% 43% 57% 53%;
  transform: rotate(5deg);
}

.book-card {
  position: relative;
  z-index: 2;
  width: min(72%, 360px);
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
}

.book-card img {
  border-radius: 5px;
}

.book-note {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 118px;
  padding: 15px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.book-note strong {
  color: var(--purple-700);
  font-size: 25px;
  line-height: 1.1;
}

.book-note span {
  color: var(--muted);
  font-size: 13px;
}

.note-one {
  inset: 18% 1% auto auto;
}

.note-two {
  inset: auto auto 17% 0;
}

.section-copy h2,
.section-heading h2,
.preview-copy h2,
.faq-intro h2,
.contact-copy h2 {
  margin-block-end: 20px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.section-copy > p,
.preview-copy > p,
.faq-intro > p {
  margin-block-end: 30px;
  font-size: 19px;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 17px;
  align-items: start;
}

.feature-number {
  display: grid;
  height: 50px;
  color: var(--purple-700);
  background: var(--purple-100);
  border-radius: 15px;
  font-size: 15px;
  font-weight: 900;
  direction: ltr;
  place-items: center;
}

.feature-list h3 {
  margin-block-end: 3px;
  font-size: 20px;
}

.feature-list p {
  margin: 0;
  font-size: 15px;
}

.method {
  background: linear-gradient(180deg, #faf6fc, #f5faff);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
}

.steps-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card,
.content-card {
  position: relative;
  padding: 30px 25px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.step-card:hover,
.content-card:hover {
  border-color: #d7c2df;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.step-index {
  position: absolute;
  inset: 10px auto auto 17px;
  color: rgba(100, 27, 131, 0.08);
  font-size: 70px;
  font-weight: 900;
  line-height: 1;
}

.step-icon {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  margin-block-end: 23px;
  color: var(--purple-700);
  background: var(--purple-100);
  border-radius: 20px;
  place-items: center;
}

.step-icon svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.step-card h3,
.content-card h3 {
  margin-block-end: 10px;
  font-size: 21px;
}

.step-card p,
.content-card p {
  margin: 0;
  font-size: 15px;
}

.inside {
  background: #fff;
}

.preview-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 55px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.check-list span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 50%;
  place-items: center;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--purple-700);
  font-weight: 800;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(-5px);
}

.map-preview {
  position: relative;
  margin: 0;
  padding: 15px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}

.map-preview img {
  border-radius: 15px;
  transition: transform 350ms ease;
}

.map-preview:hover img {
  transform: scale(1.025);
}

.zoom-label {
  position: absolute;
  inset: auto 28px 27px auto;
  padding: 7px 13px;
  color: #fff;
  background: rgba(50, 16, 67, 0.83);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.contents {
  background: var(--purple-50);
}

.content-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-block-end: 24px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 900;
  place-items: center;
}

.content-icon.yellow {
  color: #856300;
  background: var(--yellow-100);
}

.content-icon.purple {
  color: var(--purple-700);
  background: var(--purple-100);
  font-size: 15px;
  direction: ltr;
}

.content-icon.green {
  color: var(--green-700);
  background: var(--green-100);
}

.content-icon.blue {
  color: var(--blue-800);
  background: var(--blue-100);
}

.audience {
  padding-block: 85px;
  background: #fff;
}

.audience-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 60px;
  align-items: center;
  padding: clamp(38px, 6vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 5% 0%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(135deg, var(--purple-800), var(--purple-950));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.section-kicker.light {
  color: #e7cbee;
}

.audience-panel h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 900;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-tags span {
  padding: 10px 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.faq {
  background: linear-gradient(180deg, #fdfbfe, #f6f2f9);
}

.faq-grid {
  align-items: start;
}

.faq-intro {
  position: sticky;
  inset-block-start: calc(var(--header-height) + 35px);
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.accordion details[open] {
  border-color: #d8c4e0;
  box-shadow: var(--shadow-sm);
}

.accordion summary {
  position: relative;
  padding: 22px 25px 22px 65px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  position: absolute;
  inset: 50% auto auto 22px;
  display: grid;
  width: 30px;
  height: 30px;
  content: "+";
  color: var(--purple-700);
  background: var(--purple-100);
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease;
  place-items: center;
}

.accordion details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.accordion details p {
  margin: -3px 25px 23px;
  padding-inline-start: 0;
  font-size: 15px;
}

.contact {
  padding-block: 90px;
  background: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(45px, 8vw, 100px);
  align-items: center;
  padding: clamp(38px, 6vw, 75px);
  color: #fff;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.15), transparent 25%),
    linear-gradient(145deg, var(--purple-800), var(--purple-950));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-copy h2 {
  color: #fff;
}

.contact-copy > p {
  color: #e9ddec;
  font-size: 18px;
}

.contact-assurance {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-block-start: 25px;
  color: #dac8df;
  font-size: 14px;
}

.contact-assurance span {
  display: grid;
  width: 25px;
  height: 25px;
  color: var(--purple-900);
  background: var(--yellow-500);
  border-radius: 50%;
  font-weight: 900;
  place-items: center;
}

.contact-form {
  padding: 32px;
  color: var(--ink);
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 22px 60px rgba(23, 8, 30, 0.23);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 7px;
  margin-block-end: 14px;
}

.form-row label {
  font-size: 14px;
  font-weight: 800;
}

.form-row label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  color: var(--ink);
  background: #fcfafd;
  border: 1px solid #ded4e2;
  border-radius: 12px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-row input,
.form-row select {
  height: 50px;
  padding-inline: 14px;
}

.form-row textarea {
  min-height: 105px;
  padding: 12px 14px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  background: #fff;
  border-color: var(--purple-700);
  box-shadow: 0 0 0 4px rgba(120, 39, 152, 0.1);
}

.honey-field {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-block: 5px 18px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-block-start: 2px;
  accent-color: var(--purple-700);
}

.consent a {
  color: var(--purple-700);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
}

.form-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.submit-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(50, 16, 67, 0.25);
  border-block-start-color: var(--purple-950);
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

.form-submit.loading .submit-label {
  display: none;
}

.form-submit.loading .submit-loader {
  display: block;
}

.form-status {
  min-height: 25px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.form-status.success {
  color: var(--green-700);
}

.form-status.error {
  color: #b42318;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.site-footer {
  padding-block: 55px 35px;
  background: #f7f1f9;
  border-block-start: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 35px;
  align-items: center;
}

.footer-brand img {
  width: 110px;
}

.footer-brand p {
  margin: 11px 0 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--purple-700);
}

.footer-meta {
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.footer-meta p {
  margin-block-end: 3px;
}

.footer-meta a {
  color: var(--purple-700);
}

.legal-main {
  min-height: calc(100vh - var(--header-height));
  padding-block: 75px 110px;
  background: linear-gradient(180deg, #faf6fc, #fff);
}

.legal-card {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(28px, 6vw, 65px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.legal-card h1 {
  margin-block-end: 12px;
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 900;
}

.legal-card .updated {
  margin-block-end: 35px;
  color: var(--purple-700);
  font-size: 14px;
  font-weight: 700;
}

.legal-card h2 {
  margin-block: 35px 12px;
  color: var(--purple-900);
  font-size: 24px;
}

.legal-card p,
.legal-card li {
  font-size: 16px;
}

.legal-card a {
  color: var(--purple-700);
  font-weight: 700;
  text-decoration: underline;
}

.simple-page {
  display: grid;
  min-height: 100vh;
  padding: 30px;
  text-align: center;
  background: radial-gradient(circle at 50% 35%, #f1e5f6, #fdfbfe 55%);
  place-items: center;
}

.simple-card {
  width: min(600px, 100%);
  padding: 48px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.simple-card img {
  width: 150px;
  margin: -35px auto;
}

.simple-card strong {
  display: block;
  color: var(--purple-700);
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
}

.simple-card h1 {
  margin-block: 16px 10px;
  font-size: 34px;
}

.simple-card p {
  margin-block-end: 25px;
}

.lightbox {
  width: min(95vw, 1250px);
  max-height: 92vh;
  padding: 18px;
  overflow: auto;
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.lightbox::backdrop {
  background: rgba(28, 8, 36, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox img {
  width: 100%;
  border-radius: 10px;
}

.lightbox-close {
  position: sticky;
  inset: 0 auto auto 0;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 0 -42px;
  color: #fff;
  background: var(--purple-900);
  border: 0;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 20px auto;
    display: grid;
    gap: 4px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 11px 14px !important;
    border-radius: 10px;
  }

  .primary-nav a:hover {
    background: var(--purple-50);
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .steps-grid,
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audience-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .section {
    padding-block: 80px;
  }

  .hero {
    padding-block-start: 55px;
  }

  .hero-grid,
  .split-grid,
  .preview-grid,
  .faq-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-lead {
    margin-inline: auto;
  }

  .eyebrow,
  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
    margin-block-start: 10px;
  }

  .hero-child {
    width: min(95%, 570px);
  }

  .orbit-one {
    inset-block-start: 17%;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .book-stage {
    min-height: 580px;
  }

  .about .section-copy {
    order: -1;
  }

  .faq-intro {
    position: static;
  }

  .contact-panel {
    padding: 36px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .footer-meta {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
    justify-items: start;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-orbit {
    display: none;
  }

  .section-copy h2,
  .section-heading h2,
  .preview-copy h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: 34px;
  }

  .book-stage {
    min-height: 500px;
  }

  .book-card {
    width: min(76%, 330px);
  }

  .book-note {
    min-width: 103px;
    padding: 12px;
  }

  .note-one {
    inset-inline-end: -5px;
  }

  .note-two {
    inset-inline-start: -5px;
  }

  .steps-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .content-card {
    padding: 26px 22px;
  }

  .audience-panel {
    padding: 34px 24px;
    border-radius: 28px;
  }

  .audience-panel h2 {
    font-size: 32px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact {
    padding-inline: 0;
  }

  .contact-panel {
    width: 100%;
    border-radius: 0;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .footer-links {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
