/* =========================================================================
   Proactive Storage — marketing site styles
   Aesthetic: engineered / industrial-tech. Ink + warm paper + signal green.
   ========================================================================= */

/* Red Hat superfamily is loaded via <link> in the layout head (with preconnect). */

:root {
  --ink:        #16212B;   /* Ink base — hero, footer, product mockups */
  --ink-2:      #0F1820;   /* Ink deep — layering / cards within dark sections */
  --ink-3:      #1f2d3a;   /* lighter ink for hovers / keys */
  --ink-card:   #0F1820;
  --paper:      #F4F6F8;   /* Surface light — light content-section backgrounds */
  --paper-2:    #ffffff;   /* white cards on light sections */
  --white:      #ffffff;

  --signal:      #6FBF3F;  /* Active green — core: accents, buttons, links, online */
  --signal-2:    #8FD14F;  /* Active green — bright: green on dark backgrounds */
  --signal-deep: #3B6D11;  /* Active green — deep: green text / small UI on light */
  --signal-dim:  rgba(111, 191, 63, 0.14);
  --amber:      #ffb84d;
  --alert:      #ff6b5e;

  --text-light:  #eef2f6;   /* primary text on dark */
  --muted-light: #93a0ad;   /* muted/secondary UI labels on dark */
  --text-on-dark: #C2CAD2;  /* body copy on dark (AA >=4.5:1 on ink #16212B) */
  --text-dark:   #16212B;   /* primary text on light */
  --muted-dark:  #5A6470;   /* Muted — secondary text, captions */

  --line-light: rgba(255, 255, 255, 0.09);
  --line-dark:  #E4E4DE;    /* Border — hairline borders on light */

  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 84px;    /* nav bar height — frames the 72px logo; drives scroll offset + mobile menu */

  --font-display: 'Red Hat Display', system-ui, sans-serif;
  --font-body: 'Red Hat Text', system-ui, sans-serif;
  --font-mono: 'Red Hat Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-light);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--signal-2);
  display: inline-block;
}
.eyebrow.dark { color: var(--signal-deep); }
.eyebrow.dark::before { background: var(--signal-deep); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--text-on-dark); font-weight: 400; }
.section-light .lead { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.98rem;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--signal); color: var(--ink); box-shadow: 0 0 0 0 var(--signal-dim); }
.btn-primary:hover { background: var(--signal-2); box-shadow: 0 14px 40px -12px rgba(111, 191, 63, 0.45); }
.btn-ghost { background: transparent; color: var(--text-light); border-color: var(--line-light); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }
.btn-dark { background: var(--ink); color: var(--text-light); }
.btn-dark:hover { background: var(--ink-3); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(12, 14, 17, 0.72);
  border-bottom: 1px solid var(--line-light);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; }
/* Wordmark lockup PNG (icon + name). Source art fills only the middle ~43% of the
   canvas height, so the rendered height is set larger to compensate for that padding. */
.brand-logo { height: 72px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 0.95rem; color: var(--muted-light); font-weight: 500;
  padding: 9px 14px; border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text-light); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--text-light); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-login { font-size: 0.95rem; font-weight: 500; color: var(--muted-light); padding: 9px 14px; }
.nav-login:hover { color: var(--text-light); }
.nav-cta .btn { padding: 11px 20px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-light); border-radius: 9px; width: 42px; height: 42px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text-light); margin: 3px auto; transition: 0.3s; }

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: 96px 0; }
.section-light { background: var(--paper); color: var(--text-dark); }
.section-light h1, .section-light h2, .section-light h3 { color: var(--text-dark); }
.section-paper2 { background: var(--paper-2); color: var(--text-dark); }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 420px at 78% 18%, rgba(111, 191, 63, 0.14), transparent 70%),
    radial-gradient(800px 600px at 10% 110%, rgba(143, 209, 79, 0.06), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(680px 520px at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(680px 520px at 70% 30%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin: 22px 0 0; }
.hero h1 .em { color: var(--signal-2); }
.hero .lead { margin: 26px 0 34px; max-width: 30ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* keypad device visual */
.device { position: relative; display: grid; place-items: center; }
.keypad {
  width: 290px; background: linear-gradient(160deg, #20262e, #11151a);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px; padding: 26px 24px 30px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative; z-index: 2;
}
.keypad-screen {
  background: #05080a; border-radius: 12px; padding: 16px 18px;
  border: 1px solid rgba(143, 209, 79, 0.22);
  font-family: var(--font-mono); margin-bottom: 22px; min-height: 78px;
  display: flex; flex-direction: column; justify-content: center;
}
.keypad-screen .ks-status { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--muted-light); text-transform: uppercase; }
.keypad-screen .ks-main { font-size: 1.35rem; color: var(--signal-2); margin-top: 6px; letter-spacing: 0.06em; transition: color 0.3s; }
.keypad-screen.granted { border-color: var(--signal-2); box-shadow: 0 0 30px -6px rgba(143, 209, 79, 0.4); }
.keypad-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.key {
  aspect-ratio: 1; border-radius: 13px; border: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(160deg, #283038, #1a2027);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 1.15rem; color: #cfd6dd;
  cursor: pointer; user-select: none;
  transition: transform 0.08s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.key:hover { background: #2f3942; color: var(--white); }
.key:active, .key.lit { transform: scale(0.94); background: var(--signal); color: var(--ink); box-shadow: 0 0 22px -4px rgba(143, 209, 79, 0.55); }

/* floating chips around device */
.float-chip {
  position: absolute; z-index: 3;
  background: rgba(22, 27, 33, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-light);
  border-radius: 13px; padding: 12px 15px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7);
  font-size: 0.82rem;
}
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.float-chip .dot.on { background: var(--signal-2); box-shadow: 0 0 10px var(--signal-2); }
.float-chip .dot.off { background: var(--alert); box-shadow: 0 0 10px var(--alert); }
.float-chip small { display: block; color: var(--muted-light); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; }
.chip-online { top: 6%; left: -22px; }
.chip-alert { bottom: 10%; right: -30px; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.chip-online { animation: floaty 5s ease-in-out infinite; }
.chip-alert { animation: floaty 6s ease-in-out infinite 0.6s; }

/* ---------- Stat bar ---------- */
.statbar { background: var(--ink-2); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 30px 24px; border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--signal-2); line-height: 1; }
.stat .lbl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted-light); margin-top: 9px; text-transform: uppercase; }

/* ---------- Generic content blocks ---------- */
.section-head { max-width: 720px; }
.section-head h2 { margin: 16px 0 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pillar {
  background: var(--paper-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pillar:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(18,22,28,0.3); }
.pillar .picon { width: 50px; height: 50px; border-radius: 13px; background: var(--ink); display: grid; place-items: center; margin-bottom: 22px; }
.pillar .picon svg { width: 24px; height: 24px; stroke: var(--signal-2); }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--muted-dark); font-size: 0.97rem; }

/* feature rows with mockups */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line-dark); }
.feature-row:first-of-type { border-top: none; }
.feature-row.flip .feat-media { order: -1; }
.feature-row h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 14px 0 16px; }
.feature-row p { color: var(--muted-dark); }
.feat-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; color: var(--text-dark); }
.feat-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px;
  background: var(--signal-dim);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6D11' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}

/* UI mockups (cloud dashboard, event log, alert) */
.mockup {
  background: var(--ink-2); border: 1px solid var(--line-light); border-radius: 14px;
  box-shadow: 0 36px 70px -34px rgba(18,22,28,0.45);
  overflow: hidden; color: var(--text-light);
}
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-light); background: var(--ink-3); }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: #39414b; display: inline-block; }
.mockup-bar .mtitle { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--muted-light); margin-left: 8px; }
.mockup-body { padding: 18px; }
.log-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line-light); font-size: 0.85rem; }
.log-row:last-child { border-bottom: none; }
.log-row .badge { width: 22px; height: 22px; border-radius: 7px; background: var(--signal-dim); display: grid; place-items: center; }
.log-row .badge svg { width: 12px; height: 12px; stroke: var(--signal-2); }
.log-row .who { font-weight: 600; }
.log-row .meta { font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted-light); }
.log-row .time { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted-light); }

.notif { display: flex; gap: 13px; padding: 16px; }
.notif .nicon { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; }
.notif .nicon.warn { background: rgba(255,107,94,0.16); }
.notif .nicon.warn svg { stroke: var(--alert); }
.notif .nbody .nt { font-weight: 600; font-size: 0.92rem; }
.notif .nbody .nm { font-size: 0.84rem; color: var(--muted-light); margin-top: 3px; }
.notif .nbody .nmeta { font-family: var(--font-mono); font-size: 0.64rem; color: var(--muted-light); margin-top: 7px; letter-spacing: 0.06em; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.step { border: 1px solid var(--line-light); border-radius: var(--radius); padding: 30px 26px; position: relative; background: var(--ink-2); transition: border-color 0.3s; }
.step:hover { border-color: rgba(143, 209, 79, 0.45); }
.step .snum { font-family: var(--font-mono); font-size: 0.8rem; color: var(--signal-2); letter-spacing: 0.15em; }
.step h3 { margin: 18px 0 12px; }
.step p { color: var(--text-on-dark); font-size: 0.96rem; }
.step .line-tick { position: absolute; top: 34px; right: 26px; font-family: var(--font-mono); color: var(--line-light); font-size: 2rem; }

/* ---------- Switch / before-after ---------- */
.switch { margin-top: 52px; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.switch-row { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; border-top: 1px solid var(--line-light); }
.switch-row:first-child { border-top: none; }
.switch-row .from { padding: 20px 26px; color: var(--muted-light); }
.switch-row .to { padding: 20px 26px; font-weight: 600; color: var(--text-light); background: rgba(143, 209, 79, 0.05); }
.switch-row .to b { color: var(--signal-2); font-weight: 700; }
.switch-row .mid { display: grid; place-items: center; color: var(--signal-2); }
.switch-row .mid svg { width: 20px; height: 20px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--text-dark); }
.faq-q .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: 0.3s; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--text-dark); transition: 0.3s; }
.faq-q .ic::before { width: 11px; height: 2px; }
.faq-q .ic::after { width: 2px; height: 11px; }
.faq-item.open .faq-q .ic { background: var(--signal); border-color: var(--signal); }
.faq-item.open .faq-q .ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 0 24px; color: var(--muted-dark); max-width: 70ch; }
.faq-a a { color: var(--signal-deep); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--signal); color: var(--ink); text-align: center; }
.cta-band h2 { color: var(--ink); }
.cta-band .lead { color: rgba(22, 33, 43, 0.78); margin: 18px auto 32px; max-width: 52ch; }
.cta-band .btn-dark { color: var(--text-light); }

/* ---------- Demo page ---------- */
.demo-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.demo-points { list-style: none; margin-top: 30px; display: grid; gap: 20px; }
.demo-points li { display: flex; gap: 15px; }
.demo-points .dnum { font-family: var(--font-mono); color: var(--signal-2); font-size: 0.85rem; padding-top: 3px; }
.demo-points strong { display: block; margin-bottom: 3px; }
.demo-points span { color: var(--text-on-dark); font-size: 0.95rem; }

.form-card { background: var(--paper-2); border-radius: var(--radius); padding: 38px; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5); color: var(--text-dark); }
.field { margin-bottom: 18px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text-dark);
  padding: 13px 15px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal-2); box-shadow: 0 0 0 3px var(--signal-dim); }
.field textarea { resize: vertical; min-height: 96px; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.82rem; color: var(--muted-dark); margin-top: 16px; text-align: center; }
.form-error { background: rgba(255,107,94,0.12); border: 1px solid rgba(255,107,94,0.4); color: #b23b30; padding: 12px 15px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 20px; }

.success-card { text-align: center; max-width: 560px; margin: 0 auto; }
.success-card .check { width: 78px; height: 78px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; margin: 0 auto 28px; }
.success-card .check svg { width: 38px; height: 38px; stroke: var(--ink); stroke-width: 3; }

/* ---------- Why page ---------- */
.story { display: grid; gap: 64px; margin-top: 30px; }
.story-block { display: grid; grid-template-columns: 0.4fr 1fr; gap: 48px; align-items: start; padding-top: 48px; border-top: 1px solid var(--line-light); }
.story-block:first-child { border-top: none; padding-top: 0; }
.story-block .stag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal-2); padding-top: 8px; }
.story-block h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 18px; }
.story-block p { color: var(--text-on-dark); margin-bottom: 16px; }
.photo-ph { margin: 4px 0 22px; }
.photo-ph-box {
  display: grid; place-items: center; aspect-ratio: 16 / 10; max-width: 360px;
  border: 1px dashed var(--line-light); border-radius: var(--radius); background: var(--ink-2);
  color: var(--muted-light); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em;
}
.photo-ph figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-light); }

.promise { display: grid; gap: 16px; margin-top: 8px; }
.promise .pr { padding: 22px 24px; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--ink-2); }
.promise .pr strong { color: var(--signal-2); display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 1.15rem; }
.promise .pr span { color: var(--text-on-dark); }

/* ---------- Plans page ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card {
  position: relative; background: var(--paper-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 36px 28px; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(18,22,28,0.28); }
.plan-card.featured { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal), 0 24px 50px -30px rgba(111,191,63,0.5); }
.plan-badge {
  position: absolute; top: -12px; left: 28px;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--signal); color: var(--ink); padding: 5px 12px; border-radius: 100px; font-weight: 500;
}
.plan-badge.soon { background: var(--ink); color: var(--text-light); }
.plan-tier { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--text-dark); }
.plan-name { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal-deep); margin: 8px 0 18px; }
.plan-desc { color: var(--muted-dark); font-size: 0.97rem; }

.shared-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 28px; }
.shared-strip li {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.05em; color: var(--muted-dark);
  border: 1px solid var(--line-dark); border-radius: 100px; padding: 10px 16px; background: var(--white);
  display: flex; align-items: center; gap: 9px;
}
.shared-strip li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; }

.pricing-block { max-width: 680px; margin: 0 auto; text-align: center; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 50px 40px; background: var(--ink-2); }
.pricing-block .lead { color: var(--text-on-dark); margin: 18px auto 0; max-width: 54ch; }
.pricing-block .btn { margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line-light); padding: 64px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-light); }
.footer-top p { color: var(--text-on-dark); font-size: 0.94rem; margin-top: 18px; max-width: 38ch; }
.fcol h4 { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 18px; }
.fcol a, .fcol address { display: block; color: var(--text-light); font-size: 0.95rem; font-style: normal; margin-bottom: 11px; transition: color 0.2s; }
.fcol a:hover { color: var(--signal-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; gap: 16px; flex-wrap: wrap; }
.footer-bottom small { color: var(--muted-light); font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* hero staggered intro */
.hero .reveal { transform: translateY(18px); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .demo-grid, .feature-row, .story-block { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip .feat-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pillars, .steps, .plans-grid { grid-template-columns: 1fr; }
  .device { margin-top: 20px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-login { display: none; }
  .nav-toggle { display: block; }
  .site-header.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line-light); padding: 16px 28px 24px; gap: 4px;
  }
  .site-header.menu-open .nav-links a { padding: 13px 14px; }
  .switch-row { grid-template-columns: 1fr; }
  .switch-row .mid { display: none; }
  .switch-row .from { padding-bottom: 6px; }
  .field.row2 { grid-template-columns: 1fr; }
  .section-pad { padding: 70px 0; }
  .form-card { padding: 26px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: none; border-bottom: 1px solid var(--line-light); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
