/* ==========================================================================
   Cobble website: site.css
   Redesign, October 2026. Source of truth: the design handoff
   ("Cobble.food Website Redesign").

   Every class is prefixed so this file can sit beside the legacy css/styles.css
   on the legal and utility pages without collisions:
     cb-  shared shell + components    hm-  home         ft-  features
     hw-  how it works                 pr-  pricing      ab-  about
     hp-  help                         ct-  contact

   Rules from the handoff: no box-shadows anywhere (depth comes from tinted fills
   and 1px borders), rounded everywhere, Inter 400-900, headings tracked tight.
   ========================================================================== */

:root {
  --cb-green: #2D6A2D;
  --cb-green-hover: #245824;
  --cb-green-dark: #1A3A1A;
  --cb-green-light: #4A9B4A;
  --cb-tint: #EEF5EE;
  --cb-tint-2: #D9EAD9;
  --cb-tint-3: #B5D6B5;
  --cb-orange: #E8733A;
  --cb-orange-tint: #FFF0E8;
  --cb-orange-tint-2: #FFE0CF;
  --cb-orange-deep: #A84A1C;
  --cb-bg: #FAFAF7;
  --cb-surface: #F0F0EA;
  --cb-surface-2: #F6F7F1;
  --cb-white: #FFFFFF;
  --cb-text: #0A0F0A;
  --cb-mid: #3D4A3D;
  --cb-soft: #7A8A7A;
  --cb-dark: #0F1A0F;
  --cb-dark-2: #162316;
  --cb-border: rgba(0, 0, 0, 0.06);
  --cb-border-input: rgba(0, 0, 0, 0.08);
  --cb-ease: cubic-bezier(.2, .7, .2, 1);
  --cb-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ── Base (scoped to .cb-body so legacy pages are untouched) ── */
.cb-body {
  margin: 0;
  background: var(--cb-bg);
  color: var(--cb-text);
  font-family: var(--cb-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.cb-body *, .cb-body *::before, .cb-body *::after,
.cb-nav-wrap, .cb-nav-wrap *, .cb-foot, .cb-foot *, .cb-cookie, .cb-cookie * { box-sizing: border-box; }
:where(.cb-body) :is(h1, h2, h3, h4) { margin: 0; font-family: inherit; letter-spacing: -0.03em; }
:where(.cb-body) p { margin: 0; }
:where(.cb-body) ul { margin: 0; padding: 0; list-style: none; }
:where(.cb-body) button, :where(.cb-body) input, :where(.cb-body) textarea { font-family: inherit; }
:where(.cb-body) img { max-width: 100%; height: auto; display: block; }
:where(.cb-body) a { color: var(--cb-green); }
:where(.cb-body) a:hover { color: var(--cb-green-dark); }
.cb-body [hidden] { display: none !important; }
.cb-body button { cursor: pointer; }
.cb-body button:disabled { cursor: default; }

/* Visible keyboard focus everywhere in the new shell */
:is(.cb-body, .cb-nav-wrap, .cb-foot, .cb-cookie) :focus-visible {
  outline: 3px solid var(--cb-green-light);
  outline-offset: 2px;
}

.cb-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cb-skip { position: fixed; left: 16px; top: -64px; z-index: 200; background: var(--cb-green); color: #fff; font: 700 14px var(--cb-font); padding: 12px 18px; border-radius: 14px; text-decoration: none; transition: top .2s; }
.cb-skip:focus { top: 16px; color: #fff; }

/* Without JS the interactive demos are hidden rather than shown empty */
html:not(.js) .cb-needs-js { display: none !important; }

/* ── Scroll reveal ── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--cb-ease), transform .8s var(--cb-ease);
  transition-delay: var(--cb-rv, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .cb-body * { scroll-behavior: auto !important; }
}

/* ==========================================================================
   Shell: nav
   ========================================================================== */
.cb-nav-wrap { position: sticky; top: 0; z-index: 50; padding: 14px 20px; font-family: var(--cb-font); }
.cb-nav {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--cb-border);
  border-radius: 20px;
  padding: 10px 10px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cb-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cb-text); }
.cb-logo:hover { color: var(--cb-text); }
.cb-logo-tile { width: 34px; height: 34px; border-radius: 10px; background: var(--cb-tint); overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none; }
.cb-logo-tile img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(2.3); }
.cb-logo-tile--lg { width: 38px; height: 38px; border-radius: 12px; background: #fff; }
.cb-logo-name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.cb-nav-menu { display: contents; }
.cb-nav-links { display: flex; gap: 4px; }
.cb-nav-links a {
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--cb-mid);
  transition: background .2s, color .2s;
}
.cb-nav-links a:hover, .cb-nav-links a[aria-current="page"] { background: var(--cb-tint); color: var(--cb-green); }
.cb-nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cb-green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  white-space: nowrap;
  transition: background .2s;
}
.cb-nav-cta span { font-size: 16px; }
.cb-nav-cta:hover { background: var(--cb-green-hover); color: #fff; }
.cb-nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--cb-tint); flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; cursor: pointer; }
.cb-nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--cb-green); transition: transform .25s var(--cb-ease), opacity .2s; }
.cb-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.cb-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cb-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .cb-nav-toggle { display: flex; }
  .cb-nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 20px;
    padding: 12px;
    flex-direction: column;
    gap: 10px;
  }
  .cb-nav-menu.is-open { display: flex; }
  .cb-nav-links { flex-direction: column; gap: 2px; }
  .cb-nav-links a { padding: 14px 16px; font-size: 16px; }
  .cb-nav-cta { justify-content: center; padding: 15px 18px; font-size: 15px; }
}

/* ==========================================================================
   Shell: footer
   ========================================================================== */
.cb-foot { padding: 20px; font-family: var(--cb-font); margin-top: 40px; }
.cb-foot-card { max-width: 1200px; margin: 0 auto; background: var(--cb-dark); color: #fff; border-radius: 32px; padding: 56px 48px 32px; display: flex; flex-direction: column; gap: 48px; }
.cb-foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
.cb-foot-brand { display: flex; flex-direction: column; gap: 16px; grid-column: span 2; min-width: 260px; }
.cb-foot-logo { display: flex; align-items: center; gap: 10px; }
.cb-foot-name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.cb-foot-brand p { margin: 0; color: rgba(255, 255, 255, 0.65); font-size: 15px; line-height: 1.6; max-width: 300px; }
.cb-foot-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.cb-foot-badges a { display: block; line-height: 0; }
.cb-foot-badges img { height: 42px; width: auto; display: block; }
.cb-foot-col { display: flex; flex-direction: column; gap: 10px; }
.cb-foot-title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 4px; }
.cb-foot-col a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 15px; transition: color .2s; }
.cb-foot-col a:hover { color: #fff; }
.cb-foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.cb-foot-bottom > span { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.cb-foot-social { display: flex; gap: 8px; }
.cb-foot-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cb-foot-social a:hover { background: rgba(255, 255, 255, 0.16); }
.cb-foot-social img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
@media (max-width: 640px) {
  .cb-foot-card { padding: 40px 24px 28px; border-radius: 28px; gap: 36px; }
  .cb-foot-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Shell: cookie banner
   ========================================================================== */
.cb-cookie {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 90;
  width: min(720px, calc(100% - 32px));
  transform: translate(-50%, 24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--cb-ease), transform .35s var(--cb-ease), visibility .35s;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 16px 16px 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--cb-font);
}
.cb-cookie.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cb-cookie-text { margin: 0; flex: 1 1 280px; font-size: 14px; line-height: 1.5; color: var(--cb-mid); }
.cb-cookie-text a { color: var(--cb-green); font-weight: 700; }
.cb-cookie-actions { display: flex; gap: 8px; }
.cb-cookie-actions button { border: 0; cursor: pointer; font: 700 14px var(--cb-font); padding: 12px 18px; border-radius: 14px; transition: background .2s; }
.cb-cookie-accept { background: var(--cb-green); color: #fff; }
.cb-cookie-accept:hover { background: var(--cb-green-hover); }
.cb-cookie-decline { background: var(--cb-surface); color: var(--cb-text); }
.cb-cookie-decline:hover { background: #E8E8E0; }

/* ==========================================================================
   Typography + small parts
   ========================================================================== */
.cb-kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: var(--cb-green); font-weight: 700; font-size: 13px; }
.cb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cb-green-light); }
.cb-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cb-green); }
.cb-eyebrow--orange { color: var(--cb-orange); }
.cb-micro { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cb-soft); }
.cb-micro--green { color: var(--cb-green); }
.cb-micro--orange { color: var(--cb-orange); }

.cb-h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.02; font-weight: 900; letter-spacing: -0.045em; max-width: 900px; }
.cb-h1--home { font-size: clamp(44px, 6.4vw, 76px); max-width: none; }
.cb-h1--help { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; max-width: 720px; }
.cb-h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 900; }
.cb-h2--md { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; }
.cb-h2--sm { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.cb-h2--hw { line-height: 1.06; }
.cb-h2--cta { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; }
.cb-h2--cta-lg { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; }
.cb-hl { color: var(--cb-green); }
.cb-lead { font-size: 19px; line-height: 1.6; color: var(--cb-mid); max-width: 620px; text-wrap: pretty; }
.cb-lead--wide { max-width: 640px; }
.cb-sub { font-size: 17px; line-height: 1.6; color: var(--cb-mid); }
.cb-sub--side { max-width: 400px; }

.cb-pill { font-size: 14px; font-weight: 800; color: var(--cb-green); background: var(--cb-tint); padding: 6px 12px; border-radius: 999px; }
.cb-chip { font-size: 12px; font-weight: 600; background: var(--cb-surface); padding: 4px 10px; border-radius: 999px; }
.cb-chip--green { font-weight: 700; background: var(--cb-tint); color: var(--cb-green); }

.cb-check {
  width: 26px; height: 26px; border-radius: 50%; background: var(--cb-tint); color: var(--cb-green);
  display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; font-weight: 800; flex: none;
}
.cb-check--bare { width: auto; height: auto; background: none; font-size: inherit; }
.cb-checks { display: flex; flex-direction: column; gap: 10px; }
.cb-checks li { display: flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 600; }

/* ── layout ── */
.cb-hero { max-width: 1240px; margin: 0 auto; padding: 48px 20px 32px; display: flex; flex-direction: column; gap: 28px; }
.cb-hero--tight { gap: 24px; }
.cb-sec { max-width: 1240px; margin: 0 auto; padding: 40px 20px; }
.cb-sec--top80 { padding-top: 80px; }
.cb-card { background: #fff; border: 1px solid var(--cb-border); border-radius: 36px; padding: clamp(24px, 4vw, 48px); }
.cb-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cb-sechead-copy { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.cb-sechead-copy--wide { margin-bottom: 24px; }
.cb-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .cb-actions .cb-btn { flex: 1 1 100%; } }
.cb-ticks { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--cb-soft); font-weight: 500; }
.cb-ticks span { display: flex; align-items: center; gap: 6px; }
.cb-ticks .cb-check { color: var(--cb-green); font-weight: 800; }

/* ── buttons ── */
.cb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1.2 var(--cb-font);
  padding: 16px 24px; border-radius: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}
.cb-btn--primary { background: var(--cb-green); color: #fff; }
.cb-btn--primary:hover { background: var(--cb-green-hover); color: #fff; }
.cb-btn--ghost { background: #fff; color: var(--cb-text); border-color: rgba(0, 0, 0, 0.1); }
.cb-btn--ghost:hover { background: var(--cb-tint); color: var(--cb-green); }
.cb-btn--orange { background: var(--cb-orange); color: var(--cb-text); }
.cb-btn--orange:hover { background: #D4622B; color: var(--cb-text); }
.cb-btn--md { font-size: 15px; padding: 14px 20px; }
.cb-btn--sm { font-size: 14px; padding: 12px 16px; border-radius: 14px; }
.cb-btn:disabled { opacity: .4; pointer-events: none; }

.cb-arrows { display: flex; gap: 8px; }
.cb-arrow { width: 52px; height: 52px; border-radius: 16px; border: 1px solid rgba(0, 0, 0, 0.1); background: #fff; color: var(--cb-text); font-size: 18px; font-weight: 700; transition: background .2s; }
.cb-arrow:hover { background: var(--cb-tint); }
.cb-arrow--solid { border: 0; background: var(--cb-green); color: #fff; }
.cb-arrow--solid:hover { background: var(--cb-green-hover); }

/* segmented filter used on Features */
.cb-segbar { display: flex; gap: 8px; flex-wrap: wrap; background: #fff; border: 1px solid var(--cb-border); border-radius: 18px; padding: 6px; align-self: flex-start; }
.cb-segbar button { border: 0; padding: 11px 18px; border-radius: 13px; font-size: 14px; font-weight: 700; background: transparent; color: var(--cb-mid); transition: background .2s, color .2s; }
.cb-segbar button[aria-pressed="true"] { background: var(--cb-green); color: #fff; }
.cb-segbar button:not([aria-pressed="true"]):hover { background: var(--cb-tint); color: var(--cb-green); }

/* accordion (Pricing FAQ + Help) */
.cb-acc { display: flex; flex-direction: column; gap: 12px; }
.cb-acc-item { background: #fff; border: 1px solid var(--cb-border); border-radius: 22px; overflow: hidden; }
.cb-acc-item h3 { font-size: inherit; letter-spacing: 0; }
.cb-acc-q { border: 0; background: transparent; width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 700; color: var(--cb-text); }
.cb-acc-icon { width: 32px; height: 32px; border-radius: 10px; background: var(--cb-surface); color: var(--cb-text); display: flex; align-items: center; justify-content: center; flex: none; position: relative; transition: background .2s, color .2s; }
.cb-acc-icon::before { content: '+'; font-size: 18px; font-style: normal; line-height: 1; }
.cb-acc-item.is-open .cb-acc-icon { background: var(--cb-green); color: #fff; }
.cb-acc-item.is-open .cb-acc-icon::before { content: '\2212'; }
.cb-acc-a p { padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: var(--cb-mid); }
.js .cb-acc-a { display: none; }
.js .cb-acc-item.is-open .cb-acc-a { display: block; }

/* ── CTA row: green card on the left, App Store + Google Play stacked on the right ──
   The row's height comes from the green card. The store cards split the right column evenly, so the
   App Store card's top meets the green card's top and the Google Play card's bottom meets its bottom.
   Each store card is its own size container, so the logo and text scale with the card's height. */
.cb-cta { --cb-cta-radius: 36px; display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 30vw, 380px); gap: 16px; align-items: stretch; }
.cb-cta-card { min-height: 200px; background: var(--cb-green); color: #fff; border-radius: var(--cb-cta-radius); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; display: flex; align-items: center; }
.cb-cta-circle { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--cb-green-light); opacity: .35; right: -80px; top: -140px; }
.cb-cta-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.cb-cta-copy p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.cb-cta-stores { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cb-store {
  flex: 1 1 0; min-height: 0;
  container-type: size;
  display: flex; align-items: center; justify-content: center;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #A6A6A6; border-radius: var(--cb-cta-radius);
  transition: background .2s;
}
.cb-store:hover { background: #1A1A1A; color: #fff; }
.cb-store-logo { height: 40px; width: auto; flex: none; margin-right: 18px; }
.cb-store-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.cb-store-small { font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.cb-store-big { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
@supports (height: 1cqh) {
  .cb-store-logo { height: min(46cqh, 14cqw); margin-right: min(14cqh, 5cqw); }
  .cb-store-small { font-size: min(13cqh, 4.3cqw); }
  .cb-store-big { font-size: min(29cqh, 9.5cqw); }
}
@media (max-width: 767px) {
  .cb-cta { grid-template-columns: 1fr; }
  .cb-store { flex: none; height: 88px; }
}

/* ==========================================================================
   Home
   ========================================================================== */
.hm-hero { max-width: 1240px; margin: 0 auto; padding: 40px 20px 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 48px; align-items: center; }
.hm-hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hm-hero-copy .cb-lead { max-width: 520px; }
.hm-word { color: var(--cb-green); display: inline-block; }
.hm-word.is-swap { animation: hm-word-in .5s var(--cb-ease); }
@keyframes hm-word-in { from { opacity: 0; transform: translateY(.25em); } to { opacity: 1; transform: none; } }

/* No backing card: the phones sit straight on the page. Height fits the full front phone (290px wide, 629px tall, 40px down). */
.hm-visual { position: relative; height: 680px; }
.hm-ph { position: absolute; height: auto; max-width: none; }
.hm-ph--back { width: 230px; left: 6%; top: 90px; transform: rotate(-7deg); opacity: .95; }
.hm-ph--front { width: 290px; left: 50%; top: 40px; transform: translateX(-30%); }
.hm-float { position: absolute; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 20px; padding: 14px 16px; }
.hm-float--scan { left: 24px; top: 28px; display: flex; flex-direction: column; gap: 8px; width: 210px; }
.hm-float--scan strong { font-size: 15px; font-weight: 800; }
.hm-float-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.hm-float--idea { right: 20px; bottom: 28px; display: flex; gap: 12px; align-items: center; width: 270px; }
.hm-float-emoji { width: 48px; height: 48px; border-radius: 14px; background: var(--cb-orange-tint); display: flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }
.hm-float-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hm-float-text strong { font-size: 15px; font-weight: 800; }
.hm-float-sub { font-size: 12px; color: var(--cb-soft); }
@media (max-width: 560px) {
  .hm-hero { padding-bottom: 48px; gap: 36px; }
  .hm-visual { height: 600px; }
  .hm-ph--back { width: 170px; left: 2%; top: 120px; }
  .hm-ph--front { width: 232px; left: 52%; top: 56px; }
  .hm-float--scan { width: 190px; left: 14px; top: 16px; }
  .hm-float--idea { width: calc(100% - 28px); right: 14px; bottom: 16px; }
}

/* demo */
.hm-demo { display: flex; flex-direction: column; gap: 32px; }
.hm-demo .cb-sechead-copy { max-width: 620px; }
.hm-demo-tools { display: flex; gap: 10px; align-items: center; }
.hm-count { font-size: 14px; font-weight: 600; color: var(--cb-soft); }
.hm-surprise { border: 0; background: var(--cb-orange-tint); color: var(--cb-orange-deep); font-weight: 700; font-size: 14px; padding: 12px 18px; border-radius: 14px; transition: background .2s; }
.hm-surprise:hover { background: #FFE2D1; }
.hm-demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: start; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.hm-chip { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; background: #fff; color: var(--cb-text); border: 1.5px solid rgba(0, 0, 0, 0.1); transition: all .2s; }
.hm-chip span { font-size: 18px; }
.hm-chip:hover { border-color: var(--cb-green-light); }
.hm-chip.is-on { background: var(--cb-green); border-color: var(--cb-green); color: #fff; }
.hm-matches { display: flex; flex-direction: column; gap: 12px; }
.hm-match { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; border-radius: 22px; background: var(--cb-bg); border: 1px solid rgba(0, 0, 0, 0.05); }
.hm-match-emoji { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.hm-match-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hm-match-title { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.hm-match-title strong { font-size: 16px; font-weight: 800; }
.hm-match-title span { font-size: 13px; color: var(--cb-soft); }
.hm-bar { height: 6px; border-radius: 999px; background: #E8E8E0; overflow: hidden; }
.hm-bar i { display: block; height: 100%; border-radius: 999px; background: var(--cb-orange); transition: width .4s; }
.hm-bar i.is-full { background: var(--cb-green); }
.hm-bar i.is-mid { background: var(--cb-green-light); }
.hm-match-sub { font-size: 13px; color: var(--cb-soft); font-weight: 600; }
.hm-match-sub.is-ready { color: var(--cb-green); }
.hm-match-btn { border: 0; font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 12px; white-space: nowrap; background: var(--cb-orange-tint); color: var(--cb-orange-deep); text-decoration: none; text-align: center; }
.hm-match-btn.is-ready { background: var(--cb-green); color: #fff; }
.hm-match-btn.is-ready:hover { background: var(--cb-green-hover); color: #fff; }
.hm-match-btn.is-listed { background: var(--cb-tint); color: var(--cb-green); }
.hm-match-empty { padding: 24px; border-radius: 22px; background: var(--cb-bg); border: 1px dashed rgba(0, 0, 0, 0.12); color: var(--cb-mid); font-size: 15px; line-height: 1.55; }
@media (max-width: 480px) {
  .hm-match { grid-template-columns: 52px minmax(0, 1fr); }
  .hm-match-emoji { width: 52px; height: 52px; font-size: 24px; border-radius: 15px; }
  .hm-match-btn { grid-column: 1 / -1; }
}

/* feature tour */
.hm-tour-wrap { display: flex; flex-direction: column; gap: 24px; }
.hm-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.hm-tab { text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 22px; background: var(--cb-surface-2); border: 1.5px solid transparent; transition: all .25s; overflow: hidden; }
.hm-tab:hover { border-color: var(--cb-tint-3); }
.hm-tab.is-on { background: #fff; border-color: var(--cb-green); }
.hm-tab-top { display: flex; align-items: center; justify-content: space-between; }
.hm-tab-top img { width: 40px; height: 40px; object-fit: contain; }
.hm-tab-num { font-size: 12px; font-weight: 800; color: #B0B0A8; }
.hm-tab.is-on .hm-tab-num { color: var(--cb-green); }
.hm-tab-name { font-size: 14px; font-weight: 700; color: var(--cb-text); line-height: 1.25; }
.hm-tab-prog { display: block; height: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.06); overflow: hidden; }
.hm-tab-prog i { display: block; height: 100%; background: var(--cb-green); border-radius: 999px; }
.hm-tour { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 10px; }
.hm-tour-visual { position: relative; height: 580px; border-radius: 32px; background: var(--cb-tint); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: background .4s; }
.hm-tour-visual img { height: 540px; width: auto; max-width: 90%; object-fit: contain; }
.hm-tour-detail { background: #fff; border: 1px solid var(--cb-border); border-radius: 32px; padding: clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.hm-detail-top { display: flex; justify-content: space-between; align-items: flex-start; }
.hm-detail-icon { width: 104px; height: 104px; border-radius: 30px; display: flex; align-items: center; justify-content: center; }
.hm-detail-icon img { width: 84px; height: 84px; object-fit: contain; }
.hm-detail-num { font-size: 14px; font-weight: 700; color: var(--cb-soft); }
.hm-tour-detail h3 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.06; font-weight: 900; }
.hm-tour-detail p { font-size: 18px; line-height: 1.6; color: var(--cb-mid); }
.hm-points { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.hm-points li { display: flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 600; background: var(--cb-bg); padding: 12px 14px; border-radius: 16px; }
.hm-points .cb-check { width: 26px; height: 26px; background: var(--cb-green); color: #fff; }
.hm-detail-link { font-size: 15px; font-weight: 700; color: var(--cb-green); text-decoration: none; }
.hm-detail-link:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .hm-tour-visual { height: 460px; }
  .hm-tour-visual img { height: 420px; }
}

/* planner */
.hm-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.hm-day { border: 1px solid var(--cb-border); padding: 14px 4px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; color: var(--cb-text); transition: all .2s; }
.hm-day:hover { background: var(--cb-tint); }
.hm-day.is-on { background: var(--cb-green); color: #fff; }
.hm-day-l { font-size: 12px; font-weight: 600; opacity: .7; }
.hm-day-n { font-size: 24px; font-weight: 800; }
.hm-day-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cb-green-light); }
.hm-day.is-on .hm-day-dot { background: #fff; }
.hm-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; align-items: start; margin-top: 32px; }
.hm-meals { background: #fff; border-radius: 32px; border: 1px solid var(--cb-border); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.hm-meals-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 8px 12px; flex-wrap: wrap; }
.hm-meals-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.hm-addday { border: 0; background: var(--cb-tint); color: var(--cb-green); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 12px; transition: background .2s; }
.hm-addday:hover { background: var(--cb-tint-2); }
.hm-meal { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 8px; border-top: 1px solid var(--cb-border); }
.hm-meal-emoji { width: 56px; height: 56px; border-radius: 16px; background: var(--cb-surface); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.hm-meal-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hm-meal-body strong { font-size: 16px; font-weight: 700; }
.hm-meal-miss { font-size: 13px; font-weight: 500; color: var(--cb-green); }
.hm-meal-miss.is-missing { color: var(--cb-orange-deep); }
.hm-meal-btn { border: 0; width: 44px; height: 44px; border-radius: 14px; font-size: 18px; font-weight: 800; background: var(--cb-green); color: #fff; }
.hm-meal-btn.is-added { background: var(--cb-tint); color: var(--cb-green); }
.hm-list { background: var(--cb-surface); border-radius: 32px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.hm-list-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px; }
.hm-list-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.hm-list-head h3 span { color: var(--cb-green); }
.hm-list-count { background: var(--cb-orange); color: #fff; font-weight: 800; font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.hm-seg { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 16px; padding: 4px; gap: 4px; }
.hm-seg button { border: 0; padding: 10px; border-radius: 12px; font-size: 14px; font-weight: 700; background: transparent; color: var(--cb-text); transition: all .2s; }
.hm-seg button[aria-pressed="true"] { background: var(--cb-green); color: #fff; }
.hm-empty { background: #fff; border-radius: 20px; padding: 28px 22px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.hm-empty img { width: 64px; height: 64px; }
.hm-empty strong { font-weight: 700; }
.hm-empty span { font-size: 14px; color: var(--cb-soft); }
.hm-group { display: flex; flex-direction: column; gap: 8px; }
.hm-group + .hm-group { margin-top: 8px; }
.hm-group-title { font-size: 13px; font-weight: 700; color: var(--cb-green); padding: 4px 8px 0; }
.hm-item { border: 0; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 14px; color: var(--cb-text); }
.hm-item-name { font-size: 15px; font-weight: 600; }
.hm-item-box { width: 24px; height: 24px; border-radius: 50%; flex: none; border: 2px solid #D0D0C8; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hm-item.is-done .hm-item-name { text-decoration: line-through; opacity: .45; }
.hm-item.is-done .hm-item-box { background: var(--cb-green); border-color: var(--cb-green); }
@media (max-width: 560px) {
  .hm-days { gap: 6px; }
  .hm-day { border-radius: 16px; padding: 10px 2px; }
  .hm-day-n { font-size: 19px; }
  .hm-day-l { font-size: 11px; }
}

/* how it works (home) */
.hm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.hm-step { background: #fff; border-radius: 32px; border: 1px solid var(--cb-border); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.hm-step-top { display: flex; justify-content: space-between; align-items: flex-start; }
.hm-step-top img { width: 88px; height: 88px; }
.hm-step h3 { font-size: 22px; font-weight: 800; }
.hm-step p { font-size: 15px; line-height: 1.6; color: var(--cb-mid); }

/* home CTA */
.hm-cta { background: var(--cb-green); color: #fff; border-radius: 36px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px; align-items: center; position: relative; overflow: hidden; }
.hm-cta-copy { display: flex; flex-direction: column; gap: 20px; position: relative; }
.hm-cta-copy p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); max-width: 480px; }
.hm-cta-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.hm-cta-badges a { display: block; line-height: 0; }
.hm-cta-badges img { height: 50px; width: auto; }
.hm-cta-art { width: 100%; max-width: 320px; justify-self: end; position: relative; }
@media (max-width: 760px) { .hm-cta-art { justify-self: center; max-width: 220px; } }

/* ==========================================================================
   Features
   ========================================================================== */
.ft-gridsec { padding-top: 8px; }
.ft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.ft-card { border: 1px solid var(--cb-border); text-align: left; background: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--cb-text); transition: transform .25s var(--cb-ease), border-color .25s; }
.ft-card:hover { transform: translateY(-4px); border-color: rgba(45, 106, 45, 0.35); }
.ft-card-icon { width: 84px; height: 84px; border-radius: 24px; background: var(--cb-surface-2); display: flex; align-items: center; justify-content: center; }
.ft-card-icon img { width: 68px; height: 68px; object-fit: contain; }
.ft-card-cat { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cb-orange); }
.ft-card-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.ft-card-desc { font-size: 15px; line-height: 1.55; color: var(--cb-mid); }
.ft-card-more { font-size: 14px; font-weight: 700; color: var(--cb-green); margin-top: auto; }

.ft-surprise { background: var(--cb-orange-tint); border-radius: 36px; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; }
.ft-surprise-copy { display: flex; flex-direction: column; gap: 18px; }
.ft-surprise-copy img { width: 96px; height: 96px; }
.ft-surprise-copy h2 { font-size: clamp(32px, 4vw, 46px); }
.ft-surprise-copy p { font-size: 17px; line-height: 1.6; color: var(--cb-mid); max-width: 460px; }
.ft-spin { align-self: flex-start; border: 0; background: var(--cb-orange); color: #fff; font-weight: 800; font-size: 16px; padding: 16px 24px; border-radius: 16px; transition: background .2s; }
.ft-spin:hover { background: #D4622B; }
.ft-idea { background: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ft-idea-top { display: flex; gap: 16px; align-items: center; }
.ft-idea-emoji { width: 80px; height: 80px; border-radius: 22px; background: #FFF6DE; display: flex; align-items: center; justify-content: center; font-size: 40px; flex: none; }
.ft-idea-top > div { display: flex; flex-direction: column; gap: 4px; }
.ft-idea-top strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.ft-idea-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-idea-chips .cb-chip { font-size: 13px; padding: 7px 12px; }
.ft-idea p { font-size: 15px; line-height: 1.6; color: var(--cb-mid); }

.ft-dives { display: flex; flex-direction: column; gap: 24px; }
.ft-dive { background: #fff; border: 1px solid var(--cb-border); border-radius: 36px; padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.ft-dive--flip { flex-direction: row-reverse; }
.ft-dive-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.ft-dive-copy h2 { line-height: 1.1; }
.ft-dive-copy p { font-size: 17px; line-height: 1.6; color: var(--cb-mid); }
.ft-dive-visual { flex: 1 1 320px; height: 520px; border-radius: 28px; background: var(--cb-tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ft-dive-visual img { height: 490px; width: auto; }
@media (max-width: 560px) { .ft-dive-visual { height: 420px; } .ft-dive-visual img { height: 390px; } }

.ft-modal { position: fixed; inset: 0; z-index: 100; background: rgba(15, 26, 15, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.ft-modal-panel { background: #fff; border-radius: 32px; max-width: 860px; width: 100%; max-height: 90vh; overflow: auto; display: flex; flex-wrap: wrap; outline: 0; }
.ft-modal-visual { flex: 1 1 300px; background: var(--cb-tint); display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 460px; }
.ft-modal-visual img { height: 440px; width: auto; }
.ft-modal-body { flex: 1 1 320px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.ft-modal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ft-modal-top img { width: 72px; height: 72px; }
.ft-modal-close { border: 0; width: 44px; height: 44px; border-radius: 14px; background: var(--cb-surface); font-size: 18px; font-weight: 700; color: var(--cb-text); transition: background .2s; }
.ft-modal-close:hover { background: #E8E8E0; }
.ft-modal-body h3 { font-size: 30px; font-weight: 900; }
.ft-modal-body p { font-size: 16px; line-height: 1.6; color: var(--cb-mid); }
.ft-modal-nav { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .ft-modal { align-items: flex-end; padding: 12px; }
  .ft-modal-visual { min-height: 0; padding: 20px 20px 0; }
  .ft-modal-visual img { height: 260px; }
  .ft-modal-body { padding: 24px; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.hw-sec { padding-top: 16px; }
.hw-card { background: #fff; border: 1px solid var(--cb-border); border-radius: 36px; padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 32px; }
.hw-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.hw-tab { border: 0; text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: transparent; transition: background .2s; }
.hw-tab:hover { background: var(--cb-surface-2); }
.hw-tab-bar { height: 5px; border-radius: 999px; background: #E8E8E0; }
.hw-tab-num { font-size: 12px; font-weight: 800; color: var(--cb-soft); }
.hw-tab-title { font-size: 15px; font-weight: 700; color: var(--cb-text); }
.hw-tab.is-done .hw-tab-bar, .hw-tab[aria-selected="true"] .hw-tab-bar { background: var(--cb-green); }
.hw-tab[aria-selected="true"] { background: var(--cb-tint); }
.hw-tab[aria-selected="true"] .hw-tab-num { color: var(--cb-green); }
.hw-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: center; }
.hw-copy { display: flex; flex-direction: column; gap: 20px; }
.hw-copy-top { display: flex; align-items: center; gap: 16px; }
.hw-icon { width: 96px; height: 96px; border-radius: 28px; background: var(--cb-surface-2); display: flex; align-items: center; justify-content: center; }
.hw-icon img { width: 76px; height: 76px; }
.hw-big { font-size: 72px; font-weight: 900; color: var(--cb-tint); letter-spacing: -0.05em; line-height: 1; }
.hw-copy > p { font-size: 18px; line-height: 1.6; color: var(--cb-mid); max-width: 480px; }
.hw-nav { display: flex; gap: 10px; padding-top: 8px; }
.hw-visual { height: 600px; border-radius: 32px; background: var(--cb-tint); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hw-visual img { height: 560px; width: auto; position: relative; }
@media (max-width: 720px) {
  .hw-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 -8px; padding: 0 8px 4px; scrollbar-width: none; }
  .hw-tabs::-webkit-scrollbar { display: none; }
  .hw-tab { flex: 0 0 150px; scroll-snap-align: start; }
  .hw-visual { height: 460px; }
  .hw-visual img { height: 420px; }
}
.hw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.hw-stat { border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.hw-stat strong { font-size: 44px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; }
.hw-stat span { font-size: 16px; line-height: 1.55; color: var(--cb-mid); }
.hw-stat--dark { background: var(--cb-dark); color: #fff; }
.hw-stat--dark strong { color: var(--cb-green-light); }
.hw-stat--dark span { color: rgba(255, 255, 255, 0.75); }
.hw-stat--orange { background: var(--cb-orange-tint); }
.hw-stat--orange strong { color: var(--cb-orange-deep); }
.hw-stat--green { background: var(--cb-tint); }
.hw-stat--green strong { color: var(--cb-green); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pr-toggle-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pr-toggle { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--cb-border-input); border-radius: 18px; padding: 5px; gap: 4px; min-width: 280px; }
.pr-toggle button { border: 0; padding: 12px 20px; border-radius: 13px; font-size: 15px; font-weight: 700; background: transparent; color: var(--cb-mid); transition: all .2s; }
.pr-toggle button[aria-pressed="true"] { background: var(--cb-green); color: #fff; }
.pr-gift { color: var(--cb-orange-deep); font-weight: 800; font-size: 13px; }
.pr-plans-sec { padding-top: 16px; }
.pr-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: stretch; }
.pr-plan { background: #fff; color: var(--cb-text); border: 1px solid var(--cb-border); border-radius: 32px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.pr-plan--dark { background: var(--cb-dark); color: #fff; border-color: var(--cb-dark); }
.pr-plan-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pr-plan-top img { width: 72px; height: 72px; }
.pr-badge { font-size: 13px; font-weight: 700; color: var(--cb-mid); background: var(--cb-surface); padding: 6px 12px; border-radius: 999px; }
.pr-badge--orange { font-weight: 800; color: var(--cb-text); background: var(--cb-orange); }
.pr-plan h3 { font-size: 26px; font-weight: 900; }
.pr-desc { font-size: 15px; margin-top: 6px; line-height: 1.5; color: var(--cb-mid); }
.pr-plan--dark .pr-desc { color: rgba(255, 255, 255, 0.8); }
.pr-pricewrap { display: flex; flex-direction: column; gap: 4px; }
.pr-price { display: flex; align-items: baseline; gap: 6px; }
.pr-amount { font-size: 52px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; }
.pr-per { font-size: 15px; color: var(--cb-soft); }
.pr-plan--dark .pr-per, .pr-plan--dark .pr-note { color: rgba(255, 255, 255, 0.7); }
.pr-note { font-size: 14px; color: var(--cb-soft); min-height: 20px; }
.pr-spacer { height: 20px; }
.pr-btn { text-align: center; text-decoration: none; font-weight: 700; font-size: 15px; padding: 15px; border-radius: 16px; transition: background .2s; }
.pr-btn--grey { background: var(--cb-surface); color: var(--cb-text); }
.pr-btn--grey:hover { background: #E8E8E0; color: var(--cb-text); }
.pr-btn--green { background: var(--cb-green); color: #fff; }
.pr-btn--green:hover { background: var(--cb-green-hover); color: #fff; }
.pr-btn--orange { background: var(--cb-orange); color: var(--cb-text); }
.pr-btn--orange:hover { background: #D4622B; color: var(--cb-text); }
.pr-fine { font-size: 14px; color: var(--cb-soft); line-height: 1.55; }
.pr-feats { display: flex; flex-direction: column; gap: 12px; }
.pr-feats li { display: flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 500; }
.pr-feats i { width: 24px; height: 24px; border-radius: 50%; background: var(--cb-tint); color: var(--cb-green); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 800; flex: none; }
.pr-plan--dark .pr-feats i { background: rgba(255, 255, 255, 0.12); color: var(--cb-green-light); }
.pr-foot { font-size: 13px; color: var(--cb-soft); margin-top: 20px; }
.pr-compare { display: flex; flex-direction: column; gap: 20px; }
.pr-table-wrap { background: #fff; border: 1px solid var(--cb-border); border-radius: 28px; overflow: hidden; }
.pr-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pr-table th, .pr-table td { text-align: left; padding: 18px 28px; font-size: 15px; vertical-align: middle; }
.pr-table thead th { background: var(--cb-surface-2); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cb-mid); }
.pr-table th:first-child { width: 50%; }
.pr-table tbody tr { border-top: 1px solid var(--cb-border); transition: background .2s; }
.pr-table tbody tr:hover { background: var(--cb-bg); }
.pr-table tbody th { font-weight: 600; }
.pr-table td { font-weight: 700; color: var(--cb-green); }
.pr-table td.is-none { color: #B0B0A8; }
@media (max-width: 560px) { .pr-table th, .pr-table td { padding: 14px 16px; font-size: 14px; } .pr-table thead th { font-size: 11px; } }
.pr-faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; align-items: start; }
.pr-faq-intro { display: flex; flex-direction: column; gap: 14px; }
.pr-faq-intro p { font-size: 16px; line-height: 1.6; color: var(--cb-mid); }
.pr-faq-intro a { font-weight: 700; }

/* ==========================================================================
   About
   ========================================================================== */
.ab-hero { max-width: 1240px; margin: 0 auto; padding: 48px 20px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; }
.ab-hero-copy { display: flex; flex-direction: column; gap: 24px; }
.ab-hero-copy .cb-lead { max-width: 540px; }
.ab-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; height: 540px; }
.ab-collage img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 32px; }
.ab-collage-tall { grid-row: span 2; }
.ab-collage-tile { container-type: size; background: var(--cb-green); color: #fff; border-radius: 32px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
/* Text only. The headline is sized from the tile itself (cqw / cqh = % of its width / height) so it wraps to
   three lines and fills the box at every width, without overflowing it. */
.ab-collage-tile strong { font-size: 36px; font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
@supports (height: 1cqh) { .ab-collage-tile strong { font-size: clamp(22px, min(24cqw, 25cqh), 64px); } }
.ab-collage-tile span { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 560px) {
  .ab-collage { height: 460px; }
  .ab-collage-tile { padding: 18px; border-radius: 28px; }
  .ab-collage-tile span { font-size: 12px; }
}
.ab-mission { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px; padding: clamp(28px, 5vw, 64px); }
.ab-mission-head { display: flex; flex-direction: column; gap: 12px; }
.ab-mission-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.ab-mission-copy { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.65; color: var(--cb-mid); }
.ab-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.ab-why-card { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ab-why-card img { width: 72px; height: 72px; }
.ab-why-card h3 { font-size: 20px; font-weight: 800; }
.ab-why-card p { font-size: 15px; line-height: 1.55; color: var(--cb-mid); }
.ab-why-card--green { background: var(--cb-tint); }
.ab-why-card--orange { background: var(--cb-orange-tint); }
.ab-why-card--grey { background: var(--cb-surface); }
.ab-aud-sec .cb-sechead { margin-bottom: 28px; }
.ab-aud { display: flex; gap: 14px; flex-wrap: wrap; }
.ab-aud-card { border: 0; padding: 0; text-align: left; position: relative; overflow: hidden; border-radius: 32px; height: 480px; flex: 1 1 140px; min-width: min(100%, 120px); transition: flex .5s var(--cb-ease); display: block; color: var(--cb-text); }
.ab-aud-card--0 { background: var(--cb-tint); }
.ab-aud-card--1 { background: var(--cb-orange-tint); }
.ab-aud-card--2 { background: var(--cb-surface); }
.ab-aud-card.is-active { flex: 2.4 1 360px; }
.ab-aud-card img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .55; transition: opacity .4s; }
.ab-aud-card.is-active img { opacity: 1; }
.ab-aud-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; background: #fff; border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.ab-aud-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ab-aud-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.ab-aud-icon { width: 32px; height: 32px; border-radius: 10px; background: var(--cb-surface); color: var(--cb-text); display: flex; align-items: center; justify-content: center; flex: none; }
.ab-aud-icon::before { content: '+'; font-style: normal; font-size: 18px; line-height: 1; }
.ab-aud-card.is-active .ab-aud-icon { background: var(--cb-green); color: #fff; }
.ab-aud-card.is-active .ab-aud-icon::before { content: '\2212'; }
.ab-aud-desc { display: none; font-size: 16px; line-height: 1.55; color: var(--cb-mid); }
.ab-aud-card.is-active .ab-aud-desc { display: block; }
html:not(.js) .ab-aud-desc { display: block; }
@media (max-width: 760px) {
  .ab-aud { flex-direction: column; }
  .ab-aud-card { flex: none !important; height: 340px; width: 100%; transition: height .5s var(--cb-ease); }
  .ab-aud-card.is-active { height: 440px; }
  .ab-aud-card:not(.is-active) { height: 220px; }
}
.ab-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.ab-trust-card { background: #fff; border: 1px solid var(--cb-border); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ab-trust-card img { width: 64px; height: 64px; }
.ab-trust-card h3 { font-size: 19px; font-weight: 800; }
.ab-trust-card p { font-size: 15px; line-height: 1.55; color: var(--cb-mid); }
.ab-trust-card a { font-weight: 700; }

/* ==========================================================================
   Help
   ========================================================================== */
.hp-herosec { padding-top: 40px; padding-bottom: 24px; }
.hp-hero { background: var(--cb-tint); border-radius: 36px; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.hp-hero > * { position: relative; }
.hp-hero-art { position: absolute !important; right: 4%; top: 24px; width: 200px; height: auto; }
@media (max-width: 760px) { .hp-hero-art { width: 110px; right: 16px; top: 16px; opacity: .9; } }
.hp-search { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(45, 106, 45, 0.15); border-radius: 20px; padding: 8px 8px 8px 22px; max-width: 640px; margin: 0; }
.hp-search-icon { font-size: 18px; color: var(--cb-soft); }
.hp-search input { flex: 1; border: 0; background: transparent; font-size: 17px; padding: 12px 0; color: var(--cb-text); min-width: 0; outline: 0; }
.hp-search input::-webkit-search-cancel-button { display: none; }
.hp-search:focus-within { border-color: var(--cb-green-light); }
.hp-clear { border: 0; background: var(--cb-surface); border-radius: 12px; width: 40px; height: 40px; font-size: 15px; color: var(--cb-text); }
.hp-topics-sec { padding-top: 16px; padding-bottom: 16px; }
.hp-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.hp-topic { border: 1px solid var(--cb-border); text-align: left; background: #fff; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--cb-text); transition: all .2s; }
.hp-topic:hover { border-color: var(--cb-tint-3); }
.hp-topic-emoji { font-size: 22px; }
.hp-topic-label { font-size: 15px; font-weight: 800; }
.hp-topic-count { font-size: 13px; color: var(--cb-soft); }
.hp-topic[aria-pressed="true"] { background: var(--cb-green); border-color: var(--cb-green); color: #fff; }
.hp-topic[aria-pressed="true"] .hp-topic-count { color: rgba(255, 255, 255, 0.7); }
.hp-main { padding-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; align-items: start; }
.hp-faq { display: flex; flex-direction: column; gap: 12px; grid-column: span 2; min-width: 0; }
@media (max-width: 760px) { .hp-faq { grid-column: auto; } }
.hp-faq-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.hp-faq-head h2 { font-size: 28px; font-weight: 900; }
.hp-faq-head span { font-size: 14px; color: var(--cb-soft); font-weight: 600; }
.hp-q-text { display: flex; flex-direction: column; gap: 4px; }
.hp-cat { font-size: 12px; font-weight: 700; color: var(--cb-orange); text-transform: uppercase; letter-spacing: 0.06em; }
.hp-empty { background: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hp-empty img { width: 72px; height: 72px; }
.hp-empty strong { font-size: 20px; font-weight: 800; }
.hp-empty span { font-size: 15px; color: var(--cb-mid); }
.hp-empty .cb-btn { margin-top: 6px; }
.hp-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 110px; }
@media (max-width: 760px) { .hp-side { position: static; } }
.hp-stuck { background: var(--cb-dark); color: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.hp-stuck img { width: 64px; height: 64px; }
.hp-stuck h3 { font-size: 20px; font-weight: 800; }
.hp-stuck p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.75); }
.hp-stuck .cb-btn { align-self: flex-start; }
.hp-quick { background: #fff; border: 1px solid var(--cb-border); border-radius: 28px; padding: 12px; display: flex; flex-direction: column; }
.hp-quick-title { padding: 12px 16px 6px; }
.hp-quick a { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: var(--cb-text); font-weight: 700; transition: background .2s, color .2s; }
.hp-quick a:hover { background: var(--cb-tint); color: var(--cb-green); }

/* ==========================================================================
   Contact
   ========================================================================== */
.ct-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.ct-chip { font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--cb-border); padding: 9px 14px; border-radius: 999px; }
.ct-main { padding-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; align-items: start; }
.ct-routes-col { display: flex; flex-direction: column; gap: 14px; }
.ct-step { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cb-soft); }
.ct-routes-col > .ct-step { padding-left: 4px; }
.ct-routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.ct-route { display: block; cursor: pointer; }
.ct-route-card { height: 100%; background: #fff; border: 1.5px solid var(--cb-border); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: all .2s; }
.ct-route:hover .ct-route-card { border-color: var(--cb-tint-3); }
.ct-route-top { display: flex; justify-content: space-between; align-items: center; }
.ct-route-emoji { font-size: 24px; }
.ct-route-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D0D0C8; transition: all .2s; }
.ct-route-title { font-size: 16px; font-weight: 800; }
.ct-route-desc { font-size: 13px; line-height: 1.5; color: var(--cb-mid); }
.ct-route input:checked + .ct-route-card { background: var(--cb-tint); border-color: var(--cb-green); }
.ct-route input:checked + .ct-route-card .ct-route-dot { background: var(--cb-green); border-color: var(--cb-green); }
.ct-route input:focus-visible + .ct-route-card { outline: 3px solid var(--cb-green-light); outline-offset: 2px; }
.ct-help { background: var(--cb-surface); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.ct-help strong { font-size: 15px; font-weight: 800; }
.ct-help span { display: flex; gap: 12px; font-size: 14px; color: var(--cb-mid); line-height: 1.5; }
.ct-help i { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 800; flex: none; color: var(--cb-text); }
.ct-form-card { background: #fff; border: 1px solid var(--cb-border); border-radius: 32px; padding: clamp(24px, 3vw, 36px); position: sticky; top: 110px; }
@media (max-width: 900px) { .ct-form-card { position: static; } }
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-topic { display: flex; align-items: center; gap: 10px; background: var(--cb-tint); border-radius: 16px; padding: 12px 16px; flex-wrap: wrap; }
.ct-topic > span:first-child { font-size: 20px; }
.ct-topic strong { font-size: 15px; font-weight: 700; color: var(--cb-green); }
.ct-topic-inbox { font-size: 13px; color: var(--cb-mid); margin-left: auto; }
.ct-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 8px; }
.ct-field label { font-size: 14px; font-weight: 700; }
.ct-field input, .ct-field textarea { border: 1.5px solid var(--cb-border-input); background: var(--cb-bg); border-radius: 14px; padding: 14px 16px; font-size: 16px; color: var(--cb-text); width: 100%; transition: border-color .2s; }
.ct-field textarea { resize: vertical; line-height: 1.5; min-height: 140px; }
.ct-field input:focus, .ct-field textarea:focus { outline: 0; border-color: var(--cb-green-light); }
.ct-field [aria-invalid="true"] { border-color: var(--cb-orange); }
.ct-count { font-size: 12px; color: var(--cb-soft); align-self: flex-end; }
.ct-error { font-size: 13px; font-weight: 600; color: var(--cb-orange-deep); margin: -2px 0 0; }
.ct-banner { font-size: 14px; font-weight: 600; color: var(--cb-orange-deep); background: var(--cb-orange-tint); padding: 12px 16px; border-radius: 14px; }
.ct-submit { border: 0; background: var(--cb-green); color: #fff; padding: 16px 22px; border-radius: 16px; font-weight: 800; font-size: 16px; text-align: left; display: flex; justify-content: space-between; transition: background .2s; }
.ct-submit:hover { background: var(--cb-green-hover); }
.ct-submit:disabled { opacity: .6; pointer-events: none; }
.ct-alt { font-size: 13px; color: var(--cb-soft); }
.ct-alt a { font-weight: 700; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-success { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 24px 0; }
.ct-success-tick { width: 72px; height: 72px; border-radius: 24px; background: var(--cb-tint); color: var(--cb-green); display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 900; }
.ct-success h2 { font-size: 32px; font-weight: 900; }
.ct-success p { font-size: 16px; line-height: 1.6; color: var(--cb-mid); }
.ct-short { background: var(--cb-tint); border-radius: 36px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.ct-short-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.ct-short-grid a { background: #fff; border-radius: 22px; padding: 22px; text-decoration: none; color: var(--cb-text); font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .2s; }
.ct-short-grid a:hover { background: var(--cb-tint-2); color: var(--cb-text); }
.ct-short-grid i { font-style: normal; }

/* ==========================================================================
   Legal + utility pages: shared shell on top of the legacy stylesheet
   (these pages keep css/styles.css for their prose; only nav/footer are new)
   ========================================================================== */
/* The legacy layout reserved room for a fixed 68px nav; the new nav is sticky and in flow. */
body[data-cb-shell] { --nav-h: 0px; --nav-height: 0px; }

/* Dark hero bands on the legal pages become the same soft tinted card used across the redesign */
body[data-cb-shell] .legal-hero,
body[data-cb-shell] .page-hero {
  width: min(1200px, calc(100% - 40px));
  margin: 8px auto 0;
  background: var(--cb-tint);
  color: var(--cb-text);
  border-radius: 36px;
  padding: clamp(40px, 6vw, 64px) 0;
}
body[data-cb-shell] .legal-hero::before,
body[data-cb-shell] .page-hero::before { display: none; }
body[data-cb-shell] .legal-hero .container,
body[data-cb-shell] .page-hero .container { padding-left: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px); }
body[data-cb-shell] .legal-hero h1,
body[data-cb-shell] .page-hero h1 { color: var(--cb-text); letter-spacing: -0.045em; }
body[data-cb-shell] .legal-hero p,
body[data-cb-shell] .page-hero p { color: var(--cb-mid); }
body[data-cb-shell] .legal-hero .section-label,
body[data-cb-shell] .page-hero .section-label { color: var(--cb-green); }
body[data-cb-shell] .page-hero p a { color: var(--cb-green); }

/* 404 / 500 */
body[data-cb-shell] .state-shell { min-height: calc(100vh - 90px); background: var(--cb-bg); }
body[data-cb-shell] .state-shell::before { display: none; }
