/* Shared foundation, components, then responsive adjustments. */
@font-face {
  font-family: Inter;
  src: url('assets/fonts/Inter-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #0f172a;
  --text: #475569;
  --light: #f8fafc;
  --accent: #0f766e;
  --line: #dce3e9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: Inter,Arial,sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
h1,h2,h3,p,figure {
  margin: 0;
}
p {
  color: var(--text);
}
h1,h2,h3 {
  line-height: 1.16;
  letter-spacing: -.035em;
}
h1 {
  font-size: clamp(38px,3.35vw,52px);
  font-weight: 650;
}
h2 {
  font-size: clamp(30px,3vw,40px);
  font-weight: 600;
}
h3 {
  font-size: 23px;
  font-weight: 600;
}
p+p {
  margin-top: 18px;
}
.container {
  width: min(1280px,calc(100% - 96px));
  margin-inline: auto;
}
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.97);
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  width: 225px;
  flex-shrink: 0;
}
.text-link:hover {
  color: var(--accent);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--navy);
  color: #fff;
  padding: 15px 24px;
  border: 1px solid var(--navy);
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 52px;
  transition: background .2s,transform .2s;
}
.button:hover {
  background: #24334d;
  transform: translateY(-2px);
}
.button-small {
  padding: 10px 19px;
  min-height: 44px;
  gap: 24px;
}
.intro {
  font-size: 17px;
  line-height: 1.8;
  margin-top: 25px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.text-link {
  font-size: 14px;
  font-weight: 550;
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 44px;
}
.hero-visual {
  background: var(--light);
  padding: 22px;
  border-radius: 10px;
  border: 1px solid #e9eef2;
}
.screenshot-link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--light);
  cursor: zoom-in;
}
.hero-visual .screenshot-link {
  box-shadow: 0 12px 28px #0f172a08;
}
.benefits {
  background: var(--light);
  border-block: 1px solid #edf0f4;
}
.section-intro>p {
  font-size: 16px;
}
.step:first-of-type {
  margin-top: 0;
}
.step.reverse .step-copy {
  grid-column: 2;
  grid-row: 1;
}
.step.reverse figure {
  grid-column: 1;
  grid-row: 1;
}
.step-copy>p:last-child {
  font-size: 16px;
  max-width: 365px;
}
.clarity {
  border-top: 1px solid var(--line);
}
.clarity p {
  font-size: 16px;
}
.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.footer {
  padding-block: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer img {
  width: 190px;
}
.footer p {
  font-size: 12px;
  margin-top: 13px;
}
.footer .credit {
  font-size: 11px;
  margin: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  padding: 12px;
  background: white;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.image-dialog {
  border: 0;
  border-radius: 10px;
  width: min(1400px,96vw);
  max-height: 94dvh;
  padding: 20px;
  color: var(--navy);
  box-shadow: 0 24px 100px #0004;
}
.image-dialog::backdrop {
  background: #0f172acc;
}
.dialog-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.dialog-bar h2 {
  font-size: 20px;
  letter-spacing: -.02em;
}
.close-dialog {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 14px;
  font-size: 14px;
  white-space: nowrap;
  min-height: 44px;
}
.dialog-scroll {
  overflow: auto;
  max-height: 72dvh;
}
.dialog-image {
  width: 100%;
  min-width: 850px;
  max-width: none;
}
.image-dialog>p {
  font-size: 12px;
  margin-top: 12px;
}
.hero {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  gap: 56px;
  align-items: center;
  padding-block: 60px 46px;
}
.hero-visual.plan-visual {
  padding: 22px;
  background: #f8fafc;
}
.plan-visual .screenshot-link {
  box-shadow: none;
  background: white;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 23px 32px;
}
.trust-strip p {
  font-size: 13px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-strip p span {
  color: var(--accent);
}
.result-step {
  scroll-margin-top: 110px;
}
.questions>div>p:last-child {
  font-size: 16px;
  margin-top: 20px;
  max-width: 400px;
}
.answers details:first-child {
  border-top: 1px solid var(--line);
}
.answers summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 550;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  line-height: 1.5;
}
.answers summary::-webkit-details-marker {
  display: none;
}
.answers summary:after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}
.answers details[open] summary:after {
  content: '−';
}
.answers summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.answers details p {
  font-size: 14px;
  margin-top: 15px;
  max-width: 530px;
}
.hero-note {
  font-size: 12px;
  margin-top: 21px;
}
.upload-screen .screenshot-link img {
  transform: scale(1.85);
  transform-origin: center;
}
.upload-screen .screenshot-link {
  isolation: isolate;
}
.hero-band {
  background: var(--navy);
}
.hero-band .hero {
  padding-top: 72px;
  padding-bottom: 54px;
}
.hero-band h1 {
  color: #fff;
}
.hero-band .intro {
  color: #cbd5e1;
}
.hero-band .hero-note {
  color: #b8c5d5;
}
.hero-band .hero-copy .button {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.hero-band .hero-copy .button:hover {
  background: #e9f4f2;
  border-color: #e9f4f2;
}
.hero-band .text-link {
  color: #fff;
}
.hero-band .text-link:hover {
  color: #a7ded5;
}
.hero-band .hero-copy a:focus-visible {
  outline-color: #8dc9c1;
}
.hero-band .hero-visual {
  border-color: #e2e8f0;
  box-shadow: 0 20px 55px #00000018;
}
.hero-band .trust-strip {
  border-top-color: #334155;
  padding-bottom: 28px;
}
.hero-band .trust-strip p {
  color: #d5deea;
}
.hero-band .trust-strip p span {
  color: #8dc9c1;
}
.section {
  padding-block: 64px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-intro h2 {
  max-width: 480px;
  margin-top: 0;
}
.how-heading {
  max-width: 650px;
  margin-bottom: 36px;
}
.how-heading h2 {
  margin-top: 0;
}
.how-heading>p:last-child {
  margin-top: 16px;
  font-size: 16px;
  max-width: 640px;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
  margin-top: 44px;
}
.step.reverse {
  grid-template-columns: 1.15fr 1fr;
}
.step-copy h3 {
  font-size: 27px;
  margin-bottom: 16px;
}
.step-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 12px;
  font-weight: 500;
}
figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text);
  margin-top: 12px;
  line-height: 1.5;
}
.step figure {
  background: var(--light);
  padding: 12px;
  border-radius: 8px;
}
.clarity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.clarity h2 {
  margin: 0 0 20px;
  max-width: 430px;
}
.questions {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}
.questions h2 {
  margin-top: 0;
  max-width: 430px;
}
.answers details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.closing {
  background: var(--navy);
  padding-block: 48px;
  border-top: 1px solid var(--line);
}
.closing h2 {
  color: #fff;
  max-width: 650px;
  font-size: 32px;
}
.closing p {
  color: #cbd5e1;
  font-size: 16px;
  margin-top: 15px;
}
.closing .button {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.closing .button:hover {
  background: #e9f4f2;
  border-color: #e9f4f2;
}
.closing .button:focus-visible {
  outline-color: #8dc9c1;
}
.scale-details {
  margin-top: 20px;
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.scale-details summary {
  cursor: pointer;
  color: var(--navy);
  padding-block: 6px;
}
.scale-details p {
  font-size: 14px;
  margin-block: 12px;
}
.scale-details summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.plan-visual .screenshot-link img {
  width: 100%;
  max-height: 410px;
  object-fit: contain;
  aspect-ratio: 4 / 3;
}

/* Plain supporting text and the example calculation. */
.hero-visual .hero-caption {
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 14px;
}
.good-to-know h3 {
  font-size: 21px;
  margin-bottom: 14px;
}
.good-to-know p {
  font-size: 16px;
  max-width: 510px;
}
.example-calculation {
  margin-top: 26px;
  max-width: 440px;
}
.example-calculation .calculation-label {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.example-calculation .calculation-amount {
  color: var(--navy);
  font-size: clamp(38px, 3.3vw, 46px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.15;
  margin-top: 8px;
}
.example-calculation .calculation-range {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 10px;
}
.example-calculation .calculation-note {
  font-size: 13px;
  line-height: 1.65;
  margin-top: 12px;
}

@media(min-width:1500px) {
  .hero {
    gap: 68px;
  }
}

@media(max-width:1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 32px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .section-intro,.clarity-grid {
    gap: 55px;
  }
  .step {
    gap: 50px;
  }
  .hero-visual {
    padding: 14px;
  }
  .actions {
    gap: 14px;
  }
  .hero-note {
    max-width: 270px;
  }
  .brand {
    width: 200px;
  }
  .questions {
    gap: 50px;
  }
  .trust-strip p {
    font-size: 11px;
  }
}

@media(max-width:900px) {
  .hero-copy {
    max-width: 640px;
  }
  .hero h1 {
    font-size: 44px;
    max-width: 570px;
  }
  .hero-note {
    max-width: none;
  }
  .hero-visual {
    padding: 24px;
  }
  .section {
    padding-block: 64px;
  }
  .section-intro {
    gap: 36px;
  }
  .step,.step.reverse {
    gap: 36px;
    grid-template-columns: 1fr 1.25fr;
  }
  .step.reverse {
    grid-template-columns: 1.25fr 1fr;
  }
  .step-copy h3 {
    font-size: 25px;
  }
  .closing-inner {
    gap: 32px;
  }
  .closing h2 {
    font-size: 32px;
  }
  .brand {
    width: 175px;
  }
  .header .button {
    font-size: 12px;
    gap: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 48px 35px;
    gap: 40px;
  }
  .hero-visual.plan-visual {
    max-width: 720px;
  }
  .plan-visual .screenshot-link img {
    max-height: 450px;
  }
  .questions {
    gap: 35px;
  }
  .hero-band .hero {
    padding-top: 52px;
    padding-bottom: 36px;
  }
}

@media(max-width:740px) {
  .brand {
    width: 155px;
  }
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 20px;
  }
  .trust-strip p {
    font-size: 13px;
  }
  .questions {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .questions>div>p:last-child {
    max-width: none;
  }
  .hero-visual.plan-visual {
    padding: 13px;
  }
  .step {
    gap: 25px;
  }
}

@media(max-width:640px) {
  html {
    scroll-padding-top: 85px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 74px;
    flex-wrap: wrap;
    gap: 0;
  }
  .header .button-small {
    font-size: 13px;
    gap: 12px;
    padding: 9px 14px;
  }
  .hero h1 {
    font-size: 38px;
    line-height: 1.13;
  }
  .intro {
    font-size: 16px;
    line-height: 1.75;
    margin-top: 22px;
  }
  .actions {
    gap: 12px 22px;
    margin-top: 26px;
  }
  .button {
    padding: 13px 20px;
  }
  .text-link {
    font-size: 13px;
  }
  .hero-visual {
    padding: 12px;
    margin-inline: -6px;
  }
  .section {
    padding-block: 44px;
  }
  h2 {
    font-size: 30px;
  }
  .section-intro,.clarity-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step,.step.reverse {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
    align-items: stretch;
  }
  .step-copy h3 {
    font-size: 26px;
    margin-bottom: 14px;
  }
  .step-copy>p:last-child {
    max-width: none;
  }
  .step figure {
    padding: 10px;
  }
  .closing {
    padding-block: 38px;
  }
  .closing-inner {
    display: block;
  }
  .closing h2 {
    font-size: 31px;
  }
  .closing .button {
    margin-top: 28px;
  }
  .footer {
    padding-block: 32px;
    display: block;
  }
  .footer .credit {
    margin-top: 24px;
  }
  .dialog-bar h2 {
    font-size: 16px;
  }
  .image-dialog {
    padding: 14px;
  }
  .dialog-scroll {
    max-height: 65dvh;
  }
  .brand {
    width: min(190px, 48%);
  }
  .hero {
    padding-block: 42px 50px;
    gap: 34px;
    padding-top: 38px;
  }
  .hero-note {
    font-size: 11px;
  }
  .plan-visual .screenshot-link img {
    max-height: none;
  }
  /* Show the cost panel at readable size; the link opens the complete screenshot. */
  .result-step figure .screenshot-link {
    position: relative;
    aspect-ratio: 680 / 1100;
  }
  .result-step figure img {
    width: calc(100% * 2880 / 680);
    max-width: none;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-25.833333%);
  }
  .example-calculation .calculation-amount,
  .example-calculation .calculation-range {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .questions h2 {
    font-size: 29px;
  }
  .hero-band .hero {
    padding-top: 40px;
    padding-bottom: 30px;
  }
  .hero-band .trust-strip {
    padding-block: 22px 26px;
  }
  .how-heading {
    margin-bottom: 28px;
  }
  .questions {
    gap: 24px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    transition: none!important;
    animation: none!important;
  }
  .button:hover {
    transform: none;
  }
}

/* Original demo video, below the three steps. */
.demo-section { padding-bottom: 64px; }
.demo-section h2 { margin-bottom: 24px; }
.demo-player { position: relative; background: var(--navy); border-radius: 8px; overflow: hidden; }
.demo-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; max-height: 80vh; object-fit: contain; }
.demo-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 14px 24px; border: 0; border-radius: 7px; background: #fff; color: var(--navy); font-size: 16px; font-weight: 600; white-space: nowrap; }
.demo-play[hidden] { display: none; }
@media(max-width:640px) { .demo-section { padding-bottom: 44px; } .demo-section h2 { font-size: 26px; } }

