/* gfrea.com, styled to match the GFREA app */
:root {
  --ink: #0d0d0d;
  --surface: #171614;
  --raised: #1e1c19;
  --gold: #b09971;
  --gold-l: #cdb487;
  --text: #f3eee6;
  --soft: #cfc7ba;
  --muted: #b5ad9f;
  --faint: #9c9589;
  --line: #2a2723;
  --gutter: clamp(22px, 5vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*,
*::before,
*::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--text);
  font: 400 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}
p, li, dd { text-wrap: pretty; }
h1, h2, h3, .statement, .display, .thanks-title { text-wrap: balance; }
a { color: var(--gold-l); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }

.label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.label.gold { color: var(--gold); font-weight: 700; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(13, 13, 13, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: block; line-height: 0; }
.logo img { width: 44px; height: 44px; display: block; }
.nav { display: flex; gap: clamp(18px, 3vw, 34px); }
.nav a { color: var(--soft); font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: var(--text); text-decoration: none; }

/* Hero: today's card */
.nw { white-space: nowrap; }
.hero { min-height: min(calc(100svh - 72px), 800px); display: flex; align-items: center; padding: 40px 0 56px; }
.hero-in { display: flex; flex-direction: column; }
.hero-meta, .hero-bar { max-width: 920px; }
.tagline { margin: 0 0 clamp(40px, 6vw, 72px); max-width: 34ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--soft); text-wrap: balance; animation: rise 1.1s var(--ease) 0.1s both; }
.tagline b { font-weight: 600; color: var(--gold-l); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: clamp(20px, 3vw, 32px); }
.statement { margin: 0; font-weight: 400; font-size: clamp(40px, 6.6vw, 92px); line-height: 1.06; letter-spacing: -0.03em; max-width: 14.5ch; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.statement strong { font-weight: 700; color: var(--gold-l); }
.statement.swap { opacity: 0; transform: translateY(8px); }
.why { margin: clamp(20px, 2.6vw, 28px) 0 0; max-width: 52ch; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--soft); }
.hero-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(28px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); }
.actions { display: flex; gap: 10px; align-items: center; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--surface); display: grid; place-items: center; color: var(--text); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.round:hover { background: var(--raised); color: var(--gold-l); }
.pill-btn { height: 52px; padding: 0 22px; border-radius: 26px; border: 0; background: var(--surface); font-weight: 600; font-size: 15px; color: var(--text); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.pill-btn:hover, .pill-btn[aria-expanded='true'] { background: var(--raised); color: var(--gold-l); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px); background: var(--raised); color: var(--text); padding: 12px 18px; border-radius: 22px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); z-index: 50; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Sections */
section { scroll-margin-top: 72px; }
.intro, .browse, .ask { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.display { margin: 0; font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.025em; }
.display b { font-weight: 700; color: var(--gold-l); }
.lede { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.points { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.points li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.points span { color: var(--text); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav { align-items: center; }
.nav .get { height: 40px; padding: 0 18px; border-radius: 20px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; transition: background 0.2s var(--ease); }
.nav .get:hover { background: var(--gold-l); color: var(--ink); }
.get-app { margin-top: clamp(96px, 11vw, 150px); background: var(--surface); border-radius: 28px; padding: 0 clamp(26px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; scroll-margin-top: 150px; position: relative; }
.get-copy { padding: clamp(36px, 5vw, 64px) 0; }
.get-copy .cta { margin-top: 26px; height: 54px; }
.soon-pill { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; height: 44px; padding: 0 20px; border-radius: 22px; border: 1px solid #3a342a; color: var(--gold-l); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
.soon-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(176, 153, 113, 0.18); }
.device-wrap { position: relative; display: flex; justify-content: center; margin: -84px 0 -56px; }
.device-wrap::before { content: ''; position: absolute; inset: 12% 8%; background: radial-gradient(closest-side, rgba(205, 180, 135, 0.16), transparent); filter: blur(20px); }
.device { position: relative; width: clamp(220px, 22vw, 290px); aspect-ratio: 600 / 1220; border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #2c2a27, #121110 60%); box-shadow: 0 0 0 1px #3a3631, 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #0a0a0a; animation: float 7s ease-in-out infinite; }
.device img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 37px; }
.island { position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: #000; border-radius: 12px; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.get-title { margin: 12px 0 0; font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.02em; }
.get-title b { font-weight: 700; color: var(--gold-l); }
.get-sub { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.cta { display: inline-flex; align-items: center; padding: 0 34px; color: var(--ink); text-decoration: none !important; }

.section-title { margin: 14px 0 0; font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.02em; line-height: 1.1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { height: 42px; padding: 0 18px; border-radius: 21px; border: 0; background: var(--surface); color: var(--soft); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.chip:hover { color: var(--text); }
.chip[aria-selected='true'] { background: #2b261e; color: var(--gold-l); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.card { background: var(--surface); border-radius: 18px; padding: 26px 24px 22px; display: flex; flex-direction: column; min-height: 230px; text-align: left; border: 0; width: 100%; transition: background 0.2s var(--ease); }
.card:hover { background: var(--raised); }
.card-text { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 400; color: var(--text); text-wrap: balance; }
.card-text strong { font-weight: 700; color: var(--gold-l); }
.card-why { margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: var(--soft); }
.card-foot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--faint); font-weight: 500; }
.card-foot .label { font-size: 11px; }
.card-foot .text-btn { padding: 6px 0; }
.card-foot .share-one { color: var(--soft); }
.more-row { margin-top: 28px; text-align: center; }
.text-btn { background: none; border: 0; color: var(--gold-l); font-weight: 600; font-size: 15px; padding: 10px 6px; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Ask */
.ask-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ask-copy .display { margin-top: 14px; }
.ask-copy .lede { margin-top: 18px; }
.ask-panel { background: var(--surface); border-radius: 22px; padding: clamp(22px, 3vw, 34px); }
form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 600; color: var(--muted); padding: 0; }
input:not([type='checkbox']):not([type='radio']), textarea { width: 100%; background: var(--ink); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px; transition: border-color 0.2s var(--ease); }
textarea { resize: vertical; min-height: 116px; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); }
.chips.small { margin-top: 0; gap: 6px; }
.chips.small .chip { height: 38px; padding: 0 15px; font-size: 14px; cursor: pointer; background: var(--ink); }
.chips.small input { position: absolute; opacity: 0; pointer-events: none; }
.chips.small .chip:has(input:checked) { background: #2b261e; color: var(--gold-l); }
.chips.small .chip:has(input:focus-visible) { outline: 2px solid var(--gold-l); outline-offset: 2px; }
.check span { text-wrap: pretty; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--faint); border-radius: 6px; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ''; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.hint { margin: 0; min-height: 0; font-size: 14px; color: var(--gold-l); font-weight: 500; }
.hint:empty { display: none; }
.send { height: 54px; border-radius: 27px; border: 0; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 16px; transition: background 0.2s var(--ease), opacity 0.2s; }
.send:hover { background: var(--gold-l); }
.send:disabled { opacity: 0.6; cursor: wait; }
.thanks { padding: 24px 0; }
.thanks:focus { outline: none; }
.thanks-title { margin: 14px 0 10px; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.thanks-title b { color: var(--gold-l); }
.thanks .text-btn { padding-left: 0; }

/* Interior pages */
.page { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); }
.page-title { margin: 16px 0 18px; font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.025em; }
.page-title b { font-weight: 700; color: var(--gold-l); }
.page p { color: var(--muted); }
.page .lede { color: var(--soft); max-width: none; }
.sub { margin-top: 56px; margin-bottom: 14px; }
.faq { margin: 0; border-top: 1px solid var(--line); }
.faq div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; font-size: 17px; color: var(--text); }
.faq dd { margin: 6px 0 0; color: var(--muted); }
.page-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; }
.date { font-size: 14px; color: var(--faint) !important; font-weight: 500; margin: 0 0 22px; }
.prose h2 { font-size: 18px; font-weight: 600; margin: 40px 0 8px; color: var(--text); letter-spacing: -0.005em; }
.prose ul { padding-left: 20px; margin: 10px 0; color: var(--muted); }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--gold); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; }
.foot-note { margin: 0 0 22px; color: var(--muted); max-width: 70ch; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 18px 32px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: var(--soft); font-weight: 500; }
.foot-links a:hover { color: var(--text); }
.copy { margin: 0; color: var(--faint); }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .ask-grid, .get-app { grid-template-columns: 1fr; }
  .get-app { margin-bottom: 44px; }
  .device-wrap { margin: 0 0 -44px; }
}
@media (max-width: 620px) {
  .top-in { height: 64px; }
  .logo img { width: 40px; height: 40px; }
  .nav a { font-size: 15px; }
  .nav { gap: 18px; }
  .nav .nav-advice { display: none; }
  .nav .get { height: 38px; padding: 0 15px; }
  .device-wrap { margin: 0 0 -44px; }
  .get-copy { padding-bottom: 8px; }
  .hero { min-height: calc(78svh - 64px); padding: 32px 0 44px; }
  .chips.small { display: grid; grid-template-columns: 1fr 1fr; }
  .chips.small .chip { justify-content: center; }
  .statement { font-size: clamp(36px, 10.4vw, 48px); line-height: 1.1; }
  .round, .pill-btn { height: 48px; }
  .round { width: 48px; }
  .pill-btn { padding: 0 18px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .points li { grid-template-columns: 1fr; gap: 4px; }
  .row2 { grid-template-columns: 1fr; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}
