:root {
  --bg: #f6f2e9;
  --surface: #fffdf6;
  --ink: #262219;
  --muted: #6d665a;
  --forest: #1e4d3a;
  --forest-deep: #143527;
  --forest-soft: #e3ece6;
  --copper: #a85d33;
  --copper-soft: #f3e5d8;
  --line: #e4dcc8;
  --danger: #a03026;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; }

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .num {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 26px; }
.container.narrow { max-width: 840px; }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; color: var(--ink); text-decoration: none; font-family: Georgia, "Times New Roman", serif; letter-spacing: 0.4px; }
.brand img { height: 30px; width: 30px; }
.nav-cta { display: inline-block; font-size: 0.92rem; font-weight: 700; color: #ffffff; text-decoration: none; background: var(--forest); padding: 11px 22px; border-radius: 999px; box-shadow: 0 2px 10px rgba(30, 77, 58, 0.22); }
.nav-cta:hover { background: var(--forest-deep); }

/* ---------- hero ---------- */
.hero { background: linear-gradient(165deg, #fbf8f0 0%, #f1ebdc 60%, #eae2cf 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 70px 0 90px; }
.hero-copy .tag { margin-bottom: 18px; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
h1 { font-size: 3.1rem; line-height: 1.08; margin-bottom: 22px; }
.lead { font-size: 1.12rem; color: #4c4538; max-width: 560px; }
.actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: none; background: var(--forest); color: #ffffff; box-shadow: 0 2px 10px rgba(30, 77, 58, 0.25); }
.btn:hover { background: var(--forest-deep); }
.btn.ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); box-shadow: none; }
.btn.ghost:hover { border-color: var(--copper); color: var(--copper); }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 460px; height: auto; filter: drop-shadow(0 24px 34px rgba(38, 34, 25, 0.18)); }

/* ---------- trust strip ---------- */
.strip { background: var(--forest-deep); color: #e9efe9; padding: 26px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strip-item { display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--copper); padding-left: 18px; }
.strip-item strong { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 600; color: #ffffff; }
.strip-item span { font-size: 0.9rem; color: #b9c7bd; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
h2 { font-size: 2.2rem; line-height: 1.2; margin-bottom: 18px; }
.section p { color: #4c4538; font-size: 1.06rem; max-width: 760px; }

.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.center h2 { margin-left: auto; margin-right: auto; }

.story-art { display: block; margin: 38px auto 0; width: 100%; max-width: 240px; filter: drop-shadow(0 14px 20px rgba(38, 34, 25, 0.15)); }

.hero-grid > *, .device-grid > *, .grid > *, .stats > * { min-width: 0; }

.band { background: var(--forest); color: #eef3ee; }
.band h2 { color: #ffffff; }
.band p { color: #c8d5cc; }
.band .note { margin-top: 28px; color: #a9bcae; font-size: 0.97rem; }
.tag-light { color: #e8b48a; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 1px 4px rgba(38, 34, 25, 0.05); border-top: 3px solid var(--copper); }
.card h3 { font-size: 1.08rem; margin-bottom: 10px; font-family: Georgia, serif; }
.card p { font-size: 0.94rem; color: var(--muted); }

/* ---------- device section ---------- */
.device-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: start; }
.device-art { display: flex; flex-direction: column; gap: 20px; }
.device-art img { width: 100%; max-width: 400px; height: auto; }
.device-art-secondary { max-width: 300px !important; margin-left: auto; margin-top: -8px; }
.device-copy .specs { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.specs li { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; color: #4c4538; }
.specs li span { flex: 0 0 130px; font-weight: 700; color: var(--forest); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.8px; padding-top: 2px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; padding: 22px; }
.stat .num { font-size: 2rem; color: #ffffff; }
.stat .lbl { font-size: 0.9rem; color: #b9c7bd; margin-top: 6px; }

/* ---------- faq ---------- */
.faq-list { margin-top: 36px; text-align: left; }
.faq-list details { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 0; margin-bottom: 12px; overflow: hidden; }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 1.02rem; color: #ffffff; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.3rem; color: #e8b48a; flex: 0 0 auto; transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; font-size: 0.97rem; color: #c8d5cc; max-width: none; }
.faq-list details[open] { border-color: rgba(232, 180, 138, 0.5); }

/* ---------- join ---------- */
.join-grid { display: grid; grid-template-columns: 1fr 230px; gap: 44px; align-items: center; margin-top: 34px; text-align: left; }
.join-art img { width: 100%; filter: drop-shadow(0 16px 22px rgba(38, 34, 25, 0.16)); }
.join-note { display: inline-block; margin-top: 20px; background: var(--forest-soft); color: var(--forest) !important; border: 1px solid #bcd3c4; border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 0.95rem !important; }

/* ---------- legal cards ---------- */
.legal-grid { grid-template-columns: 1fr 1fr; max-width: 880px; margin-left: auto; margin-right: auto; }
.legal-card { border-top: 3px solid var(--copper); }
.legal-card h3 { margin-bottom: 10px; }
.legal-card a { color: var(--copper); font-weight: 600; }

/* ---------- form ---------- */
.form { margin-top: 30px; display: grid; gap: 18px; max-width: 520px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: #4c4538; }
.field input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: var(--surface); }
.field input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px var(--forest-soft); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-error { color: var(--danger); font-size: 0.9rem; }
.form-success { margin-top: 30px; background: var(--forest-soft); border: 1px solid #bcd3c4; border-radius: 14px; padding: 22px; }
.form-success h3 { color: var(--forest); margin-bottom: 6px; font-family: Georgia, serif; }

/* ---------- page hero (legal) ---------- */
.page-hero { background: linear-gradient(165deg, #fbf8f0 0%, #f1ebdc 100%); border-bottom: 1px solid var(--line); padding-bottom: 60px; }
.page-hero h1 { margin-top: 44px; margin-bottom: 8px; }
.page-hero p { color: var(--muted); }
.legal h2 { font-size: 1.35rem; margin-top: 36px; margin-bottom: 10px; }
.legal p, .legal li { color: #4c4538; font-size: 1rem; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--forest); }

/* ---------- footer ---------- */
.footer { background: var(--forest-deep); color: #b9c7bd; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer .brand { color: #ffffff; margin-bottom: 12px; }
.footer p { font-size: 0.96rem; color: #b9c7bd; }
.footer h4 { color: #ffffff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; }
.footer a { display: block; color: #b9c7bd; text-decoration: none; margin-bottom: 9px; font-size: 0.95rem; }
.footer a:hover { color: #e8b48a; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 0.88rem; color: #8fa397; }

/* ---------- cookie notice ---------- */
.cookie-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: var(--forest-deep); color: #e9efe9; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; font-size: 0.9rem; box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25); }
.cookie-notice[hidden] { display: none !important; }
.cookie-notice a { color: #e8b48a; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-btn { background: transparent; color: #e9efe9; border: 1px solid #52705d; border-radius: 8px; padding: 8px 16px; cursor: pointer; font: inherit; }
.cookie-btn:hover { border-color: #8ba694; }
.cookie-btn-primary { background: var(--copper); border-color: var(--copper); color: #ffffff; font-weight: 600; }
.cookie-btn-primary:hover { background: #91492a; }

@media (max-width: 940px) {
  .hero-grid, .device-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { order: -1; }
  .grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .join-grid { grid-template-columns: 1fr; gap: 30px; }
  .join-art { max-width: 230px; margin: 0 auto; }
  .legal-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.4rem; }
}
@media (max-width: 560px) {
  .grid, .stats, .strip-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-notice { flex-direction: column; align-items: flex-start; }
  .hero-grid { padding: 46px 0 60px; }
}
