/* =====================================================================
   PROJETOS SaaS Inteligentes — stylesheet
   Light theme is the default; dark theme via [data-theme="dark"].
   ===================================================================== */

:root {
  color-scheme: light;

  --bg: #f5f7fc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --surface-3: #eef2f9;
  --ink: #0a1020;
  --ink-soft: #1d2739;
  --muted: #546179;
  --muted-2: #77839a;
  --line: #e2e8f2;
  --line-strong: #cfd8e8;

  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-ink: #4338ca;
  --cyan: #0891b2;
  --gold: #a25c07;
  --wa: #128c4a;
  --wa-2: #0f7a3f;
  --danger: #c0322b;

  --ring: 0 0 0 3px rgba(79, 70, 229, .28);
  --shadow-s: 0 1px 2px rgba(12, 22, 44, .05), 0 2px 6px rgba(12, 22, 44, .04);
  --shadow-m: 0 2px 6px rgba(12, 22, 44, .05), 0 12px 28px rgba(12, 22, 44, .07);
  --shadow-l: 0 8px 20px rgba(12, 22, 44, .07), 0 28px 64px rgba(12, 22, 44, .10);

  --grad: linear-gradient(102deg, #4f46e5 0%, #7c3aed 46%, #0891b2 100%);
  --grad-soft: linear-gradient(135deg, rgba(79, 70, 229, .10), rgba(8, 145, 178, .10));

  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --r-xl: 26px;

  --container: 1240px;
  --hdr-h: 74px;

  --font: "Plus Jakarta Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg: #05080f;
  --bg-2: #080d18;
  --surface: #0b1220;
  --surface-2: #0e1728;
  --surface-3: #131e33;
  --ink: #edf2fc;
  --ink-soft: #dbe4f5;
  --muted: #9aa8c2;
  --muted-2: #7f8da8;
  --line: #1b2437;
  --line-strong: #263148;

  --brand: #818cf8;
  --brand-2: #a78bfa;
  --brand-ink: #a5b4fc;
  --cyan: #22d3ee;
  --gold: #f0b64b;
  --wa: #25d366;
  --wa-2: #1eb955;
  --danger: #f87171;

  --ring: 0 0 0 3px rgba(129, 140, 248, .35);
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-m: 0 2px 8px rgba(0, 0, 0, .45), 0 14px 32px rgba(0, 0, 0, .45);
  --shadow-l: 0 10px 26px rgba(0, 0, 0, .5), 0 32px 70px rgba(0, 0, 0, .55);

  --grad: linear-gradient(102deg, #818cf8 0%, #a78bfa 46%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(129, 140, 248, .16), rgba(34, 211, 238, .12));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(124, 58, 237, .28); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--surface);
  padding: 12px 18px;
  border-radius: 0 0 var(--r-s) 0;
  box-shadow: var(--shadow-m);
  font-weight: 700;
}
.skip:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg-2) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.hdr__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: var(--hdr-h);
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  justify-self: start;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 13px;
  box-shadow: 0 6px 16px rgba(79, 70, 229, .28);
}

.brand__text {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.015em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__text b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.hdr__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  min-width: 0;
}

.hdr__cta-label {
  font-size: .585rem;
  font-weight: 800;
  letter-spacing: .085em;
  line-height: 1.35;
  color: var(--muted);
  max-width: 190px;
  text-transform: uppercase;
}

.hdr__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.linkbtn {
  background: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.linkbtn:hover { background: var(--surface-3); color: var(--brand-ink); border-color: var(--line); }

/* language selector */
.lang { position: relative; }

.lang__btn,
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.lang__btn:hover,
.theme-btn:hover { border-color: var(--brand); box-shadow: var(--shadow-s); }

.flag {
  width: 21px;
  height: 15px;
  border-radius: 2.5px;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(10, 16, 32, .12) inset;
}
.flag svg { width: 100%; height: 100%; display: block; }

.lang__chev { width: 9px; height: 9px; opacity: .6; }

.lang__menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  min-width: 196px;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-l);
  display: none;
  z-index: 95;
}
.lang__menu[data-open="true"] { display: block; }

.lang__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: left;
}
.lang__opt:hover { background: var(--surface-3); }
.lang__opt[aria-checked="true"] { color: var(--brand-ink); background: var(--grad-soft); font-weight: 800; }
.lang__opt small { margin-left: auto; font-size: .68rem; color: var(--muted-2); font-weight: 700; }

/* theme switch */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px 0 6px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.switch:hover { border-color: var(--brand); }
.switch__track {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  transition: background .22s ease;
}
.switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  transition: transform .22s cubic-bezier(.2, .8, .3, 1), background .22s ease;
}
.switch[aria-checked="true"] .switch__track { background: color-mix(in srgb, var(--brand) 26%, transparent); }
.switch[aria-checked="true"] .switch__thumb { transform: translateX(18px); background: var(--cyan); }
.switch__ico { width: 15px; height: 15px; opacity: .78; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface);
  --btn-ink: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 800;
  font-size: .925rem;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, filter .2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }

.btn--primary {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, .30);
}
.btn--primary:hover { box-shadow: 0 16px 34px rgba(79, 70, 229, .38); filter: saturate(1.08); }
[data-theme="dark"] .btn--primary { color: #060a14; }

.btn--wa {
  border-color: transparent;
  background: linear-gradient(180deg, var(--wa), var(--wa-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(18, 140, 74, .30);
}
.btn--wa:hover { box-shadow: 0 14px 28px rgba(18, 140, 74, .38); }
[data-theme="dark"] .btn--wa { color: #04140b; }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-soft);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--surface); }

.btn--sm { padding: 9px 16px; font-size: .82rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--wa-sm {
  padding: 10px 17px;
  font-size: .82rem;
  gap: 8px;
}
.btn--wa-sm svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(34px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  inset: -30% 0 auto 0;
  height: 780px;
  z-index: -1;
  background:
    radial-gradient(46% 52% at 18% 12%, rgba(79, 70, 229, .20), transparent 70%),
    radial-gradient(40% 46% at 82% 0%, rgba(8, 145, 178, .17), transparent 70%),
    radial-gradient(34% 40% at 62% 34%, rgba(124, 58, 237, .14), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}
[data-theme="dark"] .hero__glow {
  background:
    radial-gradient(46% 52% at 18% 12%, rgba(99, 102, 241, .30), transparent 70%),
    radial-gradient(40% 46% at 82% 0%, rgba(34, 211, 238, .20), transparent 70%),
    radial-gradient(34% 40% at 62% 34%, rgba(167, 139, 250, .22), transparent 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-s);
  font-size: .705rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, .04); }
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.1rem, 4.6vw, 3.62rem);
  letter-spacing: -.03em;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 18px;
  max-width: 40em;
  font-size: clamp(1rem, 1.28vw, 1.115rem);
  color: var(--muted);
  line-height: 1.68;
}
.hero__lead strong { color: var(--ink-soft); font-weight: 800; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: .795rem;
  color: var(--muted);
  font-weight: 600;
}
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 14px; height: 14px; color: var(--wa); }

/* portfolio console mock */
.console {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-l);
  padding: 16px;
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
  transition: transform .5s cubic-bezier(.2, .8, .3, 1);
}
.console:hover { transform: perspective(1400px) rotateY(0deg) rotateX(0deg) translateY(-4px); }

.console__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid var(--line);
}
.console__dots { display: flex; gap: 5px; }
.console__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: block; }
.console__title {
  margin-left: 6px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.console__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .07em;
  color: #16a34a;
  text-transform: uppercase;
}
.console__live i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; display: block; animation: pulse 2s infinite; }

.console__rows { display: grid; gap: 6px; padding-top: 10px; }

.crow {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid transparent;
}
.crow__ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  color: var(--brand-ink);
}
.crow__ico svg { width: 14px; height: 14px; }
.crow__name {
  font-size: .78rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crow__sub { font-size: .63rem; color: var(--muted-2); font-weight: 600; }
.crow__pill {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(22, 163, 74, .12);
  color: #15803d;
  white-space: nowrap;
}
[data-theme="dark"] .crow__pill { background: rgba(34, 197, 94, .14); color: #4ade80; }

/* ticker */
.ticker {
  margin-top: clamp(30px, 4vw, 46px);
  border-block: 1px solid var(--line);
  background: var(--surface-2);
  overflow: hidden;
  padding: 11px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: slide 44s linear infinite;
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .715rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker__track span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .55;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------------
   Section basics
   --------------------------------------------------------------------- */
.section { padding: clamp(52px, 6.5vw, 96px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.sec-head { max-width: 44em; }
.sec-head--center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .705rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.sec-head--center .kicker::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

h2.sec-title {
  font-size: clamp(1.62rem, 3.05vw, 2.42rem);
  letter-spacing: -.028em;
}
.sec-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.005rem;
  line-height: 1.68;
}

/* stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 4vw, 52px);
}
.stat {
  padding: 22px 20px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
}
.stat__v {
  font-size: clamp(1.6rem, 2.5vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat__l { margin-top: 5px; font-size: .795rem; color: var(--muted); font-weight: 600; line-height: 1.45; }

/* ---------------------------------------------------------------------
   Problem / agitation
   --------------------------------------------------------------------- */
.prob {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(30px, 3.6vw, 44px);
}
.prob__item {
  display: flex;
  gap: 15px;
  padding: 22px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, rgba(192, 50, 43, .0), rgba(192, 50, 43, .55)) 1;
  box-shadow: var(--shadow-s);
}
.prob__n {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(192, 50, 43, .10);
  color: var(--danger);
  font-weight: 800;
  font-size: .82rem;
}
.prob__t { font-weight: 800; font-size: 1rem; letter-spacing: -.015em; }
.prob__d { margin-top: 5px; font-size: .885rem; color: var(--muted); line-height: 1.62; }

/* ---------------------------------------------------------------------
   Project cards
   --------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(30px, 3.8vw, 46px);
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  transition: transform .28s cubic-bezier(.2, .8, .3, 1), box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.pcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent, var(--grad));
  opacity: 0;
  transition: opacity .28s ease;
}
.pcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-l);
  border-color: var(--line-strong);
}
.pcard:hover::before { opacity: 1; }

.pcard__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.pcard__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent, var(--grad));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent-color, #4f46e5) 30%, transparent);
}
.pcard__icon svg { width: 24px; height: 24px; }
[data-theme="dark"] .pcard__icon { color: #05080f; }

.pcard__meta { min-width: 0; flex: 1 1 auto; }
.chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.pcard__name {
  margin-top: 7px;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.22;
}
.pcard__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #15803d;
  background: rgba(22, 163, 74, .10);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
  align-self: flex-start;
}
[data-theme="dark"] .pcard__live { color: #4ade80; background: rgba(34, 197, 94, .12); }
.pcard__live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: block; }

.pcard__tag {
  font-weight: 800;
  font-size: .95rem;
  color: var(--brand-ink);
  letter-spacing: -.012em;
  line-height: 1.42;
}
.pcard__desc {
  margin-top: 9px;
  font-size: .895rem;
  color: var(--muted);
  line-height: 1.66;
}

.pcard__feat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 14px;
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.pcard__feat li {
  display: flex;
  gap: 7px;
  font-size: .815rem;
  color: var(--ink-soft);
  line-height: 1.45;
  font-weight: 600;
}
.pcard__feat svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--wa);
}

.pcard__foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.pcard__price { min-width: 0; }
.pcard__price small {
  display: block;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.pcard__price b {
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
}
.pcard__price span { font-size: .78rem; color: var(--muted); font-weight: 600; }

.pcard__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pcard__invest {
  font-size: .78rem;
  font-weight: 800;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  padding: 9px 4px;
  border-radius: 8px;
  transition: color .18s ease;
}
.pcard__invest:hover { color: var(--gold); text-decoration-color: currentColor; }

/* invite card */
.icard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 30px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(79, 70, 229, .14), transparent 62%),
    radial-gradient(120% 120% at 100% 100%, rgba(8, 145, 178, .14), transparent 62%),
    var(--surface);
  border: 1px dashed var(--line-strong);
}
.icard h3 { font-size: 1.28rem; letter-spacing: -.022em; }
.icard p { color: var(--muted); font-size: .925rem; }
.icard .btn { align-self: flex-start; }

/* ---------------------------------------------------------------------
   Pillars
   --------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(30px, 3.8vw, 46px);
}
.pillar {
  padding: 24px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  transition: transform .24s ease, box-shadow .24s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.pillar__ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  color: var(--brand-ink);
  margin-bottom: 14px;
}
.pillar__ico svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 1.005rem; letter-spacing: -.018em; }
.pillar p { margin-top: 7px; font-size: .875rem; color: var(--muted); line-height: 1.62; }

/* ---------------------------------------------------------------------
   Investor block
   --------------------------------------------------------------------- */
.invest {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(26px, 3.6vw, 48px);
  align-items: start;
}

.modes { display: grid; gap: 12px; margin-top: 26px; }
.mode {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-m);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  transition: border-color .2s ease, transform .2s ease;
}
.mode:hover { border-color: var(--brand); transform: translateX(3px); }
.mode__n {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: .875rem;
}
[data-theme="dark"] .mode__n { color: #060a14; }
.mode__t { font-weight: 800; font-size: .965rem; letter-spacing: -.015em; }
.mode__d { margin-top: 4px; font-size: .855rem; color: var(--muted); line-height: 1.6; }

.panel {
  padding: 26px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  position: sticky;
  top: calc(var(--hdr-h) + 18px);
}
.panel__title {
  font-size: .715rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.panel ul { display: grid; gap: 2px; }
.panel ul li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  font-size: .895rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
  font-weight: 600;
}
.panel ul li:last-child { border-bottom: 0; }
.panel ul li svg { width: 16px; height: 16px; color: var(--wa); flex: 0 0 auto; margin-top: 3px; }
.panel__cta { margin-top: 16px; display: grid; gap: 9px; }
.panel__note { font-size: .74rem; color: var(--muted-2); text-align: center; line-height: 1.5; }

/* projection */
.proj {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.proj__card {
  padding: 22px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow-s);
}
.proj__v { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.proj__v em { font-style: normal; font-size: .78rem; color: var(--muted); font-weight: 700; }
.proj__l { margin-top: 3px; font-size: .775rem; color: var(--muted); font-weight: 700; }
.proj__note { margin-top: 5px; font-size: .705rem; color: var(--muted-2); line-height: 1.45; }

.disclaimer {
  margin-top: 18px;
  font-size: .755rem;
  color: var(--muted-2);
  line-height: 1.6;
  max-width: 62em;
}

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; margin-top: clamp(28px, 3.4vw, 42px); max-width: 62em; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 0 20px;
  box-shadow: var(--shadow-s);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-m); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  cursor: pointer;
  font-weight: 800;
  font-size: .97rem;
  letter-spacing: -.014em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .22s ease;
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq p {
  padding: 0 0 18px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.68;
  max-width: 72ch;
}

/* ---------------------------------------------------------------------
   Final CTA
   --------------------------------------------------------------------- */
.final {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 60px);
  background:
    radial-gradient(90% 130% at 0% 0%, rgba(79, 70, 229, .16), transparent 58%),
    radial-gradient(90% 130% at 100% 100%, rgba(8, 145, 178, .16), transparent 58%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  text-align: center;
}
.final h2 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); letter-spacing: -.03em; max-width: 26ch; margin-inline: auto; }
.final p { margin: 14px auto 0; max-width: 56ch; color: var(--muted); font-size: 1rem; }
.final__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.ftr {
  margin-top: clamp(48px, 6vw, 84px);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
}
.ftr__inner { display: grid; gap: 26px; }
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}
.ftr__rights {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .075em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.55;
}
.ftr__wa { display: flex; justify-content: center; }
.ftr__brand {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--muted-2);
  text-align: right;
}
.ftr__brand .brand__mark { width: 30px; height: 30px; border-radius: 9px; }

.ftr__bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  gap: 10px;
}
.ftr__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.ftr__links a:hover, .ftr__links button:hover { color: var(--brand-ink); }
.ftr__links button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: .78rem;
  color: var(--muted);
}
.ftr__legal {
  font-size: .695rem;
  color: var(--muted-2);
  line-height: 1.62;
  text-align: center;
  max-width: 78em;
  margin-inline: auto;
}

/* ---------------------------------------------------------------------
   Support modal
   --------------------------------------------------------------------- */
dialog.modal {
  width: min(560px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-l);
  overflow: auto;
}
dialog.modal::backdrop {
  background: rgba(6, 10, 20, .58);
  backdrop-filter: blur(4px);
}
dialog.modal[open] { animation: pop .22s cubic-bezier(.2, .8, .3, 1); }
@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.modal__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 2;
}
.modal__ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  flex: 0 0 auto;
}
.modal__ico svg { width: 20px; height: 20px; }
.modal__head h2 { font-size: 1.14rem; letter-spacing: -.022em; }
.modal__head p { margin-top: 3px; font-size: .815rem; color: var(--muted); line-height: 1.5; }
.modal__close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--muted);
  flex: 0 0 auto;
}
.modal__close:hover { color: var(--ink); border-color: var(--line-strong); }
.modal__close svg { width: 15px; height: 15px; }

.modal__body { padding: 20px 24px 24px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .78rem; font-weight: 800; letter-spacing: .02em; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .92rem;
  padding: 11px 13px;
  border-radius: var(--r-s);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.55; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
  background: var(--surface);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }

.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form__note { font-size: .735rem; color: var(--muted-2); line-height: 1.55; margin-bottom: 14px; }
.form__status {
  margin-top: 12px;
  font-size: .855rem;
  font-weight: 700;
  line-height: 1.5;
  display: none;
  border-radius: var(--r-s);
  padding: 12px 14px;
}
.form__status[data-state="error"] { display: block; color: var(--danger); background: rgba(192, 50, 43, .09); }
.form__status[data-state="ok"] { display: block; color: #15803d; background: rgba(22, 163, 74, .10); }
[data-theme="dark"] .form__status[data-state="ok"] { color: #4ade80; }

.modal__done { text-align: center; padding: 10px 4px 4px; }
.modal__done .tick {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: rgba(22, 163, 74, .12);
  color: #16a34a;
}
.modal__done .tick svg { width: 28px; height: 28px; }
.modal__done h3 { font-size: 1.1rem; }
.modal__done p { margin-top: 8px; font-size: .885rem; color: var(--muted); line-height: 1.6; }
.modal__done .btn { margin-top: 18px; }

.spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------
   Reveal animation
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.2, .8, .3, 1), transform .6s cubic-bezier(.2, .8, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hdr__cta-label { max-width: 150px; font-size: .55rem; }
  .brand__text { font-size: .95rem; }
}

@media (max-width: 1024px) {
  .hdr__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "cta cta";
    row-gap: 9px;
    padding-block: 10px 12px;
  }
  .brand { grid-area: brand; }
  .hdr__actions { grid-area: actions; }
  .hdr__cta {
    grid-area: cta;
    justify-self: stretch;
    justify-content: center;
    border-top: 1px solid var(--line);
    padding-top: 9px;
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .hdr__cta-label { max-width: none; text-align: center; }
  .hero__grid { grid-template-columns: 1fr; }
  .console { transform: none; max-width: 560px; }
  .invest { grid-template-columns: 1fr; }
  .panel { position: static; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prob { grid-template-columns: 1fr; }
  .proj { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .ftr__rights { order: 3; text-align: center; }
  .ftr__brand { justify-content: center; text-align: center; }
}

@media (max-width: 620px) {
  .brand__text { font-size: .86rem; white-space: normal; line-height: 1.2; }
  .brand__mark { width: 36px; height: 36px; border-radius: 11px; }
  .linkbtn { padding: 8px 8px; font-size: .64rem; }
  .lang__btn, .switch { height: 34px; }
  .switch { padding-right: 6px; }
  .pillars { grid-template-columns: 1fr; }
  .pcard { padding: 21px; }
  .pcard__feat { grid-template-columns: 1fr; }
  .pcard__foot { align-items: stretch; }
  .pcard__actions { margin-left: 0; width: 100%; }
  .pcard__actions .btn { flex: 1 1 100%; }
  .pcard__invest { width: 100%; text-align: center; }
  .hero { padding-top: 30px; }
  .btn { width: 100%; }
  .hdr .btn, .pcard__actions .btn, .ftr .btn { width: auto; }
  .hero__cta .btn, .final__cta .btn, .panel__cta .btn { width: 100%; }
  .modal__head, .modal__body { padding-inline: 18px; }
  .field--row { grid-template-columns: 1fr; }
  .console { padding: 12px; }
  .crow { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .crow__ico { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .hdr, .ticker, .console, .final__cta, dialog.modal { display: none !important; }
  body { background: #fff; color: #000; }
}
