/* Site styles. Brand colours come only from brand.css (generated): --primary*, --navy*.
   Fixed colours (ink, muted, green, red…) also come from brand.css and never change with the brand. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Icons (lucide sprite) */
.i { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 64px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn .i { width: 17px; height: 17px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 9px; }
.btn-sm .i { width: 15px; height: 15px; }
.btn-lg { min-height: 52px; padding: 0 22px; }
.btn-xl { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary-dark); color: #fff; box-shadow: 0 10px 24px -10px var(--primary-dark); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--subtle); color: var(--ink); }
.btn-whatsapp { background: var(--whatsapp); color: #08331A; }
.btn-whatsapp:hover { filter: brightness(.95); color: #08331A; }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: var(--primary-soft); color: var(--navy); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-dark .i, .footer-cta .btn-ghost-dark .i { color: var(--whatsapp); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
}
.icon-btn .i { width: 20px; height: 20px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; }
.text-link .i { width: 16px; height: 16px; transition: transform .15s ease; }
.text-link:hover .i { transform: translateX(3px); }
.muted-link { color: var(--text-2); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -.01em; min-height: 44px; }
.logo:hover { color: var(--ink); }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.logo-on-dark, .logo-on-dark:hover { color: #fff; font-size: 17px; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 12px; border-radius: 8px; color: var(--text-2); font-size: 14px; font-weight: 500; }
.main-nav a:hover { color: var(--ink); background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--surface);
  display: flex; flex-direction: column; padding: 0 16px 24px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); margin: 0 -16px; padding: 0 16px; }
.mobile-menu-links { display: flex; flex-direction: column; padding-top: 8px; }
.mobile-menu-links a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; border-bottom: 1px solid var(--divider);
  font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
}
.mobile-menu-links .i { color: var(--subtle); }
.mobile-menu-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
body.menu-open { overflow: hidden; }

/* Shared section bits */
.section { padding: 96px 0; }
.section-tight { padding: 0 0 96px; }
.section-white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow-on-dark { color: var(--primary-on-dark); }
.section-title { font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.section-sub { font-size: 17px; line-height: 1.6; color: var(--muted); margin-top: 16px; max-width: 620px; }
.page-title { font-size: 44px; font-weight: 600; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.dot-green { background: var(--green); }
.t-green { color: var(--green); font-weight: 500; }
.t-red { color: var(--red); font-weight: 500; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(20, 23, 28, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 23, 28, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 500; color: var(--text-2);
}
.hero-title { font-size: 56px; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.hero-meta li { display: flex; align-items: center; gap: 6px; }
.hero-meta .i { width: 14px; height: 14px; }

.hero-visual { position: relative; height: 620px; display: flex; align-items: center; justify-content: center; }
.dots-bg {
  position: absolute; inset: 40px 20px; border-radius: 32px;
  background-color: var(--primary-soft);
  background-image: radial-gradient(var(--primary-soft-2) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}
.phone {
  position: relative; width: 300px; height: 600px; border-radius: 36px;
  background: var(--bg); border: 10px solid var(--ink-2); box-shadow: 0 40px 80px rgba(20, 23, 28, .35); overflow: hidden;
}
.phone-screen { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 0; font-size: 12px; }
.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-greet { font-size: 10px; color: var(--muted); }
.ph-name { font-size: 14px; font-weight: 600; }
.ph-avatar { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font-size: 9.5px; color: var(--text-2); }
.ph-status span { display: inline-flex; align-items: center; gap: 5px; }
.ph-status .dot { width: 5px; height: 5px; }
.ph-section { font-size: 10px; font-weight: 600; color: var(--text-2); padding-top: 2px; }
.ph-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.ph-card-raised { box-shadow: 0 6px 16px -6px rgba(20, 23, 28, .14); }
.ph-row { display: flex; justify-content: space-between; align-items: center; }
.ph-sym { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.ph-ltp { font-size: 12px; font-weight: 500; }
.side { font-family: 'JetBrains Mono', monospace; font-size: 8px; font-weight: 500; padding: 1px 5px; border-radius: 3px; }
.side-buy { background: var(--green-bg); color: var(--green); }
.side-sell { background: var(--red-bg); color: var(--red); }
.bar { position: relative; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--red-bg), var(--divider) 40%, var(--divider) 60%, var(--green-bg)); }
.bar-fill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 3px; background: var(--primary); }
.bar-knob { position: absolute; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--primary); transform: translateX(-50%); }
.bar-fill.bar-red { background: var(--red); }
.bar-knob.bar-red { border-color: var(--red); }
.ph-levels { display: flex; justify-content: space-between; font-size: 8.5px; color: var(--muted); }
.ph-levels b { font-weight: 500; }
.ph-tabs { margin-top: auto; margin-left: -16px; margin-right: -16px; display: flex; justify-content: space-around; padding: 10px 8px 14px; background: var(--surface); border-top: 1px solid var(--border); font-size: 9.5px; color: var(--muted); }
.ph-tabs .on { color: var(--ink); font-weight: 600; background: var(--surface-2); padding: 4px 10px; border-radius: 999px; }

.alert-card {
  position: absolute; left: -8px; bottom: 96px; width: 280px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #fff;
  box-shadow: 0 24px 48px -12px rgba(20, 23, 28, .45);
}
.alert-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; animation: shake 1.6s ease-in-out infinite; }
.alert-icon .i { width: 18px; height: 18px; }
.alert-title { font-size: 14px; font-weight: 600; }
.alert-sub { font-size: 11.5px; color: var(--subtle); line-height: 1.4; margin-top: 2px; }
.alert-time { font-size: 10px; color: var(--muted); margin-top: 4px; }
@keyframes shake { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(-12deg); } 20% { transform: rotate(10deg); } 30% { transform: rotate(-6deg); } 40% { transform: rotate(4deg); } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.feature { background: var(--surface); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; }
.feature-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.feature-icon .i { width: 20px; height: 20px; }
.feature h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.feature p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* How it works */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split .text-link { margin-top: 20px; }
.steps li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; }
.step-no { font-size: 13px; color: var(--subtle); width: 28px; flex-shrink: 0; padding-top: 2px; }
.steps h3 { font-size: 16px; font-weight: 600; }
.steps p { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 4px; }

/* About */
.about-title { max-width: 900px; }
.about-sub { max-width: 760px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.principle { padding: 24px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.principle h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.principle p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Inside every call */
.split-center { align-items: center; }
.call-demo { max-width: 460px; width: 100%; justify-self: center; padding: 24px; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); box-shadow: 0 30px 60px -30px rgba(20, 23, 28, .3); display: flex; flex-direction: column; gap: 18px; }
.cd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cd-sym { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.cd-sym .side { font-size: 10px; padding: 2px 6px; }
.cd-meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.cd-ltp { display: flex; flex-direction: column; align-items: flex-end; font-size: 18px; font-weight: 500; }
.cd-ltp span { font-size: 12.5px; }
.cd-bar { height: 7px; }
.cd-bar .bar-knob { top: -4px; width: 15px; height: 15px; border-width: 3px; }
.cd-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cd-levels div { padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.cd-levels dt { font-size: 11.5px; color: var(--muted); }
.cd-levels dd { margin: 2px 0 0; font-size: 16px; }
.cd-note { font-size: 14px; color: var(--text-2); font-style: italic; }
.cd-foot { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); font-size: 11.5px; color: var(--muted); }
.cd-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.steps-compact { margin-top: 28px; }

/* Alerts timeline */
.timeline { position: relative; display: flex; flex-direction: column; gap: 12px; }
.timeline::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--border); }
.timeline li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 14px 18px 14px 0; }
.tl-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); color: var(--primary); position: relative; }
.tl-icon .i { width: 19px; height: 19px; }
.timeline h3 { font-size: 16px; font-weight: 600; margin-top: 2px; }
.timeline p { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.tl-key .tl-icon { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

/* Membership */
.plan-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.plan-step {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(20, 23, 28, .04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan-step:hover { transform: translateY(-3px); border-color: var(--primary-soft-2); box-shadow: 0 24px 48px -28px rgba(20, 23, 28, .35); }
/* Arrow between steps */
.plan-step:not(:last-child)::after {
  content: '→'; position: absolute; z-index: 1; top: 44px; right: -22px;
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border); color: var(--subtle); font-size: 15px;
}
.ps-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ps-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); }
.ps-icon .i { width: 21px; height: 21px; }
.ps-icon-wa { background: #E3F9EA; color: #128C4A; }
.ps-icon-amber { background: var(--amber-bg); color: var(--amber); }
.ps-no { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.plan-step h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.plan-step > p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* The little UI under each step */
.ps-visual { margin-top: auto; padding: 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--divider); display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 152px; }
.plan-step > p { margin-bottom: 14px; }
.ps-chat { background-color: #EFEAE2; background-image: radial-gradient(rgba(20, 23, 28, .05) 1px, transparent 1px); background-size: 12px 12px; border-color: transparent; align-items: flex-end; }
.chat-bubble { position: relative; max-width: 88%; padding: 9px 12px 7px; border-radius: 10px 2px 10px 10px; background: #D9FDD3; color: #111B21; font-size: 13.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(20, 23, 28, .1); }
.chat-meta { display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 2px; font-size: 10px; color: #667781; }
.chat-meta .i { width: 13px; height: 13px; color: #53BDEB; }
.mini-plan { display: flex; flex-direction: column; gap: 8px; }
.mp-row { display: flex; justify-content: space-between; align-items: center; }
.mp-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mp-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; background: var(--green-bg); color: var(--green); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.mp-status .dot { width: 6px; height: 6px; }
.mp-days { font-size: 13px; color: var(--muted); }
.mp-days b { font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin-right: 4px; }
.mp-bar { height: 6px; border-radius: 3px; background: var(--divider); overflow: hidden; }
.mp-bar span { display: block; height: 100%; border-radius: 3px; background: var(--primary); }
.mp-bar-amber span { background: var(--amber-bright); }
.mp-dates { font-size: 10.5px; color: var(--subtle); letter-spacing: .04em; text-transform: uppercase; }
.mini-notif { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 8px 18px -12px rgba(20, 23, 28, .3); }
.mn-icon { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--amber-bg); color: var(--amber); }
.mn-icon .i { width: 15px; height: 15px; }
.mn-title { font-size: 13px; font-weight: 600; }
.mn-sub { font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.membership-cta { margin-top: 32px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--subtle); line-height: 1; transition: transform .15s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { font-size: 15px; color: var(--muted); line-height: 1.6; padding: 0 32px 18px 0; }

/* Download */
.download-block { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 44px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.download-title { font-size: 32px; font-weight: 600; letter-spacing: -.03em; }
.download-block p { font-size: 15px; color: var(--muted); line-height: 1.55; max-width: 560px; margin-top: 10px; }
.download-meta { display: flex; align-items: center; gap: 6px; font-size: 13px !important; }
.download-meta .i { width: 14px; height: 14px; }
.download-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }

/* Contact */
.contact-block { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 44px; border-radius: 20px; background: var(--primary-dark); color: #fff; }
.contact-block h2 { font-size: 32px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.contact-copy p:last-child { font-size: 16px; color: rgba(255, 255, 255, .78); margin-top: 12px; max-width: 480px; }
.contact-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.contact-actions .btn { margin-bottom: 8px; }
.contact-line { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: #fff; font-size: 15px; }
.contact-line:hover { color: #fff; text-decoration: underline; }
.contact-line .i { width: 16px; height: 16px; opacity: .75; }

/* Footer */
.site-footer {
  background-color: var(--navy-deep);
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--bg); padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--navy-muted); max-width: 360px; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-head { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-muted); margin-bottom: 8px; }
.footer-col a, .footer-col span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; color: rgba(255, 255, 255, .86); overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col .i { width: 15px; height: 15px; opacity: .65; }
.risk-note { display: flex; gap: 12px; margin-top: 44px; padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); }
.risk-note .i { color: var(--amber-bright); width: 18px; height: 18px; margin-top: 2px; }
.risk-note p { font-size: 13px; line-height: 1.6; color: var(--navy-muted); }
.risk-note strong { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: var(--navy-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { color: rgba(255, 255, 255, .86); min-height: 36px; display: inline-flex; align-items: center; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-bottom .mono { font-size: 12px; }

/* Inner pages */
.page { padding: 64px 0 96px; }
.install-layout, .legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.install-aside, .legal-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.install-aside .eyebrow, .legal-aside .eyebrow { margin-bottom: 0; }
.step-nav { display: flex; flex-direction: column; gap: 2px; }
.step-nav a { padding: 10px 12px; border-radius: 8px; border: 1px solid transparent; color: var(--text-2); font-size: 14px; min-height: 44px; display: flex; align-items: center; }
.step-nav a:hover { background: var(--surface); color: var(--ink); }
.step-nav a[aria-current="page"], .step-nav a.is-active { background: var(--surface); border-color: var(--border); color: var(--ink); font-weight: 600; }
.help-box { padding: 16px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.help-title { font-size: 14px; font-weight: 600; }
.help-box p:not(.help-title) { font-size: 13px; color: var(--subtle); line-height: 1.5; }
.help-box a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; font-size: 14px; min-height: 40px; }
.help-box a .i { color: var(--whatsapp); width: 16px; height: 16px; }
.last-updated { font-size: 12px; color: var(--muted); padding: 0 12px; }

.install-body { display: flex; flex-direction: column; gap: 48px; max-width: 780px; min-width: 0; }
.brand-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.brand-tabs button { min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 500; }
.brand-tabs button:hover { border-color: var(--subtle); color: var(--ink); }
.brand-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.install-step { display: flex; gap: 24px; scroll-margin-top: 96px; }
.step-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.step-badge .i { width: 20px; height: 20px; }
.step-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.step-content h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.step-content > p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.step-content strong { color: var(--ink); font-weight: 600; }
.install-step-key .step-badge { background: var(--primary-dark); }
.install-step-key .step-content { padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--primary-soft-2); box-shadow: 0 0 0 4px var(--primary-soft); }
.tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--amber-bg); color: var(--amber); }

.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--primary-soft); color: var(--text-2); font-size: 14px; line-height: 1.55; width: 100%; }
.note[hidden] { display: none; }
.note .i { width: 17px; height: 17px; color: var(--primary); margin-top: 2px; }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 16px; }
.shot figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }
.shot-frame { aspect-ratio: 9 / 16; border-radius: 14px; border: 1px dashed var(--border-strong); background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--bg) 10px 20px); color: var(--subtle); display: flex; align-items: center; justify-content: center; }
.shot-frame .i { width: 28px; height: 28px; }

.checklist { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.check-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--green-bg); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check-icon .i { width: 16px; height: 16px; }
.test-line { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-2) !important; }
.test-line .i { color: var(--primary); margin-top: 3px; }

.faq { width: 100%; }
.faq dt { font-weight: 600; font-size: 15px; padding-top: 14px; border-top: 1px solid var(--border); }
.faq dt:first-child { border-top: 0; padding-top: 0; }
.faq dd { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 6px 0 14px; }

/* Legal */
.legal-body { max-width: 760px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.legal-body .section-sub { margin-top: -12px; }
.risk-block { display: flex; gap: 14px; padding: 20px 22px; border-radius: 14px; background: var(--ink); color: var(--bg); }
.risk-block .i { color: var(--amber-bright); width: 20px; height: 20px; margin-top: 2px; }
.risk-block p { font-size: 15px; line-height: 1.6; font-weight: 500; }
.draft-note { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--amber-bg); color: var(--amber); font-size: 13.5px; font-weight: 500; }
.draft-note .i { width: 16px; height: 16px; }
.legal-body section h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.legal-body section p, .data-list li { font-size: 15.5px; color: var(--text-2); line-height: 1.7; }
.legal-body section p + p { margin-top: 10px; }
.data-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.data-list li { position: relative; padding-left: 18px; }
.data-list li::before { content: ''; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; border-radius: 2px; background: var(--primary); }
.data-list strong { color: var(--ink); }
.legal-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.legal-contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.legal-contact .i { width: 16px; height: 16px; }

.notfound { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.notfound .hero-actions { margin-top: 28px; }

/* Placeholder copy is visible in development; remove the attribute when the client sends real text. */
[data-placeholder] { text-decoration: underline dotted var(--amber-bright); text-underline-offset: 4px; }

/* Tablet 768–1199 */
@media (max-width: 1199px) {
  .container { padding: 0 40px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
  .hero-title { font-size: 48px; }
  .hero-visual { height: 600px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .principles { grid-template-columns: 1fr; }
  .plan-steps { grid-template-columns: 1fr; }
  .plan-step { display: grid; grid-template-columns: 1fr minmax(240px, 320px); grid-template-areas: "top visual" "title visual" "text visual"; column-gap: 32px; row-gap: 10px; align-content: start; }
  .ps-top { grid-area: top; }
  .plan-step h3 { grid-area: title; }
  .plan-step > p { grid-area: text; }
  .plan-step .ps-visual { grid-area: visual; margin-top: 0; }
  .plan-step > p { margin-bottom: 0; }
  .plan-step:not(:last-child)::after { content: '↓'; top: auto; right: auto; bottom: -28px; left: 30px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-block { grid-template-columns: 1fr; }
  .install-layout, .legal-layout { grid-template-columns: 220px 1fr; gap: 40px; }
}

/* Mobile < 768 */
@media (max-width: 767px) {
  html { scroll-padding-top: 72px; }
  .container { padding: 0 16px; }
  .header-download { display: none; }
  .hide-sm { display: none; }
  .section { padding: 64px 0; }
  .section-tight { padding: 0 0 64px; }
  .section-title, .download-title, .contact-block h2 { font-size: 28px; }
  .page-title { font-size: 32px; }
  .hero-inner { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero-copy { gap: 22px; }
  .hero-title { font-size: 36px; line-height: 1.06; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { height: auto; padding: 24px 0 8px; }
  .dots-bg { inset: 0; border-radius: 24px; }
  .phone { width: 260px; height: 500px; border-width: 8px; border-radius: 30px; }
  .phone .ph-card ~ .ph-card ~ .ph-card { display: none; }
  .alert-card { position: relative; left: auto; bottom: auto; width: auto; margin: 0; }
  .hero-visual { flex-direction: column-reverse; gap: 16px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 22px 20px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
  .feature p { flex-basis: 100%; }
  .call-demo { padding: 18px; }
  .cd-levels dd { font-size: 14px; }
  .membership-cta { width: 100%; }
  .plan-steps { margin-top: 32px; }
  .plan-step { display: flex; padding: 20px; }
  .plan-step > p { margin-bottom: 8px; }
  .ps-visual { min-height: 0; }
  .faq-list details p { padding-right: 0; }
  .download-block { flex-direction: column; align-items: stretch; padding: 28px 20px; gap: 24px; }
  .download-actions { align-items: stretch; }
  .download-actions .btn { width: 100%; }
  .download-actions .text-link { justify-content: center; }
  .contact-block { padding: 28px 20px; }
  .contact-actions .btn { width: 100%; white-space: normal; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page { padding: 40px 0 64px; }
  .install-layout, .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .install-aside, .legal-aside { position: static; }
  .install-aside .step-nav, .legal-aside .step-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .install-aside .step-nav a, .legal-aside .step-nav a { background: var(--surface); border-color: var(--border); font-size: 13px; }
  .install-aside .help-box { display: none; }
  .install-step { gap: 14px; }
  .step-badge { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
  .install-step-key .step-content { padding: 16px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand-tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .brand-tabs::-webkit-scrollbar { display: none; }
  .brand-tabs button { flex-shrink: 0; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
