:root {
  --navy: #071a35;
  --navy-2: #0c274b;
  --ink: #101928;
  --yellow: #ffd84d;
  --yellow-deep: #efbd16;
  --paper: #f6f7f9;
  --white: #ffffff;
  --muted: #5c6879;
  --line: #dfe4eb;
  --shadow: 0 24px 70px rgba(5, 22, 48, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.topbar { height: 78px; max-width: 1240px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: rgba(255,255,255,.96); }
.brand { display: inline-flex; align-items: center; min-width: max-content; }
.brand-logo { display: block; width: 205px; height: auto; max-height: 61px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 28px; color: #475467; font-weight: 600; font-size: 14px; }
nav a:hover, .text-link:hover { color: var(--navy); }

.button { display: inline-flex; min-height: 54px; padding: 0 24px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: var(--navy); color: var(--white); font-weight: 800; cursor: pointer; box-shadow: 0 9px 22px rgba(7,26,53,.15); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--navy-2); box-shadow: 0 13px 28px rgba(7,26,53,.22); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 14px; }

.hero { overflow: hidden; position: relative; min-height: 680px; background: linear-gradient(115deg, #eef2f7 0%, #f8f9fb 56%, #eef2f6 100%); border-top: 1px solid #edf0f3; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(7,26,53,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(7,26,53,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, black, transparent 70%); }
.hero-grid { position: relative; max-width: 1240px; min-height: 680px; margin: auto; padding: 72px 28px 76px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 52px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: #9c7200; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before, .section-kicker::before { content: ""; width: 26px; height: 3px; background: var(--yellow-deep); border-radius: 9px; }
h1, h2, h3 { margin-top: 0; font-family: Manrope, sans-serif; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 690px; margin: 22px 0 22px; color: var(--navy); font-size: clamp(2.7rem, 5vw, 4.7rem); font-weight: 800; }
h1 em { position: relative; z-index: 0; font-style: normal; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; z-index: -1; left: -2px; right: -5px; bottom: .08em; height: .23em; background: var(--yellow); transform: rotate(-1deg); }
.hero-lead { max-width: 610px; margin: 0; color: #445165; font-size: 20px; line-height: 1.55; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { color: #43516a; font-weight: 700; }
.text-link span { color: #b38400; margin-left: 5px; }
.quick-benefits { margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; color: #46546a; font-size: 14px; font-weight: 600; }
.quick-benefits span { margin-right: 5px; color: #8a6500; font-weight: 900; }

.hero-visual { position: relative; min-height: 500px; }
.hero-visual::before { content: ""; position: absolute; width: 84%; height: 93%; top: 0; right: -26px; background: var(--yellow); border-radius: 38px 38px 110px 38px; transform: rotate(3deg); }
.hero-visual img { position: absolute; width: 92%; height: 90%; top: 24px; right: 6px; object-fit: cover; border-radius: 28px 28px 90px 28px; box-shadow: var(--shadow); filter: saturate(.92) contrast(1.03); }
.question-card { position: absolute; left: -36px; bottom: 8px; width: 230px; padding: 20px; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.7); border-radius: 15px; box-shadow: var(--shadow); backdrop-filter: blur(10px); transform: rotate(-2deg); }
.question-number { color: #7a8798; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.fake-line { height: 7px; width: 76%; margin: 8px 0 13px; background: #d9dee6; border-radius: 9px; }
.fake-line.long { width: 100%; margin-top: 13px; margin-bottom: 0; }
.answer-row { height: 28px; margin-top: 7px; padding: 0 8px; display: flex; align-items: center; gap: 8px; border: 1px solid #e2e6ec; border-radius: 6px; }
.answer-row b { font-size: 10px; }
.answer-row i { width: 72%; height: 5px; background: #e3e7ed; border-radius: 4px; }
.answer-row span { margin-left: auto; font-size: 11px; font-weight: 900; }
.answer-row.selected { border-color: #e3b715; background: #fff9db; color: #806000; }
.answer-row.selected i { background: #e5cc69; }
.highlight-note { position: absolute; top: 38px; left: -16px; padding: 12px 15px; background: var(--navy); color: #fff; border-radius: 8px 8px 8px 2px; font-size: 13px; line-height: 1.25; transform: rotate(-3deg); box-shadow: 0 10px 26px rgba(5,22,48,.25); }

.exam-strip { min-height: 112px; padding: 24px 28px; background: var(--navy); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 17px; }
.exam-strip > span { color: #93a4bb; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.exam-strip div { width: min(900px, 100%); display: flex; justify-content: space-between; gap: 24px; }
.exam-strip b { color: #dce5f1; font: 700 16px/1 Manrope, sans-serif; letter-spacing: .04em; }

.section { padding: 108px max(28px, calc((100vw - 1184px)/2)); }
.section-kicker { margin-bottom: 22px; }
.section-kicker.light { color: #f5d56a; }
.diagnosis { background: white; }
.diagnosis-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: start; }
.diagnosis h2, .curriculum h2, .comparison h2, .faq h2 { margin-bottom: 0; color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.5rem); }
.diagnosis-copy { color: var(--muted); font-size: 18px; }
.diagnosis-copy p:first-child { margin-top: 5px; }
.diagnosis-copy strong { color: var(--ink); }
.problem-cards { margin-top: 62px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.problem-cards article { min-height: 236px; padding: 32px; border-right: 1px solid var(--line); }
.problem-cards article:last-child { border-right: 0; }
.problem-cards article > span { display: grid; width: 36px; height: 36px; place-items: center; background: #fff6c9; color: #795b00; border-radius: 50%; font-size: 12px; font-weight: 800; }
.problem-cards h3 { margin: 25px 0 10px; font-size: 20px; }
.problem-cards p { margin: 0; color: var(--muted); }

.method { background: var(--navy); color: white; }
.method-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.method-head h2 { margin: 0; max-width: 650px; font-size: clamp(2.4rem, 4vw, 3.8rem); }
.method-head > p { margin: 0 0 8px; color: #b5c2d3; font-size: 18px; }
.method-steps { margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid #2b4362; }
.method-steps li { position: relative; padding: 35px 25px 4px 0; }
.method-steps li::before { content: ""; position: absolute; width: 9px; height: 9px; top: -5px; left: 0; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 7px rgba(255,216,77,.12); }
.method-steps li > span { color: #72849b; font: 800 12px/1 Manrope, sans-serif; }
.method-steps h3 { margin: 12px 0 8px; color: var(--yellow); font-size: 24px; }
.method-steps p { margin: 0; color: #b5c2d3; font-size: 15px; }

.curriculum { background: var(--paper); }
.curriculum-intro { max-width: 800px; }
.curriculum-intro > p { max-width: 640px; color: var(--muted); font-size: 18px; }
.content-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.content-card { min-height: 270px; padding: 34px; background: white; border: 1px solid #e1e5eb; border-radius: 14px; }
.content-card.featured { border-top: 5px solid var(--yellow); }
.content-card.dark-card { background: var(--navy); color: white; border-color: var(--navy); }
.content-card .icon { width: 44px; height: 44px; display: grid; place-items: center; float: right; background: #fff4bd; color: #745700; border-radius: 11px; font-weight: 900; }
.dark-card .icon { background: rgba(255,216,77,.12); color: var(--yellow); }
.content-card > span { color: #8d6a00; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dark-card > span { color: var(--yellow); }
.content-card h3 { margin: 54px 0 12px; font-size: 25px; }
.content-card p { max-width: 470px; margin: 0; color: var(--muted); }
.dark-card p { color: #b6c3d4; }

.study-gallery { overflow: hidden; background: var(--navy); color: white; }
.gallery-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.gallery-head h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.7rem); }
.gallery-head > p { max-width: 540px; margin: 0 0 8px; color: #b5c2d3; font-size: 18px; }
.gallery-grid { margin-top: 52px; display: grid; grid-template-columns: 1.45fr .55fr; gap: 18px; }
.gallery-card { position: relative; overflow: hidden; min-height: 510px; margin: 0; border-radius: 18px; background: #132c4e; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-wide img { object-position: center; }
.gallery-portrait img { object-position: center top; }
.gallery-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(to bottom, transparent, rgba(4,16,34,.93)); }
.gallery-card figcaption { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; }
.gallery-card figcaption span, .gallery-card figcaption strong { display: block; }
.gallery-card figcaption span { margin-bottom: 8px; color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gallery-card figcaption strong { max-width: 560px; color: white; font: 800 23px/1.3 Manrope, sans-serif; }

.comparison { background: white; }
.comparison-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: center; }
.comparison h2 { font-size: clamp(2.1rem, 3.4vw, 3.15rem); }
.compare-table { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(5,22,48,.08); }
.compare-row { min-height: 64px; padding: 13px 23px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-bottom: 1px solid var(--line); gap: 18px; }
.compare-row:last-child { border: 0; }
.compare-row span { color: #788495; }
.compare-row strong { color: var(--navy); }
.compare-row.head { background: var(--navy); color: white; font-weight: 800; }
.compare-row.head span { color: white; }
.compare-row.head span:last-child { color: var(--yellow); }

.audience { background: #0b2343; color: white; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.audience h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.audience ul { margin: 0; padding: 0; list-style: none; }
.audience li { padding: 15px 0; color: #d3ddea; border-bottom: 1px solid #2b4362; font-size: 18px; }
.audience li span { margin-right: 12px; color: var(--yellow); font-weight: 900; }

.decision { background: var(--paper); }
.decision-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 76px; align-items: center; }
.decision-copy h2 { margin-bottom: 22px; color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.45rem); }
.decision-copy p { max-width: 650px; margin: 0; color: var(--muted); font-size: 18px; }
.decision-panel { padding: 38px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 60px rgba(5,22,48,.09); }
.decision-panel > span { color: #8a6500; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.decision-panel p { margin: 22px 0; color: #788495; font: 700 19px/1.35 Manrope, sans-serif; text-decoration: line-through; text-decoration-color: #d7a7a7; }
.decision-panel > strong { display: block; margin: 22px 0 28px; color: var(--navy); font: 800 24px/1.3 Manrope, sans-serif; }
.decision-panel .button { width: 100%; }
.or { display: flex; align-items: center; gap: 12px; color: #8a6500; font-size: 11px; }
.or i { height: 1px; flex: 1; background: var(--line); }

.trust { padding-top: 0; background: var(--paper); }
.trust-box { padding: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; background: #fffdf2; border: 1px solid #eadb9f; border-radius: 16px; }
.trust-label { color: #8a6500; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.trust h2 { margin: 15px 0 0; color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.65rem); }
.trust p { margin-top: 0; color: var(--muted); }
.trust ul { margin: 18px 0 0; padding: 0; list-style: none; }
.trust li { padding: 7px 0; color: #3f4d61; font-weight: 600; }
.trust li span { margin-right: 9px; color: #8a6500; font-weight: 900; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; background: white; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 40px 22px 0; list-style: none; color: var(--navy); font: 700 18px/1.35 Manrope, sans-serif; cursor: pointer; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 27px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -6px 0 22px; padding-right: 48px; color: var(--muted); }

.offer { padding-top: 20px; background: white; }
.offer-card { position: relative; overflow: hidden; min-height: 390px; padding: 62px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: center; background: var(--navy); color: white; border-radius: 24px; }
.offer-card::after { content: "M"; position: absolute; right: -20px; bottom: -145px; color: rgba(255,255,255,.035); font: 800 390px/1 Manrope, sans-serif; }
.eyebrow.yellow { color: var(--yellow); }
.offer-copy { position: relative; z-index: 1; }
.offer-copy h2 { margin: 18px 0; font-size: clamp(2.2rem, 3.5vw, 3.4rem); }
.offer-copy p { max-width: 620px; margin: 0; color: #b9c5d5; font-size: 18px; }
.offer-action { position: relative; z-index: 1; padding: 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.availability { display: block; margin-bottom: 16px; color: #d6deea; font-weight: 600; text-align: center; }
.price { margin: 0 0 18px; text-align: center; }
.price small { display: block; margin: 0 0 2px; color: #99a9bd; }
.price strong { display: block; color: white; font: 800 clamp(3rem, 5vw, 4.4rem)/1 Manrope, sans-serif; letter-spacing: -.06em; }
.price sup { font-size: 20px; letter-spacing: 0; vertical-align: 1.1em; }
.payment-list { margin: 0 0 22px; padding: 0; display: flex; justify-content: center; gap: 22px; list-style: none; color: #dce5f1; font-size: 14px; font-weight: 700; }
.payment-list span { color: var(--yellow); }
.button-yellow { width: 100%; background: var(--yellow); color: var(--navy); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.button-yellow:hover { background: #ffe171; }
.offer-action small { display: block; margin-top: 14px; color: #99a9bd; text-align: center; line-height: 1.45; }

footer { max-width: 1240px; min-height: 170px; margin: auto; padding: 45px 28px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 34px; color: #687587; }
.brand-footer { color: var(--ink); }
.brand-footer .brand-logo { width: 230px; }
footer p { text-align: center; }

dialog { width: min(480px, calc(100vw - 32px)); padding: 38px; border: 0; border-radius: 18px; box-shadow: 0 30px 100px rgba(7,26,53,.32); }
dialog::backdrop { background: rgba(4,15,31,.68); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; color: #778497; font-size: 28px; cursor: pointer; }
.dialog-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; background: #fff4bd; color: #705300; border-radius: 50%; font-weight: 900; }
dialog h2 { margin-bottom: 12px; color: var(--navy); font-size: 28px; }
dialog p { margin: 0 0 26px; color: var(--muted); }
.mobile-buybar { display: none; }

@media (max-width: 960px) {
  nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-visual { min-height: 530px; max-width: 650px; width: 100%; margin: 0 auto; }
  .diagnosis-grid, .method-head, .gallery-head, .comparison-grid, .audience-grid, .decision-grid, .trust-box, .faq, .offer-card { grid-template-columns: 1fr; gap: 38px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .method-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .problem-cards { grid-template-columns: 1fr; }
  .problem-cards article { border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-cards article:last-child { border-bottom: 0; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-self: center; }
  footer p { margin: 0; }
}

@media (max-width: 640px) {
  .topbar { height: 70px; padding: 0 18px; }
  .brand-logo { width: 165px; }
  .topbar .button { display: none; }
  .section { padding: 76px 20px; }
  .hero-grid { min-height: 0; padding: 48px 20px 54px; gap: 36px; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.25rem); }
  h1 em { white-space: normal; }
  .hero-lead { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .text-link { width: 100%; text-align: center; }
  .quick-benefits { display: grid; }
  .hero-visual { min-height: 390px; }
  .hero-visual img { width: 96%; height: 88%; }
  .question-card { left: -5px; bottom: 0; width: 195px; padding: 15px; }
  .highlight-note { left: 2px; top: 35px; }
  .exam-strip { align-items: flex-start; overflow: hidden; }
  .exam-strip div { justify-content: flex-start; gap: 28px; overflow: hidden; }
  .exam-strip b:nth-child(n+4) { display: none; }
  .problem-cards article { min-height: auto; padding: 28px; }
  .method-steps { grid-template-columns: 1fr; border-top: 0; }
  .method-steps li { padding-left: 30px; border-left: 1px solid #2b4362; }
  .method-steps li::before { top: 40px; left: -5px; }
  .content-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card { min-height: 420px; }
  .gallery-portrait { min-height: 500px; }
  .compare-row { padding: 13px 15px; font-size: 14px; }
  .audience li { font-size: 16px; }
  .offer { padding-top: 0; }
  .offer-card { margin: 0; padding: 38px 24px; border-radius: 18px; }
  .faq-list p { padding-right: 15px; }
  footer { padding: 42px 20px; }
  body { padding-bottom: 78px; }
  .mobile-buybar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; min-height: 70px; padding: 9px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: rgba(7,26,53,.97); border-top: 1px solid rgba(255,255,255,.13); box-shadow: 0 -12px 35px rgba(4,15,31,.2); backdrop-filter: blur(12px); }
  .mobile-buybar div { color: white; }
  .mobile-buybar small, .mobile-buybar strong { display: block; line-height: 1.15; }
  .mobile-buybar small { color: #9dabc0; font-size: 11px; }
  .mobile-buybar strong { margin-top: 3px; font: 800 20px/1 Manrope, sans-serif; }
  .mobile-buybar .button { min-height: 48px; padding: 0 18px; }
  .trust-box { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
