/* WithYou website — shared tokens (mirror app palette + new web-only flourishes) */
:root {
  --bg: #E6E0D2;
  --bg-2: #EAE3D5;
  --card: #F0E8D9;
  --card-warm: #F1DDCB;
  --card-warmer: #EFD2BE;
  --sage: #6E8B7A;
  --sage-deep: #587164;
  --sage-soft: #C7D6CC;
  --clay: #C97A5A;
  --clay-soft: #EFD2BE;
  --gold: #D4A84B;
  --gold-soft: #ECDDB6;
  --ink: #2A2A26;
  --ink-2: #4A463E;
  --muted: #7B7363;
  --muted-soft: #B8AE9F;
  --hairline: rgba(60,50,30,0.08);
  --white: #FBF8F1;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::-webkit-scrollbar { display: none; }
button { font-family: inherit; cursor: pointer; }

/* WithYou wordmark — dot · dot · serif */
.wm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.wm .dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}
.wm .dots .a { background: var(--sage); }
.wm .dots .b { background: var(--gold); }
.wm .dots .c { background: var(--clay); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  border: none;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(50,40,25,0.18);
}
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 10px 24px rgba(50,40,25,0.22); }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--muted-soft);
}

/* App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s;
}
.appstore-badge:hover { transform: translateY(-1px); }
.appstore-badge .a { font-size: 11px; opacity: 0.7; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.appstore-badge .b { font-family: var(--serif); font-size: 19px; line-height: 1; margin-top: 2px; }

/* Form */
.email-row {
  display: flex;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 6px 6px 6px 16px;
  max-width: 420px;
}
.email-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
}
.email-row input::placeholder { color: var(--muted); }
.email-row button {
  background: var(--sage);
  color: white;
  border: none;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
}

/* Section helpers */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
}
.h3 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 400;
}
.lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 560px;
}

/* Floating orbits motif (echoes hero in app) */
.orbit-bg {
  position: absolute;
  pointer-events: none;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Footer */
.foot {
  padding: 60px 0 40px;
  border-top: 1px solid var(--hairline);
  margin-top: 80px;
  font-size: 13px;
  color: var(--muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.foot-col-pair { display: contents; }
.foot-grid h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid .foot-features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.foot-grid a { text-decoration: none; color: var(--muted); }
.foot-grid a:hover { color: var(--ink); }
