/* ENVAIOS LANDING PAGE — single stylesheet. Tokens copied from the Envaios design system, page layout at the end. */

/* ===== tokens/colors.css ===== */
:root {
  /* Ink — primary brand dark */
  --ink: #0A1628;
  --ink-2: #16243B;        /* hover on ink */
  --ink-3: #24344E;        /* borders on ink, raised ink surfaces */

  /* Neutrals — cool, quiet */
  --bg: #F7F8FA;           /* page canvas */
  --surface: #FFFFFF;      /* cards, sheets */
  --surface-2: #F1F3F6;    /* wells, table headers */
  --border: #E3E6EB;
  --border-strong: #D3D8E0;
  --hairline: #EDF0F4;

  /* Text on light */
  --fg-1: #0A1628;
  --fg-2: #3D4757;
  --fg-3: #66707F;
  --fg-muted: #8A93A3;
  --fg-faint: #B3BAC6;

  /* Text on ink */
  --on-ink: #FFFFFF;
  --on-ink-2: #B7C0CE;
  --on-ink-muted: #7A8494;

  /* Verified green — THE accent. CTAs, verification states, the accent row in the mark */
  --verified: #00C48C;
  --verified-strong: #00A878;   /* hover */
  --verified-text: #007E5B;     /* green as small text on white (AA) */
  --verified-tint: rgba(0,196,140,0.10);
  --verified-line: rgba(0,196,140,0.35);

  /* Semantic */
  --info: #2F6BFF;
  --info-tint: rgba(47,107,255,0.08);
  --success: #00A878;
  --success-tint: rgba(0,168,120,0.09);
  --warning: #C77E1A;
  --warning-tint: rgba(199,126,26,0.10);
  --critical: #E5484D;
  --critical-tint: rgba(229,72,77,0.08);

  /* Aliases */
  --text-body: var(--fg-2);
  --surface-card: var(--surface);
  --accent: var(--verified);
}

/* ===== tokens/typography.css ===== */
:root {
  --font-display: 'Archivo', -apple-system, 'Helvetica Neue', sans-serif;
  --font-body: 'Archivo', -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  /* Display (Archivo 600, tight) */
  --t-hero-size: 56px;   --t-hero-lh: 1.08; --t-hero-track: -0.025em;
  --t-h1-size: 44px;     --t-h1-lh: 1.12;   --t-h1-track: -0.022em;
  --t-h2-size: 32px;     --t-h2-lh: 1.18;   --t-h2-track: -0.02em;
  --t-h3-size: 24px;     --t-h3-lh: 1.25;   --t-h3-track: -0.015em;
  --t-h4-size: 19px;     --t-h4-lh: 1.3;    --t-h4-track: -0.01em;

  /* Body (Archivo 400/500) */
  --t-lead-size: 18px;   --t-lead-lh: 1.55;
  --t-body-size: 16px;   --t-body-lh: 1.6;
  --t-small-size: 14px;  --t-small-lh: 1.55;
  --t-meta-size: 13px;   --t-meta-lh: 1.5;

  /* Mono (IBM Plex Mono) — eyebrows, data, labels */
  --t-eyebrow-size: 11px; --t-eyebrow-track: 0.18em;
  --t-data-size: 13px;
  --t-code-size: 13.5px;
}

/* ===== tokens/spacing.css ===== */
:root {
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-30: 120px;

  --r-xs: 4px;   /* tags, code */
  --r-sm: 6px;   /* buttons, inputs */
  --r-md: 8px;   /* small cards, popovers */
  --r-lg: 12px;  /* cards */
  --r-xl: 16px;  /* feature panels */
  --r-pill: 999px;

  --container: 1200px;
  --gutter: 32px;
}

/* ===== tokens/effects.css ===== */
:root {
  /* Hairline-first elevation. Shadows stay cool and faint. */
  --shadow-card: 0 1px 2px rgba(10,22,40,0.05);
  --shadow-raised: 0 1px 2px rgba(10,22,40,0.04), 0 6px 20px rgba(10,22,40,0.07);
  --shadow-popover: 0 4px 12px rgba(10,22,40,0.06), 0 16px 40px rgba(10,22,40,0.12);
  --shadow-cta: 0 4px 14px rgba(0,196,140,0.28);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-base: 0.25s;

  --focus-ring: 0 0 0 3px rgba(0,196,140,0.35);
}

/* ===== tokens/base.css ===== */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
  color: var(--fg-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fg-1); text-decoration-color: var(--verified); text-underline-offset: 3px; }
a:hover { color: var(--verified-text); }
::selection { background: rgba(0,196,140,0.25); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow-size);
  letter-spacing: var(--t-eyebrow-track);
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ===== tokens/motion.css ===== */
/* ENVAIOS WEBSITE — MOTION SPEC
   One clock: 3s. Ambient loops run on it, transitions are fractions of it. */
:root {
  --m-instant: 90ms;
  --m-fast: 180ms;
  --m-base: 280ms;
  --m-slow: 480ms;
  --m-draw: 1000ms;
  --m-loop: 3000ms;

  /* Easing — decelerate for entrances, standard for state, linear for ambient */
  --m-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --m-exit: cubic-bezier(0.4, 0, 1, 1);
  --m-state: cubic-bezier(0.4, 0, 0.2, 1);
  --m-linear: linear;

  --m-lift: translateY(-2px);
  --m-press: scale(0.985);
  --m-reveal-y: 14px;
}

/* ---- Ambient icon loop: 2s held, final 1s redraws ---- */
.w-anim { transform-box: fill-box; transform-origin: 50% 50%; animation: w-icon-cycle var(--m-loop) var(--m-enter) infinite; }
@keyframes w-icon-cycle {
  0%, 63%  { stroke-dashoffset: 0; opacity: 1; transform: scale(1); }
  66.66%   { stroke-dashoffset: 1; opacity: 0; transform: scale(0.5); }
  75%      { opacity: 1; }
  100%     { stroke-dashoffset: 0; opacity: 1; transform: scale(1); }
}

/* ---- Conic sweep: one arc of verified green travelling the border ---- */
@property --w-sweep { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.w-sweep { position: relative; transition: border-color var(--m-base) var(--m-state), box-shadow var(--m-base) var(--m-state), transform var(--m-base) var(--m-state); }
.w-sweep::before {
  content: ''; position: absolute; inset: -1px; padding: 1px; pointer-events: none; z-index: 1;
  border-radius: calc(var(--sweep-r, 14px) + 1px);
  background: conic-gradient(from var(--w-sweep),
    transparent 0deg,
    var(--sweep-tint, rgba(0,196,140,0.15)) 34deg,
    var(--sweep-color, var(--verified)) 62deg,
    var(--sweep-tint, rgba(0,196,140,0.15)) 92deg,
    transparent 130deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity var(--m-base) var(--m-state);
}
.w-sweep:hover { border-color: transparent; }
.w-sweep:hover::before { opacity: 1; animation: w-sweep-spin var(--m-loop) var(--m-linear) infinite; }
@keyframes w-sweep-spin { to { --w-sweep: 360deg; } }

/* ---- Scroll reveal. Native scroll-timeline where supported; .is-in class is the fallback. ---- */
.w-reveal { opacity: 0; transform: translateY(var(--m-reveal-y)); transition: opacity var(--m-slow) var(--m-enter), transform var(--m-slow) var(--m-enter); }
.w-reveal.is-in { opacity: 1; transform: none; }
.w-reveal-2 { transition-delay: 80ms; }
.w-reveal-3 { transition-delay: 160ms; }
.w-reveal-4 { transition-delay: 240ms; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .w-reveal:not(.is-in) { animation: w-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 26%; opacity: 1; transform: none; }
  }
}
@keyframes w-rise { from { opacity: 0; transform: translateY(var(--m-reveal-y)); } to { opacity: 1; transform: none; } }

/* ---- Shared interaction transitions ---- */
.w-hoverable { transition: transform var(--m-base) var(--m-state), box-shadow var(--m-base) var(--m-state), border-color var(--m-base) var(--m-state), background var(--m-base) var(--m-state), color var(--m-base) var(--m-state); }
.w-hoverable:active { transform: var(--m-press); transition-duration: var(--m-instant); }

@media (prefers-reduced-motion: reduce) {
  .w-anim, .w-sweep:hover::before { animation: none; }
  .w-reveal { opacity: 1; transform: none; transition: none; }
  .w-hoverable:active { transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ===== tokens/website.css ===== */
/* ENVAIOS WEBSITE — SURFACE & TYPE LAYER
   Prefix: .w-*  Everything here is website-scope; product/app UI uses the base layer. */
:root {
  --w-gutter: 32px;
  --w-max: 1200px;
  --w-section: 88px;          /* vertical rhythm between sections */
  --w-section-tight: 64px;
  --w-border-rest: #F4F6F9;   /* container edge at rest — near-invisible */
  --w-label-track: 0.16em;
  --w-label-size: 11px;

  /* Semantic text colours dark enough to read on their own tints */
  --warning-text: #8A560E;
  --critical-text: #B32328;
}

.w-container { max-width: var(--w-max); margin: 0 auto; padding-left: var(--w-gutter); padding-right: var(--w-gutter); }
.w-section { padding-top: var(--w-section); padding-bottom: var(--w-section); }

/* ---- LABELS. Archivo, tracked uppercase, tabular figures. No pills, no dots. ---- */
.w-label { font-family: var(--font-body); font-weight: 600; font-size: var(--w-label-size); letter-spacing: var(--w-label-track); text-transform: uppercase; line-height: 1.4; font-variant-numeric: tabular-nums lining-nums; }
.w-label-sm { font-size: 10.5px; letter-spacing: 0.14em; }
.w-label-lg { font-size: 12px; letter-spacing: 0.18em; }
.w-num { font-family: var(--font-body); font-variant-numeric: tabular-nums lining-nums; font-feature-settings: 'tnum' 1, 'lnum' 1; letter-spacing: 0.01em; }

/* ---- EYEBROW. Hairline rule above, sized to the label's own width. ---- */
.w-eyebrow { font-family: var(--font-body); font-weight: 600; font-size: var(--w-label-size); letter-spacing: var(--w-label-track); text-transform: uppercase; color: var(--fg-muted); display: inline-block; padding-top: 11px; border-top: 1px solid var(--border-strong); }
.w-eyebrow-ink { border-top-color: var(--ink-3); color: var(--on-ink-muted); }
.w-eyebrow-verified { border-top-color: var(--verified); color: var(--verified-text); }

/* Inline label run separated by hairlines — replaces badge pills */
.w-rule-list { display: flex; align-items: center; gap: 14px; }
.w-rule-sep { width: 1px; height: 11px; background: var(--border-strong); flex: none; }
.w-rule-sep-ink { background: var(--ink-3); }

/* ---- HEADINGS ---- */
.w-h1 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: var(--t-hero-size); line-height: var(--t-hero-lh); letter-spacing: var(--t-hero-track); color: var(--fg-1); }
.w-h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: var(--t-h2-size); letter-spacing: var(--t-h2-track); line-height: 1.18; color: var(--fg-1); }
.w-h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: var(--t-h3-size); letter-spacing: var(--t-h3-track); line-height: 1.25; color: var(--fg-1); }
.w-h4 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: var(--t-h4-size); letter-spacing: var(--t-h4-track); line-height: 1.3; color: var(--fg-1); }
.w-lead { margin: 0; font-size: var(--t-lead-size); line-height: var(--t-lead-lh); color: var(--fg-2); }
.w-body { margin: 0; font-size: var(--t-small-size); line-height: var(--t-small-lh); color: var(--fg-2); }
.w-on-ink { color: var(--on-ink); }
.w-on-ink-2 { color: var(--on-ink-2); }

/* ---- CONTAINERS ---- */
.w-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--w-border-rest); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-card); --sweep-r: var(--r-lg); }
/* Footer rule + icon, pinned to the card's base so side-by-side cards align.
   The rule is a ::before so 20px always sits above it, even on the tallest card
   where margin-top:auto resolves to zero. Flex prevents margin collapse. */
.w-card-foot { margin-top: auto; display: flex; flex-direction: column; }
.w-card-foot::before { content: ''; height: 1px; background: var(--hairline); margin-top: 20px; margin-bottom: 14px; }
.w-card-foot-ink::before { background: var(--ink-3); }
.w-card:hover { box-shadow: var(--shadow-raised); }
.w-panel { background: var(--ink); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-raised); }
.w-panel-grid { background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px); background-size: 28px 28px; }
.w-well { background: var(--surface-2); border-radius: var(--r-md); padding: var(--s-5); }
.w-row-ink { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--ink-3); border-radius: var(--r-md); padding: 12px 16px; --sweep-r: var(--r-md); --sweep-tint: rgba(0,196,140,0.2); }
.w-divider { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* Sweep colour follows the container's state, not the brand default */
.w-sweep-verified { --sweep-color: var(--verified); --sweep-tint: rgba(0,196,140,0.20); }
.w-sweep-warning  { --sweep-color: var(--warning);  --sweep-tint: rgba(199,126,26,0.22); }
.w-sweep-critical { --sweep-color: var(--critical); --sweep-tint: rgba(229,72,77,0.22); }

/* ---- BUTTONS ---- */
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 500; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: transform var(--m-base) var(--m-state), box-shadow var(--m-base) var(--m-state), border-color var(--m-base) var(--m-state), background var(--m-base) var(--m-state), color var(--m-base) var(--m-state); }
.w-btn:active { transform: var(--m-press); transition-duration: var(--m-instant); }
.w-btn:focus-visible { outline: 2px solid var(--verified); outline-offset: 2px; }
.w-btn[disabled], .w-btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.w-btn-sm { font-size: 13px; padding: 7px 14px; }
.w-btn-md { font-size: 14px; padding: 10px 20px; }
.w-btn-lg { font-size: 15px; padding: 13px 26px; }
.w-btn-primary { background: var(--verified); color: #04281D; font-weight: 600; }
.w-btn-primary:hover { background: var(--verified-strong); color: #04281D; }
.w-btn-secondary { background: var(--surface); color: var(--fg-1); border-color: var(--border); }
.w-btn-secondary:hover { border-color: var(--border-strong); color: var(--fg-1); }
.w-btn-ghost { background: transparent; color: var(--fg-2); }
.w-btn-ghost:hover { background: var(--surface-2); color: var(--fg-1); }
.w-btn-ink { background: var(--ink); color: var(--on-ink); }
.w-btn-ink:hover { background: var(--ink-2); color: var(--on-ink); }
.w-btn-on-ink { background: transparent; color: var(--on-ink); border-color: var(--ink-3); }
.w-btn-on-ink:hover { border-color: var(--on-ink-muted); }

/* ---- LINKS ---- */
.w-link { color: var(--verified-text); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--m-fast) var(--m-state); }
.w-link:hover { border-bottom-color: currentColor; }
.w-navlink { font-size: 14px; font-weight: 500; color: var(--fg-2); text-decoration: none; transition: color var(--m-fast) var(--m-state); }
.w-navlink:hover { color: var(--fg-1); }
.w-footlink { font-size: 14px; color: var(--fg-2); text-decoration: none; transition: color var(--m-fast) var(--m-state); }
.w-footlink:hover { color: var(--verified-text); }

/* ---- ICONS ---- */
.w-icon { display: inline-flex; }
.w-icon svg { display: block; width: 20px; height: 20px; }

/* ---- INPUTS ---- */
.w-input { font-family: var(--font-body); font-size: 14px; color: var(--fg-1); padding: 10px 12px; background: var(--surface); border-radius: var(--r-sm); border: 1px solid var(--border-strong); outline: none; transition: border-color var(--m-fast) var(--m-state), box-shadow var(--m-fast) var(--m-state); }
.w-input:focus { border-color: var(--verified); box-shadow: 0 0 0 3px var(--verified-tint); }
.w-input::placeholder { color: var(--fg-muted); }

/* ---- TABLE. Tabular figures throughout. ---- */
.w-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.w-table th { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); text-align: left; padding: 0 16px 12px; border-bottom: 1px solid var(--border); }
.w-table td { padding: 14px 16px; border-bottom: 1px solid var(--hairline); color: var(--fg-2); font-variant-numeric: tabular-nums lining-nums; }
.w-table td:first-child { color: var(--fg-1); }
.w-table .w-td-num { text-align: right; }
.w-table tbody tr { transition: background var(--m-fast) var(--m-state); }
.w-table tbody tr:hover { background: var(--surface-2); }

/* ===== landing page layout ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--surface); overflow-x: hidden; }
img, svg { max-width: 100%; }
.w-h1, .w-h2, .w-h3, .w-h4 { text-wrap: pretty; }
p { text-wrap: pretty; }

.lp-nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.lp-nav .w-container { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-logo { display: flex; margin-left: -33px; }
.lp-logo img { height: 30px; width: auto; }

.lp-hero { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; min-height: 80vh; }
.lp-hero-img { display: block; width: 100%; height: 70%; min-height: 0; justify-self: end; align-self: center; object-fit: cover; object-position: 85% center; border-radius: var(--r-xl); box-shadow: var(--shadow-raised); }

.lp-ink { background: var(--ink); }
.lp-ink .w-h2, .lp-ink .w-h3 { color: var(--on-ink); }
.lp-ink .w-lead, .lp-ink .w-body, .lp-ink p { color: var(--on-ink-2); }

.lp-head { max-width: 620px; margin-bottom: 48px; }
.lp-head .w-lead { margin-top: 18px; max-width: 560px; }

.lp-grid { display: grid; gap: 20px; }
.lp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.lp-sticky { position: sticky; top: 100px; }

/* Peers sit on a hairline lattice: ruled horizontally only */
.lp-lattice { display: grid; column-gap: 40px; row-gap: 0; }
.lp-lattice > div { border-top: 1px solid var(--border); padding: 26px 0 36px; }
.lp-lattice-ink > div { border-top-color: var(--ink-3); }
.lp-lattice .w-h3 { font-size: 22px; margin-bottom: 12px; }
.lp-lattice .w-body { font-size: 15px; line-height: 1.6; max-width: 480px; }

.w-card .w-h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 10px; }
.w-card .w-body { font-size: 15px; line-height: 1.6; }

/* Stacked list with rules — Proof, Boundaries */
.lp-stack > div { border-top: 1px solid var(--border); padding: 28px 0; }
.lp-stack > div:last-child { border-bottom: 1px solid var(--border); }
.lp-stack .w-h3 { font-size: 22px; margin-bottom: 12px; }
.lp-stack .w-body { font-size: 15px; line-height: 1.65; max-width: 640px; }

/* Six steps on a rail */
.lp-steps { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 28px; row-gap: 0; max-width: 820px; }
.lp-step-mark { position: relative; }
.lp-step-mark::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 1px; background: var(--border-strong); }
.lp-step-mark::after { content: ''; position: absolute; left: 7px; top: 34px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 1px solid var(--verified); box-shadow: 0 0 0 4px var(--surface); }
.lp-steps > div:nth-child(1)::before { top: 34px; }
.lp-steps > div:nth-last-child(2)::before { bottom: auto; height: 34px; }
.lp-step-body { padding: 28px 0 36px; border-top: 1px solid var(--hairline); }
.lp-steps > .lp-step-body:nth-child(2) { border-top: 0; }
.lp-ink .lp-step-mark::before { background: var(--ink-3); }
.lp-ink .lp-step-mark::after { background: var(--ink); box-shadow: 0 0 0 4px var(--ink); }
.lp-ink .lp-step-body { border-top-color: var(--ink-3); }
.lp-step-body .w-h3 { font-size: 22px; margin-bottom: 12px; }
.lp-step-body .w-body { font-size: 15px; line-height: 1.65; max-width: 620px; }

/* Closing paragraph in the Problem section */
.lp-pull { margin-top: 20px; padding-top: 32px; border-top: 1px solid var(--border); font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.4; letter-spacing: -0.01em; color: var(--fg-1); max-width: 720px; }

/* FAQ */
.lp-faq { max-width: 820px; }
.lp-faq details { border-top: 1px solid var(--border); }
.lp-faq details:last-child { border-bottom: 1px solid var(--border); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .w-h3 { font-size: 20px; letter-spacing: -0.01em; }
.lp-faq summary svg { flex: none; width: 20px; height: 20px; color: var(--fg-3); transition: transform var(--m-base) var(--m-state); }
.lp-faq details[open] summary svg { transform: rotate(45deg); }
.lp-faq summary:hover .w-h3 { color: var(--verified-text); }
.lp-faq summary:focus-visible { outline: 2px solid var(--verified); outline-offset: 2px; }
.lp-faq .w-body { font-size: 15px; line-height: 1.65; max-width: 680px; padding-bottom: 28px; }

/* Booking: copy left, calendar right */
.lp-book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: start; }
.lp-book-left { position: sticky; top: 100px; }
.lp-book .w-h2 { max-width: 480px; }
.lp-book-cols { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 480px; margin: 40px 0 0; }
.lp-book-cols > div { border-top: 1px solid var(--ink-3); padding-top: 22px; }
.lp-book-cols .w-h3 { font-size: 20px; margin-bottom: 10px; }
.lp-book-cols .w-body { font-size: 15px; line-height: 1.65; }
.lp-calendly { margin: 0; width: 100%; max-width: 1000px; background: var(--surface); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-raised); }
.lp-calendly-head { display: flex; align-items: center; height: 56px; padding: 0 20px; border-bottom: 1px solid var(--hairline); text-align: left; }
.lp-calendly-head img { height: 26px; width: auto; margin-left: -28px; }
.calendly-inline-widget { min-width: 300px; height: 640px; }

/* Images */
.lp-img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }
.lp-img-3x2 { aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 22px; background: var(--surface-2); }
.lp-img-side { margin-top: 32px; max-width: 440px; }
.lp-img-step { margin-top: 22px; max-width: 520px; aspect-ratio: 16 / 9; object-fit: cover; }
.lp-spot-wrap { display: block; width: 88px; height: 88px; margin: -12px 0 10px -12px; overflow: hidden; border-radius: var(--r-md); }
.lp-spot { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.lp-band { background: var(--surface); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); }
.lp-band img { display: block; width: 100%; height: auto; }
.lp-ink .lp-band { box-shadow: var(--shadow-raised); }
.lp-ink-texture { background: var(--ink) url('../images/envaios-landing/envaios-ink-grid-background.webp') center / cover no-repeat; }

/* Branded sweep on hover: verified green arc with a hot white core */
.lp-sweep-live:hover::before {
  background: conic-gradient(from var(--w-sweep),
    var(--verified-strong) 0deg,
    var(--verified) 120deg,
    #FFFFFF 180deg,
    var(--verified) 240deg,
    var(--verified-strong) 360deg);
}

.lp-lattice-img > div { border-top: 0; padding: 0 0 28px; }
.lp-thirds { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-raised); width: 180px; }
.lp-third { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .lp-lattice-img { display: none; } }

.lp-tile { position: relative; overflow: hidden; aspect-ratio: 640 / 540; margin: -8px -8px 18px; border-radius: var(--r-md); background: var(--surface); }
.lp-tile img { position: absolute; width: 300%; height: 200%; max-width: none; display: block; }

/* Footer */
.lp-footer { border-top: 1px solid var(--border); }
.lp-footer .w-container { padding-top: 56px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 40px; align-items: start; }
.lp-footer p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg-2); }
.lp-footer-right { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.lp-footer-legal { display: flex; gap: 12px; align-items: center; }
.lp-footer-legal .w-rule-sep { height: 12px; }

@media (max-width: 1024px) {
  .lp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-lattice { column-gap: 32px; }
  .lp-split { grid-template-columns: 1fr; gap: 40px; }
  .lp-sticky { position: static; }
}
@media (max-width: 860px) {
  :root { --w-gutter: 24px; --w-section: 64px; --t-hero-size: 44px; --t-h2-size: 28px; }
  .lp-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; min-height: 0; }
  .lp-hero > div:first-child { order: 1; }
  .lp-hero-img { order: 2; }
  .lp-lattice { grid-template-columns: 1fr !important; }
  .lp-lattice > div { padding: 22px 0 26px; }
  .lp-book { grid-template-columns: 1fr; gap: 40px; }
  .lp-img-side, .lp-img-step { max-width: none; }
  .lp-hero-img { height: auto; aspect-ratio: 16 / 9; }
  .lp-book-left { position: static; }
  .lp-footer .w-container { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  :root { --w-gutter: 20px; --t-hero-size: 38px; --t-h2-size: 26px; }
  .lp-grid-2, .lp-grid-3, .lp-grid-4 { grid-template-columns: 1fr; }
  .lp-logo { margin-left: -24px; }
  .lp-logo img { height: 26px; }
  .lp-nav .w-btn { font-size: 12px; padding: 7px 12px; }
  .w-btn-lg { width: 100%; }
  .lp-steps { column-gap: 20px; }
  .lp-faq summary .w-h3 { font-size: 18px; }
  .calendly-inline-widget { height: 900px; }
}

/* Hero H1 top line (added October 2, 2026 at Renan's direction). Text green
   uses --verified-text, the system's AA-safe green for text on white. */
.lp-h1-top { display: block; font-size: 0.5em; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 0.4em; }
.lp-h1-top-accent { color: var(--verified-text); }

/* Large screens (added October 2, 2026 at Renan's direction): widen the content
   column and scale display type slightly so the page fills high-resolution
   displays. Body copy keeps its existing max-widths for readable line lengths. */
@media (min-width: 1600px) {
  :root { --w-max: 1360px; --w-gutter: 40px; }
}
@media (min-width: 1920px) {
  :root { --w-max: 1480px; --w-gutter: 48px; --t-hero-size: 64px; --t-h2-size: 36px; }
  .lp-head { max-width: 720px; }
}
@media (min-width: 2400px) {
  :root { --w-max: 1640px; --t-hero-size: 72px; --t-h2-size: 40px; }
}

/* Hero tightened and the "What holds true" band pulled into the bottom of the
   hero (added October 2, 2026 at Renan's direction). */
.lp-hero { padding-top: 40px; padding-bottom: 32px; min-height: 0; }
.lp-hero-img { height: auto; aspect-ratio: 16 / 10; }
.lp-hero-band { padding-top: 0; }
.lp-hero-band .lp-head { max-width: none; margin-bottom: 24px; padding-top: 28px; border-top: 1px solid var(--border); }
.lp-hero-band .w-h2 { font-size: var(--t-h3-size); line-height: var(--t-h3-lh); letter-spacing: var(--t-h3-track); }
@media (max-width: 860px) {
  .lp-hero { padding-top: 24px; padding-bottom: 24px; }
  .lp-hero-img { aspect-ratio: 16 / 9; }
}

/* Image fixes (added October 2, 2026): the "What Envaios is" tiles now use
   three separate square images, so each fills its square tile. */
.lp-third { aspect-ratio: 1 / 1; height: auto; }

/* Diagrams drawn as inline SVG (added October 2, 2026, Renan chose route 1).
   All colors come from the design-system tokens. */
.lp-dg { display: block; width: 100%; height: auto; border-radius: var(--r-lg); background: var(--surface-2); margin-bottom: 20px; }
.lp-dg-step { background: var(--surface); margin: 22px 0 0; max-width: 520px; }
.lp-dg .k { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-dg .kd { fill: none; stroke: var(--fg-muted); stroke-width: 1.5; stroke-dasharray: 5 5; stroke-linecap: round; }
.lp-dg .hl { fill: none; stroke: var(--border-strong); stroke-width: 1; }
.lp-dg .fr { fill: none; stroke: var(--border-strong); stroke-width: 1.5; stroke-dasharray: 2 4; }
.lp-dg .lt { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.lp-dg-step .lt { fill: var(--surface-2); }
.lp-dg .gy { fill: var(--border-strong); }
.lp-dg .gl { fill: var(--border); }
.lp-dg .ink { fill: var(--ink); }
.lp-dg .vf { fill: var(--verified); }
.lp-dg .vk { fill: none; stroke: var(--verified); stroke-width: 2; stroke-linecap: round; }
.lp-dg .wk { fill: none; stroke: var(--surface); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-dg .wl { fill: none; stroke: var(--fg-3); stroke-width: 1.5; }
/* 5px space under each "What Envaios is" image (Renan, October 2, 2026). */
.lp-lattice-img > .lp-thirds { margin-bottom: 5px; }

/* October 2, 2026 (Renan): "What Envaios is" images at half size; "The work it
   produces" cards shown as single drawings, no background, centered. */
.lp-thirds { width: 90px; border-radius: var(--r-md); }
.lp-tile { background: none; display: flex; align-items: center; justify-content: center; }
.lp-tile img { position: static; width: auto; height: auto; max-width: 84%; max-height: 84%; }
