/* =========================================================
   StudyMind – Home (Figma: StudyMind_2026 / StudyMInd_Home, 1728 × 9600)
   All measurements are taken 1:1 from the Figma file.
   ========================================================= */

/* ---------- Fonts ----------
   The design uses Apple's SF Compact Text / SF Compact Display / SF Compact Rounded / SF Pro.
   They are picked up from the visitor's system when installed (local()).
   To serve them to everyone, drop licensed web-font files in /fonts and add them to the src lists below. */
@font-face { font-family: "SMText"; font-weight: 200; src: local("SF Compact Text Thin"), local("SFCompactText-Thin"); }
@font-face { font-family: "SMText"; font-weight: 300; src: local("SF Compact Text Light"), local("SFCompactText-Light"); }
@font-face { font-family: "SMText"; font-weight: 400; src: local("SF Compact Text Regular"), local("SF Compact Text"), local("SFCompactText-Regular"); }
@font-face { font-family: "SMText"; font-weight: 500; src: local("SF Compact Text Medium"), local("SFCompactText-Medium"); }
@font-face { font-family: "SMText"; font-weight: 600; src: local("SF Compact Text Semibold"), local("SFCompactText-Semibold"); }
@font-face { font-family: "SMText"; font-weight: 700; src: local("SF Compact Text Bold"), local("SFCompactText-Bold"); }

@font-face { font-family: "SMDisplay"; font-weight: 200; src: local("SF Compact Display Thin"), local("SFCompactDisplay-Thin"); }
@font-face { font-family: "SMDisplay"; font-weight: 400; src: local("SF Compact Display Regular"), local("SF Compact Display"), local("SFCompactDisplay-Regular"); }
@font-face { font-family: "SMDisplay"; font-weight: 500; src: local("SF Compact Display Medium"), local("SFCompactDisplay-Medium"); }
@font-face { font-family: "SMDisplay"; font-weight: 600; src: local("SF Compact Display Semibold"), local("SFCompactDisplay-Semibold"); }
@font-face { font-family: "SMDisplay"; font-weight: 700; src: local("SF Compact Display Bold"), local("SFCompactDisplay-Bold"); }

@font-face { font-family: "SMRounded"; font-weight: 300; src: local("SF Compact Rounded Light"), local("SFCompactRounded-Light"); }
@font-face { font-family: "SMRounded"; font-weight: 500; src: local("SF Compact Rounded Medium"), local("SFCompactRounded-Medium"); }
@font-face { font-family: "SMRounded"; font-weight: 600; src: local("SF Compact Rounded Semibold"), local("SFCompactRounded-Semibold"); }


/* Fallback for visitors without SF Compact: self-hosted Inter (OFL), width-calibrated to SF Compact metrics */
@font-face { font-family: "SMTextFB"; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-var.woff2") format("woff2"); size-adjust: 96.5%; }
@font-face { font-family: "SMDisplayFB"; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-var.woff2") format("woff2"); size-adjust: 91.5%; }
@font-face { font-family: "InterSM"; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-var.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: local("Manrope Medium"), local("Manrope-Medium"), url("assets/fonts/manrope-500.woff2") format("woff2"); }

:root {
  --bg: #e7e7e7;
  --violet: #29114c;          /* Violets/Violet Main */
  --violet-2: #401280;
  --button: #47118c;          /* Color 5/Button */
  --orange4: #ff680a;         /* Orange/Orange 4 */
  --orange3: #ff8a32;         /* Orange/Orange 3 */
  --cyan-text: #038db7;
  --g11: #3f3f3f;             /* Gray/Gray 11 */
  --g12: #2f2f2f;             /* Gray/Gray 12 */
  --soft: #f5f5f5;            /* Soldi Gray Light */
  --store-grad: linear-gradient(90.6deg, #26007f 0.19%, #3b0da8 99.81%);
  --fallback: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-text: "SMText", "SMTextFB", var(--fallback);
  --f-display: "SMDisplay", "SMDisplayFB", var(--fallback);
  --f-rounded: "SMRounded", "SMDisplayFB", var(--fallback);
  --f-sfpro: "SF Pro", "SF Pro Text", "InterSM", var(--fallback);
  --f-manrope: "Manrope", var(--fallback);
  --lh: 1.193; /* "normal" line-height of SF Compact as rendered in Figma */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
.block { display: block; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }

.page {
  position: relative;
  width: 1728px;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
  font-family: var(--f-display);
  color: var(--violet);
}

/* ---------- Common headings ---------- */
.h56 { font-family: var(--f-text); font-weight: 200; font-size: 56px; line-height: var(--lh); color: var(--violet); }
.h56 b { font-weight: 600; }
.h56.white { color: #fff; }
.t14 { font-family: var(--f-display); font-weight: 400; font-size: 14px; line-height: 18px; }
.t16 { font-family: var(--f-display); font-weight: 400; font-size: 16px; line-height: 18px; }
.c-g11 { color: var(--g11); }
.c-g12 { color: var(--g12); }
.c-orange { color: var(--orange4); }
.c-orange3 { color: var(--orange3); }
.c-cyan { color: var(--cyan-text); }
.c-violet { color: var(--violet); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 1086px; }

.hero-bg {             /* "image 1": 1480 × 612, rounded 30, image rotated 90° */
  position: absolute; left: 133px; top: 392px; width: 1480px; height: 612px;
  display: flex; align-items: center; justify-content: center;
}
.hero-bg-rot { flex: none; transform: rotate(90deg); width: 612px; height: 1480px; border-radius: 30px; overflow: hidden; }
.hero-bg-rot img { width: 100%; height: 100%; object-fit: cover; }

.hero-phone { position: absolute; left: 747px; top: 180px; width: 895px; height: 827px; object-fit: cover; }

.hero-title {
  position: absolute; left: 209px; top: 508px; width: 436px; height: 380px;
  font-family: var(--f-text); font-weight: 200; font-size: 80px; line-height: 95px;
  letter-spacing: -4px; color: #fff;
}

.logo { position: absolute; left: 152px; top: 109px; width: 354.004px; height: 70.635px; }
.logo img { width: 100%; height: 100%; }

.hero-stores { position: absolute; left: 1313px; top: 120px; display: flex; gap: 24px; align-items: center; }

/* "REAL GLASS" buttons (header + CTA) */
.glass-btn {
  height: 40px; padding: 8px 12px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 2px 3px 10px rgba(20, 20, 20, 0.35),
              inset 1.5px 1.5px 1px rgba(255, 255, 255, 0.95),
              inset -1px -1px 1px rgba(255, 255, 255, 0.55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.glass-btn:hover { transform: translateY(-1px); box-shadow: 2px 5px 12px rgba(20,20,20,.4), inset 1.5px 1.5px 1px rgba(255,255,255,.95), inset -1px -1px 1px rgba(255,255,255,.55); }
.glass-play { width: 142px; }
.gb-inner { display: flex; align-items: center; height: 30px; }
.glass-apple .gb-inner { gap: 5px; width: 99px; }
.glass-play .gb-inner { gap: 8px; width: 118px; }
.glass-apple .gb-inner img { width: 20.341px; height: 25px; }
.glass-play .gb-inner img { width: 22px; height: 25px; }
.gb-text { display: flex; flex-direction: column; font-family: var(--f-manrope); font-weight: 500; line-height: normal; color: var(--violet); }
.glass-apple .gb-text { width: 74px; }
.glass-play .gb-text { width: 82px; }
.gb-small { font-size: 8px; margin-bottom: -4px; white-space: nowrap; }
.gb-big { font-size: 16px; white-space: nowrap; }

/* =========================================================
   MAIN COLUMN
   ========================================================= */
.col { width: 1464px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 140px; }

/* ---- Intro ---- */
.intro { width: 1464px; display: flex; flex-direction: column; align-items: center; gap: 64px; }
.intro-lead { width: 100%; text-align: center; font-family: var(--f-text); font-weight: 200; font-size: 36px; line-height: 43px; color: var(--violet); }
.intro-lead b { font-weight: 500; }
.intro-step { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.intro-step-title { text-align: center; font-family: var(--f-text); font-weight: 200; font-size: 48px; line-height: 57px; color: var(--violet); }
.intro-step-title b { font-weight: 500; }
.store-row { display: flex; gap: 48px; align-items: center; }
.store-btn {
  height: 64px; border-radius: 999px; background: var(--store-grad);
  display: flex; align-items: center; gap: 9px; padding: 11px 17px;
  -webkit-backdrop-filter: blur(32px); backdrop-filter: blur(32px);
  transition: filter .15s ease, transform .15s ease;
}

.store-apple { width: 172px; }
.store-apple .sb-icon { width: 29.45px; height: 36.195px; }
.store-play { width: 199px; padding-left: 19px; }
.store-play .sb-icon { width: 31px; height: 36px; }
.sb-text { display: flex; flex-direction: column; width: 93px; font-family: var(--f-manrope); font-weight: 500; line-height: normal; color: #fff; }
.sb-small { font-size: 11px; white-space: nowrap; }
.sb-big { font-size: 20px; white-space: nowrap; }
.intro-tagline { width: 100%; text-align: center; font-family: var(--f-text); font-weight: 500; font-size: 42px; line-height: 50px; color: var(--violet); }

/* ---- Report band ---- */
.report {
  width: 1728px; height: 700px; flex: none;
  background: linear-gradient(to bottom, var(--violet-2), var(--violet));
  display: flex; align-items: center; justify-content: center;
}
.report-text { width: 534px; display: flex; flex-direction: column; gap: 24px; flex: none; }
.report-title-wrap { width: 640px; height: 120px; }
.report-title-wrap .h56 { width: 596px; }
.report-sub { height: 49px; font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: var(--lh); color: var(--orange3); }
.report-body { width: 522px; font-family: var(--f-display); font-weight: 200; font-size: 24px; line-height: 29px; color: #fff; text-align: justify; }
.report-img { width: 930px; height: 1053px; flex: none; object-fit: cover; position: relative; }

/* ---- Feature blocks ---- */
.features { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 64px; }
.f-row { width: 1464px; display: flex; align-items: center; justify-content: space-between; }
.img620 { width: 620px; height: 620px; border-radius: 16px; object-fit: cover; flex: none; }

/* Choosing what to study… */
.f-uncertain { width: 100%; height: 867px; display: flex; gap: 96px; align-items: center; justify-content: center; }
.f-uncertain-img { width: 520px; height: 867px; position: relative; overflow: hidden; mix-blend-mode: multiply; flex: none; }
.f-uncertain-img img { position: absolute; top: 0; left: -11.15%; width: 111.15%; height: 100%; max-width: none; }
.f-uncertain-text { width: 564px; padding: 10px; flex: none; }
.f-uncertain-inner { width: 667px; display: flex; flex-direction: column; gap: 24px; }
.q-orange { font-weight: 600; font-size: 16px; color: var(--orange4); }

/* Beyond exploring… */
.f-decide-text { width: 816px; display: flex; flex-direction: column; gap: 48px; }
.f-decide-body { display: flex; flex-direction: column; gap: 24px; }
.decide-list { font-family: var(--f-display); font-weight: 600; font-size: 16px; line-height: 19px; color: var(--g11); }
.decide-list .reg { font-weight: 400; line-height: 18px; color: var(--g11); }

/* How StudyMind works */
.f-how-text { width: 816px; display: flex; flex-direction: column; gap: 48px; }
.how-list { list-style: none; color: var(--g11); }
.how-list li { display: block; }
.how-list li.sp { height: 17px; }
.how-t { display: block; font-family: var(--f-display); font-weight: 600; font-size: 18px; line-height: 24px; }
.how-d { display: block; font-family: var(--f-display); font-weight: 400; font-size: 14px; line-height: 18px; }

/* What you actually get */
.f-get { height: 579.72px; }
.f-get-text { width: 624px; display: flex; flex-direction: column; gap: 48px; justify-content: center; }
.get-list { color: var(--g12); font-family: var(--f-display); }
.get-list .gt { font-weight: 600; font-size: 20px; line-height: 18px; }
.get-list .gd { font-weight: 400; font-size: 14px; line-height: 18px; }
.get-list .gs { height: 18px; }
.spacer44 { height: 44px; }
.get-collage { position: relative; width: 811px; height: 579.72px; flex: none; }
.get-collage img { position: absolute; object-fit: cover; }
.cg-overall { left: 0; top: 100.42px; width: 471.622px; height: 333.272px; border-radius: 8px; }
.cg-table { left: 216.06px; top: 245.69px; width: 472.699px; height: 334.033px; border-radius: 8px; }
.cg-phone { left: 540.29px; top: 0; width: 270.713px; height: 490.179px; }

/* Built for better decisions */
.f-built { width: 1464px; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.built-cols { display: flex; gap: 16px; justify-content: center; text-align: center; color: var(--g11); font-family: var(--f-display); }
.built-cols .bt { font-weight: 600; font-size: 18px; line-height: 24px; }
.built-cols .bd { font-weight: 400; font-size: 14px; line-height: 18px; }
.built-photo {
  width: 1540px; height: 506px; flex: none; mix-blend-mode: multiply;
  background: url("assets/group-photo.webp") center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  padding: 174px 300px 174px 299px;
}
.built-badge { background: linear-gradient(to bottom, var(--violet-2), var(--violet)); border-radius: 8px; padding: 24px; display: flex; }
.built-badge-inner { width: 647.265px; display: flex; flex-direction: column; }
.built-badge-inner img { width: 647.026px; height: 49.731px; }
.built-badge-inner p { font-family: var(--f-text); font-weight: 400; font-size: 24px; line-height: var(--lh); color: #fff; text-align: center; white-space: nowrap; }

/* A better system… */
.f-system { width: 100%; height: 500px; display: flex; gap: 96px; align-items: center; justify-content: center; }
.sys-img { width: 889px; height: 500px; object-fit: cover; flex: none; }
.sys-text { width: 524px; padding: 10px; flex: none; }
.sys-inner { display: flex; flex-direction: column; gap: 24px; }
.sys-orange { font-family: var(--f-display); font-weight: 400; font-size: 16px; line-height: 18px; color: var(--orange4); }
.sys-orange b { font-weight: 600; }

/* ---- FAQ ---- */
.faq { width: 1464px; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.faq-list { width: 1200px; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--soft); border-radius: 10px; padding: 8px 20px; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25)); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 8px 0;
  font-family: var(--f-display); font-weight: 600; font-size: 14px; line-height: 18px; color: var(--button); }
.faq-q img { width: 24px; height: 24px; transform: rotate(-90deg); transition: transform .2s ease; }
.faq-item.open .faq-q img { transform: rotate(90deg); }
.faq-a { display: none; font-family: var(--f-display); font-weight: 400; font-size: 14px; line-height: 18px; color: var(--g11); }
.faq-item.open .faq-a { display: block; }
.faq-a b, .faq-a .bold { font-weight: 600; }
.faq-a b.bold, .faq-a p.bold { font-weight: 700; }
.faq-a ul { padding-left: 21px; }
.faq-a a.u { font-weight: 600; text-decoration: underline; text-underline-position: from-font; }

/* ---- CTA ---- */
.cta {
  width: 1480px; height: 833px; flex: none; border-radius: 24px;
  background: url("assets/cta-bg.webp") center / cover no-repeat;
  padding: 235px 846px 181px 110px;
}
.cta-inner { width: 524px; padding: 10px; display: flex; flex-direction: column; gap: 24px; }
.cta-inner .h56 { width: 504px; }
.cta-sub { font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: var(--lh); color: var(--orange4); }
.cta-btns { display: flex; gap: 24px; align-items: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  width: 1600px; height: 340px; margin: 50.28px auto 64px; border-radius: 20px;
  background: radial-gradient(1550px 170px at 50% 50%, var(--violet-2) 0%, var(--violet) 100%);
  display: flex; align-items: center; justify-content: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 48px; transform: translateX(0.5px); }
.footer-row { display: flex; gap: 120px; align-items: flex-start; }
.footer-row > img { width: 200px; height: 116px; }
.footer-info { display: flex; flex-direction: column; }
.footer-h { height: 34px; padding: 4px; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-sfpro); font-weight: 510; font-size: 20px; line-height: normal; color: #fff; }
.footer-links { width: 158px; padding: 0 4px; display: flex; flex-direction: column; }
.footer-links a { padding: 8px; font-family: var(--f-rounded); font-weight: 300; font-size: 14px; line-height: normal; color: #fff; white-space: nowrap; }
.footer-links a:hover { text-decoration: underline; }
.copy { width: 478px; text-align: center; font-family: var(--f-rounded); font-weight: 300; font-size: 14px; line-height: normal; color: #fff; }
.copy .m { font-weight: 500; }
.copy .sb { font-weight: 600; }
.faq-item:not(.open) { padding-top: 4px; padding-bottom: 4px; }

/* ---- Store buttons: hover = Figma Variant2 (white, gradient text), smart-animate 300 ms ease-out ---- */
.store-btn { position: relative; overflow: hidden; isolation: isolate; transition: none; }
.store-btn::before { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity .3s ease-out; z-index: -1; }
.store-btn:hover::before, .store-btn:focus-visible::before { opacity: 1; }
.sb-icon { position: relative; flex: none; display: block; }
.sb-icon img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .3s ease-out; }
.sb-icon .ic-d { opacity: 0; }
.store-btn:hover .ic-w, .store-btn:focus-visible .ic-w { opacity: 0; }
.store-btn:hover .ic-d, .store-btn:focus-visible .ic-d { opacity: 1; }
.sb-text span { background-image: linear-gradient(91deg, #26007f 0.19%, #3b0da8 99.81%); -webkit-background-clip: text; background-clip: text; transition: color .3s ease-out; }
.store-btn:hover .sb-text span, .store-btn:focus-visible .sb-text span { color: transparent; }

/* ---- Carousels ---- */
.carousel { overflow: hidden; flex: none; position: relative; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top;
  opacity: 0; z-index: 0; transform: scale(1.12); clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
/* incoming slide: diagonal wipe from the right + zoom settling in */
.carousel-track img.is-active { opacity: 1; z-index: 2; clip-path: polygon(-20% 0, 100% 0, 100% 100%, 0 100%);
  transform: scale(1); }
.carousel.ready .carousel-track img.is-active {
  transition: clip-path 1.1s cubic-bezier(.77,0,.18,1), transform 4.5s cubic-bezier(.22,.61,.36,1), opacity 0s; }
/* outgoing slide: stays underneath, drifts left and dims */
.carousel-track img.is-leaving { opacity: 1; z-index: 1; clip-path: polygon(-20% 0, 100% 0, 100% 100%, 0 100%);
  transform: scale(1.04) translateX(-4%); filter: brightness(.75); }
.carousel.ready .carousel-track img.is-leaving {
  transition: transform 1.1s cubic-bezier(.77,0,.18,1), filter 1.1s ease; }
@media (prefers-reduced-motion: reduce) {
  .carousel-track img, .carousel-track img.is-active, .carousel-track img.is-leaving { transition: opacity .4s ease !important; transform: none !important; clip-path: none !important; filter: none !important; }
}

/* ---- Figma update (font sizes) ---- */
.t16thin { font-family: var(--f-display); font-weight: 200; font-size: 16px; line-height: 18px; }
.t16semi { font-family: var(--f-display); font-weight: 600; font-size: 16px; line-height: 19px; }
.t16semi .q-orange { font-size: 16px; }
.decide-list .reg { font-weight: 600; line-height: 19px; }
.how-t { font-size: 20px; line-height: 18px; }
.how-d { font-size: 16px; line-height: 18px; }
.get-list .gd { font-size: 16px; }
.built-cols .bt { font-size: 20px; line-height: 18px; }
.built-cols .bd { font-size: 16px; line-height: 18px; }

/* =========================================================
   MOBILE / TABLET (< 900px) – responsive single-column layout
   Desktop (≥ 900px) keeps the exact 1728px Figma artboard, scaled to the window.
   ========================================================= */
@media (max-width: 899px) {
  html { -webkit-text-size-adjust: 100%; }
  .page { width: 100%; zoom: 1 !important; overflow: hidden; }

  /* ---- Hero ---- */
  .hero { height: auto; min-height: 0; padding: 20px 20px 0; display: flex; flex-direction: column; }
  .logo { position: relative; left: 0; top: 0; width: 170px; height: 34px; }
  .hero-stores { display: none; }
  .hero-stage { position: relative; margin-top: 8px; }
  .hero-bg { position: relative; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 350 / 470; margin-top: 150px; border-radius: 24px; overflow: hidden; display: block; }
  .hero-bg-rot { position: absolute; left: 50%; top: 50%; width: var(--hb-h, 470px); height: var(--hb-w, 350px); transform: translate(-50%, -50%) rotate(90deg); border-radius: 0; }
  .hero-phone { position: absolute; left: -6%; top: 0; width: 112%; height: auto; aspect-ratio: 895 / 827; z-index: 1; pointer-events: none; }
  .hero-title { position: absolute; left: 24px; right: 24px; bottom: 28px; top: auto; width: auto; height: auto; z-index: 2;
    font-size: clamp(38px, 11vw, 52px); line-height: 1.1; letter-spacing: -0.04em; }

  /* ---- Column ---- */
  .col { width: 100%; gap: 72px; padding: 56px 0 0; }
  .intro, .f-row, .f-built, .faq, .features { width: 100%; }
  .intro { padding: 0 20px; gap: 36px; }
  .intro-lead { font-size: 22px; line-height: 1.3; }
  .intro-step-title { font-size: 28px; line-height: 1.25; }
  .store-row { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .store-btn { height: 52px; padding: 8px 14px; gap: 8px; }
  .store-apple { width: 150px; } .store-play { width: 168px; padding-left: 15px; }
  .store-apple .sb-icon { width: 24px; height: 29.5px; } .store-play .sb-icon { width: 25px; height: 29px; }
  .sb-text { width: auto; } .sb-small { font-size: 9px; } .sb-big { font-size: 17px; }
  .intro-tagline { font-size: 24px; line-height: 1.3; }
  .intro-tagline span { display: block; }

  .h56 { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.2; }
  .nowrap { white-space: normal; }

  /* ---- Report band ---- */
  .report { width: 100%; height: auto; flex-direction: column; padding: 56px 20px 24px; gap: 8px; }
  .report-text { width: 100%; gap: 16px; }
  .report-title-wrap, .report-title-wrap .h56 { width: 100%; height: auto; }
  .report-sub { height: auto; font-size: 20px; }
  .report-body { width: 100%; font-size: 19px; line-height: 1.3; text-align: left; }
  .report-img { width: 112%; height: auto; aspect-ratio: 930 / 1053; margin: 0 -6%; }

  /* ---- Feature blocks ---- */
  .features { gap: 72px; padding: 0 20px; }
  .f-row, .f-uncertain, .f-system, .f-get { flex-direction: column; height: auto; gap: 32px; align-items: stretch; justify-content: flex-start; }
  .f-decide { flex-direction: column-reverse; }
  .img620, .carousel.img620 { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .f-uncertain-img { width: 68%; max-width: 320px; height: auto; aspect-ratio: 520 / 867; align-self: center; }
  .f-uncertain-text, .f-uncertain-inner, .f-decide-text, .f-how-text, .f-get-text, .sys-text { width: 100%; padding: 0; }
  .f-decide-text, .f-how-text, .f-get-text { gap: 28px; }
  .t14, .how-d, .get-list .gd, .faq-a { font-size: 15px; line-height: 21px; }
  .q-orange { font-size: 17px; }
  .get-list .gt { font-size: 19px; line-height: 24px; margin-bottom: 4px; }
  .spacer44 { display: none; }
  .get-collage { width: 100%; height: auto; aspect-ratio: 811 / 579.72; }
  .cg-overall { left: 0; top: 17.32%; width: 58.15%; height: 57.49%; }
  .cg-table { left: 26.64%; top: 42.38%; width: 58.29%; height: 57.62%; }
  .cg-phone { left: 66.62%; top: 0; width: 33.38%; height: 84.55%; }
  .cg-overall, .cg-table { border-radius: 6px; }

  .built-cols { flex-direction: column; gap: 20px; }
  .built-cols > div { width: 100% !important; }
  .built-photo { width: calc(100% + 40px); height: auto; aspect-ratio: 1540 / 506; padding: 0; margin: 0 -20px; background-size: cover; }
  .built-photo .built-badge { display: none; }
  .built-badge-m { display: flex; }
  .f-built { gap: 28px; }

  .sys-img, .carousel.sys-img { width: 100%; height: auto; aspect-ratio: 889 / 500; }

  /* ---- FAQ ---- */
  .faq { padding: 0 20px; gap: 28px; }
  .faq-list { width: 100%; gap: 12px; }
  .faq-item { padding: 6px 16px; }
  .faq-q { gap: 12px; padding: 10px 0; font-size: 15px; line-height: 20px; align-items: flex-start; }
  .faq-q span { flex: 1; }
  .faq-a { padding-bottom: 8px; }

  /* ---- CTA ---- */
  .cta { width: calc(100% - 40px); height: auto; padding: 0; overflow: hidden; border-radius: 20px;
    background: #f7d708; display: flex; flex-direction: column; }
  .cta-inner { width: 100%; padding: 36px 24px 8px; position: relative; z-index: 1; }
  .cta-inner .h56 { width: 100%; }
  .cta-sub { font-size: 19px; line-height: 1.3; }
  .cta-btns { flex-wrap: wrap; gap: 16px; }
  .cta-photo { display: block; width: 100%; aspect-ratio: 1 / 1; background: url("assets/cta-bg.webp") 88% center / cover no-repeat; }

  /* ---- Footer ---- */
  .footer { width: calc(100% - 40px); height: auto; margin: 56px auto 20px; padding: 44px 20px;
    background: radial-gradient(120% 60% at 50% 50%, var(--violet-2) 0%, var(--violet) 100%); }
  .footer-inner { gap: 36px; transform: none; }
  .footer-row { flex-direction: column; align-items: center; gap: 28px; }
  .footer-row > img { width: 160px; height: auto; aspect-ratio: 200 / 116; }
  .footer-info { align-items: center; }
  .footer-links { width: auto; align-items: center; }
  .copy { width: 100%; max-width: 340px; }
}
@media (min-width: 900px) {
  .built-badge-m, .cta-photo { display: none; }
}
@media (max-width: 899px) {
  .built-badge-m { width: 100%; padding: 18px 16px; }
  .built-badge-m .built-badge-inner { width: 100%; gap: 6px; }
  .built-badge-m .built-badge-inner img { width: 100%; height: auto; }
  .built-badge-m .built-badge-inner p { white-space: normal; font-size: 16px; line-height: 1.3; }
  .hero-phone { top: 44px; }
}
@media (max-width: 899px) {
  .logo { order: -1; }
  .hero-phone { top: 66px; }
}
@media (max-width: 899px) {
  .hero-bg { margin-top: 24px; aspect-ratio: auto; height: calc(1.035 * (100vw - 40px) + 200px); }
  .hero-phone { top: auto; bottom: 0; left: 14px; width: calc(1.12 * (100vw - 40px)); }
  .hero-title { top: 106px; bottom: auto; left: 44px; right: 44px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .hero-bg { height: calc(0.75 * (100vw - 40px) + 170px); }
  .hero-phone { width: calc(0.8 * (100vw - 40px)); left: auto; right: 0; }
  .hero-title { right: 40%; }
}
/* Figma update: how-list line metrics (title line 24, spacer ≈17.7) */
.how-t { line-height: 24px; }
.how-list li.sp { height: 17.67px; }
.footer { margin-top: 38.28px; }
@media (max-width: 899px) { .footer { margin-top: 56px; } .how-t { line-height: 26px; } .how-d { font-size: 16px; line-height: 22px; } .t16thin, .t16semi, .t16 { font-size: 16px; line-height: 22px; } .built-cols .bt { line-height: 24px; } .built-cols .bd { line-height: 22px; } .get-list .gd { font-size: 16px; line-height: 22px; } }

/* =========================================================
   DESKTOP READABILITY (≥ 900px)
   The page is the 1728px Figma artboard scaled to the window. On laptops (1280–1600px)
   that shrinks body text below its Figma size, so text ≤ 24px is multiplied by --tz
   (= 1728 / window width, max 1.3) and is shown at its real Figma pixel size.
   ========================================================= */
@media (min-width: 900px) {
  .page { --tz: 1; }
  .t16, .t16thin, .get-list .gd, .built-cols .bd, .how-d, .sys-orange { font-size: calc(16px * var(--tz)); line-height: calc(18px * var(--tz)); }
  .t16semi, .decide-list, .decide-list .reg { font-size: calc(16px * var(--tz)); line-height: calc(19px * var(--tz)); }
  .t16semi .q-orange { font-size: calc(16px * var(--tz)); }
  .how-t { font-size: calc(20px * var(--tz)); line-height: calc(24px * var(--tz)); }
  .how-list li.sp { height: calc(17.67px * var(--tz)); }
  .get-list .gt, .built-cols .bt { font-size: calc(20px * var(--tz)); line-height: calc(18px * var(--tz)); }
  .get-list .gs { height: calc(18px * var(--tz)); }
  .faq-q, .faq-a { font-size: calc(14px * var(--tz)); line-height: calc(18px * var(--tz)); }
  .faq-q img { width: calc(24px * var(--tz)); height: calc(24px * var(--tz)); }
  .report-sub, .cta-sub { font-size: calc(24px * var(--tz)); height: auto; }
  .report-body { font-size: calc(24px * var(--tz)); line-height: calc(29px * var(--tz)); }
  .footer-links a, .copy { font-size: calc(14px * var(--tz)); }
  .copy { width: calc(478px * var(--tz)); }
  .footer-h { font-size: calc(20px * var(--tz)); }
}

/* =========================================================
   COOKIE BANNER (assets/consent.js) – small bottom bar, never blocks reading
   ========================================================= */
.sm-cookie { position: fixed; z-index: 1000; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(760px, calc(100% - 24px)); display: flex; align-items: center; gap: 20px;
  padding: 16px 20px; border-radius: 16px; background: rgba(41,17,76,.96); color: #fff;
  box-shadow: 0 8px 30px rgba(20,20,20,.35); font-family: var(--f-display); font-size: 14px; line-height: 1.45; }
.sm-cookie-text { margin: 0; flex: 1; }
.sm-cookie-text a { color: #fff; text-decoration: underline; }
.sm-cookie-btns { display: flex; gap: 10px; flex: none; }
.sm-cookie-btn { height: 40px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.7); background: transparent; color: #fff; }
.sm-cookie-btn[data-choice="granted"] { background: #fff; color: var(--violet); border-color: #fff; }
.sm-cookie-btn:focus-visible { outline: 2px solid var(--orange3); outline-offset: 2px; }
@media (max-width: 600px) {
  .sm-cookie { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; padding: 14px 16px; }
  .sm-cookie-btns > * { flex: 1; }
}
/* footer grew (legal links + Cookie settings): let it grow instead of clipping */
@media (min-width: 900px) { .page .footer { height: auto; min-height: 340px; padding: 40px 0; } }


/* =========================================================
   "COMING SOON" POP-UP for store buttons (assets/coming-soon.js)
   Apple: stripes fill the apple one by one. Google Play: 4 triangles assemble like a puzzle.
   ========================================================= */
html.sm-soon-open { overflow: hidden; }
.sm-soon { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sm-soon[hidden] { display: none; }
.sm-soon-backdrop { position: absolute; inset: 0; background: rgba(41,17,76,.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s ease; }
.sm-soon-card { position: relative; width: min(380px, 100%); border-radius: 28px; padding: 40px 28px 28px;
  background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.7);
  text-align: center; font-family: var(--f-display); color: var(--violet); box-shadow: 0 12px 40px rgba(20,20,20,.35);
  transform: translateY(16px) scale(.97); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.3,1.15), opacity .25s ease; }
.sm-soon.is-in .sm-soon-backdrop { opacity: 1; }
.sm-soon.is-in .sm-soon-card { transform: none; opacity: 1; }
.sm-soon-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.6); color: var(--violet); display: grid; place-items: center; }
.sm-soon-x:hover { background: #ECE9FE; }

/* the icon – click to replay */
.sm-soon-art { display: block; margin: 0 auto 22px; padding: 0; border: 0; background: none; cursor: pointer; width: 132px; height: 150px; }
.sm-soon-art:hover .sm-icon { transform: rotate(-4deg) scale(1.04); }
.sm-icon { width: 100%; height: 100%; overflow: visible; transition: transform .3s ease; }
.sm-apple { width: 118px; height: 145px; }

/* Apple: stripes slide in one by one (bottom → top), then the leaf pops */
.sm-apple .seg { transform-box: fill-box; transform: scaleX(0); }
.sm-apple .from-l { transform-origin: left center; }
.sm-apple .from-r { transform-origin: right center; }
.sm-apple .leaf { transform-origin: 0% 100%; transform: scale(0) rotate(-30deg); }
.go .sm-apple .seg { animation: smStripe .42s cubic-bezier(.6,0,.2,1) forwards; animation-delay: calc(var(--i) * .17s); }
.go .sm-apple .leaf { animation: smLeaf .55s cubic-bezier(.3,1.6,.5,1) forwards; animation-delay: calc(var(--i) * .17s + .1s); }
@keyframes smStripe { to { transform: scaleX(1); } }
@keyframes smLeaf { to { transform: scale(1) rotate(0); } }

/* Google Play: pieces fly in one by one and click into place */
.sm-play .piece { stroke: #fff; stroke-width: 3; stroke-linejoin: round; transform-box: fill-box; transform-origin: center;
  opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.6); }
.go .sm-play .piece { animation: smPiece .6s cubic-bezier(.3,1.35,.5,1) forwards; animation-delay: calc(var(--i) * .38s); }
@keyframes smPiece { 60% { opacity: 1; } to { opacity: 1; transform: none; } }

/* text */
.sm-soon-title { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 400; }
.sm-soon-logo { width: 150px; height: auto; margin-bottom: 4px; }
.sm-soon-line { font-family: var(--f-text); font-weight: 200; font-size: 20px; color: var(--g11); }
.sm-soon-store { font-family: var(--f-text); font-weight: 600; font-size: 34px; line-height: 1.1; color: var(--violet); white-space: nowrap; }
.sm-soon-hint { margin: 14px auto 22px; max-width: 280px; font-size: 14px; line-height: 1.45; color: #555; }
.sm-soon-ok { height: 46px; padding: 0 34px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600; font-size: 16px;
  color: #fff; background: var(--store-grad); transition: transform .15s ease, filter .15s ease; }
.sm-soon-ok:hover { transform: translateY(-1px); filter: brightness(1.12); }
.sm-soon-ok:focus-visible, .sm-soon-x:focus-visible, .sm-soon-art:focus-visible { outline: 2px solid var(--orange3); outline-offset: 3px; border-radius: 12px; }

@media (prefers-reduced-motion: reduce) {
  .sm-apple .seg, .sm-apple .leaf, .sm-play .piece { animation: none !important; transform: none !important; opacity: 1 !important; }
}
/* hover fix: gradient text must cover the whole word ("Google Play" is wider than its 93px column) */
.sb-text span, .gb-text span { width: max-content; }
/* "A better system" carousel: zoom from 110% down to exactly 100% (no grey/white edge ever visible) */
.carousel.sys-img .carousel-track img { transform: scale(1.1); }
.carousel.sys-img .carousel-track img.is-active { transform: scale(1); }
.carousel.sys-img .carousel-track img.is-leaving { transform: scale(1); filter: brightness(.75); }
.carousel.sys-img.ready .carousel-track img.is-active { transition: clip-path 1.1s cubic-bezier(.77,0,.18,1), transform 2.6s cubic-bezier(.22,.61,.36,1), opacity 0s; }
.copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.copy a:hover { opacity: .8; }

/* Fixed header (home page): the logo and store buttons stay exactly where they are in the design;
   on scroll the bar shrinks around them, the logo gets smaller and a 70% white glass fades in. */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: 72px; z-index: 900; pointer-events: none; }
.tb-glass { position: absolute; inset: 0; opacity: 0;
  background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 20px rgba(20,20,20,.08); }
.tb-logo, .tb-stores { position: absolute; left: 0; top: 0; pointer-events: auto; will-change: transform; transform-origin: 0 0; }
.tb-logo img { display: block; width: 100%; height: auto; }
.tb-stores-in { display: flex; gap: 24px; align-items: center; }
.js-tb .hero .logo, .js-tb .hero-stores { visibility: hidden; }
html:not(.js-tb) .topbar { visibility: hidden; }
@media (max-width: 899px) {
  .topbar { height: 58px; }
  .tb-stores { display: none; }
}
