:root {
  --bg: #F6F4EE;
  --surface: #FFFFFF;
  --text: #1C201E;
  --green: #17714F;
  --green-dark: #0E5E40;
  --green-soft: #E6F2EC;
  --danger: #A63C17;
  --border: #E7E2D9;
  --muted: #6F746F;
  --dark-band: #10211A;
  --soft-yellow: #FFF6D8;
  --shadow: 0 12px 30px rgba(24, 48, 37, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1280px; margin: 0 auto; padding-inline: 32px; }
.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; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.header-inner { height: 72px; display:flex; align-items:center; gap:26px; }
.brand { display:flex; align-items:center; gap:8px; min-width: 250px; }
.brand-mark {
  width: 27px; height:27px; border-radius:50%;
  display:grid; place-items:center; background:var(--green); color:white; font-weight:900;
}
.brand-name { font-weight:900; font-size:21px; letter-spacing:-.02em; }
.brand-name span { color:var(--green); font-size:.75em; }
.brand-tagline { font-size:10px; color:var(--muted); margin-left:6px; line-height:1.2; max-width:72px; }
.desktop-nav { display:flex; gap:24px; font-size:14px; font-weight:700; white-space:nowrap; }
.desktop-nav a { padding:24px 0 20px; border-bottom:3px solid transparent; }
.desktop-nav a.active { color:var(--green); border-color:var(--green); }
.header-actions { margin-left:auto; display:flex; align-items:center; gap:10px; }
.header-search { display:flex; height:42px; width:300px; border:1px solid var(--border); border-radius:999px; background:#FAF9F5; overflow:hidden; }
.header-search input { border:0; outline:0; background:transparent; padding:0 16px; flex:1; min-width:0; }
.header-search button { width:46px; border:0; color:white; background:var(--green); cursor:pointer; font-size:20px; }
.header-cta { border:0; background:var(--green); color:white; font-weight:700; border-radius:999px; padding:11px 18px; cursor:pointer; }
.mobile-search-btn, .menu-btn { display:none; background:none; border:0; font-size:24px; }

.hero { padding:42px 0 34px; background:
  radial-gradient(circle at 12% 20%, rgba(23,113,79,.08), transparent 22%),
  radial-gradient(circle at 55% 25%, rgba(230,242,236,.9), transparent 30%),
  #F8F6F0; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.68fr) minmax(330px,.82fr); gap:30px; align-items:stretch; }
.hero-main { min-width:0; }
.hand-note { font-family:"Klee One", cursive; color:var(--green); font-weight:600; font-size:18px; margin:0 0 10px; transform:rotate(-2deg); }
.small-note { font-size:16px; margin-right:10px; }
.hero-copy-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,clamp(180px,calc(36vw - 188px),330px)); gap:10px; align-items:end; }
.hero h1 { font-size:clamp(44px,4.4vw,67px); line-height:1.12; letter-spacing:-.04em; margin:0 0 18px; font-weight:900; }
.hero h1 span { color:var(--green); }
.hero-lead { font-size:17px; max-width:630px; margin:0; }
.hero-art { width:100%; min-width:0; align-self:end; }
.hero-art img { display:block; width:100%; height:auto; mix-blend-mode:multiply; filter:brightness(1.04); }

.formula-band { margin-top:12px; min-height:118px; border-radius:22px; background:linear-gradient(90deg,var(--green-dark),var(--green)); color:white; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1.35fr); gap:12px; align-items:center; padding:18px 20px; box-shadow:var(--shadow); }
.formula-title strong { display:block; font-size:27px; line-height:1; }
.formula-title span { display:block; font-size:12px; opacity:.85; margin-top:7px; }
.formula-unit { background:white; color:var(--text); border-radius:15px; text-align:center; padding:8px 12px; min-width:92px; }
.formula-unit small { display:block; font-size:11px; color:var(--muted); }
.formula-unit b { display:block; font:800 28px/1.1 "Outfit", sans-serif; font-variant-numeric: tabular-nums; }
.formula-unit.reward { background:var(--green-soft); }
.formula-unit.reward b { color:var(--green); font-size:31px; }
.formula-sign { font-size:30px; font-weight:900; }

.search-builder { background:white; border:1px solid var(--border); border-radius:20px; padding:24px; box-shadow:var(--shadow); align-self:start; }
.search-builder h2 { margin:0 0 18px; font-size:20px; }
.search-builder label { display:grid; grid-template-columns:95px 1fr; align-items:center; gap:12px; margin-bottom:12px; font-size:13px; font-weight:700; }
.search-builder select { height:44px; border:1px solid var(--border); border-radius:8px; padding:0 12px; background:white; color:var(--text); }
.search-result-btn { width:100%; border:0; border-radius:10px; background:var(--green); color:white; padding:13px 14px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; font-weight:700; }
.search-result-btn #result-count, .search-result-btn strong { font:800 20px/1 "Outfit", sans-serif; }
.search-result-btn strong { color:#E9FFB7; }
.search-result-btn small { font-size:12px; }
.popular-tags p { font-size:12px; font-weight:700; margin:16px 0 8px; }
.popular-tags div { display:flex; flex-wrap:wrap; gap:6px; }
.popular-tags button { border:1px solid var(--border); border-radius:999px; background:#F8F7F3; color:#47504B; font-size:11px; padding:6px 9px; cursor:pointer; }

.section { padding:54px 0; }
.light-section { background:#F0EEE8; }
.section-heading { margin-bottom:22px; }
.section-heading h2 { margin:0; font-size:28px; letter-spacing:-.02em; }
.section-heading p { margin:5px 0 0; color:var(--muted); font-size:14px; }
.inline-heading { display:flex; align-items:end; justify-content:space-between; }
.row-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; }
.row-heading a { color:var(--green); font-weight:700; font-size:13px; }
.danger-text { color:var(--danger) !important; font-family:"Klee One"; font-weight:600; }

.how-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.how-card { display:grid; grid-template-columns:140px 1fr; gap:16px; background:white; border:1px solid var(--border); border-radius:16px; padding:18px; min-height:180px; align-items:center; }
.how-card h3 { margin:0 0 6px; font-size:18px; }
.how-card p { margin:0 0 8px; font-size:13px; color:#4F5551; }
.how-card strong { color:var(--green); font:800 18px "Outfit"; }
.step { display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--green); color:white; font-weight:900; margin-bottom:6px; }
.mini-illustration { position:relative; height:125px; border-radius:18px; background:var(--green-soft); overflow:hidden; }
.bank-illust .roof { position:absolute; left:25px; top:20px; width:90px; height:26px; background:#70BFA2; clip-path:polygon(50% 0,100% 100%,0 100%); }
.bank-illust .building { position:absolute; left:30px; top:44px; width:80px; height:50px; border:2px solid #438F73; background:white; display:grid; place-items:center; font-weight:900; color:var(--green); }
.bank-illust .mini-card { position:absolute; right:14px; bottom:18px; width:58px; height:34px; border-radius:7px; background:#216EA9; transform:rotate(9deg); }
.pay-illust .pay-card { position:absolute; left:16px; top:28px; width:90px; height:58px; border-radius:10px; background:white; border:3px solid #2F6451; transform:rotate(-8deg); }
.pay-illust .qr { position:absolute; right:18px; top:23px; width:54px; height:75px; border-radius:12px; background:#2E8B69; color:white; display:grid; place-items:center; font-weight:900; }
.pay-illust .mini-coin { position:absolute; left:72px; bottom:14px; width:34px; height:34px; border-radius:50%; background:#FFD76B; display:grid; place-items:center; color:#7A5B00; font-weight:900; }
.app-illust .phone { position:absolute; left:34px; top:16px; width:64px; height:98px; border-radius:13px; background:#3F8F73; color:white; display:grid; place-items:center; font-weight:900; border:5px solid #194C3A; }
.app-illust .gift { position:absolute; right:22px; top:44px; width:52px; height:52px; border-radius:10px; background:#FFD76B; color:#7A5B00; display:grid; place-items:center; font-size:34px; }

.two-column-area { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr); gap:26px; }
.deal-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.deal-card { background:white; border:1px solid var(--border); border-radius:16px; padding:16px; position:relative; transition:.2s ease; min-height:188px; }

.deal-top { display:flex; align-items:center; gap:10px; }
.logo-slot { width:42px; height:42px; border-radius:10px; display:grid; place-items:center; color:white; font-weight:900; }
.pr-badge { margin-left:auto; border:1px solid #B8B5AE; border-radius:4px; padding:2px 5px; font-size:9px; color:#585B58; background:white; }
.deal-category { font-size:11px; color:var(--muted); margin-top:8px; }
.reward-amount { margin:4px 0 2px; color:var(--green); font:800 36px/1.05 "Outfit"; font-variant-numeric:tabular-nums; }
.reward-amount small { font-size:16px; }
.deal-card h3 { margin:2px 0 3px; font-size:15px; }
.deal-card p { margin:0 0 12px; font-size:12px; color:#555A56; }
.deal-meta { display:grid; grid-template-columns:repeat(3,1fr); background:#F7F6F2; border-radius:9px; overflow:hidden; }
.deal-meta span { padding:8px 4px; text-align:center; font-size:10px; border-right:1px solid var(--border); }
.deal-meta span:last-child { border-right:0; }
.deal-meta b { display:block; font-size:12px; }
.per-minute { font-size:10px; color:var(--muted); text-align:right; margin-top:7px; }
.deadline-list { background:white; border:1px solid var(--border); border-radius:16px; padding:6px 14px; }
.deadline-item { display:grid; grid-template-columns:42px 1fr auto; gap:10px; align-items:center; padding:13px 0; border-bottom:1px solid var(--border); }
.deadline-item:last-child { border-bottom:0; }
.deadline-item .logo-slot { width:36px; height:36px; }
.deadline-item b { display:block; font-size:13px; }
.deadline-item small { display:block; color:var(--muted); }
.deadline-reward { color:var(--green); font:800 16px "Outfit"; }
.days-left { display:block; margin-top:5px; color:var(--danger); background:#FFF0EA; border-radius:999px; padding:4px 8px; font-size:10px; font-weight:700; }

.amount-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.amount-tile { background:white; border:1px solid var(--border); border-radius:12px; padding:14px 12px; text-align:center; }
.amount-tile strong { display:block; color:var(--green); font:800 20px "Outfit"; }
.amount-tile small { color:var(--muted); }

.split-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:28px; }
.zero-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.zero-tile { background:white; border:1px solid var(--border); border-radius:12px; padding:14px; min-height:120px; }
.zero-tile span { font-size:22px; }
.zero-tile b { display:block; margin-top:8px; font-size:13px; }
.zero-tile strong { display:block; color:var(--green); font:800 16px "Outfit"; }
.zero-tile small { color:var(--muted); }
.spare-grid { display:grid; gap:10px; }
.spare-card { display:grid; grid-template-columns:42px 1fr auto; gap:12px; align-items:center; background:white; border:1px solid var(--border); border-radius:12px; padding:14px; }
.spare-card > span { width:42px; height:42px; border-radius:50%; background:var(--green-soft); display:grid; place-items:center; font-size:20px; }
.spare-card b, .spare-card small { display:block; }
.spare-card small { color:var(--muted); }
.spare-card strong { color:var(--green); font:800 15px "Outfit"; }

.bottom-split { grid-template-columns:1fr 1fr; }
.category-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.category-grid button { min-height:82px; background:#F9F8F4; border:1px solid var(--border); border-radius:10px; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; font-size:18px; }
.category-grid span { font-size:11px; font-weight:700; }
.recipe-list { display:grid; }
.recipe-list a { display:grid; grid-template-columns:100px 1fr 90px; gap:12px; align-items:center; border-bottom:1px solid var(--border); padding:10px 0; }
.recipe-list strong { color:var(--green); font:800 15px "Outfit"; }
.recipe-list span { font-size:12px; }
.recipe-list time { color:var(--muted); font-size:11px; text-align:right; }

.monthly-section { padding:34px 0; background:#ECEAE4; }
.monthly-band { background:var(--dark-band); color:white; border-radius:18px; min-height:136px; display:grid; grid-template-columns:1.1fr 1fr auto auto; gap:28px; align-items:center; padding:24px 32px; overflow:hidden; }
.monthly-band small { color:#8FE4BB; }
.monthly-band p { margin:2px 0 0; font-weight:700; }
.monthly-band > strong { color:#65D9A0; font:800 44px "Outfit"; white-space:nowrap; }
.monthly-band > strong small { color:white; font-size:14px; margin-left:5px; }
.monthly-band button { border:0; border-radius:999px; padding:12px 20px; background:white; font-weight:700; cursor:pointer; }
.monthly-koban { font-size:42px; opacity:.95; }

.policy-grid { display:grid; grid-template-columns:1.35fr .65fr; gap:30px; }
.policy-grid h2 { font-size:28px; margin-top:0; }
.policy-points { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:22px; }
.policy-points div { background:#F0EEE8; border-radius:12px; padding:14px; }
.policy-points b, .policy-points span { display:block; }
.policy-points span { margin-top:4px; color:var(--muted); font-size:11px; }
.ad-policy { background:white; border:1px solid var(--border); border-radius:16px; padding:20px; }
.ad-policy h3 { margin:8px 0; }
.ad-policy p { font-size:12px; color:#555A56; }

.site-footer { background:#0E4E39; color:white; padding:34px 0 40px; }
.footer-inner { display:flex; justify-content:space-between; align-items:flex-start; gap:30px; }
.footer-brand { min-width:0; }
.footer-inner p { margin:8px 0 0; font-family:"Klee One"; }
.footer-inner nav { display:flex; gap:20px; flex-wrap:wrap; font-size:12px; opacity:.9; }

.bottom-nav { display:none; }

@media (max-width: 1100px) {
  .desktop-nav { gap:14px; font-size:12px; }
  .header-search { width:230px; }
  .brand { min-width:210px; }
  .how-card { grid-template-columns:110px 1fr; }
}

@media (max-width: 900px) {
  .desktop-nav, .header-search, .header-cta { display:none; }
  .mobile-search-btn, .menu-btn { display:block; }
  .brand { min-width:0; }
  .header-inner { height:64px; }
  .hero-grid { grid-template-columns:1fr; }
  .search-builder { margin-top:4px; }
  .how-grid { grid-template-columns:1fr; }
  .how-card { grid-template-columns:120px 1fr; }
  .two-column-area, .split-grid, .bottom-split, .policy-grid { grid-template-columns:1fr; }
  .amount-grid { grid-template-columns:repeat(3,1fr); }
  .category-grid { grid-template-columns:repeat(4,1fr); }
  .monthly-band { grid-template-columns:1fr 1fr; }
  .monthly-band button, .monthly-koban { justify-self:start; }
}

@media (max-width: 767px) {
  body { padding-bottom:76px; }
  .container { padding-inline:16px; }
  .site-header { position:sticky; }
  .header-inner { gap:10px; }
  .brand-name { font-size:18px; }
  .brand-tagline { display:none; }
  .hero { padding:24px 0 22px; }
  .hero-grid { gap:18px; }
  .hand-note { font-size:15px; }
  .hero h1 { font-size:38px; line-height:1.15; margin-bottom:12px; }
  .hero-lead { font-size:14px; }
  .formula-band { margin-top:18px; padding:14px; grid-template-columns:1fr auto 1fr auto 1.25fr; gap:8px; border-radius:16px; min-height:0; }
  .formula-title { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; margin-bottom:2px; }
  .formula-title strong { font-size:20px; }
  .formula-title span { font-size:10px; margin:0; }
  .formula-unit { min-width:0; padding:7px 5px; border-radius:10px; }
  .formula-unit small { font-size:9px; }
  .formula-unit b { font-size:22px; }
  .formula-unit.reward b { font-size:24px; }
  .formula-sign { font-size:22px; }

  .search-builder { border-radius:16px; padding:16px; }
  .search-builder h2 { font-size:18px; }
  .search-builder label { grid-template-columns:1fr; gap:5px; margin-bottom:10px; }
  .search-builder select { height:46px; }
  .search-result-btn { flex-direction:column; gap:2px; }
  .popular-tags div { overflow:auto; flex-wrap:nowrap; padding-bottom:4px; }
  .popular-tags button { white-space:nowrap; }

  .section { padding:36px 0; }
  .section-heading h2 { font-size:23px; }
  .inline-heading { align-items:flex-start; }
  .small-note { display:none; }

  .how-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; padding-bottom:8px; }
  .how-card { min-width:78%; grid-template-columns:1fr; scroll-snap-align:start; min-height:0; }
  .mini-illustration { height:112px; }

  .deal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .deal-card { padding:12px; min-height:0; }
  .logo-slot { width:34px; height:34px; }
  .reward-amount { font-size:28px; }
  .deal-card h3 { font-size:13px; }
  .deal-card p { font-size:10px; }
  .deal-meta { grid-template-columns:1fr 1fr; }
  .deal-meta span:nth-child(3) { grid-column:1/-1; border-top:1px solid var(--border); }
  .per-minute { display:none; }

  .two-column-area { gap:34px; }
  .deadline-list { padding:4px 12px; }
  .amount-grid { grid-template-columns:1fr; gap:8px; }
  .amount-tile { display:flex; align-items:center; justify-content:space-between; text-align:left; padding:13px 15px; }
  .amount-tile strong { font-size:19px; }

  .zero-grid { grid-template-columns:repeat(2,1fr); }
  .spare-grid { grid-template-columns:repeat(3,1fr); }
  .spare-card { grid-template-columns:1fr; text-align:center; gap:7px; padding:12px 8px; }
  .spare-card > span { margin:auto; }
  .spare-card strong { display:none; }

  .category-grid { grid-template-columns:repeat(3,1fr); }
  .category-grid button { min-height:76px; }
  .recipe-list a { grid-template-columns:86px 1fr; }
  .recipe-list time { display:none; }

  .monthly-section { padding:24px 0; }
  .monthly-band { grid-template-columns:1fr; gap:12px; padding:22px; border-radius:14px; }
  .monthly-band > strong { font-size:38px; }
  .monthly-band button { width:100%; }
  .monthly-koban { display:none; }

  .policy-points { grid-template-columns:1fr; }
  .site-footer { padding-bottom:32px; }
  .footer-inner { flex-direction:column; }
  .footer-inner nav { display:grid; gap:10px; }

  .bottom-nav {
    position:fixed; left:0; right:0; bottom:0; z-index:50;
    display:grid; grid-template-columns:repeat(5,1fr);
    min-height:64px; padding-bottom:env(safe-area-inset-bottom);
    background:rgba(255,255,255,.98); border-top:1px solid var(--border);
    box-shadow:0 -8px 20px rgba(20,40,32,.06);
  }
  .bottom-nav a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; font-size:18px; color:#4B5550; }
  .bottom-nav span { font-size:10px; font-weight:700; }
  .bottom-nav .active { color:var(--green); }
}

@media (max-width: 380px) {
  .hero h1 { font-size:34px; }

  .zero-grid { grid-template-columns:1fr 1fr; }

}

/* Final specification: layout, interaction and readable mobile typography. */
[hidden] { display:none !important; }
:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
section, aside[id], #recipes { scroll-margin-top:100px; }
button { cursor:pointer; color:inherit; }
button, a, select, input { touch-action:manipulation; }
button, a { transition:background-color 200ms, border-color 200ms, transform 200ms; }
.skip-link { position:fixed; left:16px; top:-100px; z-index:100; padding:12px; background:white; }
.skip-link:focus { top:10px; }
.demo-notice { margin:0; padding:8px 16px; text-align:center; color:var(--green-dark); background:var(--green-soft); font-size:14px; }
.header-inner { gap:18px; }
.brand { min-width:190px; flex-shrink:0; }
.brand-tagline { font-size:11px; }
.desktop-nav { gap:14px; font-size:14px; }
.header-actions { flex:1; min-width:0; }
.header-search { width:100%; min-width:125px; height:44px; }
.header-search input { font-size:14px; padding-inline:12px; }
.header-search:focus-within { outline:2px solid var(--green); outline-offset:2px; }
.header-cta { padding:10px 12px; white-space:nowrap; font-size:14px; }
.mobile-search-btn, .menu-btn { min-width:44px; min-height:44px; }
.hero-grid { grid-template-columns:minmax(0,2.25fr) minmax(330px,1fr); gap:24px; }
.hero h1 { position:relative; z-index:1; font-size:clamp(32px,3.35vw,48px); line-height:1.5; letter-spacing:-.045em; margin:16px 0 22px; }
.hero h1 span { white-space:nowrap; }
.hero-lead { max-width:520px; font-size:16px; }
.formula-band { position:relative; padding:18px; gap:10px; margin-top:10px; }
.formula-title { grid-column:1/-1; display:flex; align-items:center; gap:14px; }
.formula-title strong { font-size:20px; }
.formula-title span { font-size:14px; margin:0; }
.formula-unit { min-width:0; padding:8px 5px; }
.formula-unit small { font-size:14px; }
.formula-unit b, .formula-unit.reward b { font-size:28px; white-space:nowrap; }
.formula-sign { font-size:22px; }
.search-builder { padding:24px; }
.search-builder label { font-size:14px; grid-template-columns:84px minmax(0,1fr); gap:8px; }
.search-builder h2 { font-size:20px; line-height:1.6; }
.search-builder select { width:100%; min-width:0; }
.search-builder .extra-filter { display:none; }
.search-builder.expanded .extra-filter { display:grid; }
.more-filters { border:0; background:none; color:var(--green); font-size:14px; padding:6px 0; min-height:44px; }
.search-summary { font-size:14px; margin:12px 0; }
.search-summary strong { color:var(--green); white-space:nowrap; }
.search-result-btn { min-height:52px; font-size:16px; }
.popular-tags p, .popular-tags button { font-size:14px; }
.popular-tags button { min-height:44px; }
.how-card { grid-template-columns:1fr; padding:20px; gap:12px; }
.mini-illustration { width:140px; height:116px; }
.how-card p { font-size:16px; }
.how-card h3 { font-size:19px; }
.how-card .step { margin-right:8px; }
.carousel-dots { display:none; }
.two-column-area { grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr); }
.deal-top { min-height:44px; padding-right:32px; }
.logo-slot { flex-shrink:0; background:var(--green-soft); color:var(--green); border:1px solid #C7DED2; }
.logo-slot img { width:100%; height:100%; object-fit:contain; border-radius:inherit; }
.deal-category { font-size:14px; margin:0; }
.deal-card { display:flex; flex-direction:column; }
.deal-card .pr-badge { position:absolute; right:12px; top:12px; }
.pr-badge { font-size:14px; line-height:1.2; display:inline-block; }
.reward-amount { font-size:36px; margin:14px 0 8px; }
.reward-amount small { font-size:18px; }
.deal-title { min-height:44px; text-align:left; font-weight:700; background:none; border:0; padding:0; color:var(--text); }
.deal-title span { color:var(--green); }
.deal-card p { font-size:16px; flex:1; }
.deal-meta span, .deal-meta b { font-size:14px; }
.deal-meta b { white-space:nowrap; }
.card-bottom { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px; margin-top:8px; }
.per-minute { font-size:14px; margin:0; }
.deadline-list { padding:4px 14px; }
.deadline-item { width:100%; background:none; border:0; border-bottom:1px solid var(--border); text-align:left; position:relative; grid-template-columns:36px minmax(0,1fr) auto; gap:8px; }
.deadline-item b, .deadline-item small { font-size:14px; }
.deadline-item .pr-badge { margin-top:6px; }
.days-left { font-size:14px; }
.zero-tile b, .zero-tile small, .category-grid span { font-size:14px; }
.zero-tile strong { font-size:16px; margin:6px 0; }
.spare-card { text-align:left; }
.spare-card small { font-size:14px; }
.recipe-item { display:grid; grid-template-columns:100px minmax(0,1fr); gap:12px; align-items:center; width:100%; padding:16px 0; border:0; border-bottom:1px solid var(--border); background:none; text-align:left; }
.recipe-item > strong { color:var(--green); font:800 18px Outfit,sans-serif; }
.recipe-item small { display:block; font-size:14px; color:var(--muted); margin-top:4px; }
.recipe-item time { grid-column:2; color:var(--muted); font-size:14px; }
.monthly-band { grid-template-columns:1fr 1fr auto; gap:24px; }
.monthly-total { color:#65D9A0; font:800 clamp(28px,3.2vw,44px) Outfit,sans-serif; white-space:nowrap; }
.monthly-note { font-size:14px; font-weight:400 !important; }
.monthly-koban { display:none; }
.policy-points span, .ad-policy p { font-size:14px; }
.site-footer { background:var(--dark-band); }
.footer-brand .brand-name span { color:#8FE4BB; }
.footer-inner nav { font-size:14px; gap:8px 20px; max-width:680px; }
.footer-inner nav a, .footer-inner nav button { display:flex; align-items:center; min-height:44px; }
.footer-inner nav button { color:inherit; background:none; border:0; padding:0; text-align:left; }
.text-button { background:none; border:0; color:var(--green); min-height:44px; }
.results-section { background:var(--green-soft); }
.results-section .deal-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.empty-state { grid-column:1/-1; padding:24px; background:white; border:1px dashed var(--border); border-radius:12px; }
dialog { width:min(640px,calc(100% - 32px)); max-height:85dvh; overflow:auto; border:1px solid var(--border); border-radius:20px; padding:32px; color:var(--text); background:var(--bg); }
dialog::backdrop { background:rgba(16,33,26,.55); backdrop-filter:blur(3px); }
body:has(dialog[open]) { overflow:hidden; }
.dialog-close { position:sticky; top:0; display:block; margin-left:auto; width:44px; height:44px; border:1px solid var(--border); border-radius:50%; background:white; font-size:26px; z-index:1; }
dialog h2 { margin-top:0; line-height:1.5; }
.eyebrow { color:var(--green); font-size:14px; font-weight:700; }
.detail-facts { display:grid; gap:10px; background:white; padding:16px; border-radius:12px; }
.detail-facts > div { display:flex; justify-content:space-between; gap:12px; }
.detail-facts dd { margin:0; font-weight:700; }
.recipe-steps { padding-left:24px; }
.recipe-steps li { padding:8px 0; }
.detail-caution { border-left:3px solid var(--danger); padding:12px; background:#FFF0EA; }
.demo-detail { font-size:14px; color:var(--muted); }
.primary-button { display:inline-block; min-height:48px; border:0; border-radius:10px; padding:12px 16px; background:var(--green); color:white; margin:4px 4px 4px 0; }
.dialog-menu { display:grid; }
.dialog-menu a, .dialog-menu button { min-height:52px; padding:12px 0; border:0; border-bottom:1px solid var(--border); background:none; text-align:left; }
@media (hover:hover) {
  .deal-card:hover, .amount-tile:hover, .zero-tile:hover, .spare-card:hover { transform:translateY(-2px); border-color:#B8D9CC; box-shadow:var(--shadow); }
  .search-result-btn:hover, .primary-button:hover, .header-cta:hover { background:var(--green-dark); }
  .search-result-btn:hover > span { transform:translateX(3px); }
}
@media (min-width:1024px) and (max-width:1190px) {
  .header-inner { gap:12px; }
  .brand { min-width:155px; }.brand-tagline { display:none; }
  .desktop-nav { gap:10px; font-size:13px; }.header-cta { padding:10px 8px; font-size:12px; }
  .header-search input { padding-inline:8px; }
  .hero h1 { font-size:34px; }
  .hero-copy-grid { grid-template-columns:minmax(0,1fr) minmax(0,180px); gap:8px; }
  .formula-title span { font-size:13px; }
  .two-column-area { grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr); gap:20px; }
  .deal-meta { grid-template-columns:1fr 1fr; }.deal-meta span:last-child { grid-column:1/-1; }
  .monthly-band { grid-template-columns:1fr 1fr; }.monthly-band button { grid-column:1/-1; justify-self:start; }
}
@media (min-width:768px) and (max-width:1023px) {
  .desktop-nav, .header-cta { display:none; }.header-search { display:flex; max-width:360px; margin-left:auto; }
  .mobile-search-btn { display:none; }.menu-btn { display:block; }
  .hero-grid { grid-template-columns:1fr; }.hero-main { max-width:none; }
  .hero h1 { font-size:44px; }
  .search-builder { width:100%; }.search-builder h2 br { display:none; }
  .how-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }.how-card { grid-template-columns:1fr; padding:16px; }.how-card h3 { font-size:18px; }
  .two-column-area, .split-grid, .bottom-split, .policy-grid { grid-template-columns:1fr; }
  .results-section .deal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .monthly-band { grid-template-columns:1fr 1fr; }.monthly-band button { grid-column:1/-1; }
}
@media (max-width:767px) {
  body { padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
  .header-search, .header-cta, .desktop-nav { display:none; }.mobile-search-btn, .menu-btn { display:block; }
  .header-actions { justify-content:flex-end; gap:4px; }.brand { min-width:0; }
  .header-inner { height:64px; }
  .hero-grid { grid-template-columns:1fr; gap:22px; }
  .hero-copy-grid { grid-template-columns:1fr; gap:8px; }
  .hero-copy { display:flex; flex-direction:column; }
  .hero h1 { order:0; font-size:clamp(25px,7.05vw,31px); line-height:1.5; margin:0 0 14px; letter-spacing:-.035em; }
  .hero-copy .hand-note { order:1; font-size:18px; margin-bottom:12px; }
  .hero-lead { order:2; font-size:16px; padding-bottom:0; }
  .hero-art { width:min(68%,260px); margin:0 auto; }
  .formula-band { margin-top:6px; padding:14px; gap:8px; }
  .formula-title { justify-content:flex-start; }
  .formula-title span { display:none; }
  .formula-title strong { font-size:18px; }
  .formula-unit b, .formula-unit.reward b { font-size:26px; }
  .formula-unit small { font-size:14px; }.formula-sign { font-size:20px; }
  .search-builder { padding:18px; margin:0; }
  .search-builder h2 br { display:none; }
  .search-builder label, .search-builder .extra-filter { display:grid; grid-template-columns:1fr; font-size:14px; gap:6px; margin-bottom:14px; }
  .search-builder select { font-size:16px; min-height:48px; }
  .more-filters { display:none; }
  .search-result-btn { flex-direction:row; gap:12px; }
  .popular-tags div { flex-wrap:wrap; overflow:visible; }
  .search-summary { font-size:14px; }
  .how-card { flex:0 0 78%; min-width:0; padding:18px; }
  .how-grid { scroll-padding-inline:0; padding-right:22%; }
  .how-card h3 { font-size:18px; }.how-card p { font-size:16px; }
  .carousel-dots { display:flex; justify-content:center; }
  .carousel-dots button { display:grid; place-items:center; width:44px; height:44px; border:0; background:none; }
  .carousel-dots span { display:block; width:8px; height:8px; border-radius:50%; background:#BDC9C0; }
  .carousel-dots [aria-pressed="true"] span { background:var(--green); width:20px; border-radius:8px; }
  .two-column-area { grid-template-columns:1fr; }
  .row-heading { gap:12px; align-items:center; }.row-heading a { font-size:14px; min-height:44px; display:flex; align-items:center; flex-shrink:0; }
  .section-heading h2 { font-size:22px; }
  .deal-grid, .results-section .deal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .deal-card { padding:10px; }.deal-top { padding-right:24px; flex-wrap:wrap; gap:4px; }
  .deal-category { font-size:14px; width:100%; }.deal-card .pr-badge { right:8px; top:10px; }
  .reward-amount { font-size:28px; white-space:nowrap; margin:12px 0 4px; letter-spacing:-.03em; }.reward-amount small { font-size:14px; }
  .deal-card h3, .deal-card p, .deal-meta span, .deal-meta b { font-size:14px; }
  .deal-title { font-size:14px; }
  .deal-card p { line-height:1.6; }
  .deal-meta { grid-template-columns:1fr 1fr; }
  .deal-meta span { padding:6px 1px; }.deal-meta span:last-child { grid-column:1/-1; border-top:1px solid var(--border); }
  .deal-meta b { white-space:normal; overflow-wrap:anywhere; }
  .per-minute { display:none; }.card-bottom { justify-content:flex-end; }
  .deadline-list { padding:0; background:none; border:0; display:grid; gap:10px; }
  .deadline-item { border:1px solid var(--border); border-radius:12px; padding:14px 10px; background:white; }
  .deadline-reward { font-size:18px; }
  .split-grid, .bottom-split, .policy-grid { grid-template-columns:1fr; }
  .zero-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.zero-tile { padding:12px 6px; }.zero-tile strong { font-size:16px; }
  .spare-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.spare-card { grid-template-columns:1fr; text-align:center; padding:12px 6px; gap:8px; }.spare-card b { font-size:14px; }
  .category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.category-grid button { padding:10px 4px; }
  .recipe-item { grid-template-columns:90px minmax(0,1fr); gap:10px; }.recipe-item b, .recipe-item small { font-size:14px; }.recipe-item time { display:block; }
  .monthly-section { padding-inline:16px; }.monthly-band { grid-template-columns:1fr; padding:22px 18px; }.monthly-total { font-size:34px; white-space:normal; }.monthly-band button { min-height:48px; }
  .policy-grid h2 { font-size:24px; }.policy-points span, .ad-policy p { font-size:14px; }
  .footer-inner nav { width:100%; gap:0; }.footer-inner nav > * { border-bottom:1px solid #31453B; padding:10px 0; }
  .bottom-nav { min-height:calc(72px + env(safe-area-inset-bottom)); }.bottom-nav a { min-height:72px; }.bottom-nav span { font-size:14px; }
  dialog { padding:20px; }dialog h2 { font-size:22px; }
  .detail-facts > div { flex-wrap:wrap; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *, *::before, *::after { transition:none !important; animation:none !important; } }
.search-builder .mobile-keyword { display:none; }
@media (max-width:767px) {
  .search-builder .mobile-keyword { display:grid; }
  .mobile-keyword input { width:100%; min-height:48px; border:1px solid var(--border); border-radius:8px; padding:0 12px; background:white; font-size:16px; }
}
.deadline-item:has(.pr-badge) { padding-top:28px; }
.deadline-item .pr-badge { position:absolute; top:8px; right:0; margin:0; }
.recipe-item { position:relative; }
.recipe-item:has(.pr-badge) { padding-right:36px; }
.recipe-item .pr-badge { position:absolute; right:0; top:16px; }
@media (max-width:767px) {
  .how-grid { padding-right:0; }
  .how-grid::after { content:""; flex:0 0 calc(22% - 12px); }
  .deadline-item .pr-badge { right:10px; }
}

/* Affiliate discovery / outbound flow. */
.header-cta { display:inline-flex; align-items:center; justify-content:center; min-height:44px; text-align:center; }
.deal-title { display:inline-flex; align-items:center; gap:4px; }
.card-bottom { flex-direction:column; align-items:stretch; gap:10px; margin-top:12px; }
.card-bottom .per-minute { text-align:right; }
.affiliate-cta, .detail-cta {
  display:flex; align-items:center; justify-content:center; min-height:48px;
  width:100%; padding:12px 14px; border:1px solid transparent; border-radius:10px;
  background:var(--green); color:white; font-weight:800; text-decoration:none;
  font-size:14px; line-height:1.6; text-align:center; overflow-wrap:anywhere;
}
.affiliate-cta:disabled { background:var(--green-soft); color:#486253; border-color:#C7DED2; cursor:default; }
.time-disclaimer, .pre-cta-note { font-size:14px; color:var(--muted); line-height:1.8; }
.pre-cta-note { margin-top:24px; }
.monthly-disclaimer { font-size:14px; font-weight:400 !important; color:#DFEBE3; max-width:40em; margin-top:12px !important; }
.monthly-band { grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr) auto; }
@media (hover:hover) {
  a.affiliate-cta:hover, .detail-cta:hover { background:var(--green-dark); }
}
@media (min-width:768px) and (max-width:1023px) { .header-cta { display:none; } }
@media (max-width:1100px) and (min-width:768px) {
  .monthly-band { grid-template-columns:1fr 1fr; }
  .monthly-band button { grid-column:1/-1; justify-self:start; }
}
@media (max-width:767px) {
  .header-cta { display:none; }
  .card-bottom { align-items:stretch; }
  .affiliate-cta, .detail-cta { padding:10px 6px; }
  .monthly-band { grid-template-columns:minmax(0,1fr); }
  .bottom-nav span { font-size:14px; letter-spacing:-.04em; }
  .bottom-nav a:last-child span { max-width:5em; line-height:1.2; text-align:center; }
}
/* Recipe controls share the same layout whether they are anchors or buttons. */
.recipe-list .recipe-item { grid-template-columns:100px minmax(0,1fr); padding:16px 0; }
.recipe-list .recipe-item:has(.pr-badge) { padding-right:36px; }
.recipe-list .recipe-item > span { font-size:16px; }
.recipe-list .recipe-item time { text-align:left; }
@media (max-width:767px) {
  .recipe-list .recipe-item { grid-template-columns:90px minmax(0,1fr); }
  .recipe-list .recipe-item time { display:block; }
}

/* Final UI polish: retain the design and routes, tighten vertical rhythm. */
@media (min-width:1024px) {
  .hero { padding-bottom:24px; }
  .formula-band { margin-top:10px; }
  .how-section { padding-top:40px; padding-bottom:30px; }
  .deals-section { padding-top:36px; }
  .deal-card .affiliate-cta, .deal-card .detail-cta { white-space:nowrap; }
}
.illustration-content { position:relative; width:140px; height:116px; }
@media (min-width:768px) {
  .how-card { padding-block:12px; gap:8px; align-content:start; }
  .how-card .mini-illustration { width:119px; height:99px; min-height:0; }
  .how-card .illustration-content { transform:scale(.85); transform-origin:top left; }
  .how-card h3 { margin-bottom:3px; }
  .how-card p { line-height:1.5; margin-bottom:4px; }
  .how-card .step { margin-bottom:3px; }
}
.deadline-item {
  grid-template-columns:36px minmax(0,1fr) 28px;
  column-gap:10px; padding-block:16px;
  transition:background-color .18s ease, transform .18s ease;
}
.deadline-copy { display:block; min-width:0; }
.deadline-heading { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; }
.deadline-heading b { flex:1 1 auto; }
.deadline-reward { white-space:nowrap; }
.deadline-item .deadline-description {
  display:block; margin-top:5px; font-size:14px; line-height:1.6;
  word-break:normal; overflow-wrap:anywhere; line-break:strict; text-wrap:pretty;
}
.deadline-item .days-left { display:inline-block; margin-top:8px; }
.deadline-arrow {
  display:grid; place-items:center; width:28px; height:28px;
  border:1px solid #C7DED2; border-radius:50%; background:var(--green-soft);
  color:var(--green); font-size:16px; line-height:1;
}
.deadline-item:focus-visible { background:#F1F8F4; }
@media (hover:hover) {
  .deadline-item:hover { background:#F1F8F4; }
}
@media (max-width:767px) {
  .deadline-item { grid-template-columns:34px minmax(0,1fr) 28px; gap:8px; }
  .deadline-item .deadline-heading { gap:4px 8px; }
  .deal-card .affiliate-cta, .deal-card .detail-cta { white-space:normal; word-break:normal; text-wrap:balance; line-height:1.6; }
}

/* Monthly CTA: explicit foreground prevents inherited white-on-white text. */
.monthly-band button, .monthly-band .monthly-cta {
  background:#fff;
  color:var(--dark-band);
  font-weight:800;
}

/* Mobile final revision. Desktop/tablet layouts remain unchanged. */
@media (max-width:767px) {
  html { scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom)); }
  body { padding-bottom:calc(84px + env(safe-area-inset-bottom)); }
  main { padding-bottom:24px; }
  .hero { padding-top:20px; padding-bottom:20px; }
  .hero-lead { line-height:1.55; padding-bottom:0; }
  .hero-grid { gap:18px; }

  .search-builder { padding:20px 16px; }
  .search-builder h2 { margin-bottom:16px; }
  .search-builder label, .search-builder .mobile-keyword { margin-bottom:12px; gap:4px; }
  .search-builder select, .search-builder input { min-height:48px; }
  .search-builder .extra-filter { display:none; margin-bottom:12px; }
  .search-builder.expanded .extra-filter { display:grid; }
  .search-builder .more-filters { display:block; min-height:44px; text-align:left; }

  .how-grid { overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none; }
  .how-grid::-webkit-scrollbar { display:none; }
  .how-section { padding-bottom:20px; }
  .deals-section { padding-top:20px; padding-bottom:24px; }
  .two-column-area { gap:24px; }
  .section-heading { margin-bottom:18px; }

  .deal-grid, .results-section .deal-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
  .deal-card { width:100%; min-width:0; padding:16px; }
  .deal-top { flex-wrap:nowrap; gap:10px; padding-right:36px; }
  .deal-category { width:auto; }
  .deal-card p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
  .deal-meta { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .deal-meta span { padding:8px 4px; }
  .deal-meta span:nth-child(3), .deal-meta span:last-child { grid-column:auto; border-top:0; }
  .deal-card .per-minute { display:block; font-size:14px; }
  .deal-card .affiliate-cta, .deal-card .detail-cta { width:100%; min-height:48px; font-size:16px; padding:12px 10px; }
  .deadline-item:active { background:#F1F8F4; }

  .spare-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
  .spare-card { min-width:0; align-content:start; }
  .spare-card > div { min-width:0; }
  .spare-card b { line-height:1.5; }
  .spare-card small { line-height:1.5; overflow-wrap:anywhere; }

  .recipe-list .recipe-item { grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; padding:18px 0; }
  .recipe-list .recipe-item:has(.pr-badge) { padding-right:0; }
  .recipe-list .recipe-item > strong { grid-column:1; grid-row:1; white-space:normal; overflow-wrap:anywhere; font-size:22px; }
  .recipe-list .recipe-item > span { grid-column:1/-1; grid-row:2; min-width:0; }
  .recipe-list .recipe-item .pr-badge { top:20px; right:0; }
  .recipe-list .recipe-item b { display:block; font-size:16px; }
  .recipe-list .recipe-item small { font-size:14px; overflow-wrap:anywhere; }
  .recipe-list .recipe-item time { grid-column:1/-1; grid-row:3; margin-top:4px; text-align:left; }

  .monthly-band .monthly-cta { width:100%; min-height:48px; }
  .bottom-nav { min-height:calc(72px + env(safe-area-inset-bottom)); }
  .bottom-nav a { min-height:72px; font-size:21px; }
  .bottom-nav span { font-size:12px; letter-spacing:0; line-height:1.3; white-space:nowrap; }
  .bottom-nav a:last-child span { max-width:none; line-height:1.3; }
}

/* Prelaunch categories and future campaigns */
.upcoming-badge{font-size:12px;color:#765100;background:#fff2c9;border-radius:8px;padding:5px 8px}.deal-top{flex-wrap:wrap}.category-grid small{display:block;font-size:11px;margin-top:5px;color:var(--muted)}#upcoming{padding:48px 0}#upcoming[hidden]{display:none}@media(max-width:767px){#results .section-heading{display:block}#reset-search{white-space:nowrap;margin-top:12px}}

.site-footer .footer-operator{display:block;color:inherit;font-size:13px;margin:8px 0}
.editorial-section{padding:52px 0}.editorial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.editorial-card{display:flex;flex-direction:column;gap:10px;padding:23px;background:#fff;border:1px solid var(--border);border-radius:16px;color:var(--text);text-decoration:none;min-height:160px}.editorial-card:hover,.editorial-card:focus-visible{border-color:var(--green);box-shadow:0 6px 24px #123c2420}.editorial-card small{color:var(--green-dark);font-weight:700}.editorial-card strong{font-size:19px;line-height:1.4}.editorial-card span{margin-top:auto;color:var(--green-dark);font-size:14px;font-weight:700}.editorial-section[hidden]{display:none}@media(max-width:600px){.editorial-section{padding:34px 0}.editorial-grid{grid-template-columns:1fr}.editorial-card{min-height:135px}}

/* October homepage editorial order */
.region-section { background:#F3F7F2; }
.region-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.region-card { display:flex; flex-direction:column; align-items:flex-start; gap:9px; min-width:0; min-height:176px; padding:20px; border:1px solid var(--border); border-radius:16px; background:#fff; color:var(--text); text-align:left; text-decoration:none; font:inherit; cursor:pointer; }
.region-card:hover,.region-card:focus-visible { border-color:var(--green); box-shadow:0 6px 24px #123c2420; }
.region-card small { color:var(--green-dark); font-weight:700; }
.region-card strong { font-size:19px; line-height:1.35; }
.region-card span { color:var(--green-dark); font-size:21px; font-weight:800; }
.region-card em { margin-top:auto; color:var(--green-dark); font-style:normal; font-size:14px; font-weight:700; }
.region-summary { background:#E7F3EB; }
.region-summary span { font-size:14px; font-weight:600; }
#october-guides .editorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
#saving-guides .editorial-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.category-grid { grid-template-columns:repeat(5,minmax(0,1fr)); max-width:900px; }
.recipes-section { background:#F9F8F4; }
.recipes-section .recipe-list { max-width:900px; }
@media (max-width:900px) { .region-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:767px) {
  .region-section,.recipes-section { padding:34px 0; }
  .region-grid,#october-guides .editorial-grid,#saving-guides .editorial-grid { grid-template-columns:minmax(0,1fr); }
  .region-card { min-height:142px; }
  .category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* The artwork shares one text-sized row with the hero copy. Its image cannot
   contribute to that row's height, and the formula follows the row directly. */
@media (min-width:768px) {
  .hero-grid { display:block; }
  .hero-copy-grid { display:grid; grid-template-columns:minmax(0,56fr) minmax(0,44fr); gap:12px; max-width:1040px; margin-inline:auto; align-items:stretch; }
  .hero-copy { min-width:0; padding-right:4px; }
  .hero-copy .hand-note { margin-bottom:24px; }
  .hero h1 { margin:22px 0 45px; line-height:1.6; }
  .hero-lead { max-width:420px; }
  .hero-art { position:relative; width:auto; min-height:0; align-self:stretch; overflow:hidden; }
  .hero-art img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:left bottom; }
  .formula-band { margin-top:10px; }
  .search-builder { margin-top:22px; }
}
@media (min-width:1024px) {
  .search-builder { display:flex; flex-wrap:wrap; align-items:end; column-gap:18px; row-gap:8px; }
  .search-builder h2 { width:100%; margin:0; }
  .search-builder h2 br { display:none; }
  .search-builder label { flex:1 1 calc((100% - 36px)/3); display:flex; flex-direction:column; align-items:stretch; gap:4px; margin:0; }
  .search-builder .extra-filter { flex:1 1 calc((100% - 36px)/3); }
  .search-builder .more-filters { width:100%; text-align:left; }
  .search-summary { flex:1 1 auto; margin:0; }
  .search-result-btn { flex:0 0 260px; }
  .popular-tags { width:100%; }
  .popular-tags p { margin:4px 0 8px; }
}
@media (min-width:768px) and (max-width:820px) {
  .hero h1 { font-size:34px; }
}
