/* Fredoka, self-hosted variable font (no Google Fonts request at runtime).
   Files live in Site/fonts/; one file per subset covers weights 400-700. */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/fredoka-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/fredoka-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Stepzz: marketing site styles. Shares the app's brand tokens. */
:root {
  --ink: #17130E;          /* warm near-black */
  --ink-2: #1F1A13;
  --surface-d: #272018;
  --paper: #F6ECDC;        /* warm off-white */
  --paper-2: #FBF4E8;
  --surface-l: #FFFFFF;
  --text-d: #FAF3E7;
  --text-l: #1E180F;
  --dim-d: #C9BCA8;
  --dim-l: #5B5142;
  --muted-d: #8A7E6C;
  --muted-l: #998D78;
  --accent: #FF3B1E;
  --accent-deep: #E22C0E;
  --accent-soft: rgba(255,59,30,0.12);
  --hair-d: rgba(255,255,255,0.09);
  --hair-l: rgba(40,28,10,0.10);

  --display: 'Fredoka', system-ui, sans-serif;
  --body: -apple-system, 'SF Pro Text', system-ui, 'Segoe UI', sans-serif;

  --maxw: 1140px;
  --pad: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--ink);
  color: var(--text-d);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.04; }
.eyebrow {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.accent { color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23,19,14,0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 0.5px solid var(--hair-d);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .word { font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--text-d); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--dim-d); transition: color .15s; }
.nav-links a:hover { color: var(--text-d); }
@media (max-width: 720px) { .nav-links .nav-link { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  border: none; cursor: pointer; border-radius: 16px; padding: 13px 20px;
  background: var(--accent); color: #1B1207;
  box-shadow: 0 4px 0 var(--accent-deep), 0 12px 22px rgba(255,59,30,0.26);
  transition: transform .08s ease, box-shadow .08s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-deep), 0 6px 14px rgba(255,59,30,0.22); }
.btn.small { padding: 10px 16px; font-size: 14px; border-radius: 13px; box-shadow: 0 3px 0 var(--accent-deep), 0 8px 16px rgba(255,59,30,0.22); }

/* App Store badge */
.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff; border-radius: 14px;
  padding: 11px 18px 11px 16px; border: 1px solid rgba(255,255,255,0.14);
  transition: transform .12s ease, border-color .12s ease;
}
.appstore:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.3); }
.appstore .as-apple { width: 24px; height: 28px; flex-shrink: 0; }
.appstore .as-text { display: flex; flex-direction: column; line-height: 1.05; }
.appstore .as-small { font-family: var(--body); font-size: 11px; letter-spacing: 0.02em; opacity: 0.92; }
.appstore .as-big { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.appstore.light { background: var(--text-l); border-color: rgba(0,0,0,0.1); }

/* ---------- sections ---------- */
section { position: relative; }
.s-dark { background: var(--ink); color: var(--text-d); }
.s-light { background: var(--paper); color: var(--text-l); }
.pad-y { padding-block: clamp(72px, 11vw, 132px); }

/* ---------- layout grids ---------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 540px; }
.hero-phone { display: flex; justify-content: center; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 600px; margin-inline: auto; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-meta { justify-content: center; }
}

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-meta { display: flex; align-items: center; gap: 10px; color: var(--muted-d); font-size: 14px; font-weight: 500; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.step-card { background: var(--surface-l); border: 0.5px solid var(--hair-l); border-radius: 24px;
  padding: 26px 26px 28px; box-shadow: 0 18px 40px rgba(80,50,20,0.07); }
.step-vis { height: 124px; border-radius: 16px; background: var(--paper-2); border: 0.5px solid var(--hair-l);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; overflow: hidden; position: relative; }
.step-num { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; color: var(--accent-deep); }
.step-card h3 { font-size: 21px; margin: 6px 0 8px; color: var(--text-l); }
.step-card p { margin: 0; color: var(--dim-l); font-size: 15.5px; line-height: 1.5; }

.widget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,56px); align-items: center; }
@media (max-width: 860px) { .widget-grid { grid-template-columns: 1fr; } }
.widget-tiles { display: flex; flex-wrap: wrap; gap: 22px; }
.widget-tile { flex: 1; min-width: 240px; border-radius: 28px; padding: 26px; display: flex; align-items: center; justify-content: center; }

.mirror-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px,6vw,72px); align-items: center; }
@media (max-width: 860px) { .mirror-grid { grid-template-columns: 1fr; } .mirror-cal { order: -1; } }
.mirror-cal { display: flex; justify-content: center; }

.price-card { max-width: 460px; margin: 0 auto; background: var(--surface-d); border: 0.5px solid var(--hair-d);
  border-radius: 30px; padding: 34px 32px 32px; text-align: center; position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45); }

/* ---------- footer ---------- */
.footer { background: #110D09; border-top: 0.5px solid var(--hair-d); padding-block: 56px 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; align-items: flex-start; }
.foot-links { display: flex; flex-direction: column; gap: 11px; }
.foot-links a, .foot-links span { font-size: 15px; color: var(--dim-d); transition: color .15s; }
.foot-links a:hover { color: var(--text-d); }
.foot-head { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  margin-top: 48px; padding-top: 22px; border-top: 0.5px solid var(--hair-d); color: var(--muted-d); font-size: 13.5px; }

/* ---------- legal pages ---------- */
.legal { background: var(--paper); color: var(--text-l); min-height: 100vh; }
.legal .doc { max-width: 760px; margin: 0 auto; padding: clamp(48px,8vw,96px) var(--pad) 120px; }
.legal h1 { font-size: clamp(40px, 7vw, 60px); margin-bottom: 10px; }
.legal .lede { font-size: 18px; color: var(--dim-l); margin: 0 0 8px; }
.legal .updated { font-size: 14px; color: var(--muted-l); font-weight: 600; margin-bottom: 44px; }
.legal h2 { font-size: 23px; margin: 44px 0 12px; }
.legal p, .legal li { font-size: 16.5px; color: #3A3225; line-height: 1.62; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a.inline { color: var(--accent-deep); font-weight: 600; border-bottom: 1px solid rgba(226,44,14,0.3); }
.legal strong { color: var(--text-l); font-weight: 700; }
.legal .backbar { border-bottom: 0.5px solid var(--hair-l); background: rgba(246,236,220,0.82);
  backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 10; }
.legal .backbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.legal .backbar .word { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--text-l); }
.legal .backbar a.back { font-size: 15px; font-weight: 600; color: var(--dim-l); }
.legal .backbar a.back:hover { color: var(--accent-deep); }
