:root {
  --ink: #171913;
  --muted: #6e7067;
  --paper: #f5f2e9;
  --paper-2: #ebe6d8;
  --card: #fffdf7;
  --green: #294c38;
  --green-2: #1f3b2c;
  --lime: #c8e36c;
  --accent: #e46e43;
  --gold: #d4a04f;
  --border: rgba(23, 25, 19, .12);
  --shadow: 0 24px 70px rgba(40, 45, 34, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans Arabic", "DejaVu Sans", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(200, 227, 108, .15), transparent 26%),
    radial-gradient(circle at 90% 28%, rgba(228, 110, 67, .10), transparent 22%),
    var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.ambient { position: fixed; width: 360px; height: 360px; border-radius: 50%; filter: blur(110px); opacity: .18; pointer-events: none; z-index: -1; }
.ambient-one { background: #a3bf4f; right: -160px; top: 220px; }
.ambient-two { background: #cf724e; left: -160px; top: 580px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(245, 242, 233, .82);
  border-bottom: 1px solid rgba(23,25,19,.07);
}
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--green); }
.brand-mark svg { width: 28px; height: 28px; fill: var(--lime); }
.brand-mark .brand-vein { fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 1.3rem; }
.brand-copy small { font-family: "DejaVu Sans", sans-serif; font-size: .6rem; letter-spacing: .24em; margin-top: 6px; color: var(--muted); }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-inline: auto; }
.desktop-nav a { font-weight: 600; font-size: .94rem; color: #494b44; transition: .2s; }
.desktop-nav a:hover { color: var(--green); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn, .ghost-btn, .secondary-btn, .heart-btn { border: 1px solid var(--border); background: rgba(255,255,255,.48); color: var(--ink); }
.icon-btn { width: 43px; height: 43px; border-radius: 14px; font-family: "DejaVu Sans", sans-serif; font-weight: 700; font-size: .8rem; }
.ghost-btn { border-radius: 14px; padding: 10px 17px; font-weight: 700; }
.primary-btn, .secondary-btn {
  border: 0; border-radius: 16px; padding: 13px 20px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-btn { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(41, 76, 56, .18); }
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(41,76,56,.24); }
.primary-btn.compact { padding: 11px 16px; border-radius: 14px; font-size: .9rem; }
.primary-btn.large, .secondary-btn.large { padding: 16px 24px; border-radius: 18px; min-width: 170px; }
.secondary-btn { background: transparent; border: 1px solid var(--border); }
.secondary-btn:hover { background: rgba(255,255,255,.5); }

.hero { min-height: 700px; padding-block: 72px 56px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; direction: rtl; }
.hero-copy { max-width: 610px; }
.eyebrow, .kicker { color: var(--green); font-weight: 700; font-size: .86rem; letter-spacing: .01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: rgba(41,76,56,.08); margin-bottom: 18px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(200,227,108,.16); }
.hero h1 { margin: 0; font-size: clamp(3.7rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -.045em; max-width: 750px; }
.hero h1 span { color: var(--green); }
.hero-lead { font-size: 1.16rem; color: #5f6259; max-width: 610px; margin: 28px 0 30px; line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.camera-icon { width: 24px; height: 24px; border: 1px solid rgba(23,25,19,.3); display: grid; place-items: center; border-radius: 8px; font-size: .7rem; }
.trust-row { display: flex; align-items: center; gap: 14px; margin-top: 36px; color: var(--muted); }
.trust-row p { margin: 0; font-size: .84rem; line-height: 1.55; }
.trust-row strong { color: var(--ink); }
.avatar-stack { direction: ltr; display: flex; padding-left: 8px; }
.avatar-stack span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #d9a47c; border: 3px solid var(--paper); font-weight: 700; font-size: .75rem; margin-left: -8px; }
.avatar-stack span:nth-child(2) { background: #bfd0a4; }
.avatar-stack span:nth-child(3) { background: #d6c6a8; }
.avatar-stack span:nth-child(4) { background: var(--green); color: white; font-family: "DejaVu Sans", sans-serif; font-size: .6rem; }

.hero-visual { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; direction: rtl; }
.hero-visual::before { content:""; position:absolute; width: 500px; height: 500px; border-radius: 50%; background: linear-gradient(135deg, rgba(41,76,56,.13), rgba(200,227,108,.15)); border: 1px solid rgba(41,76,56,.08); }
.phone-shell { position: relative; z-index: 2; width: 350px; min-height: 590px; background: #fbfaf5; border: 1px solid rgba(23,25,19,.12); border-radius: 44px; padding: 18px; box-shadow: 0 40px 95px rgba(44, 55, 41, .22); transform: rotate(-2deg); }
.phone-shell::after { content:""; position:absolute; inset: 8px; border: 1px solid rgba(23,25,19,.05); border-radius: 36px; pointer-events:none; }
.phone-topbar, .section-label, .feature-price, .rating-line, .card-stats, .price-row, .brew-panel-head, .recipe-footer { display: flex; align-items: center; justify-content: space-between; }
.phone-topbar { padding: 4px 5px 12px; }
.mini-brand { font-weight: 800; color: var(--green); }
.phone-icons { display: flex; gap: 10px; color: var(--muted); font-size: 1.1rem; }
.phone-greeting small { color: var(--muted); }
.phone-greeting h2 { margin: 3px 0 14px; font-size: 1.35rem; }
.phone-search { background: white; border: 1px solid var(--border); padding: 12px 13px; border-radius: 15px; font-size: .78rem; color: #92958a; display: flex; align-items: center; justify-content: space-between; }
.section-label { margin: 19px 2px 10px; }
.section-label span { font-weight: 700; font-size: .9rem; }
.section-label small { color: var(--green); font-weight: 700; }
.coffee-feature-card { background: white; border: 1px solid var(--border); border-radius: 22px; padding: 11px; display: grid; grid-template-columns: 124px 1fr; gap: 13px; }
.bag-visual, .product-art { overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.bag-visual { height: 180px; border-radius: 17px; padding: 14px; color: white; }
.bag-one { background: linear-gradient(150deg,#2f6546,#183627 60%,#d4a04f 61% 65%,#1f3b2c 66%); }
.bag-visual::before, .product-art::before { content:""; position:absolute; width: 130px; height:130px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; top: -45px; left: -20px; }
.bag-visual::after, .product-art::after { content:""; position:absolute; width: 70px; height:70px; background: rgba(255,255,255,.08); border-radius: 50%; top: 20px; right: 12px; }
.bag-visual strong { font-family: "DejaVu Sans",sans-serif; font-size: 1rem; letter-spacing: .06em; z-index:1; }
.bag-visual small, .bag-country { font-family: "DejaVu Sans",sans-serif; font-size:.55rem; letter-spacing:.16em; z-index:1; }
.bag-country { margin-bottom:auto; }
.feature-meta h3 { margin: 8px 0 0; font-size: 1.15rem; }
.feature-meta p { margin: 2px 0 8px; color: var(--muted); font-size: .71rem; }
.rating-line { justify-content:flex-start; gap:5px; direction:ltr; }
.rating-line span { color: var(--gold); }
.rating-line small { color: var(--muted); margin-left:4px; }
.taste-tags { display:flex; flex-wrap:wrap; gap:5px; }
.taste-tags span { background:#f0eee6; padding:4px 8px; border-radius:99px; font-size:.68rem; color:#60645b; }
.feature-price { margin-top: 16px; border-top:1px solid var(--border); padding-top:11px; font-size:.73rem; }
.feature-price b { color: var(--green); }
.feature-price small { color: var(--muted); }
.mini-coffee-row { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.mini-card { background:white; border:1px solid var(--border); border-radius:16px; padding:8px; display:grid; gap:3px; }
.mini-card b { font-size:.74rem; }
.mini-card span { font-size:.6rem; color:var(--green); }
.mini-bag { height:68px; border-radius:12px; padding:9px; display:flex; align-items:end; font-family:"DejaVu Sans",sans-serif; font-size:.5rem; letter-spacing:.12em; color:white; }
.mini-bag.pink { background:linear-gradient(135deg,#be5b65,#7a334b); }
.mini-bag.cream { background:linear-gradient(135deg,#c9aa76,#58684e); }
.floating-card { position:absolute; z-index:4; background:rgba(255,255,255,.92); backdrop-filter:blur(12px); border:1px solid rgba(23,25,19,.08); border-radius:17px; padding:11px 14px; display:flex; align-items:center; gap:10px; box-shadow:0 14px 40px rgba(38,46,36,.14); }
.float-rating { right: 4%; top: 20%; }
.float-price { left: 1%; bottom: 20%; }
.float-icon { width:34px; height:34px; border-radius:11px; background:#fff1c9; color:#b57d22; display:grid; place-items:center; }
.float-icon.down { background:#e3f0d0; color:var(--green); font-size:1.2rem; }
.floating-card div { display:grid; }
.floating-card strong { font-size:.78rem; }
.floating-card small { color:var(--muted); font-size:.62rem; }

.proof-strip { border-block: 1px solid var(--border); background:rgba(255,255,255,.33); }
.proof-grid { display:grid; grid-template-columns:repeat(4,1fr); padding-block:25px; }
.proof-grid div { padding-inline:26px; border-left:1px solid var(--border); display:grid; }
.proof-grid div:last-child { border-left:0; }
.proof-grid strong { font-size:.94rem; }
.proof-grid span { color:var(--muted); font-size:.76rem; }

.section { padding-block: 108px; }
.section-heading { margin-bottom:40px; }
.split-heading { display:flex; justify-content:space-between; gap:40px; align-items:end; }
.section-heading h2 { margin:8px 0 8px; font-size:clamp(2rem,4vw,3.2rem); letter-spacing:-.035em; line-height:1.15; }
.section-heading p { margin:0; color:var(--muted); max-width:620px; }
.centered { text-align:center; max-width:670px; margin-inline:auto; margin-bottom:48px; }
.filter-chips { display:flex; gap:7px; flex-wrap:wrap; justify-content:flex-end; }
.chip { border:1px solid var(--border); background:transparent; padding:8px 14px; border-radius:99px; font-weight:600; font-size:.83rem; }
.chip.active { background:var(--ink); color:white; }
.coffee-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.coffee-card { position:relative; border:1px solid var(--border); border-radius:26px; overflow:hidden; background:rgba(255,255,255,.58); transition:transform .25s ease, box-shadow .25s ease; }
.coffee-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.card-top { position:absolute; inset:14px 14px auto 14px; z-index:3; display:flex; justify-content:space-between; align-items:center; direction:rtl; }
.status-pill { padding:6px 10px; border-radius:99px; font-size:.68rem; font-weight:700; backdrop-filter:blur(10px); background:rgba(255,255,255,.84); }
.status-pill.hot { color:#8c442d; }
.status-pill.new { color:#315e44; }
.status-pill.match { color:#4f5f20; }
.heart-btn { width:36px; height:36px; border-radius:50%; border:0; background:rgba(255,255,255,.82); font-size:1.2rem; }
.heart-btn.saved { background:#f7e5e5; color:#a34141; }
.product-art { height:250px; padding:24px; color:white; }
.art-ethiopia { background:linear-gradient(150deg,#315c42,#1e3b2d 58%,#c79b4b 59% 63%,#1d3328 64%); }
.art-colombia { background:linear-gradient(145deg,#9c4d5b,#5b2737 57%,#d6b5a6 58% 63%,#75364a 64%); }
.art-chelbesa { background:linear-gradient(145deg,#a28759,#545b41 56%,#e3d1ae 57% 63%,#385043 64%); }
.product-art strong { font-family:"DejaVu Sans",sans-serif; font-size:1.4rem; letter-spacing:.09em; z-index:1; }
.product-art small, .product-origin { font-family:"DejaVu Sans",sans-serif; font-size:.62rem; letter-spacing:.14em; z-index:1; }
.product-origin { margin-bottom:auto; opacity:.9; }
.coffee-card-body { padding:19px 20px 20px; }
.card-roaster { display:flex; align-items:center; gap:7px; font-size:.75rem; color:var(--muted); }
.roaster-dot { width:24px; height:24px; border-radius:8px; background:#264f38; color:white; display:grid; place-items:center; font-family:"DejaVu Sans",sans-serif; font-weight:700; font-size:.7rem; }
.roaster-dot.warm { background:#8c4c37; }
.roaster-dot.dark { background:#4f553c; }
.coffee-card h3 { font-size:1.35rem; margin:12px 0 0; }
.coffee-card p { color:var(--muted); margin:2px 0 11px; font-size:.82rem; }
.card-stats { font-size:.72rem; margin-top:17px; padding-top:14px; border-top:1px solid var(--border); color:var(--muted); }
.card-stats b { color:var(--ink); }
.price-row { margin-top:12px; }
.price-row b { color:var(--green); font-size:1.02rem; }
.old-price { text-decoration:line-through; color:#a5a79f; font-size:.75rem; }
.seller-count { color:var(--muted); font-size:.72rem; }

.soft-section { background:#ebe7dc; border-block:1px solid rgba(23,25,19,.07); }
.rating-demo-grid { display:grid; grid-template-columns:1fr 1fr .95fr; gap:20px; align-items:stretch; }
.rating-phone { background:#fffdf8; border:1px solid var(--border); border-radius:30px; padding:24px; box-shadow:0 18px 50px rgba(48,49,40,.08); }
.rating-phone.second { transform:translateY(22px); }
.rating-step-top { display:flex; justify-content:space-between; color:var(--muted); font-size:.72rem; }
.rating-step-top b { color:var(--green); }
.rating-phone h3 { margin:25px 0 14px; font-size:1.35rem; }
.rating-phone p { margin:-8px 0 14px; color:var(--muted); font-size:.76rem; }
.mood-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.mood-grid button { background:white; border:1px solid var(--border); border-radius:14px; padding:10px; display:flex; align-items:center; gap:8px; text-align:right; font-weight:600; }
.mood-grid button span { font-size:1.3rem; }
.mood-grid button.selected { border-color:var(--green); background:#eef3e9; color:var(--green); }
.sub-question { font-size:1rem !important; margin-top:22px !important; }
.method-chips { display:flex; flex-wrap:wrap; gap:7px; }
.method-chips span { border:1px solid var(--border); padding:8px 12px; border-radius:99px; font-size:.74rem; background:white; }
.method-chips span.selected { background:var(--green); color:white; border-color:var(--green); }
.note-confirm-list { display:grid; gap:8px; }
.note-confirm-list button { background:white; border:1px solid var(--border); border-radius:15px; padding:11px 12px; display:grid; grid-template-columns:30px 1fr auto; align-items:center; text-align:right; }
.note-confirm-list button span { font-size:1.25rem; }
.note-confirm-list button small { color:var(--muted); font-size:.68rem; }
.note-confirm-list button.confirmed { border-color:#7fa580; background:#f0f6ec; }
.note-confirm-list button.confirmed small { color:var(--green); font-weight:700; }
.inline-add { border:0; background:transparent; color:var(--green); font-weight:700; padding:12px 0 0; }
.flow-benefits { display:grid; align-content:center; gap:20px; padding:20px; }
.flow-benefits article { display:grid; grid-template-columns:42px 1fr; gap:13px; align-items:start; }
.flow-benefits article > span { width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(41,76,56,.18); border-radius:14px; color:var(--green); font-family:"DejaVu Sans",sans-serif; font-weight:700; }
.flow-benefits h3 { margin:0 0 3px; font-size:1rem; }
.flow-benefits p { margin:0; color:var(--muted); font-size:.8rem; }

.two-column-feature { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.feature-copy h2 { font-size:clamp(2.25rem,4.5vw,4rem); line-height:1.12; letter-spacing:-.04em; margin:10px 0 20px; }
.feature-copy > p { color:var(--muted); max-width:540px; }
.feature-list { list-style:none; padding:0; margin:30px 0 0; display:grid; gap:18px; }
.feature-list li { display:grid; grid-template-columns:32px 1fr; gap:12px; align-items:start; }
.feature-list li > span { width:28px; height:28px; border-radius:9px; display:grid; place-items:center; color:var(--green); background:#dce9cc; font-weight:800; }
.feature-list li div { display:grid; }
.feature-list li small { color:var(--muted); margin-top:2px; }
.brew-panel { background:var(--green-2); color:white; border-radius:30px; padding:28px; box-shadow:0 30px 70px rgba(31,59,44,.22); }
.brew-panel-head small { color:#b9c6bc; }
.brew-panel-head h3 { margin:3px 0 0; font-size:1.35rem; }
.score-badge { background:#f5e0a9; color:#70531b; border-radius:99px; padding:7px 11px; font-size:.8rem; font-weight:800; }
.recipe-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin:25px 0 28px; }
.recipe-stats div { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.08); padding:14px; border-radius:16px; display:grid; }
.recipe-stats small { color:#aebbb1; font-size:.68rem; }
.recipe-stats strong { font-family:"DejaVu Sans",sans-serif; font-size:1.1rem; }
.recipe-timeline { display:grid; }
.recipe-timeline > div { display:grid; grid-template-columns:48px 24px 1fr; min-height:64px; align-items:start; }
.time { font-family:"DejaVu Sans",sans-serif; font-size:.72rem; color:#c0c9c2; padding-top:2px; }
.recipe-timeline i { width:10px; height:10px; border-radius:50%; background:var(--lime); position:relative; margin-top:4px; }
.recipe-timeline i::after { content:""; position:absolute; width:1px; height:54px; background:rgba(255,255,255,.15); top:10px; right:4px; }
.recipe-timeline > div:last-child i::after { display:none; }
.recipe-timeline p { margin:0; display:grid; }
.recipe-timeline small { color:#aebbb1; }
.recipe-footer { margin-top:8px; padding-top:18px; border-top:1px solid rgba(255,255,255,.1); color:#bbc4bd; font-size:.76rem; }
.recipe-footer button { border:0; background:var(--lime); color:#243128; font-weight:800; border-radius:12px; padding:9px 13px; }

.market-section { background:#17261c; color:white; }
.market-grid { display:grid; grid-template-columns:1.35fr .65fr; gap:22px; }
.market-card { border-radius:30px; padding:34px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.04); }
.main-market { background:linear-gradient(145deg,#294c38,#1e3528); }
.kicker.light { color:var(--lime); }
.market-card h2 { font-size:clamp(2rem,4vw,3.6rem); max-width:680px; line-height:1.15; letter-spacing:-.03em; margin:10px 0 10px; }
.market-card > p { color:#bdc7bf; max-width:620px; }
.seller-table { margin-top:28px; display:grid; gap:8px; }
.seller-table > div { display:grid; grid-template-columns:1fr 90px 100px; align-items:center; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.07); border-radius:16px; padding:12px 14px; }
.seller-table > div.best { background:rgba(200,227,108,.12); border-color:rgba(200,227,108,.34); }
.seller-table span { display:flex; align-items:center; gap:9px; }
.seller-table small { color:#aebbb2; text-align:left; }
.seller-table .best small { color:var(--lime); font-weight:700; }
.seller-logo { width:30px; height:30px; border-radius:9px; background:rgba(255,255,255,.12); display:grid; place-items:center; font-style:normal; font-family:"DejaVu Sans",sans-serif; font-size:.7rem; }
.same-coffee { align-self:stretch; }
.tiny-label { display:inline-block; color:var(--lime); background:rgba(200,227,108,.10); padding:5px 9px; border-radius:99px; font-size:.69rem; font-weight:700; }
.same-coffee h3 { font-size:1.65rem; line-height:1.35; margin:15px 0 8px; }
.same-coffee > p { font-size:.84rem; }
.same-list { display:grid; gap:9px; margin-top:26px; }
.same-list > div { display:grid; grid-template-columns:32px 1fr auto; gap:9px; align-items:center; padding:11px; background:rgba(255,255,255,.05); border-radius:15px; }
.same-list p { margin:0; display:grid; }
.same-list small { color:#aab6ad; }
.same-list em { color:#c8d1ca; font-style:normal; font-size:.64rem; }

.final-cta { padding-top:90px; padding-bottom:90px; }
.cta-card { background:#9f5441; color:white; padding:44px; border-radius:32px; display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center; box-shadow:0 28px 75px rgba(110,60,47,.16); }
.cta-card h2 { font-size:clamp(2rem,4vw,3.4rem); line-height:1.18; margin:8px 0 10px; }
.cta-card p { color:#f1d8d1; margin:0; }
.waitlist-form { display:grid; gap:10px; }
.waitlist-form label { font-weight:700; }
.form-row { display:grid; grid-template-columns:1fr auto; gap:8px; }
.form-row input { border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.12); color:white; border-radius:15px; padding:13px 14px; outline:none; direction:ltr; }
.form-row input::placeholder { color:rgba(255,255,255,.6); }
.form-row input:focus { border-color:rgba(255,255,255,.7); }
.waitlist-form .primary-btn { background:#17261c; }
.waitlist-form small { color:#f2d9d2; }

.site-footer { border-top:1px solid var(--border); padding:30px 0 40px; }
.footer-row { display:flex; align-items:center; justify-content:space-between; gap:20px; color:var(--muted); font-size:.78rem; }
.footer-brand .brand-mark { width:36px; height:36px; border-radius:12px; }
.footer-brand .brand-mark svg { width:24px; height:24px; }
.footer-brand .brand-copy strong { font-size:1rem; }
.footer-brand .brand-copy small { font-size:.5rem; }

.modal-backdrop { position:fixed; inset:0; z-index:100; background:rgba(15,19,15,.54); backdrop-filter:blur(7px); display:grid; place-items:center; padding:20px; }
.modal-backdrop[hidden] { display:none; }
.modal-sheet { width:min(500px,100%); background:#fffdf7; border-radius:28px; padding:30px; position:relative; box-shadow:0 40px 100px rgba(0,0,0,.25); }
.modal-close { position:absolute; left:18px; top:16px; border:0; background:#eeeae0; width:36px; height:36px; border-radius:50%; font-size:1.4rem; }
.modal-kicker { color:var(--green); font-weight:700; font-size:.75rem; }
.modal-sheet h2 { font-size:2rem; margin:5px 0 4px; }
.modal-sheet > p { color:var(--muted); font-size:.85rem; }
.modal-question { margin-top:22px; }
.modal-question > b { display:block; margin-bottom:10px; }
.modal-moods { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
.modal-moods button { border:1px solid var(--border); background:white; border-radius:14px; padding:10px 5px; font-size:1.35rem; display:grid; gap:4px; }
.modal-moods small { font-size:.62rem; }
.modal-submit { width:100%; margin-top:26px; }

@media (max-width: 980px) {
  .desktop-nav { display:none; }
  .hero { grid-template-columns:1fr; padding-top:55px; gap:35px; }
  .hero-copy { max-width:760px; }
  .hero-visual { min-height:580px; }
  .proof-grid { grid-template-columns:1fr 1fr; }
  .proof-grid div:nth-child(2) { border-left:0; }
  .proof-grid div { padding:16px 22px; }
  .coffee-grid { grid-template-columns:1fr 1fr; }
  .coffee-card:last-child { grid-column:span 2; max-width:calc(50% - 11px); }
  .rating-demo-grid { grid-template-columns:1fr 1fr; }
  .flow-benefits { grid-column:span 2; grid-template-columns:repeat(3,1fr); }
  .two-column-feature { gap:40px; }
  .market-grid { grid-template-columns:1fr; }
  .cta-card { grid-template-columns:1fr; gap:30px; }
}

@media (max-width: 700px) {
  .container { width:min(100% - 28px,1180px); }
  .site-header .nav-wrap { height:68px; }
  .brand-copy small { display:none; }
  .hide-mobile, .icon-btn { display:none; }
  .primary-btn.compact { font-size:.8rem; padding:10px 12px; }
  .hero { min-height:auto; padding-top:42px; }
  .hero h1 { font-size:clamp(3.15rem,17vw,5rem); }
  .hero-lead { font-size:1rem; margin-top:22px; }
  .hero-actions { display:grid; grid-template-columns:1fr 1fr; }
  .primary-btn.large, .secondary-btn.large { min-width:0; padding:14px 10px; font-size:.84rem; }
  .hero-visual { min-height:550px; margin-inline:-5px; }
  .hero-visual::before { width:390px; height:390px; }
  .phone-shell { width:315px; min-height:540px; padding:15px; transform:rotate(-1deg); }
  .coffee-feature-card { grid-template-columns:110px 1fr; }
  .bag-visual { height:165px; }
  .float-rating { right:-1%; top:13%; }
  .float-price { left:-1%; bottom:14%; }
  .proof-grid { grid-template-columns:1fr 1fr; }
  .proof-grid div { padding:13px 12px; }
  .proof-grid strong { font-size:.82rem; }
  .proof-grid span { font-size:.68rem; }
  .section { padding-block:76px; }
  .split-heading { display:grid; align-items:start; }
  .filter-chips { justify-content:flex-start; }
  .coffee-grid { grid-template-columns:1fr; }
  .coffee-card:last-child { grid-column:auto; max-width:none; }
  .product-art { height:220px; }
  .rating-demo-grid { grid-template-columns:1fr; }
  .rating-phone.second { transform:none; }
  .flow-benefits { grid-column:auto; grid-template-columns:1fr; padding-inline:0; }
  .two-column-feature { grid-template-columns:1fr; }
  .feature-copy h2 { font-size:2.6rem; }
  .recipe-stats { grid-template-columns:1fr 1fr; }
  .market-card { padding:25px; }
  .seller-table > div { grid-template-columns:1fr 70px; }
  .seller-table small { grid-column:1 / -1; text-align:right; padding-right:39px; margin-top:-4px; }
  .cta-card { padding:28px 22px; }
  .form-row { grid-template-columns:1fr; }
  .footer-row { display:grid; justify-items:start; }
  .modal-moods { grid-template-columns:1fr 1fr; }
}

@media (max-width: 430px) {
  .hero-actions { grid-template-columns:1fr; }
  .phone-shell { width:290px; }
  .float-rating { top:9%; }
  .float-price { bottom:8%; }
  .floating-card { padding:9px 10px; }
  .floating-card strong { font-size:.7rem; }
  .floating-card small { font-size:.56rem; }
  .coffee-feature-card { grid-template-columns:96px 1fr; }
  .bag-visual { height:155px; }
  .proof-grid { grid-template-columns:1fr; }
  .proof-grid div { border-left:0; border-bottom:1px solid var(--border); }
  .proof-grid div:last-child { border-bottom:0; }
}

/* App pages */
.app-page { background: #f5f2e9; min-height:100vh; }
.app-main { padding: 44px 0 90px; }
.app-topline { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:28px; }
.app-topline h1 { margin:4px 0 0; font-size:clamp(2rem,4vw,3.4rem); line-height:1.15; letter-spacing:-.035em; }
.app-topline p { margin:7px 0 0; color:var(--muted); }
.app-search { display:grid; grid-template-columns:1fr auto; gap:10px; padding:8px; border:1px solid var(--border); background:white; border-radius:18px; box-shadow:0 8px 30px rgba(45,48,40,.05); }
.app-search input { border:0; outline:0; background:transparent; padding:8px 10px; min-width:0; }
.app-search button { border:0; background:var(--green); color:white; font-weight:700; border-radius:13px; padding:10px 18px; }
.search-layout { display:grid; grid-template-columns:250px 1fr; gap:26px; align-items:start; margin-top:28px; }
.filter-panel { background:rgba(255,255,255,.55); border:1px solid var(--border); border-radius:22px; padding:20px; position:sticky; top:95px; }
.filter-group + .filter-group { border-top:1px solid var(--border); margin-top:18px; padding-top:18px; }
.filter-group h3 { margin:0 0 10px; font-size:.9rem; }
.filter-list { display:flex; flex-wrap:wrap; gap:7px; }
.filter-list button { border:1px solid var(--border); background:white; padding:7px 10px; border-radius:99px; font-size:.74rem; }
.filter-list button.active { background:var(--green); color:white; border-color:var(--green); }
.results-head { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:16px; }
.results-head h2 { margin:0; font-size:1rem; }
.results-head select { border:1px solid var(--border); border-radius:11px; padding:8px 10px; background:white; }
.search-results { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.search-results .coffee-card { cursor:pointer; }
.product-art.small { height:190px; }
.result-count { color:var(--muted); font-size:.8rem; }

.mobile-bottom-nav { display:none; }

/* Coffee detail */
.breadcrumb { color:var(--muted); font-size:.78rem; margin-bottom:22px; }
.breadcrumb a:hover { color:var(--green); }
.detail-hero { display:grid; grid-template-columns:.82fr 1.18fr; gap:42px; align-items:start; }
.detail-product-art { min-height:500px; border-radius:32px; position:sticky; top:98px; box-shadow:var(--shadow); }
.detail-product-art.product-art strong { font-size:2rem; }
.detail-product-art.product-art small, .detail-product-art .product-origin { font-size:.72rem; }
.detail-title-row { display:flex; justify-content:space-between; align-items:start; gap:20px; }
.detail-title h1 { margin:6px 0 5px; font-size:clamp(2.4rem,5vw,4.6rem); line-height:1; letter-spacing:-.04em; }
.detail-title p { margin:0; color:var(--muted); font-size:1rem; }
.icon-round { width:46px; height:46px; border:1px solid var(--border); background:white; border-radius:15px; font-size:1.25rem; }
.detail-rating { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin:24px 0; padding-block:18px; border-block:1px solid var(--border); }
.big-score { display:flex; align-items:baseline; gap:5px; }
.big-score strong { font-size:2rem; }
.big-score span { color:var(--gold); }
.detail-rating-meta { color:var(--muted); font-size:.82rem; }
.rebuy-pill { margin-inline-start:auto; background:#e8f0dd; color:var(--green); font-weight:700; padding:8px 12px; border-radius:99px; font-size:.78rem; }
.detail-section { padding:22px 0; border-bottom:1px solid var(--border); }
.detail-section h2 { margin:0 0 13px; font-size:1.15rem; }
.origin-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.origin-cell { background:rgba(255,255,255,.55); border:1px solid var(--border); border-radius:14px; padding:12px; display:grid; }
.origin-cell small { color:var(--muted); font-size:.68rem; }
.origin-cell b { margin-top:2px; }
.note-bars { display:grid; gap:10px; }
.note-bar-row { display:grid; grid-template-columns:70px 1fr 40px; gap:10px; align-items:center; font-size:.8rem; }
.note-track { height:9px; border-radius:99px; background:#e2dfd4; overflow:hidden; }
.note-fill { height:100%; border-radius:inherit; background:var(--green); }
.brew-method-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }
.brew-stat { border:1px solid var(--border); background:white; border-radius:15px; padding:13px; display:grid; }
.brew-stat b { font-size:1rem; }
.brew-stat small { color:var(--muted); }
.seller-box { background:white; border:1px solid var(--border); border-radius:18px; overflow:hidden; }
.seller-row { display:grid; grid-template-columns:1fr 90px 100px; gap:10px; align-items:center; padding:14px; }
.seller-row + .seller-row { border-top:1px solid var(--border); }
.seller-row.best { background:#f0f5e9; }
.seller-row span { display:flex; align-items:center; gap:9px; }
.seller-row small { color:var(--muted); }
.seller-row a { justify-self:end; color:var(--green); font-weight:700; font-size:.78rem; }
.primary-action-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
.primary-action-row .primary-btn, .primary-action-row .secondary-btn { width:100%; }
.related-inline { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.related-card { border:1px solid var(--border); border-radius:16px; padding:13px; background:white; display:grid; grid-template-columns:42px 1fr auto; align-items:center; gap:10px; }
.related-card p { margin:0; display:grid; }
.related-card small { color:var(--muted); }
.related-card em { font-style:normal; color:var(--green); font-size:.68rem; }

/* Roaster */
.roaster-hero { display:grid; grid-template-columns:120px 1fr auto; gap:22px; align-items:center; background:linear-gradient(145deg,#264b37,#182d22); color:white; border-radius:32px; padding:34px; }
.roaster-logo-large { width:120px; height:120px; border-radius:28px; background:#f0e4c9; color:#264b37; display:grid; place-items:center; font-family:"DejaVu Sans",sans-serif; font-size:2.3rem; font-weight:800; }
.roaster-hero h1 { margin:0; font-size:2.6rem; }
.roaster-hero p { margin:7px 0 0; color:#c4cec7; }
.roaster-meta { display:flex; gap:16px; margin-top:13px; color:#d9e1db; font-size:.78rem; flex-wrap:wrap; }
.roaster-actions { display:flex; gap:8px; }
.roaster-actions button { border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.08); color:white; padding:10px 14px; border-radius:13px; font-weight:700; }
.roaster-section { margin-top:38px; }
.roaster-section-head { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:16px; }
.roaster-section-head h2 { margin:0; font-size:1.6rem; }
.roaster-section-head p { margin:3px 0 0; color:var(--muted); font-size:.85rem; }
.roaster-coffees { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }

/* Shelf */
.profile-strip { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:28px; }
.profile-id { display:flex; align-items:center; gap:14px; }
.profile-avatar { width:58px; height:58px; border-radius:18px; background:#d9b894; color:#563c2a; display:grid; place-items:center; font-size:1.3rem; font-weight:800; }
.profile-id h1 { margin:0; font-size:1.8rem; }
.profile-id p { margin:2px 0 0; color:var(--muted); font-size:.82rem; }
.profile-stats { display:flex; gap:18px; }
.profile-stats div { display:grid; text-align:center; }
.profile-stats strong { font-size:1.1rem; }
.profile-stats small { color:var(--muted); font-size:.68rem; }
.shelf-tabs { display:flex; gap:7px; margin-bottom:18px; overflow:auto; padding-bottom:4px; }
.shelf-tab { border:1px solid var(--border); background:white; border-radius:99px; padding:8px 14px; white-space:nowrap; }
.shelf-tab.active { background:var(--ink); color:white; }
.shelf-layout { display:grid; grid-template-columns:1fr 320px; gap:24px; }
.shelf-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.taste-profile-card { background:#1f3b2c; color:white; border-radius:25px; padding:24px; position:sticky; top:96px; align-self:start; }
.taste-profile-card h2 { margin:0 0 6px; }
.taste-profile-card > p { color:#bdc7c0; margin-top:0; font-size:.8rem; }
.taste-cloud { display:flex; flex-wrap:wrap; gap:7px; margin:18px 0 22px; }
.taste-cloud span { border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.06); padding:7px 10px; border-radius:99px; font-size:.73rem; }
.preference-bars { display:grid; gap:12px; }
.pref-row { display:grid; grid-template-columns:85px 1fr 34px; gap:8px; align-items:center; font-size:.72rem; }
.pref-track { background:rgba(255,255,255,.12); height:7px; border-radius:99px; overflow:hidden; }
.pref-fill { height:100%; background:var(--lime); }

@media (max-width: 900px) {
  .search-layout { grid-template-columns:1fr; }
  .filter-panel { position:static; }
  .filter-panel { display:flex; gap:15px; overflow:auto; }
  .filter-group { min-width:max-content; }
  .filter-group + .filter-group { border-top:0; margin-top:0; padding-top:0; }
  .detail-hero { grid-template-columns:1fr; }
  .detail-product-art { position:relative; top:auto; min-height:420px; }
  .roaster-coffees { grid-template-columns:1fr 1fr; }
  .shelf-layout { grid-template-columns:1fr; }
  .taste-profile-card { position:static; }
}

@media (max-width: 700px) {
  .app-main { padding-top:28px; padding-bottom:90px; }
  .app-topline { display:grid; }
  .app-search { grid-template-columns:1fr; }
  .search-results { grid-template-columns:1fr; }
  .filter-panel { margin-inline:-14px; border-radius:0; border-inline:0; padding-inline:14px; }
  .mobile-bottom-nav { display:grid; position:fixed; bottom:10px; right:10px; left:10px; z-index:45; grid-template-columns:repeat(4,1fr); background:rgba(255,253,247,.92); backdrop-filter:blur(16px); border:1px solid var(--border); border-radius:20px; padding:7px; box-shadow:0 18px 50px rgba(35,41,33,.18); }
  .mobile-bottom-nav a { display:grid; place-items:center; gap:1px; color:var(--muted); font-size:.62rem; padding:5px; }
  .mobile-bottom-nav b { font-size:1rem; }
  .mobile-bottom-nav a.active { color:var(--green); font-weight:700; }
  .origin-grid, .brew-method-stats, .related-inline { grid-template-columns:1fr 1fr; }
  .seller-row { grid-template-columns:1fr 70px; }
  .seller-row a { grid-column:1 / -1; justify-self:start; padding-right:39px; }
  .primary-action-row { grid-template-columns:1fr; }
  .detail-product-art { min-height:330px; }
  .detail-title-row { align-items:center; }
  .rebuy-pill { margin-inline-start:0; }
  .roaster-hero { grid-template-columns:72px 1fr; padding:24px; }
  .roaster-logo-large { width:72px; height:72px; border-radius:20px; font-size:1.6rem; }
  .roaster-hero h1 { font-size:1.8rem; }
  .roaster-actions { grid-column:1 / -1; }
  .roaster-coffees { grid-template-columns:1fr; }
  .profile-strip { align-items:flex-start; display:grid; }
  .profile-stats { justify-content:start; }
  .shelf-grid { grid-template-columns:1fr; }
}

/* Sulala journal integration: navigation remains available on mobile. */
.home-page .nav-wrap{height:auto;min-height:76px;flex-wrap:wrap;padding-block:12px;gap:16px}
.home-page .desktop-nav{display:flex;flex-wrap:wrap;gap:12px 20px}
.journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:24px}
.journal-grid>a{min-width:0;border:1px solid var(--border);border-radius:26px;background:rgba(255,255,255,.58);padding:24px;overflow-wrap:anywhere}
.journal-grid h3{font-size:1.35rem;line-height:1.5}
.journal-grid p{color:var(--muted)}
@media(max-width:1100px){
 .home-page .desktop-nav{order:3;flex-basis:100%;justify-content:center}
}
@media(max-width:700px){
 .home-page .site-header{position:relative}
 .journal-grid{grid-template-columns:minmax(0,1fr)}
}
/* Keep decorative glows inside the viewport; the body already supplies gradients. */
.home-page .ambient{display:none}
.home-page .hero-visual::before{width:min(500px,100%);height:auto;aspect-ratio:1}
.home-page .hero>*{min-width:0}
@media(max-width:700px){.home-page .phone-shell{max-width:100%;transform:none}.home-page .float-rating{right:0}.home-page .float-price{left:0}}
