/* ToroKard site — palette and type mirror the app exactly.
   Source of truth: app/lib/theme/concierge_theme.dart
   cream #F6F1E8 / surface #FFFDF8 / ink #272219 / taupe #7D7365
   green #2F6B4F / on-green #F4EFE4 / amber pill #F5E6CE + #8A5200 */

:root {
  --cream: #f6f1e8;
  --surface: #fffdf8;
  --ink: #272219;
  --taupe: #7d7365;
  --green: #2f6b4f;
  --on-green: #f4efe4;
  --amber-bg: #f5e6ce;
  --amber-ink: #8a5200;
  --outline: rgba(39, 34, 25, 0.12);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: "Source Sans 3", -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .serif {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---- header ---- */
header {
  padding: 22px 0;
}
header .wrap { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand span { font-family: "Newsreader", Georgia, serif; font-size: 26px; }
nav { margin-left: auto; display: flex; gap: 26px; flex-wrap: wrap; }
nav a { color: var(--taupe); font-size: 15px; font-weight: 600; white-space: nowrap; }
nav a:hover { color: var(--green); text-decoration: none; }

/* ---- hero ---- */
.hero { padding: 46px 0 30px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--taupe); text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 58px); margin-bottom: 18px; }
.hero .lede { font-size: 18.5px; color: var(--taupe); max-width: 46ch; margin-bottom: 26px; }
.hero .lede strong { color: var(--ink); font-weight: 600; }

.badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--cream);
  border-radius: 12px; padding: 10px 18px;
  font-size: 14.5px; font-weight: 600; line-height: 1.2;
}
.badge small { display: block; font-size: 10.5px; font-weight: 400; opacity: 0.75; }
.badge.soon { background: transparent; color: var(--taupe); border: 1px solid var(--outline); }
.badge:hover { text-decoration: none; }
.badge.store { padding: 9px 18px 9px 14px; gap: 11px; }
.badge.store svg { width: 24px; height: 24px; flex: none; }
.badge.store small { font-size: 10px; letter-spacing: 0.02em; }
.badge.store > span { font-size: 16px; line-height: 1.15; }
.badge.store.dim { opacity: 0.55; }

/* ---- ways (hands-free section) ---- */
.ways { padding: 6px 0 20px; }
.ways h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 6px; }
.ways .sub { color: var(--taupe); margin-bottom: 26px; max-width: 52ch; }

/* phone mock */
.phone {
  justify-self: center;
  width: min(300px, 78vw);
  border-radius: 42px;
  padding: 10px;
  background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(39, 34, 25, 0.55);
}
.phone .screen { position: relative; border-radius: 34px; overflow: hidden; }
/* First slide sits in normal flow (sets the height) and stays visible, so
   there is never a dark flash between crossfades. */
.phone img { display: block; width: 100%; border-radius: 34px; }
.screen img + img { position: absolute; inset: 0; opacity: 0; }
.screen img { animation: slide 25s infinite; }
.screen img:nth-child(1) { animation: none; }
.screen img:nth-child(2) { animation-delay: 5s; }
.screen img:nth-child(3) { animation-delay: 10s; }
.screen img:nth-child(4) { animation-delay: 15s; }
.screen img:nth-child(5) { animation-delay: 20s; }
@keyframes slide {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .screen img { animation: none !important; }
}

/* ---- deck (signature element: the app's answer, in CSS) ---- */
.deck-strip { padding: 40px 0 8px; }
.deck-strip h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 6px; }
.deck-strip .sub { color: var(--taupe); margin-bottom: 26px; max-width: 52ch; }
.deck { display: grid; gap: 10px; max-width: 560px; }
.deck-card {
  border-radius: 14px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  color: #fff;
}
.deck-card .n {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600; flex: none;
}
.deck-card .who { flex: 1; min-width: 0; }
.deck-card .who b { display: block; font-size: 15.5px; font-weight: 600; }
.deck-card .who i { font-style: normal; font-size: 12.5px; opacity: 0.75; }
.deck-card .rate { font-family: "Newsreader", Georgia, serif; font-size: 22px; }
.deck-card.win {
  background: linear-gradient(135deg, #2f6b4f, #163a29);
  transform: scale(1.02);
  box-shadow: 0 18px 36px -18px rgba(22, 58, 41, 0.6);
}
.deck-card:nth-child(2) { background: linear-gradient(135deg, #3a3a44, #17171d); opacity: 0.92; }
.deck-card:nth-child(3) { background: linear-gradient(135deg, #5c4326, #2e2113); opacity: 0.85; }
.pill {
  display: inline-block; background: var(--amber-bg); color: var(--amber-ink);
  border-radius: 999px; padding: 3px 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em;
}

/* ---- features ---- */
.features { padding: 56px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  padding: 26px 24px;
}
.tile h3 { font-size: 17px; margin-bottom: 8px; }
.tile p { color: var(--taupe); font-size: 15px; }

/* ---- how ---- */
.how { padding: 10px 0 56px; }
.how ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.how li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.how li::before {
  content: counter(step);
  font-family: "Newsreader", Georgia, serif;
  display: block; font-size: 30px; color: var(--green); margin-bottom: 8px;
}
.how li b { display: block; margin-bottom: 6px; font-size: 16px; }
.how li p { color: var(--taupe); font-size: 15px; }

/* ---- privacy band ---- */
.privacy-band {
  background: linear-gradient(135deg, #2f6b4f, #1d4634);
  color: var(--on-green);
  border-radius: 22px;
  padding: 46px 44px;
  margin: 20px 0 64px;
}
.privacy-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.privacy-band p { max-width: 62ch; opacity: 0.92; margin-bottom: 18px; }
.privacy-band a {
  color: var(--on-green); font-weight: 600;
  border-bottom: 1px solid rgba(244, 239, 228, 0.5);
}
.privacy-band a:hover { text-decoration: none; border-bottom-color: var(--on-green); }

/* ---- document pages ---- */
.doc { max-width: 720px; margin: 0 auto; padding: 26px 24px 80px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 44px); margin: 18px 0 10px; }
.doc .updated { color: var(--taupe); font-size: 14px; margin-bottom: 34px; }
.doc h2 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--taupe);
  margin: 34px 0 8px;
}
.doc p { margin-bottom: 14px; font-size: 16.5px; }
.doc .lead { font-family: "Newsreader", Georgia, serif; font-size: 21px; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--outline); padding: 34px 0 48px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; }
footer span { color: var(--taupe); font-size: 14px; }
footer nav { margin-left: auto; gap: 22px; }

@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phone { order: -1; }
  .grid3, .how ol { grid-template-columns: 1fr; }
  nav { gap: 16px; }
  .privacy-band { padding: 34px 26px; }
  footer nav { margin-left: 0; }
}
