@font-face { font-family: "Chillax"; src: url("fonts/chillax-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chillax"; src: url("fonts/chillax-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chillax"; src: url("fonts/chillax-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #cbe4f2;
  --ink: #0a0a0a;
  --paper: #f2f2f2;
  --accent: #b0298f;
  --accent-dark: #8a1f70;
  --accent-ink: #ffffff;
  --sky: #cbe4f2;
  --sand: #f1e3b5;
  --yellow: #ffc013;
  --yellow-dark: #e0a400;
  --white: #f3f3f0;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 0.5rem + 6.6vw, 7.5rem);

  --m: clamp(16px, 2.2vw, 32px);
  --radius: 0;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: "Chillax", system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin: 0; hyphens: auto; overflow-wrap: break-word; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.field-ink :focus-visible, .cta-tile :focus-visible { outline-color: var(--paper); }
::selection { background: var(--yellow); color: var(--ink); }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 30; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip:focus { top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 var(--step-body)/1 "Chillax", sans-serif; letter-spacing: -0.01em;
  text-decoration: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--accent-dark); } }
.btn-dark { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .btn-dark:hover { background: #2a2a2a; } }
.btn-light { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-light:hover { background: #fff; } }
.link { font-weight: 500; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: stretch; min-height: 60px;
  background: var(--sky);
}
.mark {
  display: flex; align-items: center; padding: 0 var(--m);
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.02em; text-decoration: none;
}
.tab { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); padding: 0 var(--m); background: var(--yellow); width: 42%; }
.tab a { text-decoration: none; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .tab a:hover { text-decoration: underline; } }
.btn-top { margin: 4px var(--m) 4px auto; min-height: 52px; }

/* Hero */
.hero { background: var(--white); padding-bottom: clamp(48px, 7vw, 112px); }
.mosaic {
  display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr);
  height: 40svh; min-height: 300px;
}
.cell { overflow: hidden; }
.c-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 600ms ease, transform 1200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .c-photo:hover img { filter: grayscale(0); transform: scale(1.03); } }
.c-wide { grid-column: span 2; }
.c-tall { grid-row: span 2; display: grid; place-items: center; }
.c-sand { background: var(--sand); }
.c-yellow { background: var(--yellow); }
.c-sky { background: var(--sky); }
.mosaic > :nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
.mosaic > :nth-child(2) { grid-area: 1 / 3 / 3 / 4; }
.mosaic > :nth-child(3) { grid-area: 1 / 4 / 2 / 5; }
.mosaic > :nth-child(4) { grid-area: 1 / 5 / 2 / 7; }
.mosaic > :nth-child(5) { grid-area: 2 / 1 / 3 / 3; }
.mosaic > :nth-child(6) { grid-area: 2 / 4 / 3 / 5; }
.mosaic > :nth-child(7) { grid-area: 2 / 5 / 3 / 7; }

.tin { width: 72%; max-width: 220px; }
.tin-body { fill: var(--accent); }
.tin-band { fill: var(--yellow); }
.tin-lid { fill: var(--ink); transform-origin: 176px 94px; animation: lid 4.8s var(--ease) 1.4s infinite; }
@keyframes lid { 0%, 70%, 100% { transform: translateY(0) rotate(0deg); } 80%, 90% { transform: translateY(-6px) rotate(8deg); } }

.hero-text {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: clamp(28px, 3vw, 48px) var(--m) 0; align-items: end;
}
.hero h1 { grid-column: 1 / 9; font-size: var(--step-display); line-height: 0.95; }
.hero-side { grid-column: 9 / 13; display: grid; gap: 20px; padding-bottom: 8px; }
.lead { font-size: var(--step-lead); line-height: 1.3; }
.price-line { font-size: var(--step-body); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

.mask .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.mask .line > span { display: block; }
.js .mask .line > span { transform: translateY(105%); }
.js.ready .mask .line > span { transform: none; transition: transform 900ms var(--ease); }
.js.ready .mask .line:nth-child(2) > span { transition-delay: 110ms; }

/* Fields */
.field-ink { background: var(--ink); color: var(--paper); }
.field-sky { background: var(--sky); }
.field-sand { background: var(--sand); }
.field-yellow { background: var(--yellow); }
section { padding: clamp(80px, 10vw, 160px) var(--m); }
.hero { padding-left: 0; padding-right: 0; padding-top: 0; }
section h2 { font-size: var(--step-head); max-width: 18ch; }

/* Intro staircase */
.intro { min-height: 100svh; display: grid; align-content: center; gap: 48px; }
.stair-wrap { display: grid; grid-template-columns: 1fr 20vw; gap: 32px; align-items: start; }
.stair { font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
.stair span { display: block; }
.stair .s1 { color: var(--sky); }
.stair .s2 { padding-left: 6vw; color: var(--yellow); }
.stair .s3 { padding-left: 12vw; color: var(--sand); }
.stair .s4 { padding-left: 18vw; color: var(--sky); }
.stair .s5 { padding-left: 24vw; color: var(--yellow); }
.stair-photos { display: grid; gap: 16px; }
.stair-photos img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.note { max-width: 60ch; font-size: var(--step-body); }
.note a { color: var(--yellow); }

/* Check */
.check { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; }
.check-head { grid-column: 1 / 6; display: grid; gap: 24px; align-content: start; }
.quiz { grid-column: 6 / 13; display: grid; gap: 12px; }
.quiz fieldset { border: 0; margin: 0; padding: 20px 24px; background: var(--white); display: flex; flex-wrap: wrap; gap: 10px 12px; }
.quiz legend { float: left; width: 100%; font-weight: 500; font-size: var(--step-lead); line-height: 1.25; margin-bottom: 8px; padding: 0; }
.quiz label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; background: var(--sky); cursor: pointer; transition: background-color 160ms ease; }
.quiz label:has(input:checked) { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .quiz label:hover { background: var(--sand); } .quiz label:has(input:checked):hover { background: var(--ink); } }
.quiz input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.result { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 20px; background: var(--yellow); padding: clamp(28px, 4vw, 56px); align-items: start; }
.result-title { grid-column: 1 / 6; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
.result-list { grid-column: 6 / 13; margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.result .btn { grid-column: 6 / 13; justify-self: start; }
.result noscript p { grid-column: 1 / 13; }

/* Steps: tiles that grow */
.steps h2 { margin-bottom: clamp(48px, 6vw, 96px); }
.grow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 3fr 4fr 5fr; gap: 10px; align-items: end; }
.grow li { min-width: 0; display: grid; gap: 14px; align-content: end; }
.g-tile { display: grid; place-items: center; padding: 24px; }
.g1 .g-tile { height: 30vh; min-height: 230px; }
.g2 .g-tile { height: 44vh; min-height: 300px; }
.g3 .g-tile { height: 60vh; min-height: 380px; }
.t-yellow { background: var(--yellow); }
.t-sky { background: var(--sky); }
.t-white { background: var(--white); }
.grow h3 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; margin-top: 10px; }
.grow li > p { max-width: 42ch; }

.ui { background: var(--white); color: var(--ink); padding: 18px 20px; width: min(100%, 340px); font-size: 15px; line-height: 1.4; }
.t-white .ui { background: var(--sky); width: min(100%, 420px); }
.ui-h { font-weight: 600; font-size: 17px; margin-bottom: 10px; }
.ui-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.ui-row span:first-child { color: #44606e; }
.ui-small { font-size: 14px; color: #33434b; margin-top: 8px; }
.ui-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ui-btns span { display: grid; place-items: center; min-height: 40px; background: var(--ink); color: var(--paper); font-weight: 500; }
.report table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.report th { text-align: left; font-weight: 500; padding: 6px 4px; border-bottom: 2px solid var(--ink); }
.report td { padding: 7px 4px; border-bottom: 1px solid rgba(10, 10, 10, 0.18); }
.report td:nth-child(3) { font-weight: 600; }

/* Gets: rows on an axis */
.gets { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.axis { grid-column: 5 / 13; font-size: var(--step-head); max-width: 14ch; min-height: 34svh; display: flex; align-items: center; }
.rows { grid-column: 5 / 13; display: grid; gap: clamp(64px, 7vw, 112px); margin-top: 48px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.row-text { display: grid; gap: 14px; }
.row h3 { font-size: var(--step-lead); }
.row p { max-width: 38ch; }
.rp img { object-fit: cover; }
.rp-a img { width: 240px; aspect-ratio: 4 / 5; }
.rp-b img { width: 320px; aspect-ratio: 3 / 2; }
.rp-c img { width: 180px; aspect-ratio: 1; }

/* Price */
.price h2 { margin-bottom: clamp(40px, 5vw, 72px); }
.plans { display: grid; grid-template-columns: 5fr 7fr; gap: 8px; align-items: end; }
.plan { padding: 28px; display: grid; align-content: start; gap: 16px; }
.plan h3 { font-size: var(--step-lead); }
.plan ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.plan-not { background: var(--sand); min-height: 380px; }
.plan-main { background: var(--yellow); min-height: 560px; padding-bottom: 0; grid-template-rows: auto auto auto 1fr auto; }
.amount { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; }
.amount-note { margin-top: -6px; }
.strip {
  display: flex; align-items: center; min-height: 64px; margin: 12px -28px 0; padding: 0 28px;
  background: var(--yellow-dark); color: var(--ink); font-weight: 600; font-size: var(--step-lead); text-decoration: none;
  transition: background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .strip:hover { background: var(--ink); color: var(--paper); } }
.cap { margin-top: 32px; max-width: 60ch; }

/* About */
.about h2 { margin-bottom: 40px; }
.cols { columns: 2; column-gap: 32px; font-size: var(--step-lead); line-height: 1.3; text-align: justify; hyphens: auto; }
.cols .full { font-weight: 600; }
.cols mark { hyphens: manual; color: var(--ink); padding: 0 0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-y { background: var(--yellow); }
.hl-s { background: var(--sky); }
.hl-m { background: var(--accent); color: var(--accent-ink) !important; }

/* FAQ bands */
.faq { padding: 0; }
.band { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 56px var(--m); background: var(--white); }
.band:nth-child(odd) { background: var(--sky); }
.band h3 { grid-column: 1 / 6; font-size: var(--step-lead); line-height: 1.15; }
.band p { grid-column: 7 / 13; }
.band-head { background: var(--yellow) !important; min-height: 40svh; align-items: end; }
.band-head h2 { grid-column: 1 / 13; font-size: var(--step-display); max-width: none; }

/* CTA */
.cta { background: var(--white); padding-left: 0; padding-right: 0; overflow: hidden; }
.cta-row { display: grid; grid-template-columns: 2fr 8fr 2fr; gap: 12px; }
.flank { min-height: 360px; }
.flank img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.flank-r { background: var(--yellow); }
.cta-tile { background: var(--accent); color: var(--accent-ink); padding: 40px; display: grid; gap: 20px; align-content: center; }
.cta-tile h2 { font-size: var(--step-head); max-width: 16ch; }
.cta-tile > p { max-width: 52ch; }
.apply { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px 12px; align-items: end; }
.apply label { font-size: var(--step-small); font-weight: 500; grid-row: 1; align-self: end; }
.apply input, .apply select { grid-row: 2; min-height: 52px; padding: 0 14px; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-body) "Chillax", sans-serif; width: 100%; }
.apply button { grid-column: 1 / -1; justify-self: start; margin-top: 12px; }
.mail-alt { font-size: var(--step-body); }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 112px) var(--m) 48px; }
.blocks { display: flex; gap: 4px; align-items: flex-end; height: 34svh; min-height: 200px; margin: 0; }
.blocks span { flex: 1; display: grid; place-items: center; color: var(--ink); font-weight: 600; font-size: var(--step-head); letter-spacing: -0.03em; }
.blocks span:nth-child(4n+1) { background: var(--sky); height: 100%; }
.blocks span:nth-child(4n+2) { background: var(--yellow); height: 78%; }
.blocks span:nth-child(4n+3) { background: var(--sand); height: 64%; }
.blocks span:nth-child(4n) { background: var(--accent); color: var(--accent-ink); height: 88%; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; font-size: var(--step-small); line-height: 1.55; }
.foot-h { font-size: var(--step-body); letter-spacing: -0.01em; margin-bottom: 10px; }
.foot a { color: var(--yellow); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .grow li:nth-child(2) { transition-delay: 80ms; }
.js .grow li:nth-child(3) { transition-delay: 160ms; }

/* Tablet */
@media (max-width: 1024px) {
  .hero h1 { grid-column: 1 / 13; }
  .hero-side { grid-column: 1 / 13; margin-top: 28px; max-width: 640px; }
  .check-head, .quiz { grid-column: 1 / 13; }
  .result-title, .result-list, .result .btn { grid-column: 1 / 13; }
  .tab { width: auto; flex: 1; }
  .gets { display: block; }
  .axis { min-height: 0; margin-bottom: 48px; }
  .rows { margin-top: 0; }
}

/* Phone */
@media (max-width: 720px) {
  .tab { display: none; }
  .mark { font-size: var(--step-body); }
  .btn-top { min-height: 44px; padding: 0 16px; font-size: 0.95rem; margin: 8px var(--m) 8px auto; }
  .mosaic { grid-template-columns: repeat(3, 1fr); height: 38svh; min-height: 240px; }
  .mosaic > :nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
  .mosaic > :nth-child(2) { grid-area: 1 / 3 / 3 / 4; }
  .mosaic > :nth-child(3) { grid-area: 2 / 1 / 3 / 2; }
  .mosaic > :nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
  .mosaic > :nth-child(5), .mosaic > :nth-child(6), .mosaic > :nth-child(7) { display: none; }
  .hero h1 { font-size: 10vw; }
  .stair-wrap { grid-template-columns: 1fr; }
  .stair { font-size: 1.25rem; }
  .stair .s2 { padding-left: 5vw; } .stair .s3 { padding-left: 10vw; } .stair .s4 { padding-left: 15vw; } .stair .s5 { padding-left: 20vw; }
  .stair-photos { grid-template-columns: 1fr 1fr; }
  .intro { min-height: auto; }
  .grow { grid-template-columns: 1fr; gap: 32px; }
  .g1 .g-tile, .g2 .g-tile, .g3 .g-tile { height: auto; min-height: 0; }
  .g1 .g-tile { min-height: 34vw; } .g2 .g-tile { min-height: 46vw; } .g3 .g-tile { min-height: 62vw; }
  .gets { display: block; }
  .axis { min-height: 0; margin-bottom: 40px; }
  .rows { margin-top: 0; gap: 64px; }
  .row { grid-template-columns: 1fr; }
  .rp-a img { width: 100%; } .rp-b { justify-self: end; width: 70%; } .rp-b img { width: 100%; } .rp-c { width: 55%; } .rp-c img { width: 100%; }
  .plans { grid-template-columns: 1fr; }
  .plan-not, .plan-main { min-height: 0; }
  .plan-main { order: -1; }
  .cols { columns: 1; text-align: left; }
  .band { padding: 32px 20px; row-gap: 16px; }
  .band h3, .band p { grid-column: 1 / 13; }
  .band-head { min-height: 30svh; }

  .cta-row { grid-template-columns: 1fr 1fr; }
  .cta-tile { grid-column: 1 / 3; grid-row: 1; padding: 28px 20px; }
  .flank { min-height: 120px; }
  .apply { grid-template-columns: 1fr; }
  .apply label, .apply input, .apply select { grid-row: auto; }
  .blocks { height: 22svh; min-height: 120px; flex-wrap: nowrap; }
  .blocks span { font-size: var(--step-body); }
  .foot-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tin-lid { animation: none; }
  .js .mask .line > span { transform: none; }
  .js [data-reveal] { transform: none; transition: opacity 300ms ease; }
  .c-photo img { transition: none; }
}
