/* ============================================================
   Lock Ten Studio — site styles
   Lock Ten Studio Design System:
   indigo ink + gate blue + cool slate neutrals, pure white ground.
   Display: Instrument Serif · UI/body: Geist · spec data: Geist Mono.
   No warm tones, no gradients.
   ============================================================ */

/* ------------------------------------------------------------
   Self-hosted fonts (variable, latin + latin-ext subsets)
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/geist-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/geist-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/geist-mono-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/geist-mono-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------
   Tokens
   ------------------------------------------------------------ */
:root {
  /* Gate Blue ramp (brand / interactive) */
  --blueprint-50:  #EAF3FB;
  --blueprint-100: #D3E6F7;
  --blueprint-200: #A8CCEE;
  --blueprint-300: #74ABE3;
  --blueprint-600: #1C71C1;
  --blueprint-700: #155DA3;
  --blueprint-800: #114A82;

  /* Slate (true cool grey-blue neutrals — reads grey, never violet)
     Matches the Lock Ten Design System neutral ramp. */
  --slate-50:  #F5F7F9;
  --slate-100: #EAECF0;
  --slate-200: #D7DBE0;
  --slate-300: #B6BCC5;
  --slate-400: #888F9C;
  --slate-500: #5B6470;
  --slate-600: #424A55;
  --slate-700: #2D343D;
  --slate-800: #1D232B;
  --slate-900: #11161C;
  --ink-indigo: #272260;  /* logo color only — never for text or neutrals */

  --white: #FFFFFF;
  --black: #0A0820;

  /* Deep navy (dark surfaces — blue-cast, not indigo) */
  --deep-900: #0C1B38;
  --deep-800: #142A52;
  --steel-600: #2F507F;
  --steel-400: #6F8AB0;
  --steel-300: #A9BFDC;

  /* Semantic roles */
  --bg:          var(--white);
  --bg-subtle:   var(--slate-50);
  --fg:          var(--slate-900);
  --fg-2:        var(--slate-700);
  --fg-3:        var(--slate-500);
  --line:        var(--slate-200);
  --line-strong: var(--slate-300);
  --brand:       var(--blueprint-600);
  --brand-hover: var(--blueprint-700);

  /* Type families */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-sans:    'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Radius + elevation */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 2px rgba(17, 22, 28, 0.06), 0 1px 1px rgba(17, 22, 28, 0.05);
  --shadow-2: 0 4px 12px -2px rgba(17, 22, 28, 0.10), 0 2px 4px rgba(17, 22, 28, 0.05);
  --shadow-3: 0 18px 40px -12px rgba(17, 22, 28, 0.20), 0 6px 12px rgba(17, 22, 28, 0.07);

  --ease: cubic-bezier(0.2, 0, 0, 1);

  --content-max: 1180px;
  --gutter: 40px;

  /* Backward-compatible aliases (used by legal/billing inline styles) */
  --display: var(--font-display);
  --body: var(--font-sans);
  --ink: var(--slate-900);
  --mute: var(--slate-500);
  --walnut: var(--blueprint-700);
  --paper: var(--white);
}

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

html { scroll-behavior: smooth; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--blueprint-100); color: var(--slate-900); }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--slate-900);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------
   Section labels — mono with a short gate-blue rule
   ------------------------------------------------------------ */
.label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.1rem;
}
.label::before { content: ""; width: 30px; height: 1px; background: var(--brand); flex: none; }
.label-center { justify-content: center; }
.label-center::after { content: ""; width: 30px; height: 1px; background: var(--brand); flex: none; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 12px 22px;
  cursor: pointer;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: background 180ms var(--ease), color 180ms, transform 100ms, border-color 180ms, box-shadow 180ms;
}
.btn svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--brand); color: var(--white); box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--brand-hover); box-shadow: var(--shadow-2); }
.btn-primary:active { background: var(--blueprint-800); transform: translateY(1px); }

.btn-secondary {
  background: var(--white);
  color: var(--fg);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-1);
}
.btn-secondary:hover { background: var(--bg-subtle); }

.btn-ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.55); }

/* ------------------------------------------------------------
   Store badge pairs (Apple App Store + Google Play)
   Both badges are official artwork and must never be restyled,
   recolored, cropped or distorted. Widths are set so the two read
   the same visual height: the Google asset bakes Google's required
   clear space (a quarter of the badge height) into the image, so it
   is ~29% wider and taller than its visible badge. That is also why
   the flex gap is small; the artwork supplies the rest of the space.
     large: Apple 200x67   Google 258x100 (visible 225x67)
     small: Apple 140x47   Google 181x70  (visible 158x47)
   ------------------------------------------------------------ */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.store-badges a { display: inline-block; transition: transform 0.15s ease; }
.store-badges a:hover { transform: scale(1.04); }
.store-badges img { display: block; height: auto; }
.store-badges .badge-apple img { width: 200px; }
.store-badges .badge-google img { width: 258px; }
.store-badges-sm .badge-apple img { width: 140px; }
.store-badges-sm .badge-google img { width: 181px; }

/* ------------------------------------------------------------
   Header — tall brand header + compact sticky bar on scroll
   ------------------------------------------------------------ */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-top: 46px;
  padding-bottom: 30px;
}

.brand { display: block; text-decoration: none; }
.brand img { height: 136px; width: auto; display: block; margin: 0 auto; }

.header-nav {
  display: flex;
  gap: 34px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.header-nav a {
  color: var(--fg-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: color 180ms;
}
.header-nav a:hover { color: var(--brand); }

/* Homepage: header merges into the dark hero */
.home .site-header { background: var(--deep-900); border-bottom: 0; }
.home .site-header .brand img { filter: brightness(0) invert(1); }
.home .site-header .header-nav a { color: var(--steel-300); }
.home .site-header .header-nav a:hover { color: var(--white); }

.compact-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform 260ms var(--ease);
}
.compact-header.visible { transform: translateY(0); }
.compact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.compact-header .brand img { height: 44px; margin: 0; }
.compact-header .header-nav { gap: 26px; }

/* ------------------------------------------------------------
   Hero — dark, contour lines draw themselves in
   ------------------------------------------------------------ */
.hero-dark {
  position: relative;
  background: var(--deep-900);
  color: var(--white);
  padding: 104px 0 132px;
  overflow: hidden;
}

.hero-contours {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-contours svg {
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: max(100%, 1500px);
  height: auto;
}
.hero-contours path { stroke: var(--steel-600); opacity: 0.55; }
.hero-contours path.p-accent { stroke: var(--blueprint-600); opacity: 0.6; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-contours path {
    stroke-dasharray: 2600;
    stroke-dashoffset: 2600;
    animation: draw 2.8s var(--ease) forwards;
  }
  .js .hero-contours path:nth-of-type(2) { animation-delay: 0.12s; }
  .js .hero-contours path:nth-of-type(3) { animation-delay: 0.24s; }
  .js .hero-contours path:nth-of-type(4) { animation-delay: 0.36s; }
  .js .hero-contours path:nth-of-type(5) { animation-delay: 0.48s; }
  .js .hero-contours path:nth-of-type(6) { animation-delay: 0.6s; }
  .js .hero-contours path:nth-of-type(7) { animation-delay: 0.72s; }
  .js .hero-contours path:nth-of-type(8) { animation-delay: 0.84s; }
  .js .hero-contours path:nth-of-type(9) { animation-delay: 0.96s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-dark .container { position: relative; }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 6.4vw, 5.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 13ch;
  text-wrap: balance;
}
.hero-headline em { font-style: italic; color: var(--blueprint-300); }

.hero-subhead {
  font-family: var(--font-sans);
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  color: rgba(243, 243, 248, 0.8);
  max-width: 580px;
  line-height: 1.65;
  margin-top: 30px;
}

.hero-actions { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

.hero-geo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--gutter);
  max-width: var(--content-max);
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-400);
}

/* Hero load-in (no-JS safe: scoped to .js) */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.js .hero-headline,
.js .hero-subhead,
.js .hero-actions,
.js .hero-geo {
  animation: rise 0.8s var(--ease) both;
}
.js .hero-subhead { animation-delay: 0.12s; }
.js .hero-actions { animation-delay: 0.22s; }
.js .hero-geo     { animation-delay: 0.5s; }

/* ------------------------------------------------------------
   Scroll reveal (no-JS safe: scoped to .js)
   ------------------------------------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.12s; }

/* ------------------------------------------------------------
   Section scaffold
   ------------------------------------------------------------ */
.section { padding: 88px 0; }

.section-head { margin-bottom: 30px; max-width: 660px; }
.section-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--fg);
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: pretty;
}
.section-headline em { font-style: italic; color: var(--brand); }
.section-sub {
  color: var(--fg-2);
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 520px;
  margin-top: 16px;
}

/* ------------------------------------------------------------
   Products — two showcase cards with blueprint panels
   ------------------------------------------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 54px;
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow 260ms var(--ease), transform 260ms var(--ease), border-color 260ms;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 340ms var(--ease);
  z-index: 1;
}
.product-card:hover {
  box-shadow: var(--shadow-3);
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.product-card:hover::before { transform: scaleX(1); }

/* Blueprint panel: dark indigo ground, faint grid, white + gate blue linework */
.product-panel {
  background-color: var(--deep-800);
  background-image:
    linear-gradient(to right, rgba(168, 204, 238, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 204, 238, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 30px;
}
.product-panel svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  transition: transform 400ms var(--ease);
}
.product-card:hover .product-panel svg { transform: translateY(-5px); }

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 32px 30px;
}

.product-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.product-name-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.product-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--fg);
  letter-spacing: -0.015em;
}

.tag {
  font-size: 0.7rem;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.tag-soon { background: var(--bg-subtle); color: var(--fg-2); border: 1px solid var(--line); }
.tag-live { background: #1C71C1; color: #FFFFFF; border: 1px solid #1C71C1; }

.product-role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--brand);
  line-height: 1.3;
  margin-top: 8px;
}

.product-body {
  font-size: 0.99rem;
  color: var(--fg-2);
  line-height: 1.65;
  margin-top: 14px;
  text-wrap: pretty;
}

.product-body { margin-bottom: 24px; }
.product-spec {
  display: flex;
  align-items: baseline;
  gap: 10px 22px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.product-price { font-family: var(--font-sans); font-weight: 600; color: var(--fg); font-size: 1.05rem; }
.product-price .per { font-weight: 400; color: var(--fg-3); font-size: 0.85rem; }
.product-trial {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-3);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   Studio band (blueprint grid, asymmetric editorial)
   ------------------------------------------------------------ */
.bp-grid {
  background-image:
    linear-gradient(to right, rgba(28, 113, 193, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 113, 193, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 0;
  background-color: var(--bg-subtle);
}
.trust-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .trust-cols { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
}
.trust-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-wrap: balance;
}
.trust-headline em { font-style: italic; color: var(--brand); }
.trust-copy { border-left: 1px solid var(--line-strong); padding-left: 36px; }
.trust-copy p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--fg-2);
  margin-bottom: 1.15rem;
  max-width: 58ch;
}
.trust-copy p:last-of-type { margin-bottom: 0; }
@media (max-width: 899px) {
  .trust-copy { border-left: 0; padding-left: 0; }
}

/* ------------------------------------------------------------
   Newsletter (dark masthead)
   ------------------------------------------------------------ */
.newsletter {
  position: relative;
  background: var(--deep-900);
  color: var(--white);
  padding: 96px 0;
  overflow: hidden;
}
.newsletter .contour-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  color: var(--blueprint-200);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}
.newsletter .contour-field svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, 1440px);
  height: auto;
  opacity: 0.07;
}
.newsletter .container { position: relative; }
.newsletter-grid { max-width: 660px; margin: 0 auto; text-align: center; }
.newsletter .label { color: var(--blueprint-300); }
.newsletter .label::before, .newsletter .label::after { background: var(--blueprint-300); }

.masthead { margin-top: 10px; }
.m-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--white);
  padding: 0.14em 0;
  border-top: 1px solid rgba(243, 243, 248, 0.16);
}
.m-line:first-child { border-top: 0; }
.m-line em { font-style: italic; color: var(--blueprint-300); }

.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blueprint-200);
  border: 1.5px solid var(--blueprint-300);
  border-radius: 3px;
  padding: 8px 16px;
  margin-top: 26px;
  transform: rotate(-2.5deg);
}

.newsletter-body {
  color: rgba(243, 243, 248, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 24px auto 0;
}
.newsletter-card {
  background: var(--white);
  color: var(--fg);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  max-width: 520px;
  margin: 36px auto 0;
  text-align: left;
}
.newsletter-card .lead-in {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg-2);
  margin-bottom: 14px;
}
.newsletter-card iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 150px !important;
  border: none;
  display: block;
}
.newsletter-fallback { font-size: 0.95rem; color: var(--fg-2); }
.newsletter-fallback a { color: var(--brand); font-weight: 600; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 72px 0 36px;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.footer-brand .brand img { height: 116px; margin: 0 auto; }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 460px;
  margin: 0 auto;
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.footer-nav a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  transition: color 180ms;
}
.footer-nav a:hover { color: var(--brand); }
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-3);
}
.footer-contact-block a { color: var(--fg-3); text-decoration: none; }
.footer-contact-block a:hover { color: var(--brand); }

.footer-social { display: flex; justify-content: center; gap: 18px; }
.footer-social a { color: var(--fg-3); display: inline-flex; padding: 4px; transition: color 180ms, transform 180ms var(--ease); }
.footer-social a:hover { color: var(--brand); transform: translateY(-1px); }
.footer-social svg { width: 20px; height: 20px; }

.footer-legal {
  margin-top: 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--fg-3);
}
.footer-legal a { color: var(--fg-3); text-decoration: none; }
.footer-legal a:hover { color: var(--brand); }

/* ------------------------------------------------------------
   Legal pages
   ------------------------------------------------------------ */
.legal { padding: 72px 0; }
.legal .container { max-width: 760px; }
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  line-height: 1.05;
}
.legal .updated {
  font-family: var(--font-mono);
  color: var(--fg-3);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
}
.legal p { margin: 0 0 1rem; color: var(--fg-2); line-height: 1.7; }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal ul { margin: 0 0 1rem; padding-left: 1.4rem; }
.legal li { margin-bottom: 0.5rem; color: var(--fg-2); line-height: 1.7; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 3rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.back-link:hover { color: var(--brand-hover); }

/* ------------------------------------------------------------
   Legacy class support (old markup on legal/billing pages)
   ------------------------------------------------------------ */
.footer-mark { font-weight: 600; font-size: 1.05rem; color: var(--fg); }
.footer-positioning { font-size: 0.9rem; color: var(--fg-3); }

/* ------------------------------------------------------------
   Reduced motion / responsive / print
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 24px; }
  .brand img { height: 104px; }
  .header-inner { padding-top: 34px; gap: 20px; }
  .header-nav { gap: 16px 22px; }
  .hero-dark { padding: 72px 0 110px; }
  .hero-geo { font-size: 0.62rem; }
  .section { padding: 64px 0; }
  .product-row { padding: 44px 0; gap: 32px; }
  .trust, .newsletter { padding: 76px 0; }
  .compact-header .header-nav a:not(:first-child):not(:last-child) { display: none; }
}

@media print {
  .site-header, .compact-header, .newsletter, .site-footer { display: none; }
  body { background: white; color: black; }
  .hero-dark, .section, .trust { padding: 1rem 0; }
}

.product-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--brand); font-weight: 500; font-size: 0.92rem; text-decoration: none; transition: gap 160ms var(--ease), color 160ms; }
.product-more:hover { color: var(--brand-hover); gap: 10px; }

.product-tiers { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.product-tiers .tiers-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; }
.product-tiers ul { list-style: none; margin: 0; padding: 0; }
.product-tiers li { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; font-size: 1rem; color: var(--fg-2); }
.product-tiers li .t-name { font-weight: 500; }
.product-tiers li.hero { color: var(--fg); }
.product-tiers li.hero .t-name { font-weight: 700; }
.product-tiers li.hero .t-price { font-weight: 700; color: var(--brand); }
