/* Repainto — shared stylesheet
   Palette + type per Identity Spec: Spectral (display) + Figtree (UI/body). */

:root {
  --clay: #C4623E;
  --coral: #F28E68;
  --turmeric: #EAA83C;
  --seaglass: #5AA292;
  --dusk: #9C6F84;
  --palm: #6E8B5A;

  --bg: #FAF2E7;
  --surface: #FFFCF6;
  --sand: #F0E2CC;
  --line: #D8C4A8;
  --text: #3B2E28;
  --heading: #2A201C;

  /* Studio identity accents (warm Horizon stationery) */
  --ink: #26221E;
  --stone: #8A7A63;
  --paper: #F4EEE3;
  --sea: #46756B;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.2;
}

a { color: var(--clay); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ---------- Header ---------- */
header.site {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(250, 242, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
header.site .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; }
.brand:hover { text-decoration: none; }

/* Brand lockups rendered in live type (SVG <text> can't load webfonts inside <img>) */
.brand-group { display: flex; align-items: center; gap: 14px; }
.rp-lockup {
  display: inline-flex;
  align-items: center;
  font-family: 'Spectral', Georgia, serif;
  font-weight: 600;
  font-size: 29px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--heading);
}
.rp-lockup .rp-dot {
  width: 0.72em; height: 0.72em;
  flex: none;
  border-radius: 50%;
  margin-left: 0.06em;
  background: conic-gradient(var(--clay) 0 60deg, var(--coral) 60deg 120deg, var(--turmeric) 120deg 180deg, var(--seaglass) 180deg 240deg, var(--dusk) 240deg 300deg, var(--palm) 300deg 360deg);
  box-shadow: 0 1px 4px rgba(150, 90, 50, 0.25);
}
.brand-byline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--stone);
  border-left: 1px solid var(--line);
  padding-left: 14px;
  line-height: 1.2;
}
.brand-byline img { height: 24px; }
.brand-byline:hover { color: var(--clay); text-decoration: none; }
.ml-lockup { display: flex; align-items: center; gap: 14px; }
.ml-lockup img { height: 46px; }
.ml-lockup .ml-name { display: flex; flex-direction: column; line-height: 1; }
.ml-lockup .ml-name .studio-name { font-family: 'Spectral', Georgia, serif; font-weight: 600; font-size: 24px; color: var(--ink); }
.ml-lockup .ml-name .labs { font-family: 'Figtree', sans-serif; font-weight: 700; letter-spacing: 0.38em; font-size: 10px; color: var(--clay); margin-top: 5px; text-transform: uppercase; }
nav.main { display: flex; gap: 26px; align-items: center; font-weight: 500; font-size: 15.5px; }
nav.main a { color: var(--text); }
nav.main a:hover { color: var(--clay); text-decoration: none; }
.btn {
  display: inline-block;
  background: var(--clay);
  color: #FFFCF6 !important;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: #A94F30; text-decoration: none !important; }
.btn.secondary { background: var(--sand); color: var(--heading) !important; }
.btn.secondary:hover { background: var(--line); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.5vw, 60px); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero p.lede { font-size: 20px; margin-bottom: 30px; max-width: 34em; }
.badge-soon {
  display: inline-block;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* Waitlist form */
form.waitlist { display: flex; gap: 10px; flex-wrap: wrap; max-width: 480px; }
form.waitlist input[type="email"] {
  flex: 1 1 240px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
}
form.waitlist input[type="email"]:focus { outline: 2px solid var(--turmeric); border-color: transparent; }
.form-note { font-size: 14px; color: var(--stone); margin-top: 10px; }

/* Phone mockup */
.phone {
  width: 280px;
  margin: 0 auto;
  background: #2A201C;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(42, 32, 28, 0.28);
}
.phone .screen { border-radius: 34px; overflow: hidden; display: block; }
.phone .screen img { display: block; width: 100%; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(28px, 4vw, 38px); margin-bottom: 12px; text-align: center; }
.section-sub { text-align: center; max-width: 42em; margin: 0 auto 44px; color: var(--text); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
}
section.alt .card { background: var(--bg); }
.card .dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; margin-bottom: 14px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { font-size: 15.5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; padding: 0 8px; }
.step .num {
  font-family: 'Spectral', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #FFFCF6;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15px; }

/* Privacy strip */
.privacy-strip { text-align: center; }
.privacy-strip .shield { font-size: 40px; margin-bottom: 12px; }
.privacy-strip h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 14px; }
.privacy-strip p { max-width: 40em; margin: 0 auto 8px; }

/* CTA band */
.cta-band { background: linear-gradient(150deg, #F6D9A8, #E27A4E 52%, #B85C38); text-align: center; padding: 72px 0; }
.cta-band h2 { color: #FFFCF6; font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: #FFF3E2; margin-bottom: 26px; }
.cta-band form.waitlist { margin: 0 auto; justify-content: center; }
.cta-band .form-note { color: #FFF3E2; }
.cta-band .btn { background: #2A201C; }
.cta-band .btn:hover { background: #170F0C; }

/* Studio section (warm Horizon stationery) */
.studio-strip { background: var(--paper); border-top: 1px solid #DED5C4; padding: 80px 0; }
.studio-strip .kicker { font-size: 12px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
.studio-strip h2 { font-size: clamp(26px, 4vw, 36px); color: var(--ink); margin-bottom: 14px; }
.studio-strip p { color: #4A4238; margin-bottom: 12px; }
.studio-strip a { color: var(--sea); font-weight: 600; }
.studio-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.studio-brand { text-align: center; }
.studio-brand img { height: 130px; }
.studio-brand .ml-wordmark { font-family: 'Spectral', Georgia, serif; font-weight: 600; font-size: 42px; color: var(--ink); line-height: 1; margin-top: 6px; }
.studio-brand .ml-labs { font-family: 'Figtree', sans-serif; font-weight: 700; letter-spacing: 0.42em; font-size: 14px; color: var(--clay); margin-top: 10px; text-transform: uppercase; }
.studio-brand .ml-tag { font-size: 13.5px; color: var(--stone); font-style: italic; font-family: 'Spectral', Georgia, serif; margin-top: 14px; }

/* Journey timeline */
.journey { margin: 26px 0 8px; }
.journey-item { position: relative; padding: 0 0 22px 30px; border-left: 2px solid #DED5C4; margin-left: 8px; }
.journey-item:last-child { padding-bottom: 4px; border-left-color: transparent; }
.journey-item::before {
  content: "";
  position: absolute;
  left: -9px; top: 3px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent, var(--turmeric));
  border: 3px solid var(--paper);
}
.journey-item .when { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--stone); margin-bottom: 3px; }
.journey-item h3 { font-size: 19px; margin-bottom: 4px; color: var(--ink); }
.journey-item p { font-size: 15px; margin-bottom: 0; }
.prose .journey-item { border-left-color: var(--line); }
.prose .journey-item:last-child { border-left-color: transparent; }
.prose .journey-item::before { border-color: var(--paper); }

/* ---------- Footer (monochrome) ---------- */
footer.site {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 40px;
  margin-top: 0;
}
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; align-items: start; }
footer.site img.mark { height: 56px; margin-bottom: 14px; }
footer.site .wordmark { font-family: 'Spectral', Georgia, serif; font-weight: 600; font-size: 22px; color: var(--paper); }
footer.site .labs { font-size: 11px; letter-spacing: 0.5em; color: #F0B54E; text-transform: uppercase; margin-bottom: 14px; }
footer.site p { font-size: 14px; color: #C9BFAE; max-width: 30em; }
footer.site h4 { font-family: 'Figtree', sans-serif; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: var(--paper); font-size: 15px; }
footer.site .legal { border-top: 1px solid #3A342C; margin-top: 44px; padding-top: 22px; font-size: 13.5px; color: var(--stone); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Prose pages (privacy, support, about) ---------- */
.prose { padding: 56px 0 80px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.prose .meta { color: var(--stone); font-size: 15px; margin-bottom: 36px; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose h3 { font-size: 20px; margin: 26px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 24px; }
.prose li { margin-bottom: 8px; }
.prose .callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--seaglass);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0;
}

/* FAQ */
details.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 14px;
}
details.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; color: var(--heading); }
details.faq p { margin-top: 12px; }

/* About page (studio, monochrome) */
body.studio { background: var(--paper); color: var(--ink); }
body.studio h1, body.studio h2, body.studio h3 { color: var(--ink); }
body.studio a { color: var(--sea); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .studio-grid { grid-template-columns: 1fr; gap: 40px; }
  footer.site .cols { grid-template-columns: 1fr; gap: 28px; }
  nav.main .hide-mobile, .brand-byline.hide-mobile { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 36px; }
}
