@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
  @font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
  @font-face { font-family: "Inter UI"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "Inter UI"; src: url("fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

  /* Layout concept: a quiet white gallery. Champagne gold is the one precious accent; product
     mockups sit on off-white plinths and move gently, so the app itself is the hero. Single
     deliberate light look (brand direction), so no dark-theme override. */
  :root {
    --white: #FFFFFF;
    --paper: #F8F8F6;
    --paper-2: #F2F0EA;
    --gold: #C9A45C;
    --gold-deep: #A8843F;
    --gold-ink: #7E6024;
    --gold-soft: #F6EEDD;
    --ink: #202124;
    --ink-2: #3A3B3F;
    --muted: #5C5E63;
    --faint: #8A8C90;
    --line: #ECEAE4;
    --green: #2F8F5F;
    --green-ink: #22694A;
    --green-soft: #E5F2EA;
    --red-ink: #A3402D;
    --red-soft: #F8E7E2;
    --shadow-sm: 0 1px 2px rgba(32, 33, 36, 0.05), 0 4px 12px rgba(32, 33, 36, 0.05);
    --shadow-lg: 0 2px 6px rgba(32, 33, 36, 0.05), 0 24px 60px rgba(32, 33, 36, 0.10);
    --font-display: "Cabinet Grotesk", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    --font-ui: "Inter UI", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --radius: 18px;
    color-scheme: light;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-display); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255, 255, 255, 0.92); }
  a { color: inherit; }
  h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
  p { margin: 0; }
  .wrap { max-width: 1180px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
  .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
  .eyebrow::before { content: ""; width: 18px; height: 1.5px; background: var(--gold); }
  .lead { font-size: 19px; color: var(--muted); max-width: 34em; }
  .gold { color: var(--gold-deep); }
  :focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; font-family: var(--font-display); font-weight: 700; font-size: 17px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
  .btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px rgba(201, 164, 92, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  .btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(201, 164, 92, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  .btn-line { background: var(--white); color: var(--ink); border-color: var(--line); }
  .btn-line:hover { border-color: var(--gold); }
  .btn svg { width: 18px; height: 18px; }

  /* ---------- Header ---------- */
  header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
  header.site.scrolled { border-bottom-color: var(--line); }
  .nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
  .logo { font-weight: 700; font-size: 30px; letter-spacing: -0.04em; text-decoration: none; line-height: 1; }
  .logo b { color: var(--gold); font-weight: 700; }
  .nav-links { display: flex; align-items: center; gap: 30px; font-size: 16px; color: var(--muted); }
  .nav-links a { text-decoration: none; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { display: flex; align-items: center; gap: 10px; }
  .nav-cta .btn { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
  .nav-cta .login { font-size: 15px; color: var(--muted); text-decoration: none; padding: 0 8px; }

  /* ---------- Hero ---------- */
  .hero { position: relative; padding-block: 56px 72px; overflow: hidden; }
  .hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 164, 92, 0.20), rgba(201, 164, 92, 0)); pointer-events: none; }
  .hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
  .hero-copy { min-width: 0; }
  .hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink-2); text-decoration: none; }
  .hero-badge .tag { padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
  .hero h1 { margin-top: 26px; font-size: clamp(46px, 6.6vw, 84px); letter-spacing: -0.045em; line-height: 0.98; }
  .hero h1 .line { display: block; }
  .hero h1 em { font-style: normal; position: relative; color: var(--ink); }
  .hero h1 em::after { content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: 0.06em; height: 0.12em; border-radius: 4px; background: var(--gold); opacity: 0.55; z-index: -1; transform-origin: left center; }
  .hero .lead { margin-top: 24px; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
  .trial-note { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
  .trial-note svg { width: 18px; height: 18px; color: var(--green); flex: none; }
  .hero-points { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
  .hero-points span { display: inline-flex; align-items: center; gap: 7px; }
  .hero-points svg { width: 15px; height: 15px; color: var(--gold-deep); }

  /* Hero product stage */
  .stage { position: relative; min-width: 0; height: 650px; }
  .plinth { position: absolute; inset: 40px 0 10px 40px; border-radius: 32px; background: linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 100%); border: 1px solid var(--line); }
  .inv-card { position: absolute; left: 0; top: 70px; width: 348px; background: var(--white); border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-family: var(--font-ui); overflow: hidden; }
  .inv-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
  .biz { display: flex; align-items: center; gap: 12px; }
  .biz-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
  .biz b { display: block; font-size: 15px; font-weight: 600; }
  .biz span { display: block; font-size: 12px; color: var(--faint); }
  .status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
  .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .s-draft { background: var(--paper-2); color: var(--muted); }
  .s-sent { background: var(--gold-soft); color: var(--gold-ink); }
  .s-paid { background: var(--green-soft); color: var(--green-ink); }
  .s-overdue { background: var(--red-soft); color: var(--red-ink); }
  .status-slot { position: relative; height: 26px; min-width: 92px; }
  .status-slot .status { position: absolute; right: 0; top: 0; }
  .inv-meta { display: flex; justify-content: space-between; padding: 14px 22px 6px; font-size: 12px; color: var(--faint); }
  .inv-meta b { color: var(--ink); font-weight: 600; }
  .inv-lines { padding: 4px 22px; }
  .inv-line { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .inv-line span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
  .inv-tot { padding: 12px 22px 0; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
  .inv-tot div { display: flex; justify-content: space-between; }
  .inv-tot .grand { margin-top: 6px; color: var(--ink); font-size: 14px; font-weight: 600; align-items: baseline; }
  .inv-tot .grand b { font-family: var(--font-display); font-size: 34px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .inv-actions { display: flex; gap: 10px; padding: 16px 22px 20px; }
  .pay-link { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 44px; border-radius: 11px; background: var(--paper); border: 1px dashed #D8D2C2; font-size: 12px; color: var(--muted); min-width: 0; }
  .pay-link svg { width: 16px; height: 16px; color: var(--gold-deep); flex: none; }
  .pay-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .send-btn { position: relative; height: 44px; padding: 0 18px; border-radius: 11px; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 15px; display: grid; place-items: center; overflow: hidden; }
  .send-btn .sent { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ink); color: var(--white); opacity: 0; }

  .float { position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); font-family: var(--font-ui); }
  .f-phone { right: 0; top: 24px; width: 208px; padding: 10px; border-radius: 34px; background: var(--ink); border: none; }
  .f-phone .scr { position: relative; border-radius: 26px; background: var(--white); height: 410px; overflow: hidden; padding: 38px 16px 16px; text-align: center; }
  .f-phone .notch { position: absolute; top: 9px; left: 50%; width: 66px; height: 19px; margin-left: -33px; border-radius: 12px; background: var(--ink); }
  .scr .from { font-size: 11px; color: var(--faint); }
  .scr .amt { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -0.02em; }
  .scr .due { font-size: 11px; color: var(--faint); }
  .scr .methods { margin-top: 18px; display: grid; gap: 8px; }
  .scr .m { height: 38px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
  .scr .m.wallet { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .scr .paybtn { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 44px; border-radius: 12px; background: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
  .scr .done { position: absolute; inset: 0; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; opacity: 0; }
  .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; box-shadow: 0 0 0 10px var(--green-soft); }
  .ok svg { width: 36px; height: 36px; }
  .scr .done b { margin-top: 10px; font-family: var(--font-display); font-size: 18px; color: var(--green-ink); }
  .scr .done span { font-size: 12px; color: var(--faint); }
  .f-review { left: 210px; bottom: 6px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
  .stars { color: #E2A732; letter-spacing: 1px; font-size: 15px; white-space: nowrap; }
  .f-review b { display: block; font-size: 13px; font-weight: 600; }
  .f-review span { display: block; font-size: 11px; color: var(--faint); }
  .f-reminder { left: 18px; bottom: 6px; padding: 12px 16px 12px 12px; display: flex; align-items: center; gap: 12px; }
  .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
  .ic svg { width: 18px; height: 18px; }
  .ic.gold { background: var(--gold-soft); color: var(--gold-ink); }
  .ic.green { background: var(--green-soft); color: var(--green-ink); }
  .f-reminder b { display: block; font-size: 13px; font-weight: 600; }
  .f-reminder span { display: block; font-size: 11px; color: var(--faint); }

  /* ---------- Steps ---------- */
  .steps-band { padding-block: 72px 84px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
  .step { position: relative; padding: 26px 26px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); min-width: 0; }
  .step .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--gold-ink); }
  .step h3 { margin-top: 18px; font-size: 26px; }
  .step p { margin-top: 8px; color: var(--muted); font-size: 16px; }
  .step .time { margin-top: 18px; font-family: var(--font-ui); font-size: 12px; color: var(--faint); display: flex; align-items: center; gap: 6px; }
  .step .time svg { width: 14px; height: 14px; }

  /* ---------- Section heads ---------- */
  section.block { padding-block: 96px; }
  .head { display: grid; gap: 18px; max-width: 760px; }
  .head h2 { font-size: clamp(36px, 4.6vw, 58px); }
  .head.center { margin: 0 auto; text-align: center; justify-items: center; }

  /* ---------- Get paid showcase ---------- */
  .paid-band { background: var(--paper); border-block: 1px solid var(--line); }
  .show { display: grid; gap: 28px; margin-top: 56px; }
  .show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); }
  .show-copy { padding: 52px 52px; display: flex; flex-direction: column; gap: 16px; justify-content: center; min-width: 0; }
  .show-copy h3 { font-size: clamp(30px, 3.2vw, 42px); }
  .show-copy p { color: var(--muted); font-size: 17px; max-width: 30em; }
  .ticks { display: grid; gap: 10px; margin-top: 6px; padding: 0; list-style: none; font-size: 16px; }
  .ticks li { display: flex; gap: 10px; align-items: flex-start; }
  .ticks svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
  .show-vis { position: relative; min-height: 440px; background: linear-gradient(160deg, var(--gold-soft) 0%, #FBF7EE 60%, var(--paper) 100%); display: grid; place-items: center; overflow: hidden; }
  .show-row.flip .show-copy { order: 2; }
  .avail { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
  .avail.live { background: var(--green-soft); color: var(--green-ink); }
  .avail.dev { background: var(--paper-2); color: var(--muted); }
  .avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
  .avail.live::before { box-shadow: 0 0 0 3px rgba(47, 143, 95, 0.18); }

  /* payment link visual */
  .msg { width: min(360px, 86%); background: var(--white); border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-family: var(--font-ui); overflow: hidden; }
  .msg-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .msg-h .biz-mark { width: 32px; height: 32px; font-size: 14px; border-radius: 9px; }
  .msg-h b { font-weight: 600; display: block; }
  .msg-h span { display: block; color: var(--faint); font-size: 11px; }
  .msg-b { padding: 18px 18px 20px; display: grid; gap: 12px; }
  .msg-b .greet { font-size: 14px; color: var(--ink-2); }
  .msg-amt { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: 14px; background: var(--paper); }
  .msg-amt span { font-size: 12px; color: var(--faint); }
  .msg-amt b { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.02em; }
  .msg-pay { position: relative; height: 50px; border-radius: 13px; background: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; overflow: hidden; }
  .msg-pay .paid { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: var(--white); opacity: 0; }
  .msg-pay .paid svg { width: 20px; height: 20px; }
  .msg-foot { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--faint); }
  .msg-foot svg { width: 13px; height: 13px; }
  .cursor { position: absolute; width: 26px; height: 26px; pointer-events: none; }
  .tap-ripple { position: absolute; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(32, 33, 36, 0.18); opacity: 0; pointer-events: none; }

  /* tap to pay visual */
  .ttp { position: relative; width: 260px; height: 400px; }
  .ttp .phone { position: absolute; left: 0; top: 0; width: 220px; height: 400px; padding: 10px; border-radius: 36px; background: var(--ink); box-shadow: var(--shadow-lg); }
  .ttp .scr2 { position: relative; height: 100%; border-radius: 28px; background: var(--white); overflow: hidden; padding: 40px 16px 16px; text-align: center; font-family: var(--font-ui); }
  .ttp .scr2 .notch { position: absolute; top: 9px; left: 50%; width: 66px; height: 19px; margin-left: -33px; border-radius: 12px; background: var(--ink); }
  .ttp .lbl { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
  .ttp .amt { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 36px; letter-spacing: -0.02em; }
  .rings { position: relative; width: 132px; height: 132px; margin: 30px auto 0; }
  .rings i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); opacity: 0.5; }
  .rings i:nth-child(2) { inset: 16px; opacity: 0.7; }
  .rings .core { position: absolute; inset: 34px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; }
  .rings .core svg { width: 32px; height: 32px; }
  .ttp .hint { margin-top: 24px; font-size: 11px; color: var(--muted); }
  .ttp .done2 { position: absolute; inset: 0; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; }
  .ttp .done2 b { margin-top: 14px; font-family: var(--font-display); font-size: 18px; color: var(--green-ink); }
  .ttp .done2 strong { font-family: var(--font-display); font-size: 32px; letter-spacing: -0.02em; }
  .card3d { position: absolute; right: -30px; top: 40px; width: 170px; height: 106px; border-radius: 14px; padding: 14px; background: linear-gradient(135deg, #3A3B40 0%, #18191B 100%); box-shadow: 0 20px 40px rgba(32, 33, 36, 0.35); color: #EDE7DA; font-family: var(--font-ui); }
  .card3d .chip { width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #E7CB8C, #B48B43); }
  .card3d .cl { position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; color: var(--gold); }
  .card3d .num { position: absolute; left: 14px; bottom: 12px; font-size: 12px; letter-spacing: 0.14em; }

  /* reviews visual */
  .rev { position: relative; width: min(380px, 88%); }
  .rev-mail { background: var(--white); border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 22px 22px 24px; text-align: center; font-family: var(--font-ui); }
  .rev-mail .trig { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: 11px; font-weight: 600; }
  .rev-mail .trig svg { width: 12px; height: 12px; }
  .rev-mail h4 { margin: 14px 0 0; font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; }
  .rev-mail .sub { font-size: 12px; color: var(--faint); margin-top: 4px; }
  .rev-stars { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .rev-stars svg { width: 34px; height: 34px; color: #E7E2D6; }
  .rev-stars svg.on { color: #E2A732; }
  .rev-mail .g { margin-top: 18px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
  .toasts { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
  .toast { position: relative; align-self: flex-start; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); font-family: var(--font-ui); font-size: 12px; font-weight: 600; white-space: nowrap; }
  .toast.t1 { align-self: flex-end; margin-right: -18px; }
  .toast.t2 { margin-left: -18px; }

  /* ---------- Features grid ---------- */
  .legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
  .fgrid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fcard { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: box-shadow 0.25s ease, border-color 0.25s ease; }
  .fcard:hover { box-shadow: var(--shadow-lg); border-color: #E2DCCB; }
  .fcard .ficon { width: 46px; height: 46px; border-radius: 13px; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; }
  .fcard .ficon svg { width: 22px; height: 22px; }
  .fcard .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
  .fcard h3 { margin-top: 8px; font-size: 22px; letter-spacing: -0.02em; }
  .fcard p { color: var(--muted); font-size: 15.5px; }
  .fcard .avail { font-size: 11px; padding: 4px 9px; }
  .fcard.wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; background: var(--ink); color: var(--white); border-color: var(--ink); }
  .fcard.wide p { color: #C9C7C1; }
  .fcard.wide .ficon { background: rgba(201, 164, 92, 0.16); color: var(--gold); }
  .fcard.wide .btn { flex: none; }
  .fcard.wide .txt { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }

  /* ---------- Dashboard ---------- */
  .dash-grid { margin-top: 52px; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; }
  .panel { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-sm); font-family: var(--font-ui); min-width: 0; }
  .panel .label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); display: flex; justify-content: space-between; gap: 10px; }
  .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
  .kpi { padding: 16px; border-radius: 14px; background: var(--paper); min-width: 0; }
  .kpi span { font-size: 12px; color: var(--muted); }
  .kpi b { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 30px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .kpi b.red { color: var(--red-ink); }
  .chart { margin-top: 18px; width: 100%; height: auto; display: block; }
  .chart text { font-family: var(--font-ui); font-size: 11px; fill: var(--faint); }
  .list .row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .list .row:last-child { border-bottom: none; }
  .list .who { flex: 1; min-width: 0; }
  .list .who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .list .who span { display: block; font-size: 12px; color: var(--faint); }
  .list .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
  .sample { font-size: 11px; color: var(--faint); font-weight: 600; letter-spacing: 0.04em; text-transform: none; }

  /* ---------- Reminders ---------- */
  .auto { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
  .timeline { position: relative; display: grid; gap: 14px; padding-left: 28px; font-family: var(--font-ui); }
  .timeline::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--line), var(--gold), var(--green)); border-radius: 2px; }
  .tl { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
  .tl::before { content: ""; position: absolute; left: -24px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); }
  .tl.done::before { background: var(--green); border-color: var(--green); }
  .tl .when { margin-left: auto; font-size: 12px; color: var(--faint); white-space: nowrap; }
  .tl b { display: block; font-size: 14px; font-weight: 600; }
  .tl span { display: block; font-size: 12px; color: var(--faint); }

  /* ---------- Pricing ---------- */
  .price-band { background: var(--paper); border-block: 1px solid var(--line); }
  .trial { margin-top: 44px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 0; padding: 22px 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); font-family: var(--font-ui); }
  .trial .pt { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .trial .dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; flex: none; }
  .trial .d0 { background: var(--gold); color: var(--ink); }
  .trial .d14 { background: var(--ink); color: var(--white); }
  .trial .dk { background: var(--green-soft); color: var(--green-ink); }
  .trial b { display: block; font-size: 14px; font-weight: 600; }
  .trial span { display: block; font-size: 12px; color: var(--muted); }
  .trial .bar { height: 2px; margin: 0 18px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
  .plans { margin-top: 34px; display: grid; grid-template-columns: 1fr 1.12fr; gap: 22px; align-items: center; }
  .plan { position: relative; padding: 36px 34px 34px; border-radius: 26px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .plan:not(.pro) { background: var(--paper); }
  @property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
  .plan.pro { isolation: isolate; padding: 48px 40px 40px; background: radial-gradient(120% 70% at 85% 0%, rgba(232, 208, 150, 0.22), rgba(232, 208, 150, 0) 60%), linear-gradient(180deg, #FFFEFB 0%, #FDF8ED 100%); color: var(--ink); border: none; box-shadow: 0 44px 100px rgba(214, 186, 120, 0.20), 0 0 0 1px rgba(214, 186, 120, 0.45); }
  .plan.pro::before { content: ""; position: absolute; inset: -2px; border-radius: 28px; padding: 2px; background: conic-gradient(from var(--ang), rgba(201, 164, 92, 0) 0deg, rgba(201, 164, 92, 0) 200deg, #DEC489 290deg, #F7EBCB 320deg, #DEC489 345deg, rgba(201, 164, 92, 0) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: edge 6s linear infinite paused; z-index: -1; pointer-events: none; }
  .plan.pro.on-screen::before { animation-play-state: running; }
  @keyframes edge { to { --ang: 360deg; } }
  .plan.pro h3 { font-size: 30px; display: flex; align-items: center; gap: 10px; }
  .plan.pro h3 .pro-mark { padding: 3px 10px; border-radius: 8px; background: var(--ink); color: var(--gold); font-size: 14px; letter-spacing: 0.06em; }
  .plan.pro .price b { font-size: 76px; }
  .plan.pro .plus { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: -6px; }
  .plan.pro li svg { color: var(--gold-deep); }
  .plan.pro .btn-gold { min-height: 58px; font-size: 18px; }
  .plan .ribbon { position: absolute; top: -16px; left: 40px; padding: 7px 16px; border-radius: 999px; background: #EBD9AE; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.03em; box-shadow: 0 10px 24px rgba(214, 186, 120, 0.35); }
  .save { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid rgba(201, 164, 92, 0.45); color: var(--gold-ink); font-size: 13px; font-weight: 700; }
  .plan h3 { font-size: 26px; }
  .plan .for { color: var(--muted); font-size: 15px; margin-top: -8px; }
  .price { display: flex; align-items: baseline; gap: 8px; }
  .price b { font-size: 64px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
  .price span { color: var(--muted); font-size: 16px; }
  .plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 16px; }
  .plan li { display: flex; gap: 10px; align-items: flex-start; }
  .plan li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
  .plan li.dim { color: var(--faint); }
  .plan li.dim svg { color: var(--faint); }
  .plan .btn { margin-top: auto; width: 100%; }
  .plan .fine { font-size: 13px; color: var(--muted); text-align: center; margin-top: -6px; }
  .fees { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); align-items: start; }
  .fees .ic { width: 44px; height: 44px; border-radius: 12px; }
  .fees h3 { font-size: 20px; letter-spacing: -0.01em; }
  .fees p { margin-top: 6px; color: var(--muted); font-size: 15.5px; max-width: 64em; }
  .fees .eq { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-ui); font-size: 13px; }
  .fees .eq span { padding: 7px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
  .fees .eq i { font-style: normal; color: var(--faint); }
  .curr { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

  /* ---------- FAQ ---------- */
  .faq { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
  .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--gold-deep); transition: transform 0.25s; }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq p { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 34em; }

  /* ---------- Final CTA + footer ---------- */
  .final { position: relative; margin-block: 96px; padding: 72px 40px; border-radius: 34px; background: var(--ink); color: var(--white); text-align: center; overflow: hidden; }
  .final::before { content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -420px; margin-left: -350px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 164, 92, 0.35), rgba(201, 164, 92, 0)); }
  .final > * { position: relative; }
  .final h2 { font-size: clamp(38px, 5vw, 64px); }
  .final p { margin: 18px auto 0; color: #CFCCC4; font-size: 18px; max-width: 32em; }
  .final .hero-ctas { justify-content: center; }
  .final .btn-line { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.24); }
  footer.site { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--muted); font-size: 15px; }
  .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
  .foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
  .foot a { text-decoration: none; }
  .foot a:hover { color: var(--ink); }
  .proto { margin-top: 20px; font-size: 13px; color: var(--faint); }

  /* ---------- Hero notification inside the phone ---------- */
  .ph-notif { position: absolute; left: 8px; right: 8px; top: 34px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.97); border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(32, 33, 36, 0.14); text-align: left; }
  .ph-notif .stars { font-size: 10px; letter-spacing: 0; }
  .ph-notif b { display: block; font-size: 11px; font-weight: 600; }
  .ph-notif span { display: block; font-size: 9.5px; color: var(--faint); }

  /* ---------- 3D stage, shimmer, marquee, what-is ---------- */
  .stage { perspective: 1600px; }
  .stage-3d { position: absolute; inset: 0; transform-style: preserve-3d; }
  .btn-gold { position: relative; overflow: hidden; }
  .btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)); transform: translateX(-150%) skewX(-20deg); animation: shine 5s ease-in-out infinite paused; pointer-events: none; will-change: transform; }
  .btn-gold.on-screen::after { animation-play-state: running; }
  @keyframes shine { 0%, 72% { transform: translateX(-150%) skewX(-20deg); } 100% { transform: translateX(330%) skewX(-20deg); } }
  .industries { padding-block: 6px 34px; }
  .ind-label { text-align: center; font-size: 15px; color: var(--muted); margin-bottom: 16px; padding-inline: 16px; }
  .marquee-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .marquee { display: flex; width: max-content; animation: marq 46s linear infinite paused; will-change: transform; }
  .marquee-mask.on-screen .marquee { animation-play-state: running; }
  .marquee span { margin-right: 12px; padding: 10px 22px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 16px; white-space: nowrap; color: var(--ink-2); }
  @keyframes marq { to { transform: translateX(-50%); } }
  .what { padding-block: 56px 40px; }
  .what-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .vs { border-radius: 26px; padding: 34px 32px 36px; border: 1px solid var(--line); min-width: 0; }
  .vs.without { background: var(--paper); }
  .vs.with { background: var(--white); border: 1.5px solid var(--gold); box-shadow: 0 30px 70px rgba(201, 164, 92, 0.16); }
  .vs h3 { font-size: 26px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .vs.without h3 { color: var(--muted); }
  .vs ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 15px; }
  .vs li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
  .vs li .mk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; }
  .vs li .mk svg { width: 13px; height: 13px; }
  .vs.without .mk { background: var(--red-soft); color: var(--red-ink); }
  .vs.with .mk { background: var(--green-soft); color: var(--green-ink); }
  .vs.without .t { color: var(--muted); }


  /* ---------- App store buttons ---------- */
  .stores { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
  .stores.center { justify-content: center; }
  .store { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px; border-radius: 12px; background: var(--ink); color: var(--white); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .store:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(32, 33, 36, 0.22); }
  .store.soon { cursor: default; }
  .store.soon:hover { transform: none; box-shadow: none; }
  .store .st-ic { width: 24px; height: 24px; flex: none; }
  .store span { display: flex; flex-direction: column; font-family: var(--font-ui); font-size: 17px; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
  .store small { font-size: 10px; font-weight: 400; letter-spacing: 0.02em; opacity: 0.85; }
  .final .store { background: var(--white); color: var(--ink); }
  .stores.small { margin-top: 0; }
  .stores.small .store { height: 42px; padding: 0 14px 0 12px; }
  .stores.small .store span { font-size: 14px; }

  /* ---------- Responsive ---------- */
  @media (max-width: 1020px) {
    .hero-grid { grid-template-columns: 1fr; }
    .stage { max-width: 620px; width: 100%; margin: 24px auto 0; }
    .fgrid { grid-template-columns: 1fr 1fr; }
    .dash-grid, .auto { grid-template-columns: 1fr; }
  }
  @media (max-width: 860px) {
    .nav-links { display: none; }
    .show-row, .show-row.flip { grid-template-columns: 1fr; }
    .show-row.flip .show-copy { order: 0; }
    .show-copy { padding: 34px 26px; }
    .show-vis { min-height: 400px; }
    .steps { grid-template-columns: 1fr; }
    .plans, .faq, .what-grid { grid-template-columns: 1fr; }
    .trial { grid-template-columns: 1fr; gap: 14px; }
    .trial .bar { width: 2px; height: 18px; margin: 0 0 0 18px; background: repeating-linear-gradient(180deg, var(--gold) 0 5px, transparent 5px 9px); }
    section.block { padding-block: 72px; }
  }
  @media (max-width: 620px) {
    body { font-size: 16px; }
    .nav-cta .login { display: none; }
    .inv-card { width: calc(100% - 24px); max-width: 360px; top: 30px; }
    .inv-tot .grand b { font-size: 28px; }
    .f-phone { display: none; }
    .stage { height: 600px; }
    .inv-card { top: 20px; }
    .f-reminder { left: 14px; bottom: 0; }
    .plinth { inset: 20px 0 30px 20px; }
    .fgrid { grid-template-columns: 1fr; }
    .fcard.wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
    .kpis { grid-template-columns: 1fr; }
    .final { padding: 52px 22px; border-radius: 26px; }
    .plan { padding: 30px 22px 26px; }
    .plan.pro { padding: 40px 22px 30px; }
    .plan .ribbon { left: 22px; }
    .plan.pro .price b { font-size: 62px; }
    .price b { font-size: 54px; }
    .toast.t1 { margin-right: 0; }
    .toast.t2 { margin-left: 0; }
    .card3d { right: -16px; }
    .ttp { transform: scale(0.92); }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fcard, .btn { transition: none; }
    .btn-gold::after, .marquee, .plan.pro::before { animation: none; }
  }

  /* ---------- Website additions: navigation, signed-in state, inner pages, legal ---------- */
  .skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; transition: top 0.2s; }
  .skip:focus { top: 12px; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .nav-links a[aria-current="page"] { color: var(--ink); }
  html[data-auth="in"] .when-out, html:not([data-auth="in"]) .when-in { display: none !important; }
  .menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
  .menu-btn svg { width: 20px; height: 20px; }
  .menu-btn .i-close { display: none; }
  .menu-open .menu-btn .i-open { display: none; }
  .menu-open .menu-btn .i-close { display: block; }
  .mobile-menu { border-top: 1px solid var(--line); background: var(--white); padding: 8px 24px 22px; max-height: calc(100dvh - 72px); overflow-y: auto; box-shadow: 0 24px 40px rgba(32, 33, 36, 0.12); }
  .mobile-menu a:not(.btn) { display: block; padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; text-decoration: none; }
  .mobile-menu .btn { width: 100%; margin-top: 16px; }
  .mobile-menu .btn + .btn { margin-top: 10px; }
  @media (min-width: 861px) { .mobile-menu { display: none !important; } }
  @media (max-width: 860px) { .menu-btn { display: inline-flex; } }
  @media (max-width: 420px) { .nav-cta .btn-gold { padding: 0 14px; font-size: 14px; } .logo { font-size: 27px; } }

  .page-hero { position: relative; padding-block: 72px 24px; overflow: hidden; }
  .page-hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -300px; top: -420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 164, 92, 0.18), rgba(201, 164, 92, 0)); pointer-events: none; }
  .page-hero .head { position: relative; }
  .page-hero h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -0.045em; line-height: 1; }
  .page-hero + section.block { padding-top: 48px; }

  .contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
  .contact-card { padding: 30px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
  .contact-card h2 { font-size: 24px; letter-spacing: -0.02em; }
  .contact-card p { color: var(--muted); font-size: 16px; }
  .contact-card .btn { margin-top: auto; align-self: flex-start; }
  .contact-card a.mail { font-weight: 700; color: var(--gold-ink); word-break: break-all; }
  @media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

  .doc { max-width: 760px; padding-bottom: 96px; }
  .doc .updated { color: var(--faint); font-size: 15px; margin-top: 4px; }
  .doc .intro { font-size: 19px; color: var(--ink-2); margin-top: 28px; }
  .doc h2 { font-size: 26px; letter-spacing: -0.02em; margin: 48px 0 10px; }
  .doc p, .doc li { color: var(--muted); font-size: 17px; margin-top: 12px; }
  .doc ul { padding-left: 22px; margin: 0; }
  .doc li::marker { color: var(--gold-deep); }

  .foot-legal { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--faint); }
  .foot-legal nav { display: flex; flex-wrap: wrap; gap: 18px; }
  .foot-legal a { text-decoration: none; }
  .foot-legal a:hover { color: var(--ink); }

  /* ---------- Smooth motion: hero entrance in CSS (plays on first paint), compositor-only layers ---------- */
  .stage-3d { transform: rotateY(-10deg) rotateX(6deg); will-change: transform; }
  .stage-3d .plinth { transform: translateZ(-80px); }
  #hero-inv { transform: translateZ(10px); will-change: transform; }
  #hero-phone { transform: translateZ(100px); will-change: transform; }
  #hero-rem { transform: translateZ(150px); }
  .stage { will-change: transform; }
  @media (prefers-reduced-motion: no-preference) {
    .hero-h1 .line { transform-origin: 50% 100%; animation: k-line 1.1s cubic-bezier(0.165, 0.84, 0.44, 1) backwards; }
    .hero-h1 .line + .line { animation-delay: 0.14s; }
    .hero .lead, .hero-ctas, .trial-note, .hero-points { animation: k-up 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) backwards; }
    .hero .lead { animation-delay: 0.15s; } .hero-ctas { animation-delay: 0.23s; } .trial-note { animation-delay: 0.31s; } .hero-points { animation-delay: 0.39s; }
    .stage-3d { animation: k-stage 1.6s cubic-bezier(0.215, 0.61, 0.355, 1) backwards; }
    .stage-3d .plinth { animation: k-plinth 1.1s cubic-bezier(0.215, 0.61, 0.355, 1) backwards; }
    #hero-inv { animation: k-inv 1.1s 0.1s cubic-bezier(0.215, 0.61, 0.355, 1) backwards; }
    #hero-phone { animation: k-phone 1.2s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) backwards; }
    .rv { transform: translate3d(0, 32px, 0); transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) var(--rv-delay, 0s); }
    .rv.in { transform: none; }
  }
  @keyframes k-line { from { transform: perspective(900px) rotateX(-60deg) translateY(36px); } to { transform: none; } }
  @keyframes k-up { from { transform: translate3d(0, 18px, 0); } to { transform: none; } }
  @keyframes k-stage { from { transform: rotateY(-32deg) rotateX(18deg); } to { transform: rotateY(-10deg) rotateX(6deg); } }
  @keyframes k-plinth { from { transform: translateZ(-80px) scale(0.96); } to { transform: translateZ(-80px); } }
  @keyframes k-inv { from { transform: translate3d(0, 40px, 10px); } to { transform: translateZ(10px); } }
  @keyframes k-phone { from { transform: translate3d(0, 70px, 100px); } to { transform: translateZ(100px); } }
  /* Blurring everything behind the sticky header on every scroll frame is the costliest effect on phones. */
  @media (max-width: 860px) { header.site { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.97); } }

/* Phones: a sideways tilt pushes the left edge of the hero (and its reminder card) off the screen,
   so the hero keeps only a gentle forward tilt there, and its intro animation ends on that same angle. */
@media (max-width: 620px) {
  .stage-3d { transform: rotateX(5deg); }
  @media (prefers-reduced-motion: no-preference) { .stage-3d { animation-name: k-stage-phone; } }
}
@keyframes k-stage-phone { from { transform: rotateY(-14deg) rotateX(16deg); } to { transform: rotateX(5deg); } }
