:root {
  --paper: #f7f1e6;
  --paper-bright: #fffaf2;
  --ink: #211d19;
  --muted: #71685d;
  --line: rgba(54, 43, 32, .14);
  --orange: #dc721f;
  --orange-dark: #ad4d12;
  --green: #405b45;
  --shadow: 0 28px 80px rgba(61, 43, 25, .14);
}

body { background: var(--paper); overflow-x: hidden; }
.nav { background: rgba(247, 241, 230, .82); border-color: var(--line); }
.nav .inner { max-width: 1180px; min-height: 68px; }
.nav .brand { font-size: 22px; letter-spacing: -.02em; }
.nav .brand .dot { width: 32px; height: 32px; border-radius: 9px; }
.nav a { font-weight: 550; }
.nav a.cta { padding: 9px 16px; border-radius: 999px; background: var(--ink); }

.hero.home-hero {
  position: relative;
  padding: 64px 24px 72px;
  text-align: left;
  background:
    radial-gradient(circle at 8% 12%, rgba(220,114,31,.15), transparent 28rem),
    radial-gradient(circle at 92% 80%, rgba(64,91,69,.13), transparent 30rem),
    var(--paper);
  overflow: hidden;
}
.hero-shell { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.02fr) minmax(420px,.98fr); gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--orange-dark); font-size: 13px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(220,114,31,.12); }
.hero.home-hero h1 { max-width: 780px; font-size: clamp(48px, 6.4vw, 82px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.hero.home-hero h1 em { color: var(--orange-dark); font-weight: 500; }
.hero.home-hero .sub { margin: 24px 0 0; max-width: 590px; text-align: left; font-size: 20px; line-height: 1.55; color: var(--muted); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.hero-proof span { display: flex; align-items: center; gap: 7px; }
.hero-proof span::before { content: "✓"; color: var(--green); font-weight: 800; }

.box.tool-card { margin: 34px 0 0; max-width: 650px; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 18px 48px rgba(75,48,22,.12); backdrop-filter: blur(12px); }
.tool-card .boxrow { gap: 8px; }
.tool-card .boxrow input { min-height: 58px; border: 1px solid transparent; border-radius: 15px; padding-left: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.tool-card .boxrow button { min-height: 58px; padding-inline: 24px; border-radius: 15px; background: var(--orange); box-shadow: 0 8px 20px rgba(173,77,18,.22); }
.tool-card .boxnote { margin: 9px 4px 1px; text-align: left; font-size: 12px; }

.phone-stage { position: relative; min-height: 670px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: #e7d8be; opacity: .7; }
.phone { position: relative; z-index: 1; width: 330px; padding: 10px; border-radius: 46px; background: #181512; box-shadow: 0 38px 90px rgba(36,27,18,.28); transform: rotate(2deg); }
.phone-screen { min-height: 630px; border-radius: 37px; overflow: hidden; padding: 26px 18px 20px; color: var(--ink); background: linear-gradient(180deg,#fffaf1,#f1e4cc); }
.phone-top { width: 92px; height: 24px; border-radius: 20px; background: #181512; margin: -18px auto 22px; }
.mini-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); font-weight: 800; }
.phone h2 { margin: 7px 0 5px; font: 600 29px/1.05 'Fraunces',Georgia,serif; }
.phone-meta { color: var(--muted); font-size: 12px; }
.recipe-card { margin-top: 18px; border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.86); box-shadow: 0 16px 38px rgba(62,43,25,.12); }
.recipe-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.recipe-copy { padding: 17px; }
.recipe-copy h3 { font: 600 22px/1.1 'Fraunces',Georgia,serif; }
.recipe-copy p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.adapt-pill { display: inline-flex; margin-top: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(220,114,31,.12); color: var(--orange-dark); font-size: 12px; font-weight: 750; }
.swap-float { position: absolute; z-index: 3; right: -14px; bottom: 54px; width: 260px; padding: 17px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,250,242,.94); box-shadow: var(--shadow); transform: rotate(-3deg); backdrop-filter: blur(12px); }
.swap-float strong { display: block; font: 600 16px/1.2 'Fraunces',Georgia,serif; }
.swap-float p { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.swap-float s { opacity: .65; }
.swap-float b { color: var(--green); }

.out { max-width: 1180px; margin: 30px auto 0; border-radius: 24px; box-shadow: var(--shadow); }
.feature-band { padding: 76px 24px; background: var(--ink); color: #f8efe2; }
.feature-band .inner { max-width: 1180px; }
.feature-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: end; }
.feature-band .eyebrow { color: #f5a262; }
.feature-band h2 { margin: 0; max-width: 780px; color: #fff; font: 500 clamp(34px,4.5vw,58px)/1.05 'Fraunces',Georgia,serif; letter-spacing: -.025em; }
.feature-band .feature-lead { color: rgba(248,239,226,.66); font-size: 17px; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 46px; }
.value-card { padding: 25px; min-height: 210px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.045); }
.value-card .num { color: #f5a262; font: 500 14px 'Fraunces',Georgia,serif; }
.value-card h3 { margin-top: 48px; color: #fff; font: 500 23px/1.15 'Fraunces',Georgia,serif; }
.value-card p { margin-top: 8px; color: rgba(248,239,226,.64); font-size: 15px; line-height: 1.55; }

.adapt-showcase { padding: 88px 24px; background: var(--paper-bright); }
.adapt-showcase .inner { max-width: 1080px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.adapt-showcase h2 { font: 600 clamp(38px,5vw,60px)/1.03 'Fraunces',Georgia,serif; letter-spacing: -.03em; }
.adapt-showcase .lead { margin-top: 18px; color: var(--muted); }
.text-link { display: inline-block; margin-top: 22px; color: var(--orange-dark); font-weight: 750; }
.swap-list { padding: 16px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.swap-row { padding: 18px 18px; border-radius: 16px; }
.swap-row + .swap-row { border-top: 1px solid var(--line); border-radius: 0; }
.swap-row small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.swap-row s,.swap-row strong { display: block; margin-top: 3px; font-size: 16px; }
.swap-row strong { color: var(--green); }

.closing { padding: 78px 24px; text-align: center; background: #e9dbc4; }
.closing h2 { font: 600 clamp(38px,5vw,62px)/1.03 'Fraunces',Georgia,serif; letter-spacing: -.03em; }
.closing p { max-width: 580px; margin: 16px auto 0; color: var(--muted); font-size: 18px; }
.closing .appstore-btn { margin-top: 25px; }

footer .inner { max-width: 1180px; }

@media (max-width: 900px) {
  .hero-shell { grid-template-columns: 1fr; gap: 28px; }
  .phone-stage { min-height: 590px; }
  .phone { width: 300px; }
  .phone-screen { min-height: 555px; }
  .feature-intro,.adapt-showcase .inner { grid-template-columns: 1fr; gap: 24px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 160px; }
  .value-card h3 { margin-top: 28px; }
}
@media (max-width: 600px) {
  .hero.home-hero { padding: 42px 18px 54px; }
  .hero.home-hero h1 { font-size: 48px; }
  .hero.home-hero .sub { font-size: 18px; }
  .tool-card .boxrow { flex-direction: column; }
  .tool-card .boxrow button { width: 100%; }
  .phone-stage { min-height: 540px; margin-top: 10px; }
  .phone-stage::before { width: 390px; height: 390px; }
  .phone { width: 276px; }
  .phone-screen { min-height: 510px; }
  .recipe-card img { height: 150px; }
  .swap-float { width: 220px; right: -2px; bottom: 26px; }
  .adapt-showcase,.feature-band { padding: 62px 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .phone { animation: settle .8s cubic-bezier(.2,.8,.2,1) both; }
  .swap-float { animation: settleSwap .9s .12s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes settle { from { opacity:0; transform:translateY(24px) rotate(4deg) } }
  @keyframes settleSwap { from { opacity:0; transform:translateY(18px) rotate(-1deg) } }
}
