/* ================================================================
   Map My Maintenance — Main Stylesheet
   Consolidated from: tokens.css · landing.css · pricing.css ·
                      features.css · pages.css · tutorials.css
================================================================ */

/* ================================================================
   TOKENS
================================================================ */
/* =============================================================
   Map My Maintenance — Design Tokens
   Base color + type variables, semantic tokens, and primitives.
   ============================================================= */

/* Google Fonts loaded via <link rel="preload"> in HTML — @import removed to break the serial CSS chain */

:root {
  /* -----------------------------------------------------------
     PRIMARY BRAND — Cyan/Blue
     The "core software environment" color. Used for primary UI
     chrome, links, info, technical/system features.
     ----------------------------------------------------------- */
  --blue-50:  #ECFAFF;
  --blue-100: #D2F2FC;
  --blue-200: #A6E4F8;
  --blue-300: #6BD2F2;
  --blue-400: #2CC0EC;
  --blue-500: #00B5E2;  /* primary brand cyan */
  --blue-600: #0098C0;
  --blue-700: #0079A0;
  --blue-800: #075E7C;
  --blue-900: #084A63;

  /* -----------------------------------------------------------
     PRIMARY BRAND — Amber/Orange
     The "high-priority CTA" color. Reserved for primary actions,
     alerts, and high-energy moments.
     ----------------------------------------------------------- */
  --orange-50:  #FFF6EC;
  --orange-100: #FFE9CC;
  --orange-200: #FFD199;
  --orange-300: #FFB55C;
  --orange-400: #FF9C32;
  --orange-500: #FF8A1F;  /* primary brand orange */
  --orange-600: #E66E00;
  --orange-700: #B85700;
  --orange-800: #8A4200;
  --orange-900: #5C2C00;

  /* -----------------------------------------------------------
     NEUTRALS — slightly cool grays
     Backgrounds, surfaces, borders, body text.
     ----------------------------------------------------------- */
  --neutral-0:   #FFFFFF;
  --neutral-25:  #FBFCFD;
  --neutral-50:  #F6F8FA;
  --neutral-100: #EEF1F5;
  --neutral-200: #E2E7EE;
  --neutral-300: #CBD3DD;
  --neutral-400: #9AA6B5;
  --neutral-500: #6B7787;
  --neutral-600: #4B5564;
  --neutral-700: #343D4A;
  --neutral-800: #1F2733;
  --neutral-900: #0F1620;

  /* -----------------------------------------------------------
     SEMANTIC — status colors for work / tasks
     ----------------------------------------------------------- */
  --status-todo:        #6B7787;      /* neutral-500 */
  --status-in-progress: #00B5E2;      /* blue-500 */
  --status-blocked:     #E11D48;      /* rose-600 */
  --status-review:      #8B5CF6;      /* violet-500 */
  --status-done:        #16A34A;      /* green-600 */
  --status-overdue:     #FF8A1F;      /* orange-500 */

  --success: #16A34A;
  --success-bg: #E8F7EE;
  --warning: #FF8A1F;
  --warning-bg: #FFF1DE;
  --danger:  #E11D48;
  --danger-bg: #FCE7EC;
  --info:    #00B5E2;
  --info-bg: #E2F6FD;

  /* -----------------------------------------------------------
     PRIORITY
     ----------------------------------------------------------- */
  --priority-critical: #DC2626;
  --priority-high:     #FF8A1F;
  --priority-medium:   #F2C94C;
  --priority-low:      #6B7787;

  /* -----------------------------------------------------------
     SIGNATURE GRADIENT — cyan ➜ orange
     The brand's hero motif. Use sparingly: hero surfaces, big
     CTAs, brand mark, splash, login.
     ----------------------------------------------------------- */
  --gradient-brand: linear-gradient(135deg, #00B5E2 0%, #2CC0EC 35%, #FF8A1F 100%);
  --gradient-brand-soft: linear-gradient(135deg, #ECFAFF 0%, #FFF6EC 100%);
  --gradient-blue: linear-gradient(135deg, #00B5E2 0%, #0079A0 100%);
  --gradient-orange: linear-gradient(135deg, #FFB55C 0%, #FF8A1F 60%, #E66E00 100%);

  /* -----------------------------------------------------------
     SEMANTIC SURFACES — what to actually reach for in components
     ----------------------------------------------------------- */
  --bg-app:        var(--neutral-50);
  --bg-surface:    var(--neutral-0);
  --bg-surface-2:  var(--neutral-25);
  --bg-sunken:     var(--neutral-100);
  --bg-inverse:    var(--neutral-900);

  --fg-strong:    var(--neutral-900);
  --fg-default:   var(--neutral-800);
  --fg-muted:     var(--neutral-500);
  --fg-subtle:    var(--neutral-400);
  --fg-inverse:   var(--neutral-0);
  --fg-on-brand:  #FFFFFF;

  --border-subtle: var(--neutral-200);
  --border-default: var(--neutral-300);
  --border-strong: var(--neutral-400);
  --border-focus: var(--blue-500);

  --action-primary: var(--orange-500);
  --action-primary-hover: var(--orange-600);
  --action-primary-press: var(--orange-700);

  --action-secondary: var(--blue-500);
  --action-secondary-hover: var(--blue-600);
  --action-secondary-press: var(--blue-700);

  /* -----------------------------------------------------------
     TYPOGRAPHY — families
     Inter — humanist sans. Headers, body, UI labels, dense data.
     ----------------------------------------------------------- */
  --font-display: "Inter", sans-serif;
  --font-body:    "Inter", sans-serif;
  --font-mono:    "Inter", sans-serif;

  /* Weights */
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold: 600;
  --weight-bold:    700;
  --weight-extrabold: 800;

  /* Type scale (rem with 16px base) */
  --text-2xs:  11px;
  --text-xs:   12px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   16px;
  --text-lg:   18px;
  --text-xl:   22px;
  --text-2xl:  28px;
  --text-3xl:  36px;
  --text-4xl:  48px;
  --text-5xl:  64px;
  --text-6xl:  80px;

  /* Line heights */
  --leading-tight: 1.15;
  --leading-snug:  1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* Letter spacing */
  --tracking-tight: -0.02em;
  --tracking-snug:  -0.01em;
  --tracking-normal: 0em;
  --tracking-wide:  0.04em;
  --tracking-caps:  0.08em;

  /* -----------------------------------------------------------
     SPACING — 4px grid
     ----------------------------------------------------------- */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  32px;
  --space-8:  40px;
  --space-9:  48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;

  /* -----------------------------------------------------------
     RADII — friendly, card-based language
     ----------------------------------------------------------- */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;   /* default for inputs, small cards */
  --radius-lg: 14px;   /* cards, panels */
  --radius-xl: 20px;   /* hero cards, large surfaces */
  --radius-2xl: 28px;
  --radius-pill: 999px;

  /* -----------------------------------------------------------
     SHADOWS — soft, layered drop shadows
     ----------------------------------------------------------- */
  --shadow-xs: 0 1px 2px rgba(15, 22, 32, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 22, 32, 0.06), 0 1px 3px rgba(15, 22, 32, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 22, 32, 0.06), 0 2px 4px rgba(15, 22, 32, 0.04);
  --shadow-lg: 0 12px 28px rgba(15, 22, 32, 0.08), 0 4px 10px rgba(15, 22, 32, 0.04);
  --shadow-xl: 0 24px 48px rgba(15, 22, 32, 0.12), 0 8px 16px rgba(15, 22, 32, 0.06);
  --shadow-glow-blue:   0 6px 24px rgba(0, 181, 226, 0.28);
  --shadow-glow-orange: 0 6px 24px rgba(255, 138, 31, 0.28);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --ring-focus: 0 0 0 3px rgba(0, 181, 226, 0.25);

  /* -----------------------------------------------------------
     MOTION
     ----------------------------------------------------------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 120ms;
  --duration-base: 180ms;
  --duration-slow: 280ms;

  /* -----------------------------------------------------------
     LAYOUT
     ----------------------------------------------------------- */
  --max-content: 1280px;
  --sidebar-w: 248px;
  --topbar-h: 60px;
}

/* =============================================================
   SEMANTIC TYPOGRAPHY CLASSES
   ============================================================= */
html, body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--fg-default);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.t-display-xl,
.t-display-lg,
.t-display-md,
.t-h1, .t-h2, .t-h3, .t-h4 {
  font-family: var(--font-display);
  color: var(--fg-strong);
  letter-spacing: var(--tracking-tight);
}

.t-display-xl { font-size: var(--text-6xl); font-weight: 800; line-height: var(--leading-tight); }
.t-display-lg { font-size: var(--text-5xl); font-weight: 800; line-height: var(--leading-tight); }
.t-display-md { font-size: var(--text-4xl); font-weight: 700; line-height: var(--leading-tight); }
.t-h1 { font-size: var(--text-3xl); font-weight: 700; line-height: var(--leading-snug); }
.t-h2 { font-size: var(--text-2xl); font-weight: 700; line-height: var(--leading-snug); }
.t-h3 { font-size: var(--text-xl); font-weight: 600; line-height: var(--leading-snug); letter-spacing: var(--tracking-snug); }
.t-h4 { font-size: var(--text-lg); font-weight: 600; line-height: var(--leading-snug); letter-spacing: var(--tracking-snug); }

.t-body-lg { font-size: var(--text-lg); line-height: var(--leading-relaxed); }
.t-body    { font-size: var(--text-base); line-height: var(--leading-normal); }
.t-body-sm { font-size: var(--text-sm); line-height: var(--leading-normal); }
.t-caption { font-size: var(--text-xs); line-height: var(--leading-normal); color: var(--fg-muted); }
.t-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.t-label   { font-size: var(--text-sm); font-weight: 600; color: var(--fg-default); }
.t-mono    { font-family: var(--font-mono); font-size: var(--text-sm); }
.t-num     {
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums;
}


/* ================================================================
   LANDING
================================================================ */
/* ============================================================
   Map My Maintenance — v2 Landing
   Plan-themed, chapter-driven, dark/light alternation,
   scroll-revealed via IntersectionObserver.
============================================================ */

/* ============================================================
   Use Inter only (display + body)
============================================================ */
:root {
  --font-display: "Inter", sans-serif;
  --font-body:    "Inter", sans-serif;
  --ink: #0F1620;
  --ink-2: #1F2733;
  --ink-3: #343D4A;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
/* Global image safety — prevents any image from blowing out its container.
   Per-element rules (max-width: none, explicit heights) override this safely. */
img, video, iframe, embed { max-width: 100%; height: auto; }
body {
  margin: 0;
  background: var(--bg-app);
  color: var(--fg-default);
  overflow-x: clip; /* clip (not hidden) — clips without creating a scroll container, so position:sticky still works */
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 32px); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   REVEAL ANIMATIONS — IntersectionObserver-triggered
============================================================ */
[data-reveal] {
  opacity: 1;
  transform: none;
}
/* Reveal animations are kept off until JS is ready so we don't paint a
   blank hero in preview environments that don't actually progress
   transitions (some embedded iframes, html-to-image captures). When
   js-ready is on <html>, we hide reveals and the IntersectionObserver
   adds .is-in to fade each one in. */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js-ready [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   ATOMS
============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600;
  border: 1px solid transparent; border-radius: 10px;
  cursor: pointer; text-decoration: none;
  transition: all 180ms var(--ease-out);
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--md { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 15px; border-radius: 12px; }
.btn--xl { padding: 20px 34px; font-size: 17px; border-radius: 14px; font-weight: 700; }

.btn--primary {
  background: var(--action-primary); color: white;
  box-shadow: 0 4px 12px rgba(255,138,31,0.18), inset 0 1px 0 rgba(255,255,255,0.20);
}
.btn--primary:hover { background: var(--action-primary-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,138,31,0.26); }
.btn--primary:active { transform: translateY(0); background: var(--action-primary-press); }
.btn__arrow { display: inline-block; transition: transform 180ms var(--ease-out); font-size: 1.1em; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--tertiary {
  background: var(--bg-surface); color: var(--fg-strong);
  border-color: var(--border-default);
  box-shadow: var(--shadow-xs);
}
.btn--tertiary:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); transform: translateY(-1px); }

.btn--ghostdark {
  background: transparent; color: var(--fg-strong);
  border-color: rgba(15,22,32,0.18);
}
.btn--ghostdark:hover { background: rgba(15,22,32,0.04); border-color: rgba(15,22,32,0.32); }
.playicon {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--neutral-900); color: white;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Pills, mono */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: 0.02em;
}
.pill--orange { background: var(--orange-50); color: var(--orange-700); }
.pill--green  { background: var(--success-bg); color: #0E7A36; }
.pill--blue   { background: var(--blue-50); color: var(--blue-700); }
.pill--violet { background: #F3ECFF; color: #6D28D9; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.pillmono {
  background: var(--neutral-100); color: var(--neutral-700);
  padding: 2px 7px; border-radius: 4px; font-size: 11px;
  font-family: var(--font-mono);
}

/* Section "big head" type */
.bighead {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg-strong);
  margin: 0 0 20px;
  text-wrap: balance;
}
.bighead__grad {
  background: linear-gradient(135deg, #00B5E2 0%, #FF8A1F 80%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
  padding-bottom: 0.2em;
  padding-right: 0.4em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.bigsub {
  font-size: 18px; line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
  max-width: 620px;
  text-wrap: pretty;
}

.hide-sm { display: inline; }
@media (max-width: 720px) { .hide-sm { display: none; } }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav__inner {
  max-width: 1280px; margin: 0 auto;
  height: 64px; padding: 0 32px;
  display: flex; align-items: center; gap: 24px;
}
.nav__logo img { height: 22px; width: auto; display: block; }

.nav__center {
  display: flex; align-items: center; gap: 32px;
  margin: 0 auto;
}
.nav__center a {
  font-size: 14px; font-weight: 500; color: var(--fg-default);
  transition: color 120ms var(--ease-out);
}
.nav__center a:hover { color: var(--ink); }

.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__signin { font-size: 14px; font-weight: 500; color: var(--fg-muted); }
.nav__signin:hover { color: var(--fg-strong); }

.nav__burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px; border: 1px solid var(--border-default);
  background: white; color: var(--fg-default);
  cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 880px) {
  .nav__center, .nav__signin { display: none; }
  .nav__burger { display: inline-flex; }
}
@media (max-width: 480px) {
  /* Tighten side padding on small phones so logo + burger don't overflow */
  .nav__inner { padding: 0 16px; }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  padding: 56px 0 0;
  overflow-x: clip; /* clip horizontal only — lets the device shadow bleed down past the section edge */
  background: var(--bg-app);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; /* re-clip the halo blurs within hero bounds */ }
.hero__grid {
  position: absolute; inset: 0;
  background-image: url("../assets/hero/bg-hero.png");
  background-image: -webkit-image-set(
    url("../assets/hero/bg-hero.avif") type("image/avif"),
    url("../assets/hero/bg-hero.webp") type("image/webp"),
    url("../assets/hero/bg-hero.png")  type("image/png")
  );
  background-image: image-set(
    url("../assets/hero/bg-hero.avif") type("image/avif"),
    url("../assets/hero/bg-hero.webp") type("image/webp"),
    url("../assets/hero/bg-hero.png")  type("image/png")
  );
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.85;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 35%, black 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 35%, black 35%, transparent 85%);
}
@media (max-width: 768px) {
  .hero__grid {
    background-image: url("../assets/hero/bg-hero-mobile.png");
    background-image: -webkit-image-set(
      url("../assets/hero/bg-hero-mobile.avif") type("image/avif"),
      url("../assets/hero/bg-hero-mobile.webp") type("image/webp"),
      url("../assets/hero/bg-hero-mobile.png")  type("image/png")
    );
    background-image: image-set(
      url("../assets/hero/bg-hero-mobile.avif") type("image/avif"),
      url("../assets/hero/bg-hero-mobile.webp") type("image/webp"),
      url("../assets/hero/bg-hero-mobile.png")  type("image/png")
    );
  }
}
.hero__halo {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero__halo--cyan {
  width: 500px; height: 500px;
  background: var(--blue-300);
  top: -200px; left: -150px;
}
.hero__halo--orange {
  width: 500px; height: 500px;
  background: var(--orange-300);
  bottom: -200px; right: -150px;
}

.hero__inner {
  position: relative;
  max-width: 1280px; margin: 0 auto; padding: 64px 32px 24px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
@media (max-width: 1100px) { .hero__inner { padding: 48px 24px 16px; } }
.hero__copy { max-width: 900px; width: 100%; }
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 16px 80px; /* bottom padding gives the floating shadow room to render */
  display: block;
  z-index: 1;
  overflow-x: clip; /* prevent horizontal scroll from wide devices; allow vertical bleed for shadow */
}
.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -1px; /* eliminate any sub-pixel gap below baseline */
}
@media (max-width: 1100px) {
  .hero__visual { padding: 0 8px 80px; }
}
@media (max-width: 720px) {
  .hero__visual { padding: 0 0 80px; }
}

/* ============================================================
   HERO DEVICES — phone / tablet / desktop that spread on scroll
   JS sets per-device --x var; here we map it to transform.
============================================================ */
.devices {
  position: relative;
  width: 1320px;
  height: 540px;
  max-width: 100%;
  margin: 24px auto 0;
}
.devices::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%; /* full container width — gradient fades to transparent before the edges, so overflow-x:clip cuts only invisible space */
  height: 100px;
  /* Dark centre expands to ~50% of the element half-width, then dissolves over the outer 40% */
  background: radial-gradient(ellipse 50% 60% at 50% 40%, rgba(15,22,32,0.24) 0%, rgba(15,22,32,0.09) 52%, rgba(15,22,32,0.02) 74%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

/* Scale the device stage down at smaller viewports.
   transform: scale is used first as a universal fallback (works in Firefox).
   The negative margin-bottom compensates for the layout space that transform
   doesn't collapse (unlike zoom). @supports then overrides with zoom for
   browsers that support it (Chrome, Safari, Edge) where zoom also recalculates
   layout dimensions, making the margin adjustment unnecessary. */
@media (max-width: 1400px) { .devices { transform: scale(0.92); transform-origin: top center; margin-bottom: -43px; } }
@media (max-width: 1200px) { .devices { transform: scale(0.78); transform-origin: top center; margin-bottom: -119px; } }
@media (max-width: 980px)  { .devices { transform: scale(0.62); transform-origin: top center; margin-bottom: -205px; } }
@media (max-width: 720px)  { .devices { transform: scale(0.48); transform-origin: top center; margin-bottom: -281px; } }
@media (max-width: 520px)  { .devices { transform: scale(0.36); transform-origin: top center; margin-bottom: -346px; } }
@supports (zoom: 1) {
  @media (max-width: 1400px) { .devices { transform: none; margin-bottom: 0; zoom: 0.92; } }
  @media (max-width: 1200px) { .devices { transform: none; margin-bottom: 0; zoom: 0.78; } }
  @media (max-width: 980px)  { .devices { transform: none; margin-bottom: 0; zoom: 0.62; } }
  @media (max-width: 720px)  { .devices { transform: none; margin-bottom: 0; zoom: 0.48; } }
  @media (max-width: 520px)  { .devices { transform: none; margin-bottom: 0; zoom: 0.36; } }
}

.device {
  position: absolute;
  top: 0;
  left: 50%;
  will-change: transform;
  transition: transform 0.08s linear;
}
.device--phone   { z-index: 3; }
.device--tablet  { z-index: 2; }
.device--desktop { z-index: 1; }

.hero__visual > img { display: none; }

.strike-soft {
  position: relative;
  display: inline-block;
  padding: 0 0.18em;
  color: var(--fg-strong);
  white-space: nowrap;
}
.strike-soft__txt {
  position: relative;
  z-index: 1;
}
.strike-soft__lasso {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 116%;
  height: 130%;
  color: #FF8A1F;
  filter: drop-shadow(0 1px 0 rgba(255,138,31,0.15));
  pointer-events: none;
  z-index: 0;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: lasso-draw 1.6s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes lasso-draw {
  to { stroke-dashoffset: 0; }
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg-strong);
  margin: 0 auto 24px;
  max-width: 880px;
  text-wrap: balance;
}
.hero__headline .line { display: block; }
.hero__headline .line--final { display: block; }
.pinword { display: inline-flex; align-items: baseline; gap: 0.18em; }

.strike { position: relative; display: inline-block; }
.strike::after {
  content: "";
  position: absolute; left: -0.05em; right: -0.05em;
  top: 56%; height: 6px;
  background: linear-gradient(90deg, #00B5E2, #FF8A1F);
  transform: rotate(-1.5deg) scaleX(0);
  transform-origin: left center;
  border-radius: 999px;
  animation: strike-draw 1.2s 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes strike-draw { to { transform: rotate(-1.5deg) scaleX(1); } }

.onto {
  font-style: italic;
  font-weight: 400;
  color: var(--fg-muted);
}

.pinword {
  display: inline-flex; align-items: baseline; gap: 0.18em;
  position: relative;
}
.pinword__svg {
  width: 0.7em; height: 0.7em;
  transform: translateY(0.08em);
  animation: pin-bob 2.4s infinite var(--ease-out);
  filter: drop-shadow(0 4px 12px rgba(255,138,31,0.4));
}
@keyframes pin-bob {
  0%, 100% { transform: translateY(0.08em); }
  50% { transform: translateY(-0.04em); }
}

.hero__sub {
  font-size: 18px; line-height: 1.6;
  color: var(--fg-muted);
  max-width: 720px; margin: 0 auto 18px;
  text-wrap: pretty;
}
.hero__support {
  display: inline-flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--fg-strong);
  margin: 0 auto 28px;
  max-width: 720px;
  letter-spacing: -0.005em;
}
.hero__support__sep {
  color: var(--orange-500);
  font-weight: 700;
  margin: 0 2px;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; justify-content: center; }
.hero__micro {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg-muted); font-size: 13px; margin: 0 auto;
  justify-content: center; text-align: left;
}
@media (max-width: 640px) {
  .hero__micro { display: flex; align-items: center; justify-content: center; text-align: center; }
  .hero__micro .micro__dot { display: none; }
}
.micro__dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.15);
  animation: pulse-green 1.8s infinite var(--ease-out);
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22,163,74,0.15); }
  50% { box-shadow: 0 0 0 8px rgba(22,163,74,0.03); }
}


/* ============================================================
   SOCIAL PROOF
============================================================ */
.proof {
  background: white;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
}
.proof__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.proof__head {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.proof__head__line {
  width: 40px; height: 1px;
  background: var(--neutral-300);
}
.proof__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
}
.proof__chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--neutral-50);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px; font-weight: 600;
  color: var(--fg-strong);
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.proof__chip:hover { transform: translateY(-2px); border-color: var(--blue-300); }
.proof__chip svg { color: var(--neutral-500); }

/* ============================================================
   MOBILE BANNER — app store download strip
============================================================ */
.mobile-banner {
  padding: 20px 0 64px;
}
.mobile-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-banner__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--blue-200);
  white-space: nowrap;
}
.mobile-banner__eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(0,181,226,0.2);
}
.mobile-banner__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent;
  color: var(--fg-default);
  border: 1.5px solid var(--border-default);
  border-radius: 12px;
  padding: 11.5px 22px;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.store-btn:hover {
  background: rgba(15,22,32,0.04);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Apple — dark border, icon inherits currentColor (renders as --fg-default) */
.store-btn--apple { border-color: var(--border-default); }
.store-btn--apple:hover { border-color: var(--border-strong); }

/* Google Play — blue tint on border to echo the blue path in the icon */
.store-btn--google { border-color: rgba(66,133,244,0.40); }
.store-btn--google:hover { border-color: rgba(66,133,244,0.65); }

.store-btn svg { flex-shrink: 0; }
.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.store-btn__sub {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}
.store-btn__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg-default);
  letter-spacing: -0.01em;
}
.mobile-banner__note {
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
  margin: 0;
  text-align: center;
}

/* ============================================================
/* ============================================================
   CONNECTED — every job linked to work/parts/people/places
============================================================ */
.connected {
  position: relative;
  padding: 120px 0;
  background: var(--bg-app);
  overflow: hidden;
}
.connected__bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,22,32,0.05) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.connected__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 480px at 18% 12%, rgba(0,181,226,0.08), transparent 70%),
    radial-gradient(ellipse 700px 480px at 82% 88%, rgba(255,138,31,0.08), transparent 70%);
}
.connected__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.connected__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
}
@media (max-width: 1080px) {
  .connected__layout { grid-template-columns: 1fr; gap: 56px; }
}

.connected__col--copy { max-width: 560px; }
.connected__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--blue-200);
  margin-bottom: 24px;
  white-space: nowrap;
}
.connected__eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(0,181,226,0.2);
}
.connected__head {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--fg-strong);
  margin: 0 0 28px;
  text-wrap: balance;
}
.connected__head__hot {
  background: linear-gradient(135deg, #00B5E2 0%, #FF8A1F 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic;
  font-weight: 700;
  padding-bottom: 0.2em;
  padding-right: 0.4em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.connected__body {
  display: grid; gap: 18px;
  margin-bottom: 24px;
}
.connected__body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-default);
  margin: 0;
  text-wrap: pretty;
}
.connected__body strong {
  color: var(--fg-strong);
  font-weight: 700;
}
.connected__kicker {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--fg-strong);
  letter-spacing: -0.018em;
  line-height: 1.35;
  margin: 0;
  padding: 4px 16px;
  background: none;
  border: none;
  border-left: 3px solid var(--orange-500);
  border-radius: 0;
  box-shadow: none;
  text-wrap: balance;
}

/* ----- Hub visual: scattered sources flowing into a connected job ----- */
.hub {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 0.95;
  margin: 0 auto;
}

/* Faded "before" sources floating in corners */
.hub__ghost {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  font-family: var(--font-body);
  color: var(--fg-muted);
  background: var(--bg-surface);
  border: 1px dashed var(--neutral-300);
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: var(--shadow-xs);
  opacity: 0.6;
  z-index: 1;
}
.hub__ghost svg { color: var(--neutral-400); }
.hub__ghost--msg   { top: 2%;  left: 0%; }
.hub__ghost--mail  { top: 2%;  right: 0%; }
.hub__ghost--sheet { bottom: 6%; left: 4%; }
.hub__ghost--file  { bottom: 6%; right: 4%; }

.hub__lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Central job card */
.hub__center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(86%, 320px);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 16px 18px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 4;
  display: grid; gap: 8px;
}
.hub__center::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,181,226,0.12), rgba(255,138,31,0.12));
  z-index: -1;
  filter: blur(8px);
}
.hub__center__hd {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.hub__pri {
  font-size: 10px; font-weight: 700;
  color: var(--orange-700);
  background: var(--orange-50);
  border: 1px solid var(--orange-200);
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.hub__id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hub__center__title {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 800;
  color: var(--fg-strong);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.hub__center__sub {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px;
  color: var(--fg-muted);
  padding-top: 6px;
  border-top: 1px dashed var(--border-subtle);
}
.hub__pin {
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center; justify-content: center;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 4px;
  border: 1px solid var(--blue-200);
}

/* 4 satellite nodes connected to center */
.hub__node {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 8px 12px 8px 8px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
  z-index: 3;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.hub__node:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hub__node--work   { top: 16%; left: 6%;  }
.hub__node--parts  { top: 16%; right: 6%; }
.hub__node--people { bottom: 18%; left: 6%; }
.hub__node--place  { bottom: 18%; right: 6%; }
.hub__node__icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hub__node__icon--blue {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  color: var(--blue-600);
}
.hub__node__icon--orange {
  background: var(--orange-50);
  border: 1px solid var(--orange-200);
  color: var(--orange-600);
}
.hub__node__txt b {
  display: block;
  font-size: 11.5px; font-weight: 700;
  color: var(--fg-strong);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 2px;
}
.hub__node__txt span {
  display: block;
  font-size: 10.5px;
  color: var(--fg-muted);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .hub { max-width: 380px; }
  .hub__ghost { font-size: 10px; padding: 4px 8px; }
  .hub__node { padding: 6px 10px 6px 6px; }
  .hub__node__icon { width: 24px; height: 24px; }
  .hub__node__txt b { font-size: 10.5px; }
  .hub__node__txt span { font-size: 9.5px; }
}
@media (max-width: 720px) {
  .connected { padding: 48px 0 16px; }
  .connected__col--copy { text-align: center; max-width: 100%; }
  .connected__eyebrow { display: inline-flex; }
  .connected__kicker { text-align: center; border-left: none; padding-left: 0; }
  .lists { padding: 16px 0 60px; }
}

/* ============================================================
   HOW IT WORKS — 2x2 bento, product screenshots
============================================================ */
.how {
  padding: 120px 0;
  background: var(--bg-app);
  position: relative;
}
.how__head { margin-bottom: 56px; text-align: center; }
.how__head .bighead { margin: 0 auto; }

.how__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1132px;
}
@media (max-width: 880px) {
  .how__grid { grid-template-columns: 1fr; }
}

.zstep {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 28px 32px 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.zstep:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.zstep__no {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 26px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 999px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.zstep__h {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  margin: 0 0 10px;
}
.zstep__p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0 0 22px;
  text-wrap: pretty;
}

.zstep__art {
  margin: auto -32px 0;
  background: var(--neutral-50);
  border-top: 1px solid var(--border-subtle);
  padding: 18px 24px 24px;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.zstep__art img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .how { padding: 80px 0; }
  .how__head { margin-bottom: 40px; }
  .zstep { padding: 24px 24px 0; }
  .zstep__art { margin: auto -24px 0; padding: 14px 18px 18px; }
}

/* ============================================================
   THREE LISTS — CHAPTER ROWS
============================================================ */
.lists {
  padding: 120px 0;
  background: var(--bg-app);
}
.lists__head { text-align: center; margin: 0 auto 80px; max-width: 760px; }
.lists__head .bigsub { margin: 0 auto; }

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 40px;
  padding: 56px 48px;
  border-radius: 28px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.chapter--blue {
  background: linear-gradient(135deg, #ECFAFF 0%, #FFFFFF 60%);
}
.chapter--violet {
  background: linear-gradient(135deg, #F3ECFF 0%, #FFFFFF 60%);
}
.chapter--orange {
  background: linear-gradient(135deg, #FFF6EC 0%, #FFFFFF 60%);
}
@media (max-width: 980px) {
  .chapter { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; }
}

.chapter__rail { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.chapter__num {
  font-family: var(--font-display);
  font-size: 64px; font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, currentColor, transparent);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}
.chapter--blue .chapter__num { color: var(--blue-500); }
.chapter--violet .chapter__num { color: #8B5CF6; }
.chapter--orange .chapter__num { color: var(--orange-500); }
.chapter__rule {
  flex: 1; width: 1.5px;
  background: linear-gradient(to bottom, currentColor, transparent);
  opacity: 0.4;
}
.chapter--blue .chapter__rule { color: var(--blue-500); }
.chapter--violet .chapter__rule { color: #8B5CF6; }
.chapter--orange .chapter__rule { color: var(--orange-500); }
@media (max-width: 980px) {
  .chapter__rail { flex-direction: row; }
  .chapter__num { font-size: 48px; }
  .chapter__rule { width: auto; height: 1.5px; background: linear-gradient(to right, currentColor, transparent); }
}

.chapter__tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 16px;
}
.tag--blue { background: var(--blue-100); color: var(--blue-800); }
.tag--violet { background: #E4D7FF; color: #5B21B6; }
.tag--orange { background: var(--orange-100); color: var(--orange-800); }

.chapter__h {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  margin: 0 0 16px;
  text-wrap: balance;
}
.chapter__copy p {
  font-size: 16px; line-height: 1.6;
  color: var(--fg-default);
  margin: 0 0 20px;
  max-width: 520px;
}
.chapter__bullets {
  display: grid; gap: 8px;
  font-size: 14px;
  color: var(--fg-default);
}
.chapter__bullets li {
  position: relative;
  padding-left: 22px;
}
.chapter__bullets li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.5;
}
.chapter--blue .chapter__bullets li::before { background: var(--blue-500); opacity: 1; }
.chapter--violet .chapter__bullets li::before { background: #8B5CF6; opacity: 1; }
.chapter--orange .chapter__bullets li::before { background: var(--orange-500); opacity: 1; }

/* Chapter demo cards */
.chapter__demo { display: flex; align-items: stretch; }

.wo {
  flex: 1;
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 14px;
}
.wo__hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wo__loc {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; color: var(--fg-muted);
}
.wo__title { font-size: 15px; font-weight: 700; color: var(--fg-strong); line-height: 1.3; }
.wo__photos { display: flex; gap: 8px; }
.wo__photo {
  width: 56px; height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
}
.wo__photo svg { width: 100%; height: 100%; }
.wo__photo--more {
  background: var(--neutral-100);
  color: var(--fg-muted);
  font-size: 11px; font-weight: 700;
}
.wo__checklist { display: grid; gap: 8px; }
.wo__checklist label {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--fg-default);
  cursor: pointer;
}
.wo__checklist input { accent-color: var(--blue-500); width: 16px; height: 16px; }
.wo__checklist label:has(input:checked) { color: var(--fg-muted); text-decoration: line-through; }
.wo__ft {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
  flex-wrap: wrap;
}
.wo__people { display: flex; align-items: center; gap: 10px; }
.avstack { display: inline-flex; }
.avstack > span {
  width: 22px; height: 22px; border-radius: 999px;
  color: white; font-weight: 700; font-size: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid white; margin-left: -6px;
}
.avstack > span:first-child { margin-left: 0; }
.wo__people__txt { font-size: 12px; color: var(--fg-default); }
.wo__linked {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700;
  background: var(--orange-50); color: var(--orange-700);
  padding: 4px 10px; border-radius: 999px;
}
.wo__linked__dot { width: 6px; height: 6px; border-radius: 999px; background: var(--orange-500); }

.projcard, .purcard {
  flex: 1;
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 16px;
}
.projcard__hd, .purcard__hd { display: flex; align-items: center; gap: 10px; }
.projcard__title, .purcard__title {
  font-size: 15px; font-weight: 700; color: var(--fg-strong);
}
.stages { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.stages__step {
  position: relative;
  padding: 10px 14px 10px 38px;
  background: var(--bg-app);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 13px; font-weight: 500;
  color: var(--fg-muted);
  display: flex; align-items: center; justify-content: space-between;
}
.stages__step::before {
  content: "";
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 999px;
  border: 2px solid var(--neutral-300);
  background: white;
}
.stages__step--done {
  color: var(--fg-default); background: var(--success-bg); border-color: rgba(22,163,74,0.18);
}
.stages__step--done::before { background: var(--success); border-color: var(--success); }
.stages__step--active {
  color: var(--fg-strong); font-weight: 700;
  background: #F3ECFF; border-color: #C4B5FD;
}
.stages__step--active::before { background: #8B5CF6; border-color: #8B5CF6; box-shadow: 0 0 0 4px rgba(139,92,246,0.18); }
.stages__time {
  font-family: var(--font-mono); font-size: 10.5px;
  color: #6D28D9; background: white; padding: 2px 7px; border-radius: 4px;
}
.projcard__ft {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}
.projcard__ftpart {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: var(--fg-muted); font-weight: 600;
}

.ocr--big {
  display: flex; gap: 12px; align-items: center;
  background: var(--ink);
  color: white;
  border-radius: 10px;
  padding: 12px 14px;
}
.ocr__icon {
  width: 28px; height: 28px;
  background: rgba(255,138,31,0.2); color: var(--orange-400);
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.ocr__label { font-size: 10.5px; color: rgba(255,255,255,0.55); margin-bottom: 2px; letter-spacing: 0.04em; text-transform: uppercase; }
.ocr__num { font-size: 13px; color: var(--orange-300); font-weight: 500; }
.quotes { display: grid; gap: 8px; }
.quote {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-app); border: 1px solid var(--border-subtle);
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px;
}
.quote__co { flex: 1; font-weight: 600; color: var(--fg-strong); }
.quote__price { font-size: 13px; color: var(--fg-default); font-weight: 700; }
.quote--picked { background: var(--success-bg); border-color: rgba(22,163,74,0.25); }
.quote__check {
  width: 18px; height: 18px;
  background: var(--success); color: white;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* TOOLS STRIP — pivot to features */
.tools-strip {
  background: var(--ink);
  color: white;
  border-radius: 28px;
  padding: 48px;
  margin-top: 28px;
  position: relative;
  overflow: hidden;
}
.tools-strip::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 10% 0%, rgba(0,181,226,0.18), transparent),
    radial-gradient(ellipse 500px 300px at 90% 100%, rgba(255,138,31,0.18), transparent);
  pointer-events: none;
}
.tools-strip__lede {
  position: relative;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
  max-width: 880px;
  text-wrap: pretty;
}
.tools-strip__cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px;
  color: var(--orange-400);
  font-size: 15px; font-weight: 700;
  border-bottom: 1.5px solid rgba(255,138,31,0.4);
  padding-bottom: 4px;
  transition: all 180ms var(--ease-out);
}
.tools-strip__cta:hover { color: var(--orange-300); border-color: var(--orange-300); }
.tools {
  position: relative;
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.tool {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 14px;
  color: white;
  font-size: 12.5px; font-weight: 500;
  transition: background 180ms var(--ease-out);
}
.tool:hover { background: rgba(255,255,255,0.10); }
.tool svg { color: var(--blue-400); flex-shrink: 0; }
.tool:nth-child(3n) svg { color: var(--orange-400); }
@media (max-width: 1100px) { .tools { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .tools { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   CAPABILITIES — What you can do (action grid)
============================================================ */
.capabilities {
  position: relative;
  padding: 120px 0;
  background: var(--bg-app);
  overflow: hidden;
}
.capabilities__bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,22,32,0.05) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 25%, transparent 80%);
  pointer-events: none;
}
.capabilities__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.capabilities__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.capabilities__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--blue-200);
  margin-bottom: 22px;
  white-space: nowrap;
}
.capabilities__eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(0,181,226,0.2);
}
.capabilities__head .bighead { margin: 0 auto 16px; }
.capabilities__intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0 auto;
  max-width: 660px;
  text-wrap: pretty;
}

.capabilities__bento {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 18px;
}
@media (max-width: 1024px) {
  .capabilities__bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .capabilities__bento { grid-template-columns: 1fr; }
}

/* ----- Bento card (default = 2 cols, 1 row) ----- */
.bento {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 18px;
  padding: 24px 24px 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
  grid-column: span 2;
  min-height: 320px;
}
.bento:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.bento--feature { grid-column: span 4; grid-row: span 1; min-height: 380px; }
.bento--side    { grid-column: span 2; grid-row: span 1; min-height: 380px; }
@media (max-width: 1024px) {
  .bento,
  .bento--feature,
  .bento--side { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento,
  .bento--feature,
  .bento--side { grid-column: 1; min-height: 0; }
}

.bento__head { display: grid; gap: 8px; margin-bottom: 18px; }
.bento__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--blue-600);
  background: transparent;
  border: 1.5px solid var(--blue-400);
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
  white-space: nowrap;
}
.bento--feature .bento__eyebrow {
  color: var(--orange-600);
  background: transparent;
  border-color: var(--orange-400);
}
.bento__h {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  margin: 0;
}
.bento--feature .bento__h { font-size: clamp(22px, 2vw, 28px); }
.bento__p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
  text-wrap: pretty;
}
.bento--feature .bento__p { font-size: 15px; max-width: 460px; }

/* ----- Bento visual: product screenshot composite ----- */
.bento__visual {
  flex: 1 0 auto;
  position: relative;
  margin: 0 -24px -1px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--bg-surface);
  overflow: hidden;
  min-height: 220px;
  padding: 0;
}
.bento__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
.bento--feature .bento__visual { min-height: 320px; }
@media (max-width: 720px) {
  .bento__visual { margin: 0 -22px -1px; min-height: 180px; }
  .bento--feature .bento__visual { min-height: 220px; }
}

/* ============================================================
   BENEFITS — ASYMMETRIC BENTO
============================================================ */
.benefits {
  padding: 120px 0;
  background: white;
}
.benefits__head { text-align: center; margin: 0 auto 64px; max-width: 760px; }

.benefits__bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.benefit--wide {
  grid-column: span 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.benefit--wide .benefit__copy { display: flex; flex-direction: column; }
@media (max-width: 880px) {
  .benefits__bento { grid-template-columns: 1fr; }
  .benefit--wide { grid-column: span 1; grid-template-columns: 1fr; }
}

.benefit {
  background: var(--bg-app);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.benefit--dark { background: var(--ink); color: white; border-color: rgba(255,255,255,0.08); }
.benefit--dark h3 { color: white; }
.benefit--dark p { color: rgba(255,255,255,0.7); }
.benefit--orange {
  background: linear-gradient(135deg, var(--orange-50), white 70%);
  border-color: var(--orange-200);
}

.benefit__no {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.benefit--dark .benefit__no { color: rgba(255,255,255,0.5); }
.benefit h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg-strong);
  margin: 0 0 14px;
  text-wrap: balance;
}
.benefit p { color: var(--fg-muted); margin: 0 0 22px; line-height: 1.55; font-size: 15px; }

.benefit__viz { margin-top: auto; }

/* benefit viz: chain */
.bvz {
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
}
.bvz__chain {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.bvz__node {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-app); border: 1px solid var(--border-subtle);
  border-radius: 999px; padding: 6px 12px;
  font-size: 12.5px; font-weight: 600; color: var(--fg-strong);
}
.bvz__node--done {
  background: var(--success-bg); color: #0E7A36; border-color: rgba(22,163,74,0.22);
}
.bvz__av {
  width: 20px; height: 20px; border-radius: 999px;
  color: white; font-size: 9px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.bvz__edge {
  flex: 1; min-width: 16px; height: 1.5px;
  background: linear-gradient(to right, var(--blue-300), var(--orange-300));
}

/* benefit viz: phases */
.phases { display: grid; gap: 10px; }
.phases__bar {
  position: relative;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  height: 32px;
  display: flex; align-items: center;
  padding: 0 14px;
  overflow: hidden;
}
.phases__bar > span:first-child {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
  border-radius: 8px;
}
.phases__bar:nth-child(2) > span:first-child { background: linear-gradient(90deg, var(--orange-500), var(--orange-700)); }
.phases__bar:nth-child(3) > span:first-child { background: linear-gradient(90deg, #8B5CF6, #6D28D9); }
.phases__bar b {
  position: relative; z-index: 1;
  font-size: 12px; font-weight: 700; color: white;
}


/* benefit viz: ocr arrow */
.ocrviz {
  display: flex; align-items: center; gap: 14px;
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
}
.ocrviz__plate {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--ink); color: white;
  padding: 10px 14px; border-radius: 8px;
  flex: 1;
}
.ocrviz__label { font-size: 11px; color: #fff; }
.ocrviz__plate .ocrviz__small { color: var(--orange-300); font-size: 12px; font-weight: 600; }
.ocrviz__arrow { color: var(--orange-500); flex-shrink: 0; }
.ocrviz__po {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 13px; font-weight: 700; color: var(--fg-strong);
}

/* ============================================================
   WHO IT'S FOR — bento grid
============================================================ */
.who {
  position: relative;
  padding: 120px 0;
  background: var(--bg-app);
  overflow: hidden;
}
.who__bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,22,32,0.05) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 50%, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 50%, black 25%, transparent 80%);
  pointer-events: none;
}

.who .container { position: relative; }

.who__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.who__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--blue-200);
  margin-bottom: 22px;
  white-space: nowrap;
}
.who__eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(0,181,226,0.2);
}
.who__head .bighead { margin: 0 auto; }

.who__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .who__grid { grid-template-columns: 1fr; }
}

.who-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 18px;
  padding: 32px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.who-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.who-card::before {
  /* subtle top gradient accent per card */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0.9;
}
.who-card--maritime::before { background: linear-gradient(90deg, #00B5E2, #6DC4E0); }
.who-card--yards::before    { background: linear-gradient(90deg, #FF8A1F, #FFB55C); }
.who-card--facility::before { background: linear-gradient(90deg, #00B5E2, #FF8A1F); }
.who-card--home::before     { background: linear-gradient(90deg, #FFB55C, #FF8A1F); }

.who-card__head {
  display: grid; gap: 12px;
}
.who-card__no {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.who-card--maritime .who-card__no { color: var(--blue-700);   background: var(--blue-50);   border-color: var(--blue-200); }
.who-card--yards    .who-card__no { color: var(--orange-700); background: var(--orange-50); border-color: var(--orange-200); }
.who-card--facility .who-card__no { color: var(--blue-700);   background: var(--blue-50);   border-color: var(--blue-200); }
.who-card--home     .who-card__no { color: var(--orange-700); background: var(--orange-50); border-color: var(--orange-200); }

.who-card__h {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  margin: 0;
  text-wrap: balance;
}
.who-card__p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
  text-wrap: pretty;
}
.who-card__tags {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.who-card__tags li {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--neutral-50);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .who { padding: 80px 0; }
  .who-card { padding: 26px; }
}

/* ============================================================
   WITH / WITHOUT
============================================================ */
.ww { padding: 120px 0; background: white; }
.ww__head { text-align: center; margin: 0 auto 56px; max-width: 820px; }

.ww__board {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 780px) { .ww__board { grid-template-columns: 1fr; } }

.ww__col {
  padding: 36px;
  border-radius: 24px;
}
.ww__col--without {
  background: linear-gradient(180deg, #FFF1F2 0%, white 60%);
  border: 1.5px solid #FECDD3;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ww__col--without::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(135deg, #F43F5E 0%, #FB7185 40%, #FDA4AF 100%);
}
.ww__col--with {
  background:
    linear-gradient(180deg, var(--blue-50) 0%, white 60%);
  border: 1.5px solid var(--blue-200);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ww__col--with::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.ww__head__sm { margin-bottom: 22px; }
.ww__chip {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.ww__chip--off { background: #F43F5E; color: white; }
.ww__chip--on { background: var(--success); color: white; }
.ww__col ul li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 15.5px; line-height: 1.5;
  color: var(--fg-default);
}
.ww__col ul li:last-child { border-bottom: 0; }
.ww__col ul li svg { flex-shrink: 0; margin-top: 4px; }
.ww__strike { color: var(--fg-muted); text-decoration: line-through; text-decoration-color: rgba(225,29,72,0.55); text-decoration-thickness: 1.5px; }
.ww__col--with li { color: var(--fg-strong); font-weight: 500; }

/* ============================================================
   FAQ
============================================================ */
.faq { padding: 120px 0; background: var(--bg-app); }
.faq__head { text-align: center; margin: 0 auto 56px; max-width: 760px; }
.faq__list { display: grid; gap: 10px; max-width: 880px; margin: 0 auto; }
.faq__item {
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.faq__item[open] { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  font-size: 16px; font-weight: 600;
  color: var(--fg-strong);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
  margin-left: auto;
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--neutral-100);
  position: relative;
  transition: all 280ms var(--ease-out);
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 10px; height: 1.8px;
  background: var(--fg-default);
  transform: translate(-50%, -50%);
}
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 280ms var(--ease-out); }
.faq__item[open] .faq__plus { background: var(--blue-500); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: white; }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__a {
  padding: 0 24px 24px;
  color: var(--fg-default);
  font-size: 15px; line-height: 1.65;
}

/* ============================================================
   FINAL CTA
============================================================ */
.finalcta { padding: 80px 0 120px; background: var(--bg-app); }
.finalcta__card {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-xl), 0 30px 80px -30px rgba(0,121,160,0.45);
}
.finalcta__bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.finalcta__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
}
.finalcta__halo {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle 400px at 20% 30%, rgba(0,181,226,0.30), transparent 60%),
    radial-gradient(circle 400px at 80% 70%, rgba(255,138,31,0.30), transparent 60%);
}

/* Falling pin animation */
.fpin {
  position: absolute;
  width: 22px; height: 30px;
  background: var(--orange-500);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 22s-7-7.5-7-13a7 7 0 1 1 14 0c0 5.5-7 13-7 13z'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 22s-7-7.5-7-13a7 7 0 1 1 14 0c0 5.5-7 13-7 13z'/></svg>") center / contain no-repeat;
  filter: drop-shadow(0 4px 8px rgba(255,138,31,0.4));
  opacity: 0;
  animation: fpin-fall 5s infinite linear;
}
.fpin--1 { left: 12%; top: -40px; animation-delay: 0s; }
.fpin--2 { left: 28%; top: -40px; animation-delay: 1.2s; background: var(--blue-500); filter: drop-shadow(0 4px 8px rgba(0,181,226,0.4)); }
.fpin--3 { left: 48%; top: -40px; animation-delay: 2.4s; }
.fpin--4 { left: 64%; top: -40px; animation-delay: 0.6s; background: var(--success); }
.fpin--5 { left: 80%; top: -40px; animation-delay: 1.8s; background: #8B5CF6; }
.fpin--6 { left: 92%; top: -40px; animation-delay: 3.0s; }
@keyframes fpin-fall {
  0% { transform: translateY(0) rotate(-10deg); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; transform: translateY(560px) rotate(8deg); }
  100% { transform: translateY(620px) rotate(8deg); opacity: 0; }
}

.finalcta__inner {
  position: relative;
  padding: 110px 36px 90px;
  text-align: center;
  max-width: 820px; margin: 0 auto;
}
.finalcta__head {
  font-family: var(--font-display);
  color: white;
  margin: 0 0 18px;
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  text-wrap: balance;
}
.finalcta__sub {
  color: rgba(255,255,255,0.78);
  font-size: 18px; line-height: 1.55;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.finalcta__ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.finalcta__micro { color: rgba(255,255,255,0.55); font-size: 13px; margin: 0 0 40px; letter-spacing: 0.02em; }

@media (max-width: 560px) { .finalcta__inner { padding: 64px 20px 56px; } }
.finalcta__stores { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 10px 18px;
  color: white;
  transition: background 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.store:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.store > div { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store > div span { font-size: 10px; opacity: 0.7; }
.store b { font-size: 14px; font-weight: 700; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 40px;
}
.footer__top {
  display: flex; align-items: center; gap: 22px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 48px;
}
.footer__logo img { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer__tag {
  font-size: 17px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin: 0;
}


.footer__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__grid .footer__col-head {
  font-size: 12px; font-weight: 700; color: white;
  margin: 0 0 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer__grid ul { display: grid; gap: 10px; }
.footer__grid a {
  font-size: 13.5px; color: rgba(255,255,255,0.55);
  transition: color 120ms var(--ease-out);
}
.footer__grid a:hover { color: white; }

.footer__stores { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.store--mini {
  background: rgba(255,255,255,0.06); padding: 14px 18px;
  font-size: 14px; font-weight: 600;
  border-radius: 10px; color: rgba(255,255,255,0.85);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 120ms var(--ease-out), color 120ms var(--ease-out);
}
.store--mini:hover { background: rgba(255,255,255,0.12); color: white; }

.footer__bottom {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 120ms var(--ease-out);
}
.footer__social a:hover { background: var(--blue-500); color: white; }
.footer__legal { flex: 1; font-size: 12px; color: rgba(255,255,255,0.45); margin: 0; min-width: 220px; }
.footer__legallinks { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legallinks a { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer__legallinks a:hover { color: white; }


/* ============================================================
   HERO DEVICES v2 — vertical centering + real screenshots
   Overrides the per-device chrome from earlier in the file.
   Phone keeps portrait; tablet is landscape per product reality;
   desktop becomes a true 16:9 window.
============================================================ */

.hero__visual { padding-bottom: 64px; } /* space for the floating ground shadow */

.devices { height: 560px; }

.device {
  top: 50%;
  /* JS layers translateX(-50%) translateY(-50%) translateX(Xpx) on top */
  transform: translate(-50%, -50%);
}

/* ---- PHONE (portrait, screenshot fills the inside) ---- */
.phone {
  width: 232px;
  height: 472px;
  border-radius: 38px;
  background: #0F1620;
  padding: 8px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    inset 0 0 0 3px rgba(15,22,32,1),
    0 22px 50px -10px rgba(15,22,32,0.45),
    0 8px 18px -6px rgba(15,22,32,0.25);
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #0F1620;
  border-radius: 999px;
  z-index: 3;
  display: block;
}
.phone__home {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 96px;
  height: 4px;
  background: rgba(255,255,255,0.32);
  border-radius: 999px;
  z-index: 3;
  display: block;
}
.phone__shot {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  display: block;
  border-radius: 30px;
  object-fit: cover;
  object-position: top center;
  background: #F6F8FA;
}

/* ---- TABLET (landscape, screenshot fills the inside) ---- */
.tablet {
  width: 580px;
  height: 410px;
  border-radius: 24px;
  background: #0F1620;
  padding: 10px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    inset 0 0 0 3px rgba(15,22,32,1),
    0 28px 60px -12px rgba(15,22,32,0.45),
    0 10px 22px -8px rgba(15,22,32,0.25);
  display: block;
}
.tablet__shot {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  display: block;
  border-radius: 14px;
  object-fit: cover;
  object-position: center top;
  background: #F6F8FA;
}

/* ---- DESKTOP (16:9, browser chrome + screenshot below) ---- */
.desktop {
  width: 700px;
  height: 440px;
  border-radius: 14px;
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(15,22,32,0.08),
    0 28px 60px -12px rgba(15,22,32,0.45),
    0 10px 22px -8px rgba(15,22,32,0.25);
  display: flex;
  flex-direction: column;
}
.desktop__tlbar {
  height: 34px;
  background: #F6F8FA;
  border-bottom: 1px solid #E2E7EE;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
  flex-shrink: 0;
}
.desktop__tlights { display: inline-flex; gap: 6px; }
.desktop__tlights i { width: 10px; height: 10px; border-radius: 50%; background: #CBD3DD; }
.desktop__tlights i:nth-child(1) { background: #FF5F57; }
.desktop__tlights i:nth-child(2) { background: #FEBC2E; }
.desktop__tlights i:nth-child(3) { background: #28C840; }
.desktop__url {
  flex: 1;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.desktop__url svg { opacity: 0.55; }
.desktop__chrome-spacer { width: 40px; }
.desktop__shot {
  flex: 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: #F6F8FA;
  min-height: 0;
}


/* ============================================================
   NAV — MEGA MENU + MOBILE DRAWER  (added in maintenance pass)
============================================================ */
.nav__center { position: relative; }

.nav__megawrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__megabtn {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--fg-default);
  background: transparent; border: 0; padding: 0;
  cursor: pointer;
  transition: color 120ms var(--ease-out);
}
.nav__megabtn:hover { color: var(--ink); }
.nav__caret { transition: transform 180ms var(--ease-out); opacity: 0.7; }
.nav__megawrap.is-open .nav__caret,
.nav__megawrap:hover .nav__caret { transform: rotate(180deg); }

.nav__mega {
  position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(560px, calc(100vw - 48px));
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: 0 28px 64px -18px rgba(15,22,32,0.18),
              0 6px 16px -4px rgba(15,22,32,0.08);
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  opacity: 0; pointer-events: none;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
  z-index: 80;
}
.nav__mega::before {
  content: ""; position: absolute; top: -7px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: white;
  border-left: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
}
.nav__megawrap:hover .nav__mega,
.nav__megawrap.is-open .nav__mega,
.nav__megawrap:focus-within .nav__mega {
  opacity: 1; transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
/* Invisible bridge so hover doesn't break when crossing the gap to the panel */
.nav__megawrap::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0;
  height: 22px;
}

.nav__megacard {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  align-items: start;
  transition: background 120ms var(--ease-out), border-color 120ms var(--ease-out);
}
.nav__megacard:hover {
  background: var(--blue-50);
  border-color: var(--blue-200);
}
.nav__megacard__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav__megacard__icon svg { display: block; width: 22px; height: 22px; }
.nav__megacard__icon--blue { background: var(--blue-50); color: var(--blue-500); border: 1px solid var(--blue-200); }
.nav__megacard__icon--blue svg { stroke: var(--blue-500); }
.nav__megacard__icon--blue svg polygon { fill: var(--blue-500); }
.nav__megacard__icon--orange { background: var(--orange-50); color: var(--orange-500); border: 1px solid var(--orange-200); }
.nav__megacard__icon--orange svg { stroke: var(--orange-500); }
.nav__megacard__body { display: grid; gap: 3px; min-width: 0; }
.nav__megacard b {
  display: block;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 700; color: var(--fg-strong);
  letter-spacing: -0.01em;
}
.nav__megacard__body span {
  display: block;
  font-size: 12.5px; line-height: 1.45; color: var(--fg-muted);
}

/* ---- Mobile drawer ---- */
@media (max-width: 880px) {
  /*
   * Push nav__right to the far right. .nav__center is hidden on mobile,
   * removing its margin: 0 auto spacer — so we apply margin-left: auto here.
   */
  .nav__right { margin-left: auto; }

  /* position: sticky creates a containing block just like relative — the
     dropdown's left:0/right:0 stays full-width without overriding to relative */
  .nav__inner { position: static; }

  .nav__center {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    width: 100%;
    max-width: 100vw;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    background: white;
    padding: 8px 24px 20px;
    gap: 0;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 16px 32px rgba(15,22,32,0.08);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .nav.is-open .nav__center { display: flex; }
  .nav__center > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 15px; font-weight: 600;
    color: var(--fg-strong);
  }
  .nav__megawrap {
    display: block;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav__megabtn {
    width: 100%; justify-content: space-between;
    padding: 14px 0;
    font-size: 15px; font-weight: 600;
    color: var(--fg-strong);
  }
  .nav__mega {
    position: static;
    width: auto; transform: none; opacity: 1;
    pointer-events: auto;
    box-shadow: none; border: 0;
    padding: 0 0 12px;
    display: none;
    grid-template-columns: 1fr;
    background: transparent;
    z-index: auto;
  }
  .nav__mega::before { display: none; }
  .nav__megawrap.is-open .nav__mega { display: grid; transform: none; } /* must override desktop translateX(-50%) */
  .nav__megawrap:not(.is-open):hover .nav__mega { opacity: 0; pointer-events: none; display: none; }
  .nav__megacard {
    background: var(--bg-app);
    border-color: var(--border-subtle);
  }
}
@media (max-width: 880px) {
  .nav__burger.is-active svg { transform: rotate(90deg); }
  .nav__burger svg { transition: transform 220ms var(--ease-out); }
}

/* ============================================================
   HERO DEVICE MOCKUPS — Screen-as-Container (overflow:hidden,
   image absolutely mapped to inner screen, cover fit, top center)
============================================================ */
.device--phone .phone,
.device--tablet .tablet,
.device--desktop .desktop {
  overflow: hidden;
}
.phone__shot,
.tablet__shot,
.desktop__shot {
  object-fit: cover;
  object-position: top center;
}
.desktop__shot {
  /* explicit min-height so it always fills the inner area below the chrome */
  display: block; width: 100%;
  min-height: 0;
}

/* ============================================================
   CAPABILITIES BENTO — uniform spacing, soft drop shadow,
   internal padding, contained device frames.
   (Overrides earlier .bento / .bento__visual defaults.)
============================================================ */
.capabilities__bento { gap: 40px; }
@media (max-width: 720px) { .capabilities__bento { gap: 24px; } }

.bento {
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(15,22,32,0.04),
    0 12px 28px -12px rgba(15,22,32,0.08);
  padding: 28px 28px 0;
}
.bento:hover {
  box-shadow:
    0 1px 2px rgba(15,22,32,0.05),
    0 18px 38px -14px rgba(15,22,32,0.14);
}
.bento__visual {
  border-radius: 0;
  margin: 0 0 28px;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento--feature .bento__visual { min-height: 380px; }
.bento__visual img {
  display: block;
  width: 100%; height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
}
@media (max-width: 720px) {
  .bento { padding: 22px 22px 0; }
  .bento__visual { margin: 0 0 22px; min-height: 200px; padding: 0; }
  .bento--feature .bento__visual { min-height: 260px; }
}

/* ============================================================
   THREE LISTS — Generator overhaul demo alignment fix
   The stages list items had a left-absolute dot bullet that
   indented the text 38px in, causing the steps to sit far to
   the right of the "Generator overhaul" title. Convert each
   stage row to a flex row with an inline bullet so the text
   aligns to the same left edge as the card title.
============================================================ */
.chapter__demo { align-items: flex-start; justify-content: flex-start; }
.chapter__demo > .projcard,
.chapter__demo > .purcard,
.chapter__demo > .wo {
  width: 100%;
}
@media (min-width: 981px) {
  /* Pull the demo column closer to the copy so items align with copy start */
  .chapter { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; }
}
.stages__step {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.stages__step::before {
  position: static;
  transform: none;
  flex-shrink: 0;
}

/* ============================================================
   FINAL NAV CARET CHEVRON
============================================================ */
.nav__caret { width: 11px; height: 11px; }


/* ============================================================
   HERO DEVICES v3 — use the user's pre-rendered device images
   directly (each image already includes its own bezel/chrome),
   with a soft drop shadow for depth. No CSS-drawn frames.
============================================================ */
.devices { height: 540px; }

.device { top: 50%; transform: translate(-50%, -50%); }

/* Hide any legacy bezel chrome from earlier versions */
.device .phone,
.device .tablet,
.device .desktop,
.device .phone__notch,
.device .phone__home,
.device .desktop__tlbar { all: unset; }
.device .desktop__tlbar { display: none; }

.device__img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  filter: none;
  -webkit-user-drag: none;
  user-select: none;
}

.devices .device__img--phone   { width: 232px; }
.devices .device__img--tablet  { width: 580px; }
.devices .device__img--desktop { width: 720px; }

@media (max-width: 720px) {
  .devices .device__img--phone   { width: 200px; }
  .devices .device__img--tablet  { width: 480px; }
  .devices .device__img--desktop { width: 600px; }
}

/* Active nav link — brand gradient underline */
.nav__center a.nav__active,
.nav__center .nav__link.nav__active {
    position: relative;
    color: var(--fg-strong);
    font-weight: 600;
}

    .nav__center a.nav__active::after,
    .nav__center .nav__link.nav__active::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        right: 0;
        height: 2.5px;
        background: linear-gradient(90deg, #00B5E2 0%, #FF8A1F 100%);
        border-radius: 999px;
    }

.btn--ghostlight {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
}

    .btn--ghostlight:hover {
        background: rgba(255, 255, 255, 0.10);
        border-color: rgba(255, 255, 255, 0.60);
    }

    @media(max-width:767px){
        .nav__center a.nav__active::after, .nav__center .nav__link.nav__active::after {
            bottom: -4px !important; 
        }
    }
/* ================================================================
   BACK TO TOP — global element, belongs in main (not pages.css only)
================================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1F2733;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  z-index: 9999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--ink-2, #1F2733); }
@media (max-width: 480px) {
  .back-to-top { bottom: 20px; right: 20px; }
}

/* ================================================================
   TUTORIALS — Modal, walkthrough, video player
   Source: newhomecss/tutorials.css
================================================================ */

.tutmodal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 56px 24px;
    padding-top: 10px;
    overflow-y: auto;
}
.tutmodal.is-open { display: flex; }

.tutmodal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 22, 32, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tutmodal__panel {
    position: relative;
    background: var(--bg-surface);
    border-radius: 20px;
    width: 100%;
    max-width: 920px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: tutmodalIn 220ms var(--ease-out) both;
}

@keyframes tutmodalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tutmodal__close {
    position: absolute;
    top: 18px; right: 18px;
    z-index: 5;
    width: 38px; height: 38px;
    border-radius: 999px;
    border: 0;
    background: rgba(15, 22, 32, 0.55);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 120ms var(--ease-out);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.tutmodal__close:hover { background: rgba(15, 22, 32, 0.8); }

.tutmodal__video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: radial-gradient(ellipse at center, #1F2733 0%, #0F1620 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.tutmodal__video iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
}

.tutmodal__video__placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 24px;
}

.tutmodal__video__playring {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00B5E2 0%, #2CC0EC 35%, #FF8A1F 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08), 0 20px 50px -10px rgba(0, 181, 226, 0.5);
}
.tutmodal__video__playring svg {
    width: 32px; height: 32px;
    fill: white;
    margin-left: 4px;
}

.tutmodal__video__label {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.tutmodal__body { padding: 32px 36px 36px; }

.tutmodal__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tutmodal__num {
    color: var(--blue-700);
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.tutmodal__dur {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fg-muted);
    letter-spacing: 0.02em;
}
.tutmodal__dur svg { stroke: currentColor; }

.tutmodal__title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--fg-strong);
    line-height: 1.15;
    margin: 0 0 16px;
    text-wrap: balance;
}

.tutmodal__overview {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--fg-default);
    text-wrap: pretty;
}
.tutmodal__overview p { margin: 0 0 12px; }
.tutmodal__overview p:last-child { margin-bottom: 0; }

.tutmodal__section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px dashed var(--border-default);
}
.tutmodal__section h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin: 0 0 12px;
}

.tutmodal__list {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    gap: 10px;
}
.tutmodal__list li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--fg-default);
}
.tutmodal__list li::before {
    content: "";
    position: absolute;
    left: 0; top: 7px;
    width: 14px; height: 14px;
    border-radius: 4px;
    background: var(--blue-50);
    border: 1.5px solid var(--blue-500);
}
.tutmodal__list li::after {
    content: "";
    position: absolute;
    left: 4px; top: 11px;
    width: 6px; height: 3px;
    border-left: 2px solid var(--blue-500);
    border-bottom: 2px solid var(--blue-500);
    transform: rotate(-45deg);
}

body.tutmodal-open { overflow: hidden; }

@media (max-width: 640px) {
    .tutmodal { padding: 24px 12px; }
    .tutmodal__body { padding: 24px 22px 28px; }
}

.tut-card { cursor: pointer; }

.tut-card__thumb__img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.tutmodal__video--playable { cursor: pointer; }
.tutmodal__video--playable:hover .tutmodal__video__playring { transform: scale(1.08); }
.tutmodal__video__cover {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.tutmodal__video .video-js {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.tutmodal__readmore {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-200);
    border-radius: 999px;
    padding: 11px 20px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 120ms var(--ease-out), border-color 120ms var(--ease-out);
}
.tutmodal__readmore:hover { background: var(--blue-100, #DCEEFB); border-color: var(--blue-500); }
.tutmodal__readmore__i { transition: transform 180ms var(--ease-out); }
.tutmodal__readmore.is-open .tutmodal__readmore__i { transform: rotate(180deg); }

.tutmodal__walk {
    display: grid;
    gap: 20px;
}
.tutmodal__walk__step {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 14px;
    align-items: start;
}
.tutmodal__walk__n {
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-700);
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    border-radius: 8px;
    width: 30px; height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tutmodal__walk__step h5 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--fg-strong);
    margin: 2px 0 6px;
    line-height: 1.3;
}
.tutmodal__walk__step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--fg-default);
    text-wrap: pretty;
}
