/* =========================================================
   Buddy — landing page
   Palette taken from the Goryeo royal phoenix flag:
   a warm golden-yellow field, a sage-green emblem, coral red,
   dark teal-green, and mustard gold — with banded borders.
   ========================================================= */

:root {
  /* Core flag palette */
  --field:      #f3e0a0;  /* warm golden-yellow field */
  --field-hi:   #f8ecc2;  /* lighter wheat, top of page */
  --cream:      #fdf7e4;  /* near-white paper, card surfaces */
  --ink:        #21302a;  /* warm near-black (the flag's linework) */

  --sage:       #9cc785;  /* light phoenix green */
  --sage-deep:  #6fa45b;
  --teal:       #2f7d69;  /* dark teal-green */
  --teal-deep:  #225a4c;
  --coral:      #e05a46;  /* coral red wings */
  --coral-deep: #c4452f;
  --mustard:    #e3ac32;  /* deep golden-yellow (border bands) */

  /* Semantic */
  --bg:        var(--field);
  --ink-dim:   rgba(33, 48, 42, 0.66);
  --ink-faint: rgba(33, 48, 42, 0.40);
  --line:      rgba(33, 48, 42, 0.14);
  --line-soft: rgba(33, 48, 42, 0.08);
  --shadow:    0 18px 50px rgba(33, 48, 42, 0.12);

  --radius:    18px;
  --maxw:      1120px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Ambient background — warm, paper-like ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -30%, var(--field-hi) 0%, var(--field) 55%),
    var(--field);
}
.aurora__blob { position: absolute; border-radius: 50%; filter: blur(120px); }
.aurora__blob--1 {
  width: 46vw; height: 46vw; left: 2vw; top: -12vw;
  background: radial-gradient(circle, var(--sage), transparent 72%);
  opacity: 0.22; animation: drift1 28s var(--ease) infinite alternate;
}
.aurora__blob--2 {
  width: 34vw; height: 34vw; right: -8vw; top: 18vw;
  background: radial-gradient(circle, var(--coral), transparent 72%);
  opacity: 0.10; animation: drift2 34s var(--ease) infinite alternate;
}
.aurora__blob--3 {
  width: 40vw; height: 40vw; left: 26vw; bottom: -20vw;
  background: radial-gradient(circle, var(--teal), transparent 72%);
  opacity: 0.08; animation: drift3 38s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate(5vw, 5vw); } }
@keyframes drift2 { to { transform: translate(-4vw, 6vw); } }
@keyframes drift3 { to { transform: translate(3vw, -5vw); } }

.grain {
  position: absolute; inset: 0; opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 48px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(253, 247, 228, 0.78);
  backdrop-filter: blur(18px) saturate(120%);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { display: inline-flex; position: relative; }
/* iOS WhimFaceMark-style face cycling: incoming face pops in (scale .88 + fade, springy)
   over the current one, then the base swaps underneath. */
.brand__face--next { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.brand__face--next.is-in { animation: facePop .34s cubic-bezier(.3, 1.35, .6, 1) both; }
@keyframes facePop { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
.brand__name {
  font-family: "Fraunces", serif; font-size: 1.4rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--ink);
}
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font-size: 0.94rem; color: var(--ink-dim); transition: color 0.25s; }
.nav__links a:hover { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 600; padding: 12px 24px;
  border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s;
  white-space: nowrap;
}
/* primary: solid teal-green, cream text */
.btn--primary {
  background: var(--teal); color: var(--cream);
  box-shadow: 0 8px 22px rgba(34, 90, 76, 0.28);
}
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(34, 90, 76, 0.34); }
/* ghost: ink hairline outline */
.btn--ghost {
  background: transparent; border-color: var(--line); color: var(--ink); font-weight: 500;
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.nav__links .btn--ghost { padding: 9px 18px; }

/* ---------- Layout helpers ---------- */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) clamp(20px, 5vw, 48px);
}
.section__head { max-width: 640px; margin-bottom: 60px; }
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 16px 0 14px; }
.section__head h2.oneline { white-space: nowrap; font-size: clamp(1.25rem, 4.7vw, 3rem); }
.lead { color: var(--ink-dim); font-size: 1.12rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal);
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(140px, 18vw, 200px) clamp(20px, 5vw, 48px) clamp(60px, 8vw, 96px);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero__title { font-size: clamp(2.7rem, 6.4vw, 4.6rem); margin: 22px 0 24px; font-weight: 400; }
.hero__title .top { display: block; white-space: nowrap; }
/* emphasis line in coral, italic — verb rotates */
.hero__title .grad { display: block; color: var(--coral); font-style: italic; white-space: nowrap; }
.vrot { display: inline-grid; justify-items: start; white-space: nowrap; transition: width 0.55s var(--ease); }
.vrot__w {
  grid-area: 1 / 1; opacity: 0; transform: translateY(0.5em); filter: blur(7px);
  transition: opacity 0.5s var(--ease), transform 0.55s var(--ease), filter 0.5s var(--ease);
}
.vrot__w.is-on { opacity: 1; transform: none; filter: none; }
.vrot__w.is-out { opacity: 0; transform: translateY(-0.45em); filter: blur(7px); }
.hero__sub { font-size: 1.15rem; color: var(--ink-dim); max-width: 47ch; }
.hero__sub span { display: block; }
.hero__sub span + span { margin-top: .7em; }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__sub em { color: var(--teal); font-style: italic; font-weight: 500; }
.hero__cta { display: flex; gap: 14px; margin: 34px 0 28px; flex-wrap: wrap; }
.hero__meta { display: flex; align-items: center; gap: 14px; font-size: 0.88rem; color: var(--ink-dim); }
.hero__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }

/* ---------- Device mockup — the Buddy browser (iOS app) ---------- */
.device { position: relative; justify-self: center; }
.device__frame {
  position: relative; width: 300px; height: 610px;
  background: linear-gradient(165deg, var(--teal-deep), var(--ink));
  border-radius: 48px; padding: 11px;
  box-shadow: 0 40px 80px rgba(33, 48, 42, 0.32), inset 0 1px 0 rgba(255,255,255,.07);
}
.device__island {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 26px; background: #000; border-radius: 16px; z-index: 6;
}
.device__screen {
  position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden;
  background: #fff;
  font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif;
}
.device__glow {
  position: absolute; inset: -24px; z-index: -1; border-radius: 60px;
  background: radial-gradient(circle at 50% 40%, rgba(47,125,105,.22), transparent 62%);
  filter: blur(22px);
}

/* Status bar */
.statusbar {
  position: relative; z-index: 5; height: 46px;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 17px 24px 0; color: var(--ink);
}
.statusbar__time { font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.statusbar__icons { display: inline-flex; align-items: center; gap: 6px; }
.sig { display: inline-flex; align-items: center; gap: 2.5px; }
.sig i { width: 3px; height: 3px; border-radius: 50%; background: var(--ink); }
.wifi { color: var(--ink); }
.batt {
  width: 24px; height: 12px; border-radius: 3px; border: 1px solid rgba(33,48,42,.4);
  position: relative; padding: 1.5px;
}
.batt::after { content:""; position:absolute; right:-3px; top:3.5px; width:2px; height:4px; background:rgba(33,48,42,.4); border-radius:0 1px 1px 0; }
.batt__lvl { display:block; width:100%; height:100%; background:var(--ink); border-radius:1.5px; }

/* ===== Rendered web pages (behind the assistant) ===== */
.web { position:absolute; top:46px; left:0; right:0; bottom:0; overflow:hidden; background:#fff; color:#1d1d1f; font-size:.72rem; line-height:1.4; }

/* Shared site header */
.wh { display:flex; align-items:center; gap:9px; padding:10px 13px; border-bottom:1px solid #ededed; }
.wh__burger { width:15px; height:12px; flex:none; display:flex; flex-direction:column; justify-content:space-between; }
.wh__burger i { height:2px; background:#3a3a3a; border-radius:2px; }
.wh__logo { font-weight:800; font-size:1.04rem; letter-spacing:-.02em; }
.wh__sp { flex:1; }
.wh__act { display:inline-flex; align-items:center; gap:9px; color:#555; font-size:.7rem; }
.ic-search { width:14px; height:14px; flex:none; border:1.7px solid #555; border-radius:50%; position:relative; }
.ic-search::after { content:""; position:absolute; right:-3px; bottom:-2px; width:5px; height:1.7px; background:#555; transform:rotate(45deg); border-radius:2px; }
.ic-heart { color:#e0607a; font-size:.95rem; line-height:1; }
.g-b{color:#4285f4} .g-r{color:#ea4335} .g-y{color:#fbbc05} .g-g{color:#34a853}

/* Search bar (allrecipes) */
.srch { margin:10px 13px 2px; }
.srch b { display:block; font-size:.78rem; margin-bottom:5px; color:#222; }
.srch__box { display:flex; align-items:center; gap:8px; height:34px; border:1px solid #cfcfcf; border-radius:5px; padding:0 10px; color:#222; }
.srch__box i { color:#999; font-style:normal; }

/* Recipe results (allrecipes) */
.rcp { padding:4px 13px 0; }
.rcp__card { display:flex; gap:11px; padding:11px 0; border-bottom:1px solid #efefef; position:relative; }
.rcp__img { width:76px; height:60px; border-radius:7px; flex:none; }
.rcp__card:nth-child(1) .rcp__img { background:linear-gradient(150deg,#e7b24e,#c4622c 55%,#7d3a1e); }
.rcp__card:nth-child(2) .rcp__img { background:linear-gradient(150deg,#d8452f,#e8a05a 60%,#b8331f); }
.rcp__card:nth-child(3) .rcp__img { background:linear-gradient(150deg,#eccf8f,#cf8a4a 55%,#9c5a2a); }
.rcp__heart { position:absolute; left:56px; top:9px; font-size:1.05rem; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.45); }
.rcp__cat { font-size:.55rem; font-weight:800; letter-spacing:.05em; color:#9a9a9a; text-transform:uppercase; }
.rcp__name { font-size:.82rem; font-weight:800; color:#1a1a1a; line-height:1.18; margin:2px 0 5px; }
.rcp__stars { color:#e0512f; font-size:.72rem; letter-spacing:1px; }
.rcp__stars span { color:#9a9a9a; letter-spacing:0; margin-left:5px; font-weight:700; font-size:.64rem; }

/* Flights (Google Flights) */
.flt__tabs { display:flex; margin:0 13px 2px; border-bottom:1px solid #e8eaed; }
.flt__tabs span { flex:1; text-align:center; font-size:.7rem; font-weight:600; color:#5f6368; padding:7px 0 6px; }
.flt__tabs .on { color:#1a73e8; box-shadow:inset 0 -2.5px 0 #1a73e8; }
.flt__sum { margin:10px 13px; border:1px solid #dadce0; border-radius:10px; padding:10px 12px; font-weight:600; color:#202124; display:flex; align-items:center; gap:8px; box-shadow:0 1px 3px rgba(60,64,67,.1); }
.flt__sum .arr { color:#5f6368; font-weight:700; }
.flt__sum .when { margin-left:auto; font-weight:500; color:#5f6368; font-size:.68rem; }
.flt { padding:0 13px; }
.flt__row { display:flex; align-items:center; gap:10px; padding:11px 8px; border-bottom:1px solid #eee; border-radius:8px; }
.flt__row.best { background:#e8f3ec; }
.flt__dot { width:22px; height:22px; border-radius:50%; flex:none; background:#eef1f6; display:grid; place-items:center; font-size:.62rem; color:#5f6368; font-weight:800; }
.flt__mid { flex:1; min-width:0; }
.flt__time { font-size:.78rem; font-weight:600; color:#202124; }
.flt__meta { font-size:.65rem; color:#5f6368; margin-top:1px; }
.flt__price { font-size:.86rem; font-weight:700; color:#188038; white-space:nowrap; }

/* Checkout (shop) */
.cko { padding:0 14px; }
.cko__h { font-weight:800; font-size:.96rem; padding:13px 0 8px; color:#111; }
.cko__item { display:flex; gap:10px; align-items:center; padding:9px 0; border-bottom:1px solid #f0f0f0; }
.cko__img { width:48px; height:48px; border-radius:8px; flex:none; background:linear-gradient(120deg,#dfe6ee,#c8d2de); }
.cko__nm { flex:1; min-width:0; }
.cko__nm b { font-weight:600; color:#222; display:block; }
.cko__nm small { color:#999; font-size:.66rem; }
.cko__pr { font-weight:700; color:#111; }
.cko__promo { display:flex; align-items:center; gap:7px; margin:11px 0 8px; }
.cko__promo span { flex:1; border:1px dashed #c2c2c2; border-radius:6px; padding:7px 10px; color:#9a9a9a; }
.cko__promo b { background:#111; color:#fff; padding:7px 13px; border-radius:6px; font-size:.7rem; }
.cko__total { display:flex; justify-content:space-between; font-weight:800; font-size:.88rem; border-top:1px solid #e6e6e6; padding-top:9px; color:#111; }

/* Reservations (OpenTable) */
.opn__bar { display:flex; gap:7px; margin:10px 13px 0; }
.opn__bar span { flex:1; border:1px solid #d5d5d5; border-radius:7px; padding:6px 4px; font-size:.64rem; font-weight:600; color:#333; text-align:center; white-space:nowrap; }
.opn { padding:0 13px; }
.opn__card { padding:11px 0; border-bottom:1px solid #efefef; }
.opn__img { height:74px; border-radius:9px; margin-bottom:8px; }
.opn__card:nth-child(1) .opn__img { background:linear-gradient(135deg,#7a4a2e,#caa06a); }
.opn__card:nth-child(2) .opn__img { background:linear-gradient(135deg,#3f5a44,#9bb089); }
.opn__card:nth-child(3) .opn__img { background:linear-gradient(135deg,#6a2e34,#c98a86); }
.opn__nm { font-weight:800; font-size:.86rem; color:#1a1a1a; }
.opn__meta { font-size:.66rem; color:#666; margin:2px 0 8px; }
.opn__meta .star { color:#da3743; font-weight:700; }
.opn__slots { display:flex; gap:6px; }
.opn__slot { background:#da3743; color:#fff; font-size:.66rem; font-weight:800; padding:6px 10px; border-radius:5px; }
.opn__slot.alt { background:#fde8ea; color:#da3743; }

/* Review (Wirecutter) */
.rvw { padding:14px 16px 0; }
.rvw__kick { font-size:.56rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#9a9a9a; }
.rvw__h1 { font-family:"Fraunces",serif; font-size:1.2rem; line-height:1.1; color:#111; margin:5px 0 7px; }
.rvw__by { font-size:.62rem; color:#888; margin-bottom:11px; }
.rvw__hero { height:98px; border-radius:8px; margin-bottom:12px; background:linear-gradient(135deg,#dfe4ea,#aeb8c4 70%,#8b96a4); }
.rvw__pick { border:1.6px solid #111; border-radius:11px; padding:11px 13px; }
.rvw__pick b { display:block; font-size:.58rem; letter-spacing:.1em; text-transform:uppercase; color:#b58900; margin-bottom:4px; }
.rvw__pick .nm { font-weight:800; font-size:.84rem; color:#111; }
.rvw__pick p { font-size:.68rem; color:#555; margin-top:3px; }

/* Orders (Amazon) */
.amz__h { display:flex; align-items:center; gap:10px; padding:9px 13px; background:#131921; }
.amz__logo { font-weight:800; font-size:1.08rem; color:#fff; letter-spacing:-.03em; }
.amz__search { flex:1; height:30px; background:#fff; border-radius:8px; display:flex; align-items:center; gap:7px; padding:0 9px; color:#8a8a8a; font-size:.68rem; }
.amz__logo span { color:#ff9900; }
.ord { padding:0 13px; }
.ord__h { font-weight:800; font-size:.96rem; padding:12px 0 7px; color:#111; }
.ord__card { border:1px solid #e6e6e6; border-radius:9px; margin-bottom:10px; overflow:hidden; }
.ord__top { background:#f6f6f6; padding:7px 11px; font-size:.7rem; font-weight:700; color:#0f7b34; border-bottom:1px solid #ececec; }
.ord__top.muted { color:#555; }
.ord__body { display:flex; gap:11px; padding:10px 11px; align-items:center; }
.ord__img { width:46px; height:46px; border-radius:6px; flex:none; background:linear-gradient(120deg,#e7e1d6,#cfc4b2); }
.ord__nm { flex:1; min-width:0; font-weight:600; color:#222; }
.ord__btn { font-size:.66rem; font-weight:700; color:#333; border:1px solid #d5d5d5; border-radius:14px; padding:5px 11px; white-space:nowrap; }

/* Application form (Acme careers) */
.frm { padding:13px 15px 0; }
.frm__h { font-weight:800; font-size:.96rem; color:#1a1a1a; }
.frm__sub { font-size:.66rem; color:#999; margin-bottom:12px; }
.frm__field { margin-bottom:9px; }
.frm__label { font-size:.62rem; font-weight:700; color:#666; margin-bottom:3px; display:block; }
.frm__input { border:1px solid #cfcfcf; border-radius:6px; padding:7px 9px; min-height:30px; color:#222; font-size:.72rem; display:flex; align-items:center; }
.frm__input--area { display:block; min-height:46px; line-height:1.45; }
.frm__input.filled { border-color:#9cc79a; background:#f3faf2; }
.frm__input.empty { color:#c2c2c2; }
.frm__btn { background:#225a4c; color:#fff; font-weight:700; font-size:.74rem; text-align:center; padding:10px; border-radius:7px; margin-top:5px; }

/* Article (summarize / highlight) */
.art { padding:14px 16px 0; }
.art__site { font-size:.6rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#c4452f; margin-bottom:9px; }
.art__h1 { font-family:"Fraunces",serif; font-size:1.14rem; line-height:1.16; color:#161616; margin-bottom:7px; }
.art__by { font-size:.62rem; color:#999; margin-bottom:11px; padding-bottom:11px; border-bottom:1px solid #eee; }
.art__p { font-size:.71rem; line-height:1.62; color:#3a3a3a; margin-bottom:9px; }
.mk {
  background-image: linear-gradient(90deg, rgba(227,172,50,.55), rgba(224,90,70,.42));
  background-repeat:no-repeat; background-size:0% 100%; background-color:transparent; color:#161616;
  border-radius:3px; padding:1px 1px; -webkit-box-decoration-break:clone; box-decoration-break:clone;
  transition: background-size .7s var(--ease);
}
.mk.is-on { background-size:100% 100%; }

/* Google home page (start state for search tasks) */
.ghome { display:flex; flex-direction:column; align-items:center; height:100%; }
.ghome__top { align-self:stretch; display:flex; justify-content:flex-end; align-items:center; gap:13px; padding:14px 16px 0; font-size:.66rem; color:#3c4043; }
.ghome__avatar { width:18px; height:18px; border-radius:50%; background:linear-gradient(135deg,#e0512f,#e3ac32); }
.ghome__logo { font-family:"Inter",system-ui,sans-serif; font-weight:700; font-size:2.15rem; letter-spacing:-1.5px; margin:52px 0 22px; }
.ghome__search { width:84%; height:40px; border:1px solid #dfe1e5; border-radius:21px; display:flex; align-items:center; padding:0 15px; gap:9px; box-shadow:0 1px 6px rgba(32,33,36,.14); }
.ghome__mag { width:14px; height:14px; flex:none; border:2px solid #9aa0a6; border-radius:50%; position:relative; }
.ghome__mag::after { content:""; position:absolute; right:-3px; bottom:-2px; width:5px; height:2px; background:#9aa0a6; border-radius:1px; transform:rotate(45deg); }
.ghome__q { font-size:.82rem; color:#202124; white-space:nowrap; }
.ghome__cur { width:1.5px; height:18px; background:#4285f4; animation:caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity:0; } }
.ghome__btns { display:flex; gap:11px; margin-top:24px; }
.ghome__btns span { background:#f8f9fa; border:1px solid #f1f3f4; border-radius:4px; padding:8px 13px; font-size:.66rem; color:#3c4043; }

/* Page-state transitions (the agent navigating the browser) */
.web > * { animation: pageIn .45s var(--ease) both; }
@keyframes pageIn { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }

/* Recipe detail (outcome) */
.rdetail__hero { height:106px; background:linear-gradient(150deg,#e7b24e,#c4622c 55%,#7d3a1e); }
.rdetail__cat { font-size:.55rem; font-weight:800; letter-spacing:.06em; color:#e0512f; text-transform:uppercase; margin:12px 14px 0; }
.rdetail__h1 { font-family:"Fraunces",serif; font-size:1.12rem; line-height:1.15; color:#161616; margin:4px 14px 6px; }
.rdetail__meta { font-size:.66rem; color:#666; margin:0 14px 12px; }
.rdetail__meta .rcp__stars { font-size:.7rem; }
.rdetail__sec { font-weight:800; font-size:.8rem; color:#222; margin:0 14px 6px; padding-top:11px; border-top:1px solid #eee; }
.rdetail__ing { margin:0 14px; padding-left:16px; }
.rdetail__ing li { font-size:.7rem; color:#444; line-height:1.65; }

/* Flight selected (outcome) */
.flsel { margin:12px 13px; border:1.5px solid #188038; border-radius:12px; overflow:hidden; }
.flsel__top { background:#e8f3ec; padding:10px 13px; display:flex; align-items:center; justify-content:space-between; }
.flsel__route { font-weight:700; font-size:.96rem; color:#202124; }
.flsel__price { font-weight:800; font-size:1.05rem; color:#188038; }
.flsel__body { padding:11px 13px; }
.flsel__line { font-size:.74rem; color:#3c4043; margin-bottom:6px; font-weight:600; }
.flsel__seg { font-size:.68rem; color:#5f6368; }
.flsel__book { margin:0 13px 4px; background:#1a73e8; color:#fff; text-align:center; font-weight:700; font-size:.76rem; padding:10px; border-radius:8px; }

/* Checkout applied (outcome) */
.cko__promo.applied span { border:1px solid #9cc79a; background:#f3faf2; color:#2f7d69; font-weight:600; }
.cko__promo.applied b { background:#2f7d69; }
.cko__total .cko__strike { text-decoration:line-through; color:#b0b0b0; font-weight:500; margin-right:7px; }
.cko__save { color:#188038; font-size:.72rem; font-weight:700; text-align:right; margin-top:5px; }

/* Reservation confirmed (outcome) */
.opnconf__badge { background:#188038; color:#fff; font-size:.74rem; font-weight:700; padding:10px 14px; display:flex; align-items:center; gap:7px; }
.opnconf__img { height:98px; background:linear-gradient(135deg,#7a4a2e,#caa06a); }
.opnconf__nm { font-weight:800; font-size:1.06rem; color:#161616; margin:12px 14px 3px; }
.opnconf__when { font-size:.82rem; color:#222; margin:0 14px 3px; font-weight:700; }
.opnconf__meta { font-size:.68rem; color:#666; margin:0 14px 13px; }
.opnconf__cal { margin:0 14px; border:1px solid #da3743; color:#da3743; text-align:center; font-weight:700; font-size:.74rem; padding:9px; border-radius:8px; }

/* Review pick selected (outcome) */
.rvw__pick.sel { border-color:#188038; box-shadow:0 0 0 3px rgba(24,128,56,.12); }
.rvw__pick .badge { display:inline-block; background:#188038; color:#fff; font-size:.56rem; font-weight:800; letter-spacing:.06em; padding:3px 7px; border-radius:5px; margin-bottom:6px; }
.rvw__pick .price { font-weight:800; color:#111; margin-top:5px; font-size:.78rem; }
.rvw__buy { margin:11px 16px 0; background:#111; color:#fff; text-align:center; font-weight:700; font-size:.74rem; padding:9px; border-radius:8px; }

/* Order tracking (outcome) */
.track { padding:0 13px; }
.track__status { font-weight:800; font-size:1.06rem; color:#0f7b34; padding:13px 0 1px; }
.track__by { font-size:.74rem; color:#555; margin-bottom:11px; }
.track__bar { display:flex; gap:4px; margin-bottom:6px; }
.track__bar i { flex:1; height:5px; border-radius:3px; background:#e3e3e3; }
.track__bar i.on { background:#0f7b34; }
.track__steps { display:flex; justify-content:space-between; font-size:.54rem; color:#999; margin-bottom:13px; }
.track__steps b { color:#0f7b34; font-weight:800; }
.track__map { height:100px; border-radius:10px; background:linear-gradient(135deg,#e0e8e0,#c2d2c4); margin-bottom:12px; position:relative; overflow:hidden; }
.track__pin { position:absolute; left:50%; top:46%; width:15px; height:15px; background:#da3743; border-radius:50% 50% 50% 0; transform:translate(-50%,-60%) rotate(-45deg); box-shadow:0 2px 5px rgba(0,0,0,.25); }
.track__card { display:flex; gap:11px; align-items:center; }

/* Dim layer */
.scrim { position:absolute; top:46px; left:0; right:0; bottom:0; z-index:3; background: rgba(0,0,0,.2); opacity:0; transition: opacity .55s cubic-bezier(.32,.72,0,1); pointer-events:none; }
.is-open .scrim { opacity:1; }

/* Floating bottom browser bar */
.fbar {
  position:absolute; left:12px; right:12px; bottom:14px; z-index:4;
  display:flex; align-items:center; gap:6px;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.is-open .fbar, .is-acting .fbar { opacity:0; transform: translateY(14px); pointer-events:none; }
.fbar__btn {
  width:34px; height:34px; flex:none; border-radius:50%;
  background: rgba(247,242,228,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 3px 12px rgba(0,0,0,.14); display:grid; place-items:center;
  color:var(--ink-dim); font-size:1.25rem; line-height:1;
}
.fbar__more { font-size:.82rem; letter-spacing:1px; }
.fbar__addr {
  flex:1; height:40px; border-radius:20px; display:flex; align-items:center; justify-content:center; gap:6px;
  background: rgba(247,242,228,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 3px 12px rgba(33,48,42,.12); font-size:.72rem; color:var(--ink-dim);
  overflow:hidden; white-space:nowrap; padding: 0 6px;
}
.fbar__addr [data-omni] { min-width:0; overflow:hidden; text-overflow:ellipsis; }
/* omnibox: domain in ink, path dimmed (Safari-style) */
.fbar__addr [data-omni] b { font-weight:500; color:var(--ink); }
.fbar__addr [data-omni] i { font-style:normal; color:var(--ink-faint); }
/* Bare face over the page, no circle — like the app's aiButton: two background-colored
   halos to lift it off busy content, then a soft drop shadow (BrowserChrome.swift).
   .fbar__miru keeps its legacy name: pitch.html uses this class (from styles.css). */
.fbar__miru { position:relative; width:36px; padding:0; background:none; box-shadow:none; }
.fbar__miru svg {
  filter: drop-shadow(0 0 2px rgba(255,255,255,.95))
          drop-shadow(0 0 4px rgba(255,255,255,.78))
          drop-shadow(0 3px 7px rgba(0,0,0,.24));
}
.fbar__miru.is-tapped::after {
  content:""; position:absolute; inset:0; border-radius:50%;
  background: radial-gradient(circle, rgba(47,125,105,.5), transparent 70%); animation: tap .55s ease-out;
}
@keyframes tap { from { opacity:.85; transform:scale(.3);} to { opacity:0; transform:scale(1.15);} }
.mlogo { display:grid; place-items:center; border-radius:50%; }

/* Assistant sheet */
.sheet {
  position:absolute; left:0; right:0; bottom:0; z-index:4; height:70%;
  background:#fff; border-radius:26px 26px 0 0; box-shadow: 0 -16px 44px rgba(0,0,0,.22);
  display:flex; flex-direction:column; padding: 8px 14px 12px;
  transform: translateY(102%); transition: transform .65s cubic-bezier(.32,.72,0,1);
  /* keep a persistent compositor layer — re-rasterizing on open/close makes the striped logo flash */
  will-change: transform;
}
.is-open .sheet { transform: translateY(0); }
.sheet__grip { width:36px; height:5px; border-radius:3px; background:rgba(0,0,0,.18); margin:0 auto 8px; flex:none; }
.sheet__head { display:flex; align-items:center; gap:9px; padding-bottom:10px; border-bottom:1px solid rgba(0,0,0,.07); flex:none; }
/* striped face mark — the Buddy logo */
/* own compositor layer: chat animations repaint the sheet every frame, and each repaint
   re-snaps the 1px stripes to a different subpixel offset (shimmer) unless isolated.
   Hidden while the sheet slides (compositing a moving 1px-stripe raster shimmers);
   fades in at its resting position once the sheet lands. */
.sheet__logo { width:32.222px; height:23.333px; flex:none; color:#1c1c1e; will-change: transform; opacity:0; transition: opacity .12s ease; }
.is-open .sheet__logo { opacity:1; transition: opacity .3s ease .55s; }
.sheet__logo svg { display:block; width:100%; height:100%; }
.sheet__title { display:flex; flex-direction:column; font-size:.92rem; font-weight:700; color:#1c1c1e; line-height:1.15; white-space:nowrap; }
.sheet__title small { font-size:.66rem; font-weight:400; color:#8e8e93; }
.sheet__sp { flex:1; }
.sheet__hist { width:30px; height:30px; flex:none; border-radius:50%; background:#f2f2f7; display:grid; place-items:center; color:#6e6e73; }
.sheet__new { font-size:.72rem; font-weight:600; color:#8e8e93; background:#f2f2f7; padding:7px 11px; border-radius:16px; white-space:nowrap; }

/* Empty state — “I'm tuned in” (matches the app) */
.sheet__empty {
  position:absolute; left:0; right:0; top:78px; bottom:118px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  text-align:center; pointer-events:none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  will-change: opacity, transform;
}
.sheet__gl { width:56.389px; height:40.833px; margin-bottom:9px; color:#1c1c1e; }
.sheet__gl svg { display:block; width:100%; height:100%; }
.sheet__empty b { font-size:.95rem; font-weight:700; color:#1c1c1e; }
.sheet__empty small { font-size:.74rem; color:#8e8e93; }
.sheet.is-chatting .sheet__empty { opacity:0; transform: translateY(6px) scale(.97); }

/* Suggestion pills above the composer (hide once the chat starts) */
.sugg {
  display:flex; gap:7px; flex:none; overflow:hidden; max-height:44px; padding-bottom:9px;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), padding .45s var(--ease);
}
.sugg span { background:#f2f2f7; color:#1c1c1e; font-size:.7rem; font-weight:500; padding:8px 13px; border-radius:16px; white-space:nowrap; }
.sheet.is-chatting .sugg { max-height:0; opacity:0; padding-bottom:0; }

/* Chat */
.chat { flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:7px; padding:12px 2px 8px; scrollbar-width:none; scroll-behavior:smooth; }
.chat::-webkit-scrollbar { display:none; }
.msg { max-width:84%; padding:9px 13px; border-radius:19px; font-size:.82rem; line-height:1.36; word-wrap:break-word; animation: pop .5s cubic-bezier(.22,1,.36,1) both; }
/* iMessage-style spring: rise, slight overshoot, settle */
@keyframes pop {
  0%   { opacity:0; transform:translateY(14px) scale(.86); }
  60%  { opacity:1; transform:translateY(-2px) scale(1.02); }
  100% { opacity:1; transform:none; }
}
.msg--user { align-self:flex-end; background:#0a84ff; color:#fff; border-bottom-right-radius:6px; transform-origin:bottom right; }
.msg--ai { align-self:flex-start; background:#e9e9eb; color:#1c1c1e; border-bottom-left-radius:6px; transform-origin:bottom left; }
.msg--typing { padding:12px 14px; }
.msg--typing i { display:inline-block; width:6px; height:6px; border-radius:50%; background:#b5b5ba; margin-right:4px; animation: blink 1.2s infinite; }
.msg--typing i:nth-child(2){ animation-delay:.2s; }
.msg--typing i:nth-child(3){ animation-delay:.4s; margin-right:0; }
@keyframes blink { 0%,60%,100%{opacity:.3;} 30%{opacity:1;} }
/* Three-face sign-off bubble, like a sticker. Only support.html's chat uses this
   now (it overrides just the svg size under .schat) — keep it with the shared
   .msg rules so it isn't mistaken for landing-page-only styling again. */
.msg--faces { display:flex; align-items:center; gap:7px; color:#1c1c1e; }
.msg--faces svg { width:24.167px; height:17.5px; display:block; flex:none; }

.tool { display:flex; align-items:center; gap:7px; align-self:flex-start; font-size:.74rem; color:#8e8e93; padding:1px 2px; animation: pop .5s cubic-bezier(.22,1,.36,1) both; transform-origin:bottom left; }
.tool__ico { width:13px; height:13px; flex:none; border:1.4px solid currentColor; border-radius:3px; position:relative; }
.tool__ico::after { content:""; position:absolute; left:3.2px; top:3.2px; width:4px; height:4px; border-top:1.4px solid currentColor; border-right:1.4px solid currentColor; transform: rotate(45deg); }
.tool__state { width:14px; height:14px; flex:none; position:relative; display:grid; place-items:center; }
.tool__spin { width:12px; height:12px; border-radius:50%; border:1.6px solid rgba(0,0,0,.12); border-top-color:#0a84ff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg);} }
.tool__check { width:14px; height:14px; border-radius:50%; background:#34c759; position:relative; display:none; }
.tool__check::after { content:""; position:absolute; left:4.7px; top:2.7px; width:3px; height:6px; border:solid #fff; border-width:0 1.6px 1.6px 0; transform:rotate(42deg); }
.tool.is-done .tool__spin { display:none; }
.tool.is-done .tool__check { display:block; }

/* Result card inside the chat */
.result { align-self:flex-start; width:90%; background:#fff; border:1px solid #e5e5ea; border-radius:16px; padding:11px 13px; box-shadow:0 4px 14px rgba(0,0,0,.06); animation: pop .5s cubic-bezier(.22,1,.36,1) both; transform-origin:bottom left; }
.result__top { display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:3px; }
.result__title { font-size:.86rem; font-weight:700; color:#1c1c1e; }
.result__value { font-size:.92rem; font-weight:700; color:#1c1c1e; white-space:nowrap; }
.result__meta { font-size:.7rem; color:#8e8e93; margin-bottom:10px; }
.result__btn { display:inline-block; font-size:.72rem; font-weight:600; color:#fff; background:#0a84ff; padding:6px 15px; border-radius:999px; }

/* Composer */
.composer { display:flex; align-items:center; gap:9px; padding-top:9px; border-top:1px solid rgba(0,0,0,.06); flex:none; }
.composer__field { flex:1; background:#f2f2f7; border-radius:18px; padding:9px 14px; font-size:.78rem; color:#9a9aa0; }
.composer__mic { color:#0a84ff; display:grid; place-items:center; }
/* arrow.up.circle.fill / stop.circle.fill(red), like the app (AIPanelView.swift) */
.composer__send { width:24px; height:24px; flex:none; border-radius:50%; position:relative; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.composer__send::before { content:""; position:absolute; inset:0; border-radius:50%; background:#0a84ff; }
.composer.is-generating .composer__send::before { background:#ff3b30; }
.composer.is-generating .composer__send::after { content:""; position:absolute; left:8px; top:8px; width:8px; height:8px; border-radius:2px; background:#fff; }
.composer:not(.is-generating) .composer__send::after {
  content:""; position:absolute; inset:0; background:#fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5.5M5.5 12L12 5.5 18.5 12'/%3E%3C/svg%3E") center / 58% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5.5M5.5 12L12 5.5 18.5 12'/%3E%3C/svg%3E") center / 58% no-repeat;
}

/* Use-case switcher (below the phone) — label + page dots, auto-advancing */
.scenectl { margin-top:26px; display:flex; flex-direction:column; align-items:center; gap:13px; }
.scenes { display:flex; align-items:center; gap:4px; }
.scenes__btn {
  width:34px; height:34px; border-radius:50%; border:1px solid transparent; background:transparent;
  color:var(--ink-faint); font-family:inherit; font-size:1.3rem; line-height:1; cursor:pointer;
  display:grid; place-items:center; padding:0 0 3px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.scenes__btn:hover { color:var(--teal); border-color:var(--line); }
.scenes__label { min-width:200px; text-align:center; font-family:"Fraunces", serif; font-style:italic; font-size:1.12rem; color:var(--ink); }
.scenes__label i { display:inline-block; font-style:italic; }
.scenes__label i.is-swap { animation: swapIn .5s var(--ease) both; }
@keyframes swapIn { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
.scenes__dots { display:flex; gap:7px; }
.sdot {
  width:6px; height:6px; border-radius:3px; border:none; padding:0; cursor:pointer;
  background:rgba(33,48,42,.22);
  transition: width .35s var(--ease), background .35s var(--ease);
}
.sdot:hover:not(.is-on) { background:rgba(33,48,42,.42); }
.sdot.is-on { width:22px; background:var(--teal); }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(33,48,42,.16); }
.card h3 { font-size: 1.35rem; margin: 20px 0 10px; }
.card p { color: var(--ink-dim); font-size: 0.98rem; }
/* icons: soft tonal tile, line glyph in the brand teal */
.card__icon {
  width: 46px; height: 46px; border-radius: 13px; position: relative;
  background: rgba(47, 125, 105, 0.10);
}
.card__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 24px; height: 24px;
  background: var(--teal);
  -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain;
}
.card__icon[data-glyph="read"]::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
}
.card__icon[data-glyph="see"]::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.card__icon[data-glyph="act"]::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");
}

/* =========================================================
   Features — full-bleed deep-teal band (the flag's emblem
   green on the golden field), banded-border accent, dragon
   watermark, and a live vignette per capability.
   ========================================================= */
.features {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 130% at 12% -12%, rgba(156, 199, 133, 0.16), transparent 60%),
    radial-gradient(70% 110% at 96% 108%, rgba(227, 172, 50, 0.10), transparent 62%),
    linear-gradient(180deg, #276a5a 0%, var(--teal-deep) 46%, #1b4a3e 100%);
  padding: clamp(84px, 11vw, 148px) clamp(20px, 5vw, 48px);
}
/* flag's banded border, as a slim keyline */
.features::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--mustard) 0 34%, var(--coral) 34% 67%, var(--sage) 67% 100%);
}
.features__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }

.section__head--ondark h2 { color: var(--cream); font-size: clamp(2rem, 4.4vw, 3rem); }
.section__head--ondark h2 em { color: var(--mustard); font-style: italic; }
.section__head--ondark .lead { color: rgba(253, 247, 228, 0.66); }
.eyebrow--gold { color: var(--mustard); }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.feat {
  background: var(--cream); border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(12, 30, 24, 0.35);
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.feat:hover { transform: translateY(-6px); box-shadow: 0 34px 74px rgba(12, 30, 24, 0.42); }
.feat--read { grid-column: span 7; }
.feat--see { grid-column: span 5; }
.feat--act { grid-column: span 12; display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: stretch; }

.feat__demo {
  position: relative; padding: 30px 30px 34px; min-height: 232px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(47, 125, 105, 0.08), rgba(47, 125, 105, 0.02));
  border-bottom: 1px solid var(--line-soft);
}
.feat__demo--act { border-bottom: none; border-left: 1px solid var(--line-soft); min-height: 208px; }
.feat__txt { padding: 26px 30px 32px; }
.feat--act .feat__txt { align-self: center; }
.feat__num {
  font-family: "Fraunces", serif; font-size: 0.92rem; font-weight: 500;
  color: var(--coral); letter-spacing: 0.1em;
}
.feat h3 { font-size: 1.45rem; margin: 8px 0 10px; }
.feat p { color: var(--ink-dim); font-size: 0.98rem; max-width: 46ch; }

/* ---- Vignette 01 — a real article, highlighted as Buddy reads ---- */
.mv { position: relative; }
.mv--read {
  width: min(330px, 100%); display: flex; flex-direction: column; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px 24px; box-shadow: 0 12px 32px rgba(33, 48, 42, 0.10);
  text-align: left;
}
.mv__site { font-size: 8px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral-deep); }
.mv__h1 { font-family: "Fraunces", serif; font-weight: 500; font-size: 15.5px; line-height: 1.16; color: #161616; }
.mv__by { font-size: 8.5px; color: #999; padding-bottom: 6px; border-bottom: 1px solid #eee; }
.mv__p { font-size: 9.5px; line-height: 1.68; color: #3a3a3a; margin: 0; }
.mv__hl {
  background-image: linear-gradient(90deg, rgba(227, 172, 50, 0.55), rgba(224, 90, 70, 0.42));
  background-repeat: no-repeat; background-size: 100% 100%; border-radius: 2px; padding: 1px 0;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: mvHl 8s var(--ease) infinite;
}
@keyframes mvHl {
  0%, 10% { background-size: 0% 100%; }
  32%     { background-size: 100% 100%; }
  100%    { background-size: 100% 100%; }
}
.mv__bubble {
  position: absolute; right: -18px; bottom: -20px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  background: #1c1c1e; color: #fff;
  font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif;
  font-size: 11px; font-weight: 500; white-space: nowrap;
  padding: 9px 14px; border-radius: 16px 16px 16px 5px;
  box-shadow: 0 14px 30px rgba(33, 48, 42, 0.32);
  animation: mvBubble 8s var(--ease) infinite;
}
.mv__bubble img { flex: none; }
@keyframes mvBubble {
  0%, 40%  { opacity: 0; transform: translateY(8px) scale(0.94); }
  48%, 92% { opacity: 1; transform: none; }
  98%, 100%{ opacity: 0; transform: none; }
}

/* ---- Vignette 02 — a real fare chart, scanned like you'd look at it ---- */
.mv--chart {
  width: min(272px, 100%);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px 13px; box-shadow: 0 12px 32px rgba(33, 48, 42, 0.10);
}
.mv__chead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.mv__chead b { font-size: 12.5px; font-weight: 700; color: #202124; font-family: -apple-system, "Inter", system-ui, sans-serif; }
.mv__chead span { font-size: 9px; color: #5f6368; }
.mv__bars {
  position: relative; display: flex; align-items: flex-end; gap: 9px; height: 108px;
  border-bottom: 1px solid #e8eaed;
}
.mv__bars i {
  flex: 1; height: var(--h); border-radius: 4px 4px 0 0;
  background-color: #c9dcf8;
}
.mv__bars i.hi { background-color: #188038; animation: mvHiBar 8s var(--ease) infinite; }
@keyframes mvHiBar {
  0%, 40%  { background-color: #c9dcf8; }
  48%, 100%{ background-color: #188038; }
}
.mv__days { display: flex; gap: 9px; padding-top: 5px; }
.mv__days em { flex: 1; font-style: normal; font-size: 7.5px; color: #9aa0a6; text-align: center; white-space: nowrap; }
.mv__lens {
  position: absolute; top: -14px; bottom: 0; left: 0; width: 48px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(227, 172, 50, 0.38), transparent);
  animation: mvLens 8s ease-in-out infinite; pointer-events: none;
}
@keyframes mvLens {
  0%, 4%   { left: -18%; opacity: 0; }
  10%      { opacity: 1; }
  38%      { left: 90%; opacity: 1; }
  44%, 100%{ left: 90%; opacity: 0; }
}
.mv__tag {
  position: absolute; left: 38%; bottom: calc(34% + 12px); white-space: nowrap;
  background: #188038; color: #fff;
  font-family: -apple-system, "Inter", system-ui, sans-serif;
  font-size: 9.5px; font-weight: 700; padding: 4px 9px; border-radius: 7px;
  box-shadow: 0 8px 18px rgba(24, 128, 56, 0.32);
  animation: mvTag 8s var(--ease) infinite;
}
@keyframes mvTag {
  0%, 46%  { opacity: 0; transform: translateY(6px) scale(0.9); }
  54%, 92% { opacity: 1; transform: none; }
  98%, 100%{ opacity: 0; transform: none; }
}

/* ---- Vignette 03 — acting: Buddy applies the best coupon ---- */
.mv--act {
  width: 100%; max-width: 390px; display: flex; flex-direction: column;
  gap: 12px; align-items: stretch;
  font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif;
}
.mv__task {
  align-self: flex-end;
  background: #0a84ff; color: #fff;
  font-size: 11.5px; font-weight: 500; padding: 8px 14px;
  border-radius: 16px 16px 5px 16px;
  box-shadow: 0 8px 20px rgba(10, 132, 255, 0.25);
  animation: mvTask 8s cubic-bezier(.22,1,.36,1) infinite;
  transform-origin: bottom right;
}
@keyframes mvTask {
  0%       { opacity: 0; transform: translateY(10px) scale(0.88); }
  4%, 94%  { opacity: 1; transform: none; }
  99%, 100%{ opacity: 0; transform: none; }
}
.mv__tool {
  display: flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 10.5px; font-weight: 500; color: #6e6e73;
  animation: mvTool 8s var(--ease) infinite;
}
@keyframes mvTool {
  0%, 10%  { opacity: 0; transform: translateY(6px); }
  15%, 94% { opacity: 1; transform: none; }
  99%, 100%{ opacity: 0; transform: none; }
}
.mv__spin {
  width: 11px; height: 11px; flex: none; border-radius: 50%; opacity: 0;
  border: 1.6px solid rgba(0, 0, 0, 0.12); border-top-color: #0a84ff;
  animation: spin .7s linear infinite, mvSpinK 8s linear infinite;
}
@keyframes mvSpinK {
  0%, 14%  { opacity: 0; }
  16%, 37% { opacity: 1; }
  39%, 100%{ opacity: 0; }
}
.mv__done {
  width: 13px; height: 13px; flex: none; margin-left: -20px; border-radius: 50%;
  background: #34c759; color: #fff; font-size: 8px; font-weight: 800;
  display: grid; place-items: center;
  animation: mvDoneK 8s var(--ease) infinite;
}
@keyframes mvDoneK {
  0%, 38%  { opacity: 0; transform: scale(0.4); }
  43%, 100%{ opacity: 1; transform: none; }
}
/* the checkout page Buddy is working on */
.mvk {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 6px 16px 13px; box-shadow: 0 12px 32px rgba(33, 48, 42, 0.10);
}
.mvk__row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 10.5px; color: #444; }
.mvk__row b { font-weight: 600; color: #111; }
.mvk__promo { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 10.5px; }
.mvk__ph {
  border: 1px dashed #c2c2c2; border-radius: 6px; padding: 4px 10px; color: #9a9a9a;
  animation: mvPh 8s var(--ease) infinite;
}
@keyframes mvPh {
  0%, 46%  { opacity: 1; }
  52%, 100%{ opacity: 0; }
}
.mvk__ap {
  position: absolute; left: 0; top: 9px;
  border: 1px solid #9cc79a; background: #f3faf2; border-radius: 6px;
  padding: 4px 10px; color: #188038; font-weight: 600;
  animation: mvAp 8s var(--ease) infinite;
}
.mvk__promo b { color: #188038; font-weight: 700; animation: mvAp 8s var(--ease) infinite; }
@keyframes mvAp {
  0%, 48%  { opacity: 0; transform: translateY(4px); }
  54%, 100%{ opacity: 1; transform: none; }
}
.mvk__total { display: flex; justify-content: space-between; padding-top: 10px; font-size: 11.5px; font-weight: 700; color: #111; }
.mvk__amt { position: relative; text-align: right; }
.mvk__amt .old { font-weight: 700; animation: mvOld 8s var(--ease) infinite; }
@keyframes mvOld {
  0%, 54%  { opacity: 1; }
  58%, 100%{ opacity: 0; }
}
.mvk__amt .new { position: absolute; right: 0; top: 0; white-space: nowrap; font-weight: 700; animation: mvNew 8s var(--ease) infinite; }
.mvk__amt .new s { color: #b0b0b0; font-weight: 500; margin-right: 5px; }
@keyframes mvNew {
  0%, 56%  { opacity: 0; transform: translateY(4px); }
  62%, 100%{ opacity: 1; transform: none; }
}

/* ---------- CTA ---------- */
.cta { padding: clamp(40px, 8vw, 90px) clamp(20px, 5vw, 48px) 120px; }
.cta__card {
  max-width: 700px; margin: 0 auto; text-align: center; position: relative; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(44px, 6vw, 64px) clamp(40px, 6vw, 64px);
  box-shadow: var(--shadow);
}
.cta__card h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta__card > p { color: var(--ink-dim); font-size: 1.08rem; }
.cta__form { display: flex; gap: 10px; max-width: 470px; margin: 30px auto 14px; flex-wrap: wrap; }
.cta__form input {
  flex: 1; min-width: 200px; padding: 13px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 1rem; font-family: inherit; transition: border-color 0.25s, box-shadow 0.25s;
}
.cta__form input::placeholder { color: var(--ink-faint); }
.cta__form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,125,105,.15); }
.cta__note { font-size: 0.88rem; color: var(--ink-dim); }
.cta__note.is-success { color: var(--teal); }
.cta__note.is-error { color: var(--coral-deep); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line); padding: 40px clamp(20px, 5vw, 48px);
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.footer__row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.brand--sm .brand__name { font-size: 1.1rem; }
.footer__tag { color: var(--ink-dim); }
.footer__links { display: flex; gap: 18px; font-size: 0.9rem; }
.footer__links a { color: var(--ink-dim); text-decoration: none; }
.footer__links a:hover, .footer__links a:focus-visible { color: var(--ink); text-decoration: underline; }
.footer__fine { font-size: 0.83rem; color: var(--ink-faint); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links a:not(.btn) { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 130px; }
  .hero__sub { max-width: 46ch; margin-inline: auto; }
  .hero__cta, .hero__meta { justify-content: center; }
  .device { order: -1; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .device__frame { width: 260px; height: 520px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  /* main.js renders the demo statically (sheet open, all turns shown) under reduced motion */
}
