/* Webmania Design System for the new-site (facelift) routes: verbatim copy of the design export
 * (_ds/webmania-design-system/colors_and_type.css + ui_kits/marketing/styles.css), with the font
 * faces pointed at the theme copies in fonts/fiscal-facelift/. Loaded only on facelift routes. */
/* =============================================================
   Webmania Design System — Tokens
   Colors, typography, spacing, elevation.
   Primary brand color: deep green (webmania green)
   ============================================================= */

/* ---------- FONT FACES ---------- */

@font-face {
  font-family: 'Borna';
  src: url('../../fonts/fiscal-facelift/Borna-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Borna';
  src: url('../../fonts/fiscal-facelift/Borna-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Borna';
  src: url('../../fonts/fiscal-facelift/Borna-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Borna';
  src: url('../../fonts/fiscal-facelift/Borna-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Borna';
  src: url('../../fonts/fiscal-facelift/Borna-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Borna';
  src: url('../../fonts/fiscal-facelift/Borna-SemiBoldItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Borna';
  src: url('../../fonts/fiscal-facelift/Borna-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Borna';
  src: url('../../fonts/fiscal-facelift/Borna-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../../fonts/fiscal-facelift/Inter-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../../fonts/fiscal-facelift/Inter-Italic-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- DESIGN TOKENS ---------- */

:root {
  /* ============ BRAND CORE ============ */

  /* Webmania Green — primary signature.
     --wm-green-700 = #00695A — SAMPLED DIRECTLY from the wordmark
     (logo-webmania-escuro.png) and the W-symbol background. This is
     the load-bearing brand green; all other steps are derived from it
     in OKLCH to keep the ramp perceptually even. */
  --wm-green-900: #00251F;  /* deepest — press, headline on light */
  --wm-green-800: #003D33;  /* default text-on-white, strong brand ink */
  --wm-green-700: #00695A;  /* ★ WORDMARK — primary brand surfaces, logo bg */
  --wm-green-600: #008070;  /* primary interactive default (hover step up from 700) */
  --wm-green-500: #0E9984;  /* hover / bright accent */
  --wm-green-400: #2CB39C;  /* vibrant marketing accent — "2024 Redesign" slide green */
  --wm-green-300: #6FCEBD;  /* pale accents, decorative fills */
  --wm-green-200: #AEE3D6;  /* tints, chips, success bg */
  --wm-green-100: #D6F0E8;  /* faint bg wash */
  --wm-green-50:  #EBF7F3;  /* page-level green tint */

  /* Claro (light tagline green) — seen as L-H-3 light wordmark */
  --wm-green-mist: #DFF5EC; /* faint minty tint for dark-on-dark */

  /* Marketing accent — vibrant, energetic green for headline highlights
     and "redesign"/announcement contexts. Brighter & more saturated than
     the product ramp, not for body text. Use sparingly on hero headlines
     and callouts, never on compliance UI. */
  --wm-green-vivid: #19C592;

  /* ============ NEUTRALS ============ */
  /* Warm-green-leaning grays — every step carries the webmania-green
     undertone so the neutrals feel family-coherent with --wm-green-*.
     Hues are perceptually-even in OKLCH; undertone is detectable at all
     steps (a, b channels biased slightly green across the ramp). */
  --wm-white:   #FFFFFF;
  --wm-ink-50:  #F4F7F5;   /* page alt — subtle green wash */
  --wm-ink-100: #E8EDEA;   /* alt surface */
  --wm-ink-200: #D4DCD8;   /* borders on light */
  --wm-ink-300: #B3BDB8;   /* dividers, disabled strokes */
  --wm-ink-400: #8B9691;   /* tertiary / placeholder */
  --wm-ink-500: #687370;   /* secondary text */
  --wm-ink-600: #4D5854;   /* stronger secondary, icons */
  --wm-ink-700: #343D39;   /* near-ink, body on dense tables */
  --wm-ink-800: #1F2724;   /* pressed borders, hover-darken dividers */
  --wm-ink-900: #0A110E;   /* true near-black; body copy on white */

  /* ============ SEMANTIC ACCENTS ============ */
  /* Complementary palette — muted, trustworthy. */
  --wm-amber-600: #B86F1A;   /* warnings, pending fiscal status — normalized to 600 step */
  --wm-amber-500: #D98A2B;   /* legacy alias, retained for one release */
  --wm-amber-100: #FBEAD2;
  --wm-red-600:   #C2413A;   /* errors, rejected documents (NF rejeitada) */
  --wm-red-100:   #F8DDDB;
  --wm-purple-600: #7A4DB0;  /* denegada (SEFAZ status 110) — distinct from rejected */
  --wm-purple-100: #E8DEF5;
  --wm-teal-600:  #1E7A8A;   /* contingência (SVC/SCAN offline emission) */
  --wm-teal-100:  #D4EAEF;
  --wm-blue-600:  #2C6FB8;   /* info, links in docs */
  --wm-blue-100:  #DAE7F5;
  --wm-slate-600: #5C6B78;   /* cancelled docs — desaturated, finite, distinct from "rejected" */
  --wm-slate-100: #E3E7EB;
  --wm-success:   var(--wm-green-600);
  --wm-success-bg: var(--wm-green-100);

  /* ============ SEMANTIC SURFACES ============ */
  --wm-bg:            var(--wm-white);
  --wm-bg-alt:        var(--wm-ink-50);
  --wm-bg-sunken:     var(--wm-ink-100);
  --wm-bg-brand:      var(--wm-green-700);
  --wm-bg-brand-deep: var(--wm-green-900);
  --wm-bg-brand-tint: var(--wm-green-50);

  --wm-fg:            var(--wm-ink-900);
  --wm-fg-muted:      var(--wm-ink-500);
  --wm-fg-subtle:     var(--wm-ink-400);
  --wm-fg-brand:      var(--wm-green-700);
  --wm-fg-on-brand:   var(--wm-white);
  --wm-fg-on-brand-muted: rgba(255, 255, 255, 0.72);

  --wm-border:        var(--wm-ink-200);
  --wm-border-strong: var(--wm-ink-300);
  --wm-border-brand:  var(--wm-green-600);

  /* ============ TYPOGRAPHY ============ */

  --wm-font-display: 'Borna', 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --wm-font-body:    'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --wm-font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Type scale — marketing & product speak both Borna+Inter. Borna for
     big statements, Inter for everything functional. */
  --wm-text-xs:    11px;
  --wm-text-sm:    13px;
  --wm-text-base:  15px;
  --wm-text-md:    17px;
  --wm-text-lg:    20px;
  --wm-text-xl:    24px;
  --wm-text-2xl:   32px;
  --wm-text-3xl:   42px;
  --wm-text-4xl:   56px;
  --wm-text-5xl:   72px;
  --wm-text-6xl:   96px;
  --wm-text-display: 128px;

  --wm-leading-tight:   1.08;
  --wm-leading-snug:    1.22;
  --wm-leading-normal:  1.48;
  --wm-leading-relaxed: 1.62;

  --wm-tracking-tight:   -0.025em;
  --wm-tracking-snug:    -0.012em;
  --wm-tracking-normal:  0;
  --wm-tracking-wide:    0.06em;
  --wm-tracking-caps:    0.14em;

  /* Font weights — Borna & Inter share 400/500/600/700 */
  --wm-fw-regular:  400;
  --wm-fw-medium:   500;
  --wm-fw-semibold: 600;
  --wm-fw-bold:     700;

  /* ============ SPACING (4px base) ============ */
  --wm-space-0:   0;
  --wm-space-1:   4px;
  --wm-space-2:   8px;
  --wm-space-3:   12px;
  --wm-space-4:   16px;
  --wm-space-5:   20px;
  --wm-space-6:   24px;
  --wm-space-8:   32px;
  --wm-space-10:  40px;
  --wm-space-12:  48px;
  --wm-space-16:  64px;
  --wm-space-20:  80px;
  --wm-space-24:  96px;
  --wm-space-32:  128px;

  /* ============ RADII ============ */
  /* Brand favors SOFT corners — the "W" symbol is in a rounded square
     (~18% of the square). UI scales inherit the softness. */
  --wm-radius-xs:   4px;
  --wm-radius-sm:   6px;
  --wm-radius-md:   10px;
  --wm-radius-lg:   14px;
  --wm-radius-xl:   20px;
  --wm-radius-2xl:  28px;
  --wm-radius-pill: 999px;

  /* ============ ELEVATION ============ */
  /* Subtle, green-tinted shadows — never pure black, never heavy. */
  --wm-shadow-xs: 0 1px 2px rgba(10, 41, 33, 0.06);
  --wm-shadow-sm: 0 2px 6px rgba(10, 41, 33, 0.06), 0 1px 2px rgba(10, 41, 33, 0.04);
  --wm-shadow-md: 0 6px 18px rgba(10, 41, 33, 0.08), 0 2px 4px rgba(10, 41, 33, 0.04);
  --wm-shadow-lg: 0 18px 40px rgba(10, 41, 33, 0.12), 0 6px 12px rgba(10, 41, 33, 0.06);
  --wm-shadow-xl: 0 32px 80px rgba(10, 41, 33, 0.18), 0 12px 24px rgba(10, 41, 33, 0.08);
  --wm-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Glass / transparency — a recurring brand motif. */
  --wm-glass-light: rgba(255, 255, 255, 0.72);
  --wm-glass-brand: rgba(14, 89, 73, 0.72);
  --wm-glass-ink:   rgba(10, 15, 13, 0.64);
  --wm-blur-glass:  blur(18px) saturate(160%);

  /* ============ MOTION ============ */
  --wm-ease-out:    cubic-bezier(0.22, 1, 0.36, 1);     /* springy, confident */
  --wm-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --wm-ease-linear: linear;
  --wm-dur-fast:    120ms;
  --wm-dur-med:     220ms;
  --wm-dur-slow:    420ms;

  /* ============ Z-INDEX ============ */
  --wm-z-base:    1;
  --wm-z-sticky:  50;
  --wm-z-overlay: 100;
  --wm-z-modal:   200;
  --wm-z-toast:   300;
}

/* =============================================================
   SEMANTIC TYPOGRAPHY UTILITIES
   Use these classes as shorthand; they match the brand hierarchy.
   ============================================================= */

.wm-display {
  font-family: var(--wm-font-display);
  font-size: var(--wm-text-display);
  font-weight: var(--wm-fw-medium);
  line-height: var(--wm-leading-tight);
  letter-spacing: var(--wm-tracking-tight);
  color: var(--wm-fg);
}

.wm-h1 {
  font-family: var(--wm-font-display);
  font-size: var(--wm-text-5xl);
  font-weight: var(--wm-fw-medium);
  line-height: var(--wm-leading-tight);
  letter-spacing: var(--wm-tracking-tight);
  color: var(--wm-fg);
}

.wm-h2 {
  font-family: var(--wm-font-display);
  font-size: var(--wm-text-4xl);
  font-weight: var(--wm-fw-medium);
  line-height: var(--wm-leading-snug);
  letter-spacing: var(--wm-tracking-snug);
  color: var(--wm-fg);
}

.wm-h3 {
  font-family: var(--wm-font-display);
  font-size: var(--wm-text-3xl);
  font-weight: var(--wm-fw-medium);
  line-height: var(--wm-leading-snug);
  letter-spacing: var(--wm-tracking-snug);
  color: var(--wm-fg);
}

.wm-h4 {
  font-family: var(--wm-font-display);
  font-size: var(--wm-text-2xl);
  font-weight: var(--wm-fw-semibold);
  line-height: var(--wm-leading-snug);
  color: var(--wm-fg);
}

.wm-h5 {
  font-family: var(--wm-font-body);
  font-size: var(--wm-text-xl);
  font-weight: var(--wm-fw-semibold);
  line-height: var(--wm-leading-snug);
  color: var(--wm-fg);
}

.wm-lede {
  font-family: var(--wm-font-body);
  font-size: var(--wm-text-lg);
  font-weight: var(--wm-fw-regular);
  line-height: var(--wm-leading-normal);
  color: var(--wm-fg-muted);
}

.wm-body {
  font-family: var(--wm-font-body);
  font-size: var(--wm-text-base);
  font-weight: var(--wm-fw-regular);
  line-height: var(--wm-leading-relaxed);
  color: var(--wm-fg);
}

.wm-small {
  font-family: var(--wm-font-body);
  font-size: var(--wm-text-sm);
  font-weight: var(--wm-fw-regular);
  line-height: var(--wm-leading-normal);
  color: var(--wm-fg-muted);
}

.wm-micro {
  font-family: var(--wm-font-body);
  font-size: var(--wm-text-xs);
  font-weight: var(--wm-fw-medium);
  line-height: var(--wm-leading-normal);
  color: var(--wm-fg-muted);
}

.wm-eyebrow {
  font-family: var(--wm-font-body);
  font-size: var(--wm-text-xs);
  font-weight: var(--wm-fw-semibold);
  line-height: var(--wm-leading-normal);
  letter-spacing: var(--wm-tracking-caps);
  text-transform: uppercase;
  color: var(--wm-fg-brand);
}

.wm-mono {
  font-family: var(--wm-font-mono);
  font-size: var(--wm-text-sm);
  font-weight: var(--wm-fw-regular);
  line-height: var(--wm-leading-normal);
}

/* Base reset-ish defaults — opt in by adding `wm` class to the root */
.wm {
  font-family: var(--wm-font-body);
  color: var(--wm-fg);
  background: var(--wm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wm h1 { all: unset; display: block; }
.wm h1 { font-family: var(--wm-font-display); font-size: var(--wm-text-5xl); font-weight: var(--wm-fw-medium); line-height: var(--wm-leading-tight); letter-spacing: var(--wm-tracking-tight); }
.wm h2 { font-family: var(--wm-font-display); font-size: var(--wm-text-4xl); font-weight: var(--wm-fw-medium); line-height: var(--wm-leading-snug); letter-spacing: var(--wm-tracking-snug); display: block; }
.wm h3 { font-family: var(--wm-font-display); font-size: var(--wm-text-3xl); font-weight: var(--wm-fw-medium); line-height: var(--wm-leading-snug); display: block; }
.wm h4 { font-family: var(--wm-font-display); font-size: var(--wm-text-2xl); font-weight: var(--wm-fw-semibold); line-height: var(--wm-leading-snug); display: block; }
.wm p  { font-family: var(--wm-font-body); font-size: var(--wm-text-base); line-height: var(--wm-leading-relaxed); }
.wm code, .wm pre { font-family: var(--wm-font-mono); font-size: 0.92em; }

/* ---------- ui_kits/marketing/styles.css ---------- */
/* Marketing UI kit styles */
@import url('../../colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--wm-white); font-family: var(--wm-font-body); color: var(--wm-fg); -webkit-font-smoothing: antialiased; }

.wm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-family: var(--wm-font-body); font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all 160ms var(--wm-ease-out); text-decoration: none; letter-spacing: -0.005em; }
.wm-btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.wm-btn-lg { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.wm-btn-primary { background: var(--wm-green-600); color: var(--wm-white); }
.wm-btn-primary:hover { background: var(--wm-green-700); }
.wm-btn-ghost { background: var(--wm-white); color: var(--wm-green-700); border-color: var(--wm-ink-200); }
.wm-btn-ghost:hover { background: var(--wm-green-50); }
.wm-btn-on-brand { background: var(--wm-white); color: var(--wm-green-900); }
.wm-btn-on-brand:hover { background: var(--wm-green-50); }
.wm-btn-ghost-on-brand { background: transparent; color: var(--wm-white); border-color: rgba(255,255,255,0.32); }
.wm-btn-ghost-on-brand:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.wm-eyebrow { font-family: var(--wm-font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wm-green-700); }
.wm-eyebrow-on-brand { color: var(--wm-green-300); }
.wm-kicker { font-family: var(--wm-font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wm-green-700); }
.wm-kicker-on-brand { color: var(--wm-green-300); }

.wm-link-arrow { color: var(--wm-green-700); font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(14,89,73,0.35); padding-bottom: 2px; width: fit-content; }
.wm-link-arrow:hover { border-bottom-color: var(--wm-green-700); }
.wm-link-on-brand { color: var(--wm-green-300); border-bottom-color: rgba(124,198,180,0.4); }

/* NAV */
.wm-nav { position: sticky; top: 16px; z-index: 50; margin: 16px 32px 0; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 18px; background: rgba(255,255,255,0.82); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(10,41,33,0.06); border-radius: 16px; box-shadow: 0 2px 6px rgba(10,41,33,0.06); }
.wm-nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--wm-green-800); }
.wm-nav-mark { width: 28px; height: 28px; border-radius: 6px; }
.wm-nav-wordmark { font-family: var(--wm-font-display); font-style: italic; font-weight: 600; font-size: 20px; letter-spacing: -0.03em; color: var(--wm-green-800); }
.wm-nav-reg { font-size: 9px; color: var(--wm-green-700); }
.wm-nav-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 26px; }
.wm-nav-links a { font-size: 13.5px; color: var(--wm-ink-700); text-decoration: none; font-weight: 500; }
.wm-nav-links a:hover { color: var(--wm-green-700); }
.wm-nav-cta { display: flex; align-items: center; gap: 14px; }
.wm-nav-link { font-size: 13.5px; color: var(--wm-ink-700); text-decoration: none; font-weight: 500; }

/* HERO */
.wm-hero { position: relative; margin: 24px 32px 0; padding: 120px 80px 140px; border-radius: 28px; overflow: hidden; background: var(--wm-green-900); color: var(--wm-white); }
.wm-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.wm-hero-gradient { position: absolute; inset: -40%; background: radial-gradient(60% 70% at 25% 30%, rgba(26,137,113,0.55), transparent 60%), radial-gradient(50% 60% at 85% 80%, rgba(7,66,53,0.95), transparent 70%); filter: blur(40px); }
.wm-hero-w { position: absolute; right: -60px; bottom: -80px; width: 540px; opacity: 0.08; }
.wm-hero-noise { position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>"); opacity: 0.12; mix-blend-mode: overlay; }
.wm-hero-inner { position: relative; z-index: 2; max-width: 880px; display: flex; flex-direction: column; gap: 24px; }
.wm-hero-title { margin: 8px 0 0; font-family: var(--wm-font-display); font-weight: 500; font-style: italic; font-size: 88px; line-height: 0.98; letter-spacing: -0.03em; color: var(--wm-white); }
.wm-hero-title em { font-style: italic; color: var(--wm-green-300); }
.wm-hero-sub { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,0.78); }
.wm-hero-cta { display: flex; gap: 12px; margin-top: 12px; }
.wm-hero-tag { display: flex; gap: 22px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); font-family: var(--wm-font-display); font-style: italic; font-size: 18px; color: var(--wm-green-300); }

/* STATBAR */
.wm-statbar { margin: 0 32px; padding: 36px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; background: var(--wm-white); border: 1px solid var(--wm-ink-200); border-radius: 20px; margin-top: -48px; position: relative; z-index: 3; box-shadow: var(--wm-shadow-md); }
.wm-stat-n { font-family: var(--wm-font-display); font-size: 44px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--wm-green-700); }
.wm-stat-l { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--wm-ink-500); max-width: 200px; }

/* SPLIT */
.wm-split { padding: 120px 64px 80px; max-width: 1320px; margin: 0 auto; }
.wm-split-head { max-width: 720px; margin: 0 auto 48px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.wm-split-title { margin: 0; font-family: var(--wm-font-display); font-weight: 500; font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; color: var(--wm-fg); text-wrap: pretty; }
.wm-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wm-prod-card { background: var(--wm-white); border: 1px solid var(--wm-ink-200); border-radius: 24px; padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--wm-shadow-sm); }
.wm-prod-card-dark { background: var(--wm-green-800); border-color: transparent; color: var(--wm-white); }
.wm-prod-title { margin: 0; font-family: var(--wm-font-display); font-weight: 500; font-size: 34px; letter-spacing: -0.02em; color: var(--wm-green-900); }
.wm-prod-card-dark .wm-prod-title { color: var(--wm-white); }
.wm-prod-list { list-style: none; padding: 0; margin: 8px 0 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--wm-ink-700); line-height: 1.4; }
.wm-prod-list li { display: flex; gap: 10px; align-items: flex-start; }
.wm-prod-list .wm-dot { flex: 0 0 auto; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--wm-green-500); }
.wm-prod-list-on-brand { color: rgba(255,255,255,0.82); }
.wm-prod-list-on-brand .wm-dot { background: var(--wm-green-300); }

/* FLOW */
.wm-flow { padding: 60px 64px 100px; max-width: 1200px; margin: 0 auto; }
.wm-flow-head { max-width: 680px; margin: 0 auto 48px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.wm-flow-title { margin: 0; font-family: var(--wm-font-display); font-style: italic; font-weight: 500; font-size: 56px; line-height: 1.05; letter-spacing: -0.025em; color: var(--wm-fg); }
.wm-flow-sub { margin: 0; font-size: 16px; line-height: 1.55; color: var(--wm-ink-500); max-width: 580px; }
.wm-flow-diagram { display: flex; flex-direction: column; gap: 6px; align-items: center; background: var(--wm-green-50); border-radius: 24px; padding: 40px; }
.wm-flow-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; padding: 18px 20px; background: var(--wm-white); border: 1px solid var(--wm-ink-200); border-radius: 16px; min-width: 640px; }
.wm-flow-row-brand { background: var(--wm-green-700); border-color: transparent; }
.wm-flow-tag { font-family: var(--wm-font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wm-ink-500); margin-right: 14px; }
.wm-flow-tag-brand { color: var(--wm-green-300); }
.wm-flow-chip { padding: 8px 14px; border-radius: 999px; background: var(--wm-green-50); color: var(--wm-green-800); font-size: 13px; font-weight: 600; }
.wm-flow-api { display: flex; align-items: center; gap: 14px; color: var(--wm-white); }
.wm-flow-api img { width: 44px; height: 44px; border-radius: 10px; }
.wm-flow-api-name { font-family: var(--wm-font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.wm-flow-api-sub { font-size: 12.5px; color: rgba(255,255,255,0.72); }
.wm-flow-arrow { color: var(--wm-green-600); font-size: 22px; font-weight: 600; }

/* CASE */
.wm-case { padding: 40px 64px 100px; max-width: 1320px; margin: 0 auto; }
.wm-case-inner { background: var(--wm-green-900); color: var(--wm-white); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; position: relative; overflow: hidden; }
.wm-case-inner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 10% 20%, rgba(26,137,113,0.35), transparent 60%); pointer-events: none; }
.wm-case-copy { position: relative; }
.wm-case-title { margin: 14px 0 22px; font-family: var(--wm-font-display); font-weight: 500; font-size: 48px; line-height: 1.05; letter-spacing: -0.025em; }
.wm-case-title em { font-style: italic; color: var(--wm-green-300); }
.wm-case-body { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.78); margin: 0 0 24px; }
.wm-case-pull { font-family: var(--wm-font-display); font-style: italic; font-size: 22px; color: var(--wm-green-300); margin: 0; line-height: 1.3; }
.wm-case-gains { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: center; position: relative; }
.wm-gain { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(10px); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--wm-white); font-size: 14px; min-height: 100px; }
.wm-gain-n { font-family: var(--wm-font-display); font-size: 28px; color: var(--wm-green-300); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }

/* CTA + FOOT */
.wm-cta { padding: 80px 64px 0; max-width: 1320px; margin: 0 auto; }
.wm-cta-inner { background: var(--wm-green-50); border-radius: 28px; padding: 80px 48px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.wm-cta-title { margin: 0; font-family: var(--wm-font-display); font-weight: 500; font-size: 56px; line-height: 1.05; letter-spacing: -0.025em; color: var(--wm-green-900); }
.wm-cta-sub { margin: 0; font-size: 18px; color: var(--wm-ink-600); }
.wm-cta-buttons { display: flex; gap: 14px; margin-top: 8px; }
.wm-cta-people { display: flex; gap: 40px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--wm-green-200); }
.wm-person { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--wm-ink-700); text-align: left; }
.wm-person b { display: block; color: var(--wm-fg); font-weight: 600; font-size: 15px; }
.wm-person span { display: block; color: var(--wm-ink-500); font-size: 12.5px; }
.wm-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--wm-green-700); color: var(--wm-white); display: grid; place-items: center; font-weight: 600; font-size: 13px; font-family: var(--wm-font-display); letter-spacing: 0.02em; }
.wm-foot { display: flex; justify-content: space-between; align-items: center; padding: 36px 40px; margin-top: 48px; border-top: 1px solid var(--wm-ink-200); font-size: 13px; color: var(--wm-ink-500); }
.wm-foot-left { display: flex; align-items: center; gap: 16px; }
.wm-foot-logo { height: 22px; }
.wm-foot-right { display: flex; gap: 10px; font-family: var(--wm-font-mono); font-size: 12px; }

/* WebKit (Safari, and every iOS browser) applies text-wrap: pretty to the whole block, so a heading or claim with a
 * forced <br> gets rebalanced into one more line than the design (two-line h2 -> three lines, +39 px per section).
 * Chromium only avoids orphans there and Firefox ignores pretty, so only WebKit goes back to plain wrapping.
 * font: -apple-system-body is supported by WebKit alone. */
@supports (font: -apple-system-body) and (not (-moz-appearance: none)) {
    #wmfl-main :is(h1, h2, h3, h4, p):has(br) { text-wrap: wrap; }
}
