/* =========================================================
   Horizon Tech — styles
   Dark theme is the default; light theme via [data-theme="light"]
   ========================================================= */

/* ============ Tokens: dark (default) ============ */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070d0a;
  --bg-soft: rgba(255, 255, 255, .025);
  --tint-bg: rgba(255, 255, 255, .018);
  --surface: rgba(255, 255, 255, .06);
  --surface-hover: rgba(255, 255, 255, .1);

  --glass: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  --glass-flat: rgba(14, 22, 18, .55);
  --glass-strong: rgba(8, 14, 11, .66);
  --glass-border: rgba(255, 255, 255, .1);
  --glass-hi: rgba(255, 255, 255, .09);
  --blur: blur(22px) saturate(150%);

  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .055);
  --ink: #eef5f0;
  --ink-2: #b7c5bc;
  --ink-3: #85968c;

  --accent: #34c472;
  --accent-hover: #47d684;
  --accent-ink: #04130a;
  --accent-text: #74e09c;
  --accent-soft: rgba(80, 214, 128, .14);
  --accent-line: rgba(116, 224, 156, .32);
  --hl: rgba(80, 214, 128, .065);
  --no-mark: rgba(255, 255, 255, .2);
  --dot: rgba(255, 255, 255, .075);

  --em-grad: linear-gradient(100deg, #4fd67e, #b4f07a 50%, #4fd67e);
  --tile-bg: linear-gradient(140deg, #b4f07a, #4fd67e);
  --tile-ink: #06140b;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 40px -24px rgba(0, 0, 0, .7);
  --shadow-lift: 0 30px 60px -28px rgba(0, 0, 0, .8);
  --shadow-accent: 0 30px 70px -30px rgba(52, 196, 114, .45);

  --orb-1: rgba(52, 196, 114, .26);
  --orb-2: rgba(150, 214, 70, .16);
  --orb-3: rgba(31, 143, 78, .3);
  --ambient-base: radial-gradient(1100px 800px at 0% 100%, rgba(58, 98, 32, .38), transparent 60%),
                  radial-gradient(900px 700px at 100% 0%, rgba(31, 143, 78, .14), transparent 60%);
  --curtain: #070d0a;
  --cta-bg: radial-gradient(120% 140% at 50% 0%, rgba(52, 196, 114, .55), rgba(18, 90, 51, .55) 55%, rgba(8, 30, 18, .7));
}

/* ============ Tokens: light ============ */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6faf7;
  --tint-bg: rgba(240, 247, 243, .65);
  --surface: #ffffff;
  --surface-hover: #ffffff;

  --glass: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .6));
  --glass-flat: rgba(255, 255, 255, .7);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-border: rgba(15, 26, 20, .08);
  --glass-hi: rgba(255, 255, 255, .95);
  --blur: blur(20px) saturate(160%);

  --line: #e4ebe7;
  --line-2: #eef3f0;
  --ink: #0f1a14;
  --ink-2: #3d4a43;
  --ink-3: #6b7871;

  --accent: #1f8f4e;
  --accent-hover: #17703f;
  --accent-ink: #ffffff;
  --accent-text: #1f8f4e;
  --accent-soft: #e3f5ea;
  --accent-line: #bfe8cf;
  --hl: rgba(42, 168, 98, .06);
  --no-mark: #c9d3cd;
  --dot: #cfdcd4;

  --em-grad: linear-gradient(100deg, #17703f, #2aa862 50%, #17703f);
  --tile-bg: linear-gradient(140deg, #2aa862, #1f8f4e);
  --tile-ink: #ffffff;

  --shadow-sm: 0 1px 2px rgba(15, 26, 20, .05);
  --shadow: 0 1px 2px rgba(15, 26, 20, .04), 0 8px 24px -8px rgba(15, 26, 20, .08);
  --shadow-lift: 0 2px 4px rgba(15, 26, 20, .04), 0 28px 48px -20px rgba(15, 26, 20, .18);
  --shadow-accent: 0 1px 2px rgba(31, 143, 78, .08), 0 24px 48px -16px rgba(31, 143, 78, .28);

  --orb-1: rgba(42, 168, 98, .14);
  --orb-2: rgba(166, 236, 111, .2);
  --orb-3: rgba(42, 168, 98, .1);
  --ambient-base: none;
  --curtain: #1f8f4e;
  --cta-bg: radial-gradient(120% 140% at 50% 0%, #1f8f4e, #125a33 60%, #0d3d23);
}

:root {
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 68px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Theme switch: circular reveal via View Transitions */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hide-sm { display: inline; }

/* glass surface used across cards and panels */
.glass, .plan, .table-wrap, .flow, .flow__card, .why__card, .qa, .segment, .svc, .theme-switch, .nav__toggle {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
          backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
}

/* ============ Ambient background ============ */
.ambient { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; background: var(--ambient-base); }
.ambient span { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.ambient span:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: 8vh; background: var(--orb-1); animation: float1 26s ease-in-out infinite; }
.ambient span:nth-child(2) { width: 38vw; height: 38vw; right: -8vw; top: 40vh; background: var(--orb-2); animation: float2 32s ease-in-out infinite; }
.ambient span:nth-child(3) { width: 30vw; height: 30vw; left: 30vw; bottom: -12vh; background: var(--orb-3); animation: float1 38s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translate(8vw, 10vh) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-10vw, -8vh) scale(.92); } }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow--light { color: #b9f3cf; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.lead { color: var(--ink-2); font-size: 17px; margin-top: 12px; max-width: 620px; }
.lead a { color: var(--accent-text); font-weight: 600; border-bottom: 1px solid var(--accent-line); }

/* ============ Buttons ============ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.btn:active { transform: scale(.97); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px -8px var(--accent); }
.btn--dark:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--accent-line); color: var(--accent-text); background: var(--surface-hover); transform: translateY(-1px); }
.btn--light { background: #fff; color: #125a33; }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .4); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }

/* ============ Intro curtain ============ */
.curtain {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: radial-gradient(600px circle at 50% 50%, rgba(52, 196, 114, .25), transparent 70%), var(--curtain);
  transition: clip-path 1s var(--ease) .1s;
  clip-path: inset(0 0 0 0);
}
.curtain__mark { display: flex; flex-direction: column; align-items: center; gap: 14px; color: #fff; font-weight: 700; letter-spacing: -.01em; font-size: 18px; }
.curtain__logo { width: 96px; height: auto; clip-path: polygon(0 100%, 0 100%, 0 100%); transform: translate(-10px, 10px); animation: wipe .9s var(--ease) .1s forwards; }
@keyframes wipe { to { clip-path: polygon(0 100%, 0 -150%, 250% 100%); transform: none; } }
.curtain__mark span { opacity: 0; transform: translateY(8px); animation: up .6s var(--ease) .45s forwards; }
body.is-ready .curtain { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes up { to { opacity: 1; transform: none; } }

[data-intro] { opacity: 0; transform: translateY(24px); filter: blur(6px); }
body.is-ready [data-intro] {
  opacity: 1; transform: none; filter: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: calc(.55s + var(--i, 0) * .09s);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); }
body.is-ready .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease) .6s; }
body.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .72s; }
.hero__title[data-intro] { filter: none; transform: none; }

[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
[data-reveal].is-in { opacity: 1; transform: none; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #b4f07a, var(--accent)); }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.is-scrolled, .nav.is-open {
  border-color: var(--glass-border);
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .5);
}
.nav__inner { height: var(--nav-h); max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand__mark {
  flex: none; width: 34px; height: 34px; border-radius: 10px; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #2aa862, #1f8f4e);
  box-shadow: 0 6px 14px -6px rgba(31, 143, 78, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.brand__mark img { width: 23px; height: auto; }
.brand:hover .brand__mark img { animation: slash .7s var(--ease); }
@keyframes slash { 0% { transform: none; } 45% { transform: translate(14px, -10px); opacity: 0; } 46% { transform: translate(-14px, 10px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.nav__links { display: flex; gap: 2px; }
.nav__links a { position: relative; padding: 8px 13px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); border-radius: 10px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: var(--surface); }
.nav__links a.is-active { color: var(--accent-text); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

/* theme switch (pill) */
.theme-switch { position: relative; width: 56px; height: 32px; border-radius: 999px; padding: 0; flex: none; }
.theme-switch__knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 4px 10px -3px var(--accent);
  transition: transform .5s var(--ease), background .3s;
}
:root[data-theme="light"] .theme-switch__knob { transform: translateX(24px); }
.theme-switch svg { position: absolute; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease), opacity .3s; }
.theme-switch .i-moon { fill: currentColor; stroke: none; }
:root[data-theme="light"] .theme-switch .i-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root:not([data-theme="light"]) .theme-switch .i-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
.theme-switch:hover .theme-switch__knob { box-shadow: 0 0 0 5px var(--accent-soft), 0 4px 10px -3px var(--accent); }

.nav__toggle { display: none; width: 40px; height: 40px; border-radius: 10px; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav.is-open .nav__toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 19px; transform: rotate(-45deg); }
.nav__mobile { display: none; }

/* ============ Hero ============ */
.hero { position: relative; isolation: isolate; padding: 72px 0 96px; text-align: center; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
  animation: drift 40s linear infinite;
}
@keyframes drift { to { background-position: 220px 110px; } }
.hero__glow {
  position: absolute; z-index: -1; left: 50%; top: 380px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--orb-1), transparent 70%);
  filter: blur(10px); animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translateX(-50%) scale(1.12); opacity: .7; } }
.hero__title { margin-top: 16px; font-size: clamp(38px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.hero__title em {
  font-style: normal;
  background: var(--em-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 50% { background-position: 100% 0; } }
.hero__sub { margin: 20px auto 0; max-width: 620px; color: var(--ink-2); font-size: 18px; }

.segment { position: relative; display: inline-flex; margin-top: 36px; padding: 4px; border-radius: 14px; }
.segment button { position: relative; z-index: 1; height: 38px; padding: 0 18px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); border-radius: 10px; transition: color .3s; }
.segment button.is-active { color: var(--accent-ink); }
.segment__pill {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 10px;
  background: var(--accent); box-shadow: 0 6px 16px -6px var(--accent);
  transition: transform .5s var(--ease), width .5s var(--ease);
}

/* large category tabs */
.segment--lg { margin-top: 36px; padding: 5px; border-radius: 16px; }
.segment--lg button { height: 46px; padding: 0 22px; font-size: 15.5px; display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; }
.segment--lg .segment__pill { top: 5px; bottom: 5px; border-radius: 12px; }
.segment--lg svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }

/* package panels */
.panel[hidden] { display: none; }
.panel__lead { margin: 22px auto 0; max-width: 560px; color: var(--ink-3); font-size: 15px; }
.panel .segment { margin-top: 26px; }

/* price on request */
.plan__price.is-request { min-height: 52px; align-items: center; }
.plan__price .req {
  font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  background: var(--em-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s ease-in-out infinite;
}

/* ============ Plans ============ */
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 20px; row-gap: 0; text-align: left; }
.plan {
  display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start;
  --mx: 50%; --my: 0%;
  position: relative; padding: 28px; border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
}
.plan::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--accent-soft), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.plan:hover::before { opacity: 1; }
.plan:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-lift); }
.plan.is-featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), transparent 42%), var(--glass);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-accent);
}
.plan.is-featured .btn--outline { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 8px 20px -8px var(--accent); }
.plan.is-featured .btn--outline:hover { background: var(--accent-hover); }
.plan__badge {
  position: absolute; top: -13px; right: 24px;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px -6px var(--accent);
  opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.plan.is-featured .plan__badge { opacity: 1; transform: none; }
.plan__name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); padding: 3px 8px; border-radius: 6px; }
.plan__desc { margin-top: 8px; color: var(--ink-3); font-size: 14.5px; }
.plan__price { margin-top: 22px; display: flex; align-items: baseline; gap: 2px; }
.plan__price .cur { font-size: 26px; font-weight: 700; align-self: flex-start; margin-top: 6px; }
.plan__price .num { font-size: 52px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price .per { margin-left: 6px; color: var(--ink-3); font-size: 15px; }
.plan__note { margin: 8px 0 22px; color: var(--ink-3); font-size: 13.5px; }
.plan__list { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 11px; align-content: start; }
.plan__list li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--ink-2); }

/* check marks: circle + masked tick, both themed */
.plan__list li::before, i.ok { background: var(--accent-soft); border-radius: 50%; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; }
.plan__list li::after, i.ok::after {
  content: ""; position: absolute; background: var(--accent-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan__list li::after { left: 0; top: 2px; width: 19px; height: 19px; }
.plan.is-featured .plan__list li::before { background: var(--accent); }
.plan.is-featured .plan__list li::after { background: var(--accent-ink); }
.plan__list li { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(1s + var(--li, 0) * .04s); }
body.is-ready .plan__list li { opacity: 1; transform: none; }

/* ============ Marquee ============ */
.marquee { border-block: 1px solid var(--line); background: var(--bg-soft); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee__group span { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); white-space: nowrap; }
.marquee__group i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: 112px 0; position: relative; }
.section--tint { background: var(--tint-bg); border-block: 1px solid var(--line-2); }
.section__head { margin-bottom: 44px; }
.section__head .eyebrow { margin-bottom: 12px; }
.section__head--center { text-align: center; }
.section__head--center .lead { margin-inline: auto; }

/* ============ Services (clover) ============ */
/* 3 × 2 grid; the badge sits between the two middle cards, which get a round notch */
.clover { --gap: 22px; --cut: 104px; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); max-width: 1120px; margin: 0 auto; }
.svc {
  --mx: 50%; --my: 50%;
  position: relative; min-height: 330px; padding: 44px 34px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border-radius: 30px;
  transition: transform .6s var(--ease), box-shadow .5s var(--ease), border-color .5s, opacity .9s var(--ease);
  transition-delay: calc(var(--d, 0) * .1s);
}
.svc--tl { border-top-left-radius: 56px; }
.svc--tr { border-top-right-radius: 56px; }
.svc--bl { border-bottom-left-radius: 56px; }
.svc--br { border-bottom-right-radius: 56px; }
.svc--tm, .svc--bm {
  -webkit-mask: radial-gradient(circle at var(--cx) var(--cy), transparent var(--cut), #000 calc(var(--cut) + 1px));
          mask: radial-gradient(circle at var(--cx) var(--cy), transparent var(--cut), #000 calc(var(--cut) + 1px));
}
.svc--tm { --cx: 50%; --cy: calc(100% + var(--gap) / 2); justify-content: flex-start; padding-bottom: 120px; }
.svc--bm { --cx: 50%; --cy: calc(var(--gap) / -2); justify-content: flex-end; padding-top: 120px; }
.svc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), var(--accent-soft), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.svc:hover::before { opacity: 1; }
.svc:hover { border-color: var(--accent-line); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-accent); }
.svc--tl:hover, .svc--tm:hover, .svc--tr:hover { transform: translateY(-6px); }
.svc--bl:hover, .svc--bm:hover, .svc--br:hover { transform: translateY(6px); }
.svc__icon {
  width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center;
  background: var(--tile-bg); box-shadow: 0 14px 30px -12px rgba(80, 214, 128, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .6s var(--ease);
}
.svc__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--tile-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc__icon svg .f { fill: var(--tile-ink); stroke: none; }
.svc:hover .svc__icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.svc h3 { margin-top: 22px; font-size: 24px; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.svc p { margin-top: 10px; max-width: 320px; color: var(--ink-3); font-size: 15px; }
.svc__link { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent-text); display: inline-flex; gap: 6px; }
.svc__link span { transition: transform .4s var(--ease); }
.svc__link:hover span { transform: translateX(4px); }

.clover__badge {
  position: absolute; left: 50%; top: 50%; width: 168px; height: 168px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; z-index: 2;
  background: var(--glass-flat); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 calc(var(--cut) - 84px) transparent, 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.clover__badge::before, .clover__badge::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid var(--glass-border); }
.clover__badge::after { inset: 0; border-color: var(--accent-line); animation: pulse 3s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.clover__badge svg { width: 92px; height: 92px; overflow: visible; filter: drop-shadow(0 10px 18px rgba(120, 220, 90, .35)); }
.clover__scallop { fill: #9ee86a; transform-origin: 0 0; animation: spin 18s linear infinite; }
:root[data-theme="light"] .clover__scallop { fill: #2aa862; }
@keyframes spin { to { transform: rotate(360deg); } }
.clover__check { fill: none; stroke: #0b1a10; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
:root[data-theme="light"] .clover__check { stroke: #fff; }
.clover.is-in .clover__check, .clover__badge.is-in .clover__check { animation: tick .8s var(--ease) .6s forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }

/* portfolio + socials */
.portfolio-cta { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; color: var(--ink-3); }
.btn .i-behance, .i-behance { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.socials { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 42px; height: 42px; padding: 0 11px; border-radius: 12px;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), color .25s, background .25s, border-color .25s;
}
.socials a:hover { transform: translateY(-3px); color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.socials a span { font-size: 14px; font-weight: 600; }
.socials--cta { justify-content: center; margin-top: 28px; }
.socials--cta a { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); padding: 0 16px; }
.socials--cta a:hover { color: #0b3a20; background: #fff; border-color: #fff; }
.nav__links a.ext span { display: inline-block; font-size: 12px; transition: transform .3s var(--ease); }
.nav__links a.ext:hover span { transform: translate(2px, -2px); }

/* ============ Logo loop ============ */
.logoloop { padding: 56px 0 64px; border-block: 1px solid var(--line-2); background: var(--bg-soft); overflow: hidden; }
.logoloop__title { text-align: center; color: var(--ink-3); font-size: 15px; font-weight: 500; }
.logoloop__years { color: var(--accent-text); font-weight: 700; }
.logoloop__rows { margin-top: 30px; display: grid; gap: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logoloop__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.logoloop__row--rev .logoloop__track { animation-direction: reverse; animation-duration: 70s; }
.logoloop__rows:hover .logoloop__track { animation-play-state: paused; }
.logoloop__set { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.logo {
  --h: 46px;
  display: block; flex: none; height: var(--h); width: min(calc(var(--h) * var(--ar)), 200px);
  background: var(--ink-2); opacity: .62;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
  transition: background .3s, opacity .3s, transform .4s var(--ease);
}
.logo:hover { background: var(--accent-text); opacity: 1; transform: scale(1.08); }

/* ============ Selected work ============ */
.work__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: 36px; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats div { padding: 18px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-hi); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.stats dd { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.stats dt { order: 2; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.stats div { display: flex; flex-direction: column-reverse; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); transition: all .3s var(--ease);
}
.filters button:hover { color: var(--ink); border-color: var(--accent-line); }
.filters button.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 8px 20px -10px var(--accent); }

.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 20px; }
.proj {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden;
  border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, opacity .9s var(--ease);
  transition-delay: calc(var(--d, 0) * .1s);
}
.proj[hidden] { display: none; }
.proj:hover { border-color: var(--accent-line); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-accent); }
.proj__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.proj__cover { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.proj:hover .proj__cover { transform: scale(1.06); }
.proj__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 12, 8, .55)); opacity: 0; transition: opacity .5s; }
.proj:hover .proj__media::after { opacity: 1; }
.proj__info { display: grid; gap: 4px; padding: 18px 20px 20px; }
.proj__cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.proj__name { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.proj__desc { display: none; font-size: 14.5px; color: var(--ink-3); margin-top: 4px; }
.proj__meta { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--ink-3); }
.proj__open { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-text); }
.proj__open svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.proj:hover .proj__open svg { transform: translate(3px, -3px); }

/* featured project: wide card with a fan of three posters */
.proj__fan { display: none; }
.proj--feature { grid-column: span 2; grid-row: span 2; }
.proj--feature .proj__media {
  flex: 1; aspect-ratio: auto; min-height: 420px;
  background: radial-gradient(70% 70% at 50% 60%, var(--accent-soft), transparent 70%);
}
.proj--feature .proj__cover { display: none; }
.proj--feature .proj__fan { display: block; position: absolute; inset: 0; }
.fan {
  position: absolute; left: 50%; top: 50%; width: 36%; height: auto; border-radius: 14px;
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .8s var(--ease);
}
.proj--feature .fan { width: auto; height: 62%; max-width: 46%; object-fit: cover; }
.fan--0 { z-index: 2; transform: translate(-50%, -50%); }
.fan--1 { z-index: 1; transform: translate(-112%, -46%) rotate(-9deg) scale(.9); }
.fan--2 { z-index: 1; transform: translate(12%, -46%) rotate(9deg) scale(.9); }
.proj--feature:hover .fan--0 { transform: translate(-50%, -53%) scale(1.03); }
.proj--feature:hover .fan--1 { transform: translate(-128%, -46%) rotate(-13deg) scale(.9); }
.proj--feature:hover .fan--2 { transform: translate(28%, -46%) rotate(13deg) scale(.9); }
.proj--feature .proj__info { padding: 8px 32px 30px; gap: 6px; }
.proj--feature .proj__name { font-size: clamp(24px, 2.6vw, 32px); }
.proj--feature .proj__desc { display: block; font-size: 15.5px; max-width: 560px; }

/* ============ Lightbox ============ */
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(3, 8, 5, .72); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); opacity: 0; transition: opacity .35s; }
.lightbox__panel {
  position: relative; width: min(1100px, 100%); height: min(92vh, 980px); display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
  padding: 16px; border-radius: 26px; color: #eef5f0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox.is-open .lightbox__panel { opacity: 1; transform: none; }
.lightbox__head { display: flex; align-items: center; gap: 16px; padding: 4px 4px 0 10px; }
.lightbox__head > div { flex: 1; min-width: 0; }
.lightbox__head strong { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox__head small { color: #9fe0b8; font-size: 13px; }
.lightbox__count { font-size: 13px; color: rgba(238, 245, 240, .7); font-variant-numeric: tabular-nums; }
.lightbox__btn, .lightbox__nav {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); transition: background .25s, transform .3s var(--ease);
}
.lightbox__btn:hover, .lightbox__nav:hover { background: #34c472; color: #04130a; transform: scale(1.06); }
.lightbox__btn svg, .lightbox__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__stage { position: relative; min-height: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.lightbox__figure { margin: 0; height: 100%; min-height: 0; display: grid; place-items: center; }
.lightbox__figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.lightbox__thumbs button { flex: none; width: 58px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; padding: 0; opacity: .5; border: 2px solid transparent; transition: opacity .25s, border-color .25s, transform .3s var(--ease); }
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button.is-active { opacity: 1; border-color: #34c472; transform: translateY(-2px); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.plan__badge:empty { display: none; }
.segment--lg svg .f { fill: currentColor; stroke: none; }

/* ============ Compare ============ */
.table-wrap { border-radius: var(--radius); overflow-x: clip; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare thead th {
  position: sticky; top: var(--nav-h); z-index: 2;
  background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 600;
}
.compare thead th:first-child { border-top-left-radius: var(--radius); }
.compare thead th:last-child { border-top-right-radius: var(--radius); }
.compare__lead strong { display: block; font-size: 16px; }
.compare__lead small { color: var(--ink-3); font-weight: 500; font-size: 13px; }
.th { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.th span { font-size: 15px; }
.th b { color: var(--ink-3); font-weight: 500; margin-left: 4px; font-size: 14px; }
.chip { font-size: 13px; font-weight: 600; height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); transition: all .25s; }
.chip:hover { border-color: var(--accent-line); color: var(--accent-text); }
.chip--solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip--solid:hover { background: var(--accent-hover); color: var(--accent-ink); }
.compare th[scope="col"]:not(:first-child), .compare td { width: 24%; }
.compare tbody th, .compare tbody td { padding: 16px 20px; border-bottom: 1px solid var(--line-2); text-align: center; color: var(--ink-2); transition: background .25s; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.compare .is-hl { background: var(--hl); }
.compare thead .is-hl { box-shadow: inset 0 3px 0 var(--accent); }
.compare tbody tr:not(.group):hover th, .compare tbody tr:not(.group):hover td { background: var(--accent-soft); }
.compare .group td { text-align: left; padding: 22px 20px 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); background: transparent; }
.compare .total th, .compare .total td { font-weight: 700; font-size: 17px; color: var(--ink); border-bottom: 0; padding-block: 22px; }
.compare .total .is-hl { color: var(--accent-text); }
i.ok, i.no { position: relative; display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
i.ok::after { inset: 3px; }
i.no { width: 14px; height: 2px; border-radius: 2px; background: var(--no-mark); }
.table-wrap.is-in i.ok { animation: pop .5s var(--ease) both; animation-delay: calc(.3s + var(--r, 0) * .05s); }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.18); } to { transform: scale(1); } }

/* ============ Process / flow ============ */
.flow { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; gap: 0; padding: 48px 40px; border-radius: 26px; }
.flow__card { position: relative; z-index: 1; padding: 20px; border-radius: 16px; }
.flow__card--out { border-color: var(--accent-line); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-accent); }
.flow__title { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
.flow__title strong { display: block; font-size: 15px; }
.flow__title small { color: var(--ink-3); font-size: 13px; }
.flow__icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.flow__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.flow__icon--solid { background: linear-gradient(140deg, #2aa862, #1f8f4e); border-color: transparent; }
.flow__icon--solid img { width: 22px; height: auto; }
.flow__card ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.flow__card li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.flow__card li em { font-style: normal; color: var(--ink-3); font-size: 13px; }
.flow__card .checks li i.ok { width: 20px; height: 20px; }
.flow.is-in .checks li { animation: slidein .6s var(--ease) both; }
.flow.is-in .checks li:nth-child(1) { animation-delay: 1.2s; }
.flow.is-in .checks li:nth-child(2) { animation-delay: 1.4s; }
.flow.is-in .checks li:nth-child(3) { animation-delay: 1.6s; }
.flow.is-in .checks li:nth-child(4) { animation-delay: 1.8s; }
@keyframes slidein { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

.flow__rail { position: relative; height: 180px; margin: 0 -1px; }
.flow__svg { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 120px; transform: translateY(-50%); overflow: visible; }
.flow__path { fill: none; stroke: var(--line); stroke-width: 2; vector-effect: non-scaling-stroke; }
.flow__dash { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; opacity: 0; transition: opacity .6s .4s; }
.flow.is-in .flow__dash { opacity: 1; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.flow__dot { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft), 0 0 16px var(--accent); animation: travel 3.6s var(--ease) infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.flow__steps { position: absolute; inset: 0; display: flex; justify-content: space-around; }
.flow__step { position: relative; width: 120px; height: 100%; }
.flow__step b { position: absolute; left: 0; right: 0; top: calc(50% + 24px); text-align: center; font-size: 14px; }
.flow__step small { position: absolute; left: 0; right: 0; top: calc(50% + 45px); text-align: center; font-size: 12px; color: var(--ink-3); line-height: 1.35; }
.flow__num {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  font-size: 13px; font-weight: 700; color: var(--accent-text); background: var(--bg); border: 2px solid var(--accent-line);
}
.flow__step:nth-child(1) .flow__num { animation: lightup 3.6s infinite .9s; }
.flow__step:nth-child(2) .flow__num { animation: lightup 3.6s infinite 1.8s; }
.flow__step:nth-child(3) .flow__num { animation: lightup 3.6s infinite 2.6s; }
@keyframes lightup { 0%, 30%, 100% { background: var(--bg); color: var(--accent-text); border-color: var(--accent-line); } 8%, 22% { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); } }
.flow__foot { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-3); font-size: 14px; }
.flow__foot svg { fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============ Why ============ */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__card { position: relative; padding: 26px; border-radius: var(--radius); overflow: hidden; transition: transform .6s var(--ease), box-shadow .5s var(--ease), border-color .5s, opacity .9s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
.why__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #b4f07a, var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.why__card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-accent); border-color: var(--accent-line); }
.why__card:hover::after { transform: scaleX(1); }
.why__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); transition: transform .6s var(--ease), background .3s; }
.why__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.why__card:hover .why__icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); }
.why__card:hover .why__icon svg { stroke: var(--accent-ink); }
.why__card h3 { margin-top: 20px; font-size: 18px; letter-spacing: -.02em; }
.why__card p { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); }

/* ============ FAQ ============ */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.qa[open] { border-color: var(--accent-line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); transition: background .3s, transform .4s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--ink-2); border-radius: 2px; transition: transform .4s var(--ease), background .3s; }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--accent-ink); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }

/* ============ CTA ============ */
.section--cta { padding-top: 112px; }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 80px 40px; border-radius: 30px; text-align: center; color: #fff;
  background: var(--cta-bg);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 40px 80px -40px rgba(13, 61, 35, .7);
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); mask-image: radial-gradient(ellipse at center, #000, transparent 75%); }
.cta__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); opacity: .55; }
.cta__orb--a { width: 380px; height: 380px; left: -100px; top: -140px; background: #4cc27f; animation: orbit 14s ease-in-out infinite; }
.cta__orb--b { width: 320px; height: 320px; right: -80px; bottom: -160px; background: #a6ec6f; animation: orbit 16s ease-in-out infinite reverse; }
@keyframes orbit { 50% { transform: translate(60px, 40px) scale(1.15); } }
.cta__rings { position: absolute; z-index: -1; left: 50%; bottom: -260px; transform: translateX(-50%); }
.cta__rings span { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; transform: translate(-50%, -50%); animation: ring 6s ease-out infinite; }
.cta__rings span:nth-child(1) { width: 400px; height: 400px; }
.cta__rings span:nth-child(2) { width: 600px; height: 600px; animation-delay: 2s; }
.cta__rings span:nth-child(3) { width: 800px; height: 800px; animation-delay: 4s; }
@keyframes ring { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.85); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); } }
.cta__title { margin: 16px auto 0; max-width: 760px; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.04em; font-weight: 700; }
.cta__sub { margin: 18px auto 0; max-width: 580px; color: rgba(255, 255, 255, .82); font-size: 17px; }
.cta__picked { font-size: 14px; font-weight: 600; color: #b9f3cf; }
.cta__picked:not(:empty) { margin-top: 18px; display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); animation: up .5s var(--ease) both; }
.cta__actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__info { margin: 48px auto 0; max-width: 880px; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 1px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
.cta__info div { padding: 18px 16px; background: rgba(6, 30, 16, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cta__info dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 600; }
.cta__info dd { margin: 6px 0 0; font-weight: 600; font-size: 15px; word-break: break-word; }

/* ============ Footer ============ */
.footer { padding: 72px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__brand p { margin-top: 14px; color: var(--ink-3); font-size: 14.5px; }
.footer__brand em { font-style: normal; color: var(--accent-text); font-weight: 600; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 48px; }
.footer__cols h4 { font-size: 14px; margin-bottom: 14px; }
.footer__cols a, .footer__cols span { display: block; font-size: 14px; color: var(--ink-3); padding: 4px 0; transition: color .2s, transform .3s var(--ease); }
.footer__cols a:hover { color: var(--accent-text); transform: translateX(3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13.5px; color: var(--ink-3); }
.totop:hover { color: var(--accent-text); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .th { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav__links a { padding: 8px 10px; }
}
@media (max-width: 1024px) {
  .why { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; padding: 28px; gap: 0; }
  .flow__rail { height: 220px; }
  .flow__svg { display: none; }
  .flow__rail::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(var(--accent) 0 6px, transparent 6px 14px); background-size: 2px 14px; animation: vdash 1.2s linear infinite; }
  @keyframes vdash { to { background-position: 0 14px; } }
  .flow__dot { left: 50% !important; margin-left: -5px; top: 0; margin-top: 0; animation: vtravel 3.6s var(--ease) infinite; }
  @keyframes vtravel { 0% { top: 0; opacity: 0; } 10%, 90% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
  .flow__steps { flex-direction: column; justify-content: space-around; align-items: stretch; padding: 12px 0; }
  .flow__step { width: auto; height: 30px; }
  .flow__step b { left: auto; right: calc(50% + 26px); top: 5px; text-align: right; }
  .flow__step small { left: calc(50% + 26px); right: auto; top: 7px; text-align: left; white-space: nowrap; }
  .svc { padding: 44px 40px; }
}
@media (max-width: 960px) {
  :root { --nav-h: 62px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__mobile {
    display: grid; overflow: hidden; max-height: 0; padding: 0 24px;
    transition: max-height .5s var(--ease), padding .5s var(--ease);
  }
  .nav.is-open .nav__mobile { max-height: 460px; padding: 8px 24px 20px; }
  .nav__mobile a { padding: 12px 0; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line-2); }
}
@media (max-width: 880px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; row-gap: 28px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq__intro { position: static; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare { min-width: 640px; }
  .compare thead th { position: static; }
  .cta__info { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 1024px) {
  .clover { grid-template-columns: 1fr 1fr; max-width: 760px; gap: 16px; }
  .svc { -webkit-mask: none !important; mask: none !important; min-height: 0; border-radius: 32px !important; padding: 36px 28px !important; justify-content: center !important; }
  .svc:hover { transform: translateY(-4px) !important; }
  .clover__badge { position: relative; left: auto; top: auto; transform: none; order: -1; grid-column: 1 / -1; justify-self: center; width: 120px; height: 120px; margin-bottom: 12px; }
  .clover__badge::before { display: none; }
  .clover__badge svg { width: 70px; height: 70px; }
}
@media (max-width: 760px) {
  .clover { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 1024px) {
  .work__head { grid-template-columns: 1fr; gap: 24px; }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .proj--feature { grid-row: span 1; }
}
@media (max-width: 640px) {
  .work__grid { grid-template-columns: 1fr; gap: 16px; }
  .proj--feature { grid-column: auto; }
  .proj--feature .proj__media { min-height: 340px; }
  .proj--feature .fan { width: 46%; height: auto; max-width: none; }
  .proj--feature .proj__info { padding: 20px; }
  .stats dd { font-size: 28px; }
  .logo { --h: 36px; }
  .logoloop__set { gap: 44px; padding-right: 44px; }
  .lightbox { padding: 0; }
  .lightbox__panel { height: 100dvh; border-radius: 0; padding: 12px; }
  .lightbox__stage { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
  .segment--lg svg { display: none; }
  .segment--lg button { padding: 0 4px; font-size: 12.5px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .nav__inner { padding: 0 16px; gap: 12px; }
  .nav__actions .btn { display: none; }
  .hide-sm { display: none; }
  .hero { padding: 48px 0 72px; }
  .hero__sub { font-size: 16px; }
  .segment { display: flex; width: 100%; }
  .segment button { flex: 1; padding: 0 6px; font-size: 13px; }
  .plan { padding: 24px 20px; }
  .section { padding: 80px 0; }
  .why { grid-template-columns: 1fr; }
  .cta { padding: 56px 20px; border-radius: 22px; }
  .cta__actions .btn { width: 100%; }
  .cta__info dd { font-size: 13.5px; word-break: normal; overflow-wrap: anywhere; }
  .footer__inner { flex-direction: column; }
  .footer__bottom { flex-direction: column; }
  .flow { padding: 20px 16px; }
  .flow__step small { display: none; }
  .svc h3 { font-size: 21px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-intro], [data-reveal], .plan__list li, .hero__title .line > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .flow__dot, .marquee__track, .logoloop__track, .ambient span { animation: none !important; }
  .clover__check { stroke-dashoffset: 0; }
}
