/* Bellwise — light, calm, the same palette as the app (Forest accent on cream). */
:root {
  --ink: #12211C;
  --ink-2: #33473F;
  --muted: #5C6E67;
  --cream: #F6F7F3;
  --cream-2: #EDEFE7;
  --card: #FFFFFF;
  --line: rgba(18, 33, 28, 0.10);
  --forest: #1F6657;
  --forest-deep: #17503F;
  --forest-lift: #2E8570;
  --clay: #C2603A;
  --radius: 20px;
  --max: 1140px;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --shadow: 0 18px 40px rgba(18, 33, 28, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 12% -8%, #E7EFE7 0%, transparent 62%),
    radial-gradient(760px 480px at 100% 4%, #EAF1EA 0%, transparent 58%),
    var(--cream);
  background-attachment: fixed;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--forest); }
a:hover { color: var(--forest-deep); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.02em; }
h1, h2 { font-family: var(--serif); font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.1rem; font-weight: 800; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(var(--max), 92vw); margin: 0 auto; }
section { padding: clamp(46px, 7vw, 92px) 0; }
em.accent { font-style: normal; color: var(--forest); position: relative; }
em.accent::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -.12em; height: .10em;
  border-radius: 999px; background: var(--clay); opacity: .85;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 247, 243, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.03em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 4px 12px rgba(18,33,28,.18); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--forest); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 20px; cursor: pointer; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .96rem;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: linear-gradient(135deg, var(--forest-lift), var(--forest-deep)); color: #fff; border-color: transparent; }
.btn-primary:hover { color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }

/* Hero */
.hero { padding-top: clamp(34px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800; color: var(--muted); margin-bottom: 14px; }
.lead { font-size: 1.14rem; color: var(--ink-2); max-width: 46ch; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 26px 0 18px; }
.store-badge { display: inline-block; }
.store-badge img { height: 54px; width: auto; }
.store-badge:hover { opacity: .88; }
.trust { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.trust li { font-size: .84rem; font-weight: 700; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.hero-art { display: grid; place-items: center; position: relative; }
.hero-art img { width: min(300px, 74vw); border-radius: 22%; box-shadow: 0 30px 60px rgba(18, 33, 28, .22); }
.hero-art::after {
  content: ""; position: absolute; width: 76%; height: 76%; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 133, 112, .28), transparent 70%); filter: blur(34px); z-index: -1;
}

/* Section headings */
.section-title { text-align: center; max-width: 62ch; margin: 0 auto 38px; }
.section-title p { color: var(--muted); font-size: 1.04rem; }

/* Screenshot slider */
.slider { position: relative; }
.slider-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 18px; scrollbar-width: none; -ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: center; flex: 0 0 auto; margin: 0; width: min(300px, 74vw); text-align: center; }
.slide img { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.slide figcaption { margin-top: 12px; font-size: .92rem; font-weight: 700; color: var(--ink-2); }
.slider-nav {
  position: absolute; top: 42%; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.94); color: var(--ink); font-size: 22px; line-height: 1;
  display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2;
}
.slider-nav:hover { background: #fff; }
.slider-nav.prev { left: -6px; }
.slider-nav.next { right: -6px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: none; cursor: pointer; background: rgba(18,33,28,.18); }
.dots button[aria-current="true"] { background: var(--forest); transform: scale(1.25); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 26px rgba(18,33,28,.05); }
.card .icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; margin-bottom: 14px; background: rgba(31,102,87,.09); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Bands */
.band { background: linear-gradient(135deg, var(--forest-lift), var(--forest-deep)); color: #fff; border-radius: 26px; padding: clamp(32px, 5vw, 58px); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 30px solid rgba(255,255,255,.06); }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.88); }
.band .trust li { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.92); font-size: .98rem; }
.checks li::before { content: "✓"; font-weight: 800; color: #fff; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
details.qa { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
details.qa summary { cursor: pointer; font-weight: 800; list-style: none; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; float: right; color: var(--forest); font-size: 1.2rem; line-height: 1; }
details.qa[open] summary::after { content: "–"; }
details.qa p { margin: 12px 0 0; color: var(--muted); }

/* CTA */
.cta { text-align: center; }
.cta .store-badge { margin: 18px auto 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: .94rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--forest); }

/* Content pages */
.page { padding: clamp(30px, 5vw, 58px) 0 clamp(40px, 6vw, 72px); }
.page-head { margin-bottom: 26px; }
.page-head p { color: var(--muted); }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 42px); box-shadow: 0 10px 26px rgba(18,33,28,.05); }
.doc h2 { font-family: var(--sans); font-size: 1.25rem; font-weight: 800; margin-top: 2em; }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.15em; }
.doc li { margin-bottom: .45em; }
.doc .summary { background: var(--cream-2); border-radius: 14px; padding: 18px 20px; }
.doc .summary p:last-child { margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.field label { font-weight: 700; font-size: .93rem; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); padding: 12px 14px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--cream); outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31,102,87,.14); }
.row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.row .icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(31,102,87,.09); }
.note { font-size: .9rem; color: var(--muted); }

/* Cookie banner */
.cookie {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(740px, 94vw); z-index: 200; padding: 16px 18px; gap: 14px;
  display: flex; align-items: center; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 48px rgba(18, 33, 28, .16);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 320px; font-size: .93rem; color: var(--muted); }
.cookie .actions { display: flex; gap: 10px; }

@media (max-width: 920px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { text-align: center; gap: 32px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust { justify-content: center; }
  .hero-art { order: -1; }
  .slider-nav { display: none; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 70px; display: none;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 6px 4vw 12px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 4px; }
  .nav .btn-primary { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }
