/* ═══════════════════════════════════════════════════════════
   Dfault Tweaks — marketing + store site
   Element system carried over from the MacroSnap site build;
   palette swapped for the Dfault brand.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ── Brand palette (as specified) ── */
  --bg:        #181617;   /* main background / main colour */
  --card:      #252325;   /* cards / elements              */
  --subtext:   #4C4B4B;   /* muted text                    */
  --text:      #FFFFFF;   /* headings / primary text       */
  --accent:    #4F7DFF;   /* brand blue (from the DT mark) */
  --cta:       #4F7DFF;   /* CTAs                          */
  --cta-text:  #FFFFFF;

  /* ── Derived surfaces ── */
  --bg-alt:        #141213;
  --card-hover:    #2C2A2C;
  --card-deep:     #1E1C1D;
  --accent-dim:    rgba(79, 125, 255, 0.12);
  --accent-line:   rgba(79, 125, 255, 0.28);
  --border:        rgba(255, 255, 255, 0.07);
  --border-bright: rgba(255, 255, 255, 0.14);
  --divider:       rgba(255, 255, 255, 0.055);
  --grid-line:     rgba(255, 255, 255, 0.025);
  --hero-glow:     rgba(79, 125, 255, 0.10);
  --hover-glow:    rgba(255, 255, 255, 0.025);
  --nav-bg:        rgba(24, 22, 23, 0.92);
  --nav-bg-solid:  #1E1C1D;
  --ok:            #3DD68C;
  --warn:          #FF8A80;
  /* readable body grey — sits between --text and --subtext */
  --body:          #9C9A9B;

  /* ── Type ── */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "SF Pro Icons", "Helvetica Neue", "Segoe UI Variable Display",
          "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;

  --nav-h: 62px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* `hidden` must beat the display rules below (drawer, overlay) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-h);
}

* { scrollbar-width: thin; scrollbar-color: rgba(128,128,128,0.2) transparent; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(128,128,128,0.2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(128,128,128,0.35); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

button {
  cursor: pointer;
  font-family: var(--font);
  background: none;
  border: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
button:active { opacity: 0.7; transform: scale(0.97); transition: opacity .1s, transform .1s; }
button:disabled { cursor: default; opacity: .6; transform: none; }

/* ── Titles: semibold ── */
h1, h2, h3 { font-weight: 600; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(38px, 4.6vw, 66px); letter-spacing: -2.4px; }
h2 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -1.2px; }
h3 { font-size: 17px; letter-spacing: -0.4px; }

p  { color: var(--body); }
.sub   { color: var(--subtext); }
.tiny  { font-size: 12px; }
.accent{ color: var(--accent); }
.center{ text-align: center; }

.lead { font-size: 15.5px; line-height: 1.75; color: var(--body); max-width: 460px; }
.lead.center { margin: 0 auto; }

/* ═══════════════ ANIMATIONS ═══════════════ */
@keyframes fadeUp    { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(32px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pulse     { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Entrance — staggered via inline --d */
.fu { animation: fadeUp .55s var(--d, 0s) var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ═══════════════ TOP BAR ═══════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

/* shares .wrap's geometry so the logo sits on the site's left edge */
.nav-inner {
  height: 100%; max-width: 1180px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand { display: flex; align-items: center; gap: 9px; }
.mark { flex-shrink: 0; border-radius: 23%; display: block; }
.wordmark { font-size: 17px; font-weight: 600; letter-spacing: -0.5px; color: var(--text); white-space: nowrap; }

.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-link {
  font-size: 13px; font-weight: 500; letter-spacing: -0.1px;
  color: var(--body); transition: color .15s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }

.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--cta); color: var(--cta-text);
  padding: 8px 20px; font-size: 13px; font-weight: 700;
  border-radius: 7px; letter-spacing: -0.2px;
  transition: filter .15s, transform .15s;
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-cta:active { transform: scale(.97); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ── Mobile drawer ── */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 199;
  background: rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.drawer {
  position: fixed; top: var(--nav-h); right: 0; bottom: 0; z-index: 200;
  width: 80vw; max-width: 320px;
  background: var(--nav-bg-solid);
  display: flex; flex-direction: column; overflow-y: auto;
  animation: fadeRight .25s both;
}
.drawer-list { flex: 1; }
.drawer-link {
  display: block; width: 100%; text-align: left;
  padding: 16px 24px; font-size: 15px; font-weight: 600;
  color: var(--body);
  transition: color .15s, background .15s;
}
.drawer-link.active { color: var(--text); background: var(--hover-glow); }
.drawer-foot { padding: 20px 24px; }

/* ═══════════════ LAYOUT ═══════════════ */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 48px; }
.section { padding: 96px 0; }
.section.tight { padding-top: 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.sec-head h2 { margin-bottom: 14px; }

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; font-size: 14px; font-weight: 700;
  border-radius: 8px; letter-spacing: -0.3px;
  transition: filter .15s, background .15s, border-color .15s;
}
.btn-cta   { background: var(--cta); color: var(--cta-text); }
.btn-cta:hover { filter: brightness(1.08); }
.btn-soft { background: rgba(255,255,255,.08); color: var(--text); }
.btn-soft:hover { background: rgba(255,255,255,.13); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn svg { width: 16px; height: 16px; }

/* ═══════════════ PILL (sits above the headline) ═══════════════ */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card);
  border-radius: 999px; padding: 7px 16px 7px 12px;
  margin-bottom: 15px;
  font-size: 13px; font-weight: 600; letter-spacing: -0.2px; color: var(--text);
}
.pill .dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(61,214,140,.18);
  animation: pulse 2.2s ease-in-out infinite;
}
.pill .icon { width: 16px; height: 16px; margin: 0; color: var(--accent); }

/* ═══════════════ HERO ═══════════════ */
.hero { position: relative; overflow: hidden; }
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, var(--hero-glow) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  max-width: 1180px; margin: 0 auto;
  padding: 48px 48px 72px;
  min-height: min(720px, calc(100vh - var(--nav-h)));
}
.hero.compact .hero-inner { min-height: auto; padding-top: 56px; padding-bottom: 56px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; padding-right: 40px; }
.hero-copy h1 { margin-bottom: 15px; }
.hero-copy .lead { margin-bottom: 20px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-btns.center { justify-content: center; }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--subtext); }
.hero-note b { color: var(--body); font-weight: 600; }
.hero-visual { position: relative; display: flex; justify-content: center; }

/* ═══════════════ APP FRAME (desktop window mock) ═══════════════ */
.app-frame {
  position: relative; width: 100%; max-width: 540px;
  background: #0E0D0E;
  border-radius: 16px; padding: 8px;
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(79,125,255,.08);
  flex-shrink: 0;
}
.app-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 8px; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.app-bar i:first-child { background: #FF5F57; }
.app-bar i:nth-child(2) { background: #FEBC2E; }
.app-bar i:nth-child(3) { background: #28C840; }
.app-bar span { margin-left: auto; margin-right: 6px; font-size: 11px; color: var(--subtext); font-weight: 600; letter-spacing: .2px; }
.app-screen {
  position: relative; aspect-ratio: 16 / 10.4; overflow: hidden;
  background: var(--bg); border-radius: 10px;
}

/* App UI inside the screen — sidebar + main */
.ui { position: absolute; inset: 0; display: grid; grid-template-columns: 118px 1fr; }
.ui-side { background: var(--card-deep); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--border); }
.ui-side .brand { display: flex; align-items: center; gap: 7px; padding: 2px 6px 12px; font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; }
.ui-side .brand img { width: 18px; height: 18px; border-radius: 5px; }
.ui-tab { font-size: 11.5px; font-weight: 600; color: var(--body); padding: 7px 9px; border-radius: 7px; letter-spacing: -0.1px; }
.ui-tab.on { background: var(--accent-dim); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.ui-side .spacer { flex: 1; }
.ui-side .ver { font-size: 10px; color: var(--subtext); padding: 0 9px; font-family: var(--mono); }
.ui-main { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ui-title { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; display: flex; align-items: center; gap: 8px; }
.ui-title .st { margin-left: auto; font-size: 10px; font-weight: 600; color: var(--ok); background: rgba(61,214,140,.12); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.ui-rows { display: flex; flex-direction: column; gap: 6px; }
.ui-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border-radius: 8px; padding: 8px 10px;
  font-size: 11.5px; color: var(--text); font-weight: 500; letter-spacing: -0.1px;
}
.ui-row small { color: var(--subtext); font-size: 10.5px; margin-left: auto; font-family: var(--mono); }
.ui-tg { width: 30px; height: 17px; border-radius: 999px; background: rgba(255,255,255,.1); position: relative; flex-shrink: 0; margin-left: auto; }
.ui-tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; opacity: .5; transition: transform .2s; }
.ui-tg.on { background: var(--accent); }
.ui-tg.on::after { transform: translateX(13px); opacity: 1; }
.ui-row small + .ui-tg { margin-left: 8px; }
.ui-btn { margin-top: auto; align-self: flex-start; background: var(--cta); color: var(--cta-text); font-size: 11.5px; font-weight: 700; padding: 8px 14px; border-radius: 7px; }
.ui-key { font-family: var(--mono); font-size: 10.5px; color: var(--text); background: rgba(255,255,255,.08); border: 1px solid var(--border-bright); border-radius: 5px; padding: 2px 7px; margin-left: auto; }
.ui-key + .ui-key { margin-left: 4px; }

/* Score ring on the Home panel */
.ui-score { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; background: var(--card); border-radius: 10px; padding: 12px; }
.ring { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) var(--pct, 88%), rgba(255,255,255,.08) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--card); }
.ring b { position: relative; font-size: 15px; font-weight: 700; letter-spacing: -0.5px; }
.ui-score p { font-size: 11px; line-height: 1.5; }
.ui-score p b { color: var(--text); display: block; font-size: 12px; margin-bottom: 2px; }

/* ═══════════════ WHAT'S INCLUDED (tabbed) ═══════════════ */
.include {
  display: grid; grid-template-columns: minmax(0, 520px) 1fr;
  gap: 56px; align-items: center; justify-content: center;
}
.include-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.include-visual .app-frame { touch-action: pan-y; }
.dots { display: none; gap: 9px; }
.dot {
  width: 7px; height: 7px; padding: 0; border-radius: 50%;
  background: rgba(255,255,255,.18);
  transition: background .2s, transform .2s;
}
.dot.is-active { background: var(--accent); transform: scale(1.3); }

/* Each .shot stacks in the same frame; only .is-active is visible */
.shot {
  position: absolute; inset: 0;
  background: var(--bg);
  opacity: 0; transform: scale(1.015);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.shot.is-active { opacity: 1; transform: none; }

.include-cards { display: flex; flex-direction: column; gap: 12px; }
.inc-card {
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: var(--card);
  border-radius: 16px; padding: 20px 22px;
  transition: background .2s, transform .2s;
}
.inc-card:hover { background: var(--card-hover); transform: translateX(3px); }
.inc-card.is-active {
  background: linear-gradient(90deg, rgba(79,125,255,.24), rgba(79,125,255,.05) 70%), var(--card-hover);
}
.inc-card .icon { margin-bottom: 0; }
.inc-card:hover .icon { color: var(--text); }
.inc-card.is-active .icon { color: var(--accent); }
.inc-body { display: flex; flex-direction: column; gap: 4px; }
.inc-body b { font-size: 15.5px; font-weight: 600; letter-spacing: -0.3px; color: var(--text); }
.inc-body span { font-size: 13.5px; line-height: 1.65; color: var(--body); }

/* ═══════════════ CARDS ═══════════════ */
.card {
  background: var(--card);
  border-radius: 16px; padding: 26px;
  transition: transform .2s, background .2s;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14px; line-height: 1.7; }
.card.sm { padding: 22px; }
/* bare stroke icons — no tile, colour driven by currentColor */
.icon {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  margin-bottom: 16px; flex-shrink: 0;
  color: var(--body); transition: color .2s;
}
.icon svg { width: 100%; height: 100%; display: block; }
.card .icon { color: var(--accent); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ═══════════════ PRODUCT CARDS ═══════════════ */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product {
  display: flex; flex-direction: column;
  background: var(--card); border-radius: 20px; overflow: hidden;
  transition: transform .25s var(--ease), background .2s;
}
.product:hover { transform: translateY(-4px); background: var(--card-hover); }
.product-media { aspect-ratio: 16 / 9; overflow: hidden; background: #0E0D0E; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.product:hover .product-media img { transform: scale(1.03); }
.product-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 20px; letter-spacing: -0.6px; }
.product-body p { font-size: 14px; line-height: 1.7; }
.product-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 22px; font-weight: 700; letter-spacing: -0.8px; color: var(--text); }
.price small { font-size: 12px; font-weight: 500; color: var(--subtext); letter-spacing: 0; margin-left: 4px; }

/* ═══════════════ STEPS ═══════════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--card); border-radius: 16px; padding: 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--accent); margin-bottom: 16px; letter-spacing: 1px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.7; }

/* ═══════════════ PRICING ═══════════════ */
.pricing { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: stretch; }
.price-card {
  background: var(--card); border-radius: 22px; padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
  background-image: radial-gradient(ellipse 70% 80% at 0% 0%, rgba(79,125,255,.12), transparent 70%);
}
.price-card .price { font-size: 46px; letter-spacing: -2px; line-height: 1; }
.price-card .price small { font-size: 14px; }
.price-card .btn { align-self: flex-start; min-width: 220px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--body); line-height: 1.6; }
.checks li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F7DFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.checks li b { color: var(--text); font-weight: 600; }
.price-side { display: flex; flex-direction: column; gap: 16px; }
.buy-note { font-size: 12.5px; color: var(--subtext); line-height: 1.6; }
.buy-note b { color: var(--body); font-weight: 600; }

/* Inline checkout status (store.js paints this) */
.buy-status { font-size: 13px; line-height: 1.6; color: var(--body); }
.buy-status:empty { display: none; }
.buy-status.err { color: #FF8A80; }
.buy-status a { color: var(--accent); font-weight: 600; }
.buy-status b { color: var(--text); font-weight: 600; }

/* ═══════════════ FAQ ═══════════════ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 14px; padding: 18px 22px; }
.faq summary {
  cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600; letter-spacing: -0.2px; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--body); font-size: 20px; font-weight: 400;
  line-height: 1; transition: transform .2s var(--ease); flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { font-size: 14px; line-height: 1.7; margin-top: 14px; }
.faq ol, .faq ul { margin: 14px 0 2px; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.faq li { font-size: 14px; line-height: 1.7; color: var(--body); padding-left: 4px; }
.faq li::marker { color: var(--body); font-weight: 400; }
.faq b { color: var(--text); font-weight: 600; }
.faq a { color: var(--accent); font-weight: 600; }
.faq-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.faq-btns .btn { font-size: 13.5px; padding: 11px 18px; }

/* ═══════════════ CTA BAND ═══════════════ */
.cta-band {
  background: var(--card);
  border-radius: 22px; padding: 56px 40px; text-align: center;
  background-image: radial-gradient(ellipse 60% 90% at 50% 0%, rgba(79,125,255,.12), transparent 70%);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band .lead { margin-bottom: 28px; }

/* ═══════════════ PAGE HEAD ═══════════════ */
.page-head {
  padding: 76px 0 60px;
  background-image: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(79,125,255,.08), transparent 70%);
}
.page-head h1 { margin-bottom: 18px; }

/* ═══════════════ SUPPORT ═══════════════ */
.support-grid .card { display: flex; flex-direction: column; align-items: flex-start; }
.support-grid .card p { flex: 1; }
.support-grid .card .btn { margin-top: 18px; }

/* ═══════════════ SUCCESS ═══════════════ */
.success-card { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.key-box {
  font-family: var(--mono); font-size: 17px; letter-spacing: 1px; color: var(--text);
  background: var(--card-deep); border: 1px solid var(--border-bright); border-radius: 12px;
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  word-break: break-all;
}
.key-box button { font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--accent); flex-shrink: 0; letter-spacing: 0; }
.success-card ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.success-card li { font-size: 14px; line-height: 1.7; color: var(--body); }
.success-card li b { color: var(--text); font-weight: 600; }

/* ═══════════════ FOOTER ═══════════════ */
.footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 16px; list-style: none; flex-wrap: wrap; }
.footer-links button, .footer-links a { font-size: 12.5px; font-weight: 500; color: var(--body); transition: color .15s; }
.footer-links button:hover, .footer-links a:hover { color: var(--text); }
.footer-links button.muted { color: var(--subtext); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1000px) {
  .include { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
  .include-cards { width: 100%; max-width: 560px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { padding-right: 0; }
}

@media (max-width: 767px) {
  .nav-inner { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .footer-inner { padding: 24px 20px; align-items: flex-start; flex-direction: column; }

  .hero-inner { padding: 36px 20px 56px; min-height: auto; }
  .hero-copy h1 { font-size: clamp(34px, 9.5vw, 50px); letter-spacing: -1.8px; }
  .hero-btns { width: 100%; }
  .hero-btns .btn { flex: 1; }

  .page-head { padding: 48px 0 40px; }
  .cta-band { padding: 40px 24px; }
  .inc-card { padding: 16px 18px; gap: 13px; }
  .dots { display: flex; }

  .products, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px; }
  .price-card .btn { align-self: stretch; }
  .ui { grid-template-columns: 92px 1fr; }
  .ui-main { padding: 12px; }
  .ui-row { font-size: 10.5px; padding: 6px 8px; }
  .app-bar span { display: none; }
}

/* ═══════════════ TERMS ═══════════════ */
.terms { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin: 0 auto; }

.term-card { background: var(--card); border-radius: 18px; padding: 30px 32px; }
.term-num {
  display: block; font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--accent); letter-spacing: 1.5px; margin-bottom: 14px;
}
.term-card h3 { font-size: 19px; letter-spacing: -0.5px; margin-bottom: 12px; }
.term-card p { font-size: 14.5px; line-height: 1.8; }
.term-card p + p { margin-top: 14px; }
.term-card strong, .term-card b { color: var(--text); font-weight: 600; }

/* Data-collected list inside section 06 */
.data-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 16px 0 4px; }
.data-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.6; color: var(--body);
}
.data-list li::before {
  content: ""; flex-shrink: 0; width: 5px; height: 5px; margin-top: 8px;
  border-radius: 50%; background: var(--accent);
}

/* Example violation log */
.log-card {
  background: var(--card-deep); border: 1px solid var(--border-bright);
  border-radius: 14px; overflow: hidden; margin: 22px 0 6px;
}
.log-head {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--border);
  background: rgba(255, 138, 128, 0.06);
}
.log-head b {
  font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--warn);
}
.log-head .example-tag {
  margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .6px;
  color: var(--subtext); background: rgba(255,255,255,.06);
  padding: 3px 9px; border-radius: 999px;
}
.log-body { padding: 6px 18px 14px; }
.log-row { display: grid; grid-template-columns: 132px 1fr; gap: 14px; padding: 9px 0; align-items: start; }
.log-row + .log-row { border-top: 1px solid var(--divider); }
.log-row dt { font-size: 12px; font-weight: 600; color: var(--subtext); letter-spacing: -0.1px; }
.log-row dd {
  font-family: var(--mono); font-size: 12px; line-height: 1.6;
  color: var(--body); word-break: break-all;
}

/* Closing acceptance block */
.accept-band {
  background: var(--card); border-radius: 18px; padding: 32px;
  background-image: radial-gradient(ellipse 70% 100% at 0% 0%, rgba(79,125,255,.10), transparent 70%);
  max-width: 820px; margin: 16px auto 0;
}
.accept-band h3 { font-size: 19px; letter-spacing: -0.5px; margin-bottom: 12px; }
.accept-band p { font-size: 14.5px; line-height: 1.8; }

.terms-meta { max-width: 820px; margin: 24px auto 0; font-size: 12.5px; color: var(--subtext); }

@media (max-width: 767px) {
  .term-card { padding: 24px 22px; }
  .data-list { grid-template-columns: 1fr; }
  .log-row { grid-template-columns: 1fr; gap: 3px; }
  .accept-band { padding: 26px 22px; }
}

/* ═══════════════ PRICING TIERS ═══════════════ */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }

.tier-card {
  position: relative; background: var(--card); border-radius: 22px; padding: 34px;
  display: flex; flex-direction: column; gap: 16px;
}
.tier-card.is-featured {
  box-shadow: inset 0 0 0 1px var(--accent-line);
  background-image: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(79,125,255,.14), transparent 70%);
}

.tier-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tier-head h3 { font-size: 18px; letter-spacing: -0.4px; }
.tier-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}

.tier-card .price { font-size: 44px; letter-spacing: -2px; line-height: 1; }
.tier-card .price small { font-size: 13px; }
.tier-card .btn { margin-top: auto; }
.tier-note { font-size: 12.5px; line-height: 1.6; color: var(--subtext); }

/* A feature the tier does NOT include — muted, with a cross instead of a tick */
.checks li.is-off { color: var(--subtext); }
.checks li.is-off::before {
  background: rgba(255,255,255,.05)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C4B4B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E")
    center / 9px no-repeat;
}
.checks li.is-off b { color: var(--body); font-weight: 600; }


@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .tier-card { padding: 26px 22px; }
  .tier-card .price { font-size: 38px; }
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

/* ═══════════════ PRODUCT CARD AS A BUTTON ═══════════════
   The home page cards open the plan picker rather than navigating,
   so they are <button>. Undo the global button reset's centring and
   press-shrink, which fight the card's own hover lift. */
button.product { text-align: left; width: 100%; font: inherit; }
button.product:active { transform: translateY(-4px); opacity: 1; }
.product-foot .price { font-size: 27px; }
.product-foot .price small { font-size: 13px; }

/* ═══════════════ PLAN PICKER DIALOG ═══════════════ */
.pdlg {
  border: none; padding: 26px; margin: auto;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  background: var(--card); color: var(--text);
  border-radius: 22px; overflow: auto;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
  background-image: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(79,125,255,.10), transparent 70%);
}
.pdlg::backdrop {
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.pdlg[open] { animation: fadeUp .28s var(--ease); }

.pdlg-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.pdlg-title { flex: 1; min-width: 0; }
.pdlg-title h3 { font-size: 22px; letter-spacing: -0.6px; margin-bottom: 6px; }
.pdlg-title p { font-size: 14px; line-height: 1.6; }

.pdlg-close {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 21px; line-height: 1; color: var(--body);
  background: rgba(255, 255, 255, .06);
  transition: background .15s, color .15s;
}
.pdlg-close:hover { background: rgba(255, 255, 255, .13); color: var(--text); }

.pdlg-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.pdlg-tier {
  background: var(--card-deep); border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.pdlg-tier.is-featured { box-shadow: inset 0 0 0 1px var(--accent-line); }

.pdlg-tier-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.pdlg-tier-head b { font-size: 15px; font-weight: 600; letter-spacing: -0.3px; }
.pdlg-tier-head .price { flex-basis: 100%; font-size: 32px; letter-spacing: -1.2px; }
.pdlg-tier-head .price small { font-size: 12px; }
.pdlg-tier .checks { flex: 1; }
.pdlg-tier .checks li { font-size: 13.5px; }
.pdlg-tier .btn { margin-top: auto; }

.pdlg-more {
  display: inline-block; margin-top: 20px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  transition: filter .15s;
}
.pdlg-more:hover { filter: brightness(1.2); }

@media (max-width: 620px) {
  .pdlg { padding: 20px; }
  .pdlg-tiers { grid-template-columns: 1fr; }
  .pdlg-tier { padding: 18px; }
}
