:root {
  color-scheme: light;
  --paper: #F5F0E8;
  --ink: #0A0A0A;
  --line: #D4C9B0;
  --muted: #69665F;
  --card: #EDE8DC;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; overflow-x: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* Navigation — faithful to the approved cream editorial frame. */
.nav { background: var(--paper); border-bottom: 1px solid var(--line); padding: 0 48px; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 100; }
.nav-logo { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.nav-name { font-weight: 900; font-size: 16px; letter-spacing: -.5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #74716B; transition: color .2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-cta, .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 14px 32px; font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.nav-cta { padding: 10px 22px; font-size: 9px; }
.btn-primary:hover, .nav-cta:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.nav-menu-toggle, .nav-mobile-account { display: none; }

/* Hero */
.hero { padding: 100px 60px 80px; max-width: 1200px; margin: 0 auto; }
.eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.eyebrow-rule { display: inline-block; width: 32px; height: 1px; background: #C8BDA8; flex-shrink: 0; }
.headline { font-size: clamp(56px, 7vw, 96px); font-weight: 900; letter-spacing: -3px; line-height: .92; text-transform: uppercase; margin: 0; }
.headline em { font-style: normal; -webkit-text-stroke: 2px var(--ink); -webkit-text-fill-color: transparent; }
.hero-actions { margin-top: 40px; display: flex; gap: 24px; align-items: center; }
.hero-sub { font-size: 12px; color: var(--muted); letter-spacing: 1px; }

/* The ticker uses actual trend titles, not the prototype's invented metrics. */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; overflow: hidden; }
.ticker-inner { display: flex; align-items: center; gap: 60px; width: max-content; font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); white-space: nowrap; animation: ticker 35s linear infinite; }
.ticker-dot { color: #8E8C85; font-size: 8px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Trends */
.section { padding: 60px; max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 32px; }
.section-title { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; margin: 0; }
.section-link { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.section-link:hover { color: var(--ink); text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.card { display: flex; flex-direction: column; min-height: 188px; padding: 32px; background: var(--card); transition: background .2s, transform .2s; }
.card:hover { background: #E0D9CC; transform: translateY(-3px); }
.card.dark { background: var(--ink); color: var(--paper); }
.card.dark:hover { background: #252321; }
.card-cat { font-size: 8px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.card.dark .card-cat { color: #B3ADA2; }
.card-title { font-size: 18px; font-weight: 700; line-height: 1.2; text-transform: uppercase; margin: 0 0 16px; overflow-wrap: anywhere; }
.card-stat { font-size: 10px; font-weight: 700; letter-spacing: 1px; margin-top: auto; }
.empty-state { font-size: 14px; color: var(--muted); }

/* Identity */
.identity { padding: 60px; max-width: 1200px; margin: 0 auto; display: flex; gap: 60px; align-items: center; }
.identity-text { flex: 1; }
.identity-text .eyebrow { margin-bottom: 16px; }
.identity-head { font-size: clamp(32px, 4vw, 52px); font-weight: 900; letter-spacing: -2px; text-transform: uppercase; line-height: 1; margin: 0 0 16px; }
.identity-sub { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 0 28px; max-width: 460px; }
.identity-card-mock { flex: 1; min-width: 0; max-width: 470px; background: var(--ink); color: var(--paper); padding: 40px; aspect-ratio: .9; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s; }
.identity-card-mock:hover { transform: translateY(-4px); }
.identity-card-top, .identity-card-bottom { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #B7B0A4; }
.identity-card-center { font-size: clamp(28px, 4vw, 58px); font-weight: 900; letter-spacing: -2px; text-transform: uppercase; line-height: 1; }
.identity-card-center em { font-style: normal; -webkit-text-stroke: 1px var(--paper); -webkit-text-fill-color: transparent; }

/* Working Saket conversation, within the prototype's editorial block. */
.saket { margin: 0 auto 80px; max-width: 1080px; padding: 60px; background: var(--card); border-top: 4px solid var(--ink); scroll-margin-top: 76px; }
.saket-label { font-size: 9px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.saket-head { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -1px; text-transform: uppercase; line-height: 1.1; margin: 0 0 20px; }
.saket-body { font-size: 14px; color: #55514B; line-height: 1.7; margin: 0 0 32px; max-width: 520px; }
.saket-input-label { display: block; font-size: 9px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.saket-form-row { display: flex; align-items: stretch; max-width: 660px; gap: 8px; }
.saket-form-row input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid #BFB6A5; background: #FBF9F4; color: var(--ink); font-size: 15px; outline: none; }
.saket-form-row input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(10,10,10,.12); }
.saket-form-row button:disabled { opacity: .5; cursor: wait; transform: none; }
.saket-messages:empty { display: none; }
.saket-messages { margin-top: 28px; max-width: 660px; display: grid; gap: 14px; }
.saket-message { padding: 16px 20px; background: #FAF7F0; border: 1px solid var(--line); line-height: 1.6; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.saket-message.user { margin-left: 48px; background: #DFD8C9; }
.saket-message.error { border-color: #A34D3A; color: #7D2D22; }
.saket-message a { text-decoration: underline; font-weight: 700; }
.footer { border-top: 1px solid var(--line); padding: 28px max(40px, calc((100vw - 1080px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.footer-brand { font-size: 15px; font-weight: 900; color: var(--ink); text-transform: uppercase; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 850px) {
  .nav { padding: 0 22px; }
  .nav-links { gap: 15px; }
  .nav-link { font-size: 8px; letter-spacing: 1px; }
  .hero, .section, .identity { padding-left: 32px; padding-right: 32px; }
  .identity { gap: 30px; }
  .saket { margin-left: 32px; margin-right: 32px; }
}
@media (max-width: 680px) {
  .nav { height: 58px; }
  .nav-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: transparent; border: 0; cursor: pointer; margin-left: auto; }
  .nav-menu-toggle span { display: block; height: 2px; width: 21px; background: var(--ink); }
  .nav-links { display: none; position: absolute; top: 58px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px 24px 26px; align-items: flex-start; flex-direction: column; gap: 20px; box-shadow: 0 15px 20px rgba(0,0,0,.06); }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 11px; letter-spacing: 2px; }
  .nav-cta { display: none; }
  .nav-mobile-account { display: inline; }
  .hero { padding: 82px 24px 72px; }
  .headline { font-size: clamp(48px, 11.6vw, 72px); letter-spacing: -2px; }
  .headline em { -webkit-text-stroke-width: 1.5px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section { padding: 50px 24px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 150px; padding: 26px; }
  .identity { padding: 30px 24px 64px; flex-direction: column; align-items: stretch; }
  .identity-card-mock { width: 100%; max-width: none; min-height: 290px; aspect-ratio: auto; }
  .saket { margin: 0 24px 54px; padding: 36px 24px; }
  .saket-form-row { flex-direction: column; }
  .saket-form-row input { min-height: 48px; }
  .saket-form-row button { min-height: 48px; }
  .footer { padding: 26px 24px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-inner { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}