/* Founders Way — website. Same visual system as the app: onyx, champagne gold, ivory, a touch of wine. */
:root {
  --bg: #07070a;
  --bg2: #0c0c10;
  --card: #111115;
  --card2: #18181d;
  --text: #f4eee2;
  --soft: #cfc8ba;
  --muted: #8b857a;
  --dim: #55524c;
  --gold: #cda75e;
  --gold2: #ebd49d;
  --gold-deep: #8c6a2e;
  --wine: #4a0f1a;
  --wine-deep: #25070d;
  --line: rgba(205, 167, 94, 0.18);
  --line-soft: rgba(244, 238, 226, 0.07);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold2); text-decoration: none; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 7, 10, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font: 500 22px/1 var(--serif); letter-spacing: 0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.nav ul a { color: var(--soft); }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--gold2); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em;
  background: linear-gradient(180deg, #f2e1b0, #cda75e 55%, #9a7535);
  color: #16120a; border: 0; cursor: pointer;
  box-shadow: 0 8px 30px rgba(205, 167, 94, 0.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: #16120a; transform: translateY(-1px); box-shadow: 0 12px 36px rgba(205, 167, 94, 0.3); }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: transparent; color: var(--gold2); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--gold); color: var(--text); }
.nav .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12.5px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
}
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(48px, 7vw, 92px); line-height: 0.98; }
h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; }
h3 { font-size: 28px; line-height: 1.15; }
em, .it { font-style: italic; color: var(--gold2); }
.lead { font-size: clamp(18px, 1.6vw, 20.5px); color: var(--soft); max-width: 36em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

section { padding: 120px 0; position: relative; }
.sec-head { margin-bottom: 56px; }
.sec-head h2 { margin: 18px 0 18px; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto;
  height: 900px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 72% 30%, rgba(205, 167, 94, 0.16), transparent 70%),
    radial-gradient(35% 45% at 20% 10%, rgba(74, 15, 26, 0.55), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { margin: 22px 0 26px; }
.hero .lead { margin: 0 0 36px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.stats b { display: block; font: 500 40px/1 var(--serif); color: var(--gold2); }
.stats span { font-size: 13.5px; color: var(--muted); }

.phones { position: relative; height: 640px; }
.phone {
  position: absolute; width: 290px; border-radius: 44px; overflow: hidden;
  box-shadow: 0 0 0 7px #1a1712, 0 0 0 8.5px #5d4a2a, 0 50px 110px rgba(0, 0, 0, 0.7);
  background: #000;
}
.phones .p1 { left: 4%; top: 40px; transform: rotate(-6deg); z-index: 1; opacity: .92; }
.phones .p2 { right: 4%; top: 0; z-index: 2; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line-soft); border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column;
}
.step .shot { padding: 34px 34px 0; background: radial-gradient(80% 70% at 50% 0%, rgba(205,167,94,.12), transparent 70%); }
.step .shot img { border-radius: 26px 26px 0 0; box-shadow: 0 0 0 1px var(--line); max-height: 420px; object-fit: cover; object-position: top; width: 100%; }
.step .txt { padding: 28px 32px 34px; }
.step .n { font: 500 15px/1 var(--serif); color: var(--gold); letter-spacing: .1em; }
.step h3 { margin: 10px 0 10px; }
.step p { margin: 0; color: var(--soft); font-size: 16px; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 28px; overflow: hidden; }
.feature { background: var(--bg2); padding: 40px 36px; }
.feature .ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold); margin-bottom: 22px;
  background: rgba(205, 167, 94, 0.06);
}
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 25px; margin-bottom: 10px; }
.feature p { margin: 0; color: var(--soft); font-size: 15.5px; }

/* ---------- Profile ---------- */
.profile { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.profile .phone { position: relative; margin-inline: auto; width: 300px; }
.dims { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dims li { border: 1px solid var(--line-soft); border-radius: 18px; padding: 18px 20px; background: var(--bg2); }
.dims b { display: block; font: 500 22px/1.2 var(--serif); color: var(--gold2); margin-bottom: 4px; }
.dims span { font-size: 14.5px; color: var(--muted); }

/* ---------- Founders marquee ---------- */
.founders { padding: 100px 0; overflow: hidden; }
.marquee { display: flex; gap: 14px; width: max-content; animation: slide 90s linear infinite; }
.marquee.rev { animation-direction: reverse; margin-top: 14px; }
.chip {
  white-space: nowrap; padding: 14px 22px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: var(--bg2);
  font-size: 15px; color: var(--soft);
}
.chip b { font: 500 19px/1 var(--serif); color: var(--text); margin-right: 8px; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.coll {
  position: relative; border-radius: 22px; padding: 28px 28px 26px; min-height: 160px;
  border: 1px solid var(--line-soft); background: linear-gradient(160deg, var(--card2), var(--bg2));
  display: flex; flex-direction: column; justify-content: flex-end;
}
.coll.free { border-color: var(--line); background: linear-gradient(160deg, #2a1f0e, var(--bg2)); }
.coll.dark { background: linear-gradient(160deg, var(--wine), var(--wine-deep)); }
.coll .tag { position: absolute; top: 22px; left: 28px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.coll h3 { font-size: 26px; }
.coll p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { border: 1px solid var(--line-soft); border-radius: 26px; padding: 36px 32px; background: var(--bg2); display: flex; flex-direction: column; }
.plan.best { border-color: var(--gold-deep); background: linear-gradient(180deg, #1d160b, var(--bg2) 70%); box-shadow: 0 30px 80px rgba(205,167,94,.08); }
.plan .badge { align-self: flex-start; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #16120a; background: var(--gold); padding: 7px 11px; border-radius: 999px; margin-bottom: 18px; }
.plan h3 { font-size: 30px; }
.plan .price { font: 500 46px/1 var(--serif); color: var(--gold2); margin: 18px 0 6px; }
.plan .price small { font: 400 15px var(--sans); color: var(--muted); }
.plan .sub { color: var(--muted); font-size: 14.5px; margin: 0; }
.free-box { margin-top: 28px; border: 1px dashed var(--line); border-radius: 22px; padding: 26px 30px; display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.free-box p { margin: 0; color: var(--soft); }
.check { list-style: none; padding: 0; margin: 36px auto 0; max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.check li { padding-left: 30px; position: relative; color: var(--soft); font-size: 15.5px; }
.check li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); }
.fine { font-size: 13px; color: var(--dim); max-width: 760px; margin: 30px auto 0; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font: 500 23px/1.3 var(--serif); color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 300 28px/1 var(--sans); color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p, .faq details ul { margin: 0 0 22px; color: var(--soft); font-size: 16px; }
.faq details ul { padding-left: 20px; }

/* ---------- CTA ---------- */
.final { text-align: center; padding: 130px 0; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 60% at 50% 100%, rgba(205,167,94,.16), transparent 70%); pointer-events: none; }
.final img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 30px; box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px var(--line); }
.final h2 { margin-bottom: 18px; }
.final .lead { margin: 0 auto 36px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line-soft); padding: 54px 0 60px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
footer nav a { color: var(--soft); }
footer .legal { width: 100%; font-size: 12.5px; color: var(--dim); margin-top: 8px; }

/* ---------- Legal / text pages ---------- */
.doc { padding: 80px 0 120px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(44px, 6vw, 68px); margin: 18px 0 12px; }
.doc .updated { color: var(--muted); font-size: 14.5px; margin-bottom: 44px; }
.doc h2 { font-size: 32px; margin: 52px 0 14px; }
.doc h3 { font-size: 24px; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--soft); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc .summary { border: 1px solid var(--line); border-radius: 22px; padding: 26px 30px; background: linear-gradient(160deg, #1a140a, var(--bg2)); }
.doc .summary h2 { margin-top: 0; font-size: 26px; }
.doc .summary ul { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--soft); }
.doc th { color: var(--gold); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.contact-card { margin-top: 40px; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--bg2); }
.contact-card p { margin: 4px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .profile { grid-template-columns: 1fr; }
  .phones { height: 560px; max-width: 520px; margin-inline: auto; width: 100%; }
  .phone { width: 250px; }
  .steps, .features, .collections, .plans { grid-template-columns: 1fr 1fr; }
  .profile .phone { order: 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 84px 0; }
  .nav ul { display: none; }
  .hero { padding-top: 48px; }
  .stats { gap: 26px; }
  .stats b { font-size: 32px; }
  .phones { height: 470px; }
  .phone { width: 210px; border-radius: 34px; }
  .steps, .features, .collections, .plans, .dims, .check { grid-template-columns: 1fr; }
  .feature { padding: 32px 26px; }
  .sec-head { margin-bottom: 40px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: 0; padding: 4px 0; }
  .doc tr { border-bottom: 1px solid var(--line-soft); padding: 12px 0; }
}

/* Cormorant defaults to old-style figures; use lining numbers for headings and figures. */
h1, h2, h3, .stats b, .price, .step .n, .brand, .faq summary, .dims b, .chip b { font-feature-settings: "lnum" 1; font-variant-numeric: lining-nums; }
