/* tritoos.ch — v1 · Nebula palette · Trident logo
   Fonts: Sora (headlines), Instrument Sans (text), self-hosted. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/sora-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sora-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/sora-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/sora-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --indigo: #1E1B4B;
  --indigo-2: #2A2663;
  --violet: #6D5BF6;
  --violet-soft: #E6E3FB;
  --mint: #34D399;
  --mint-ink: #0B2A1F;
  --ink: #171533;
  --muted: #5B5A7A;
  --mist: #F1F0FA;
  --paper: #FBFAFE;
  --white: #FFFFFF;
  --line: #E4E2F1;
  --line-strong: #CFCBE8;
  --lavender: #B4B0E0;
  --font-head: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 12px 30px -18px rgba(30, 27, 75, 0.35);
  --shadow-float: 0 30px 60px -30px rgba(30, 27, 75, 0.55);
  --container: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 72px;
  color-scheme: light;
}
@media (min-width: 1700px) { :root { --container: 1360px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--indigo); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--indigo); margin: 0; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet-soft); color: var(--indigo); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--indigo); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--mint); }
.eyebrow.plain::before { display: none; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.h-xl { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
.h-l { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.h-m { font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 16px; padding: 15px 24px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--mint); color: var(--mint-ink); box-shadow: 0 10px 24px -14px rgba(52, 211, 153, 0.9); }
.btn-primary:hover { background: #2FC48D; color: var(--mint-ink); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--indigo); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--violet); color: var(--indigo); }
.btn-ghost-dark { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.22); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 15px; border-radius: 10px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(30,27,75,0.45); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--indigo); }
.brand .mark { width: 36px; height: 36px; }
.brand .word { height: 20px; width: auto; }
.nav-main { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.nav-main a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav-main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-main a:hover::after, .nav-main a[aria-current="true"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; font-size: 13px; font-weight: 600; background: #fff; }
.lang-switch a, .lang-switch span { border-radius: 999px; padding: 6px 11px; color: var(--muted); line-height: 1; }
.lang-switch [aria-current="true"] { background: var(--indigo); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--indigo); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* mobile drawer */
.nav-drawer { display: none; }
@media (max-width: 899px) {
  .nav-main, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-drawer { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(23,21,51,0.35); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 40; }
  .nav-drawer.is-open { opacity: 1; pointer-events: auto; }
  .nav-drawer-panel { background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; transform: translateY(-8px); transition: transform .2s ease; box-shadow: 0 30px 40px -30px rgba(30,27,75,0.5); }
  .nav-drawer.is-open .nav-drawer-panel { transform: translateY(0); }
  .nav-drawer ul a { display: block; padding: 14px 0; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--indigo); border-bottom: 1px solid var(--line); }
  .nav-drawer .btn { width: 100%; margin-top: 18px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 599px) { :root { --header-h: 64px; } .brand .mark { width: 32px; height: 32px; } .brand .word { height: 18px; } .lang-switch a, .lang-switch span { padding: 6px 9px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 0%, rgba(109,91,246,0.10), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(52,211,153,0.08), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 26px); }
.hero-copy h1 { max-width: 14ch; }
.hero-copy .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.hero-note svg { width: 18px; height: 18px; color: var(--violet); }

.hero-panel { position: relative; background: var(--indigo); border-radius: 22px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-float); overflow: hidden; color: #fff; justify-self: end; width: min(100%, 520px); }
.hero-panel .bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-panel .panel-head { position: relative; margin-bottom: 26px; }
.hero-panel .panel-head .kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender); }
.hero-panel .panel-head .title { font-family: var(--font-head); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.stack { position: relative; display: flex; flex-direction: column; gap: 12px; }
.stack-card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 13px 18px; box-shadow: 0 12px 30px -12px rgba(0,0,0,0.45); margin-left: calc(var(--i) * 6%); color: var(--ink); }
.stack-card .ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--mist); display: grid; place-items: center; color: var(--violet); }
.stack-card .ico svg { width: 22px; height: 22px; }
.stack-card b { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 800; color: var(--indigo); }
.stack-card span { font-size: 12.5px; color: var(--muted); }
.hero-panel .panel-foot { position: relative; margin-top: 26px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lavender); }
.hero-panel .panel-foot i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { justify-self: stretch; width: 100%; max-width: 640px; }
  .hero-copy h1 { max-width: 18ch; }
}
@media (max-width: 599px) {
  .stack-card { margin-left: calc(var(--i) * 3%); padding: 12px 14px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Trust bar ---------- */
.trust { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust ul { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.trust li { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--indigo); }
.trust svg { width: 20px; height: 20px; color: var(--violet); flex: none; }
@media (max-width: 699px) { .trust ul { flex-direction: column; gap: 12px; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head .titles { display: flex; flex-direction: column; gap: 12px; }
.section-head h2 { max-width: 640px; }
.section-head .lead { max-width: 440px; font-size: 17px; }
@media (max-width: 899px) { .section-head { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { position: relative; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 34px); min-height: 250px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.service .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--violet); }
.service .ico svg { width: 24px; height: 24px; }
.service h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.service p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.service .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--violet); }
.service .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service:hover .more svg { transform: translateX(3px); }
.service.featured { grid-column: span 2; background: var(--indigo); border-color: var(--indigo); color: #fff; }
.service.featured .ico { background: rgba(255,255,255,0.1); color: #fff; }
.service.featured h3 { color: #fff; font-size: 24px; }
.service.featured p { color: var(--lavender); font-size: 16.5px; max-width: 60ch; }
.service.featured .more { color: var(--mint); }
@media (max-width: 1023px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .services-grid { grid-template-columns: 1fr; } .service.featured { grid-column: auto; } .service { min-height: 0; } }

/* ---------- References ---------- */
.refs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.ref { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.ref:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.ref .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F4F3FB; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.ref .chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.ref .chrome i:nth-child(1) { background: #F5A5A5; } .ref .chrome i:nth-child(2) { background: #F7D67A; } .ref .chrome i:nth-child(3) { background: #9DE3B8; }
.ref .chrome span { margin-left: 8px; font-weight: 500; }
.ref .shot { aspect-ratio: 16 / 10; background: var(--indigo); position: relative; overflow: hidden; display: grid; place-items: center; color: #fff; }
.ref .shot.violet { background: var(--violet); }
.ref .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ref .shot .domain { position: relative; font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.ref .shot .soon { position: relative; font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.ref .shot svg.deco { position: absolute; inset: 0; width: 100%; height: 100%; }
.ref .meta { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.ref .meta b { font-family: var(--font-head); font-size: 17px; font-weight: 800; color: var(--indigo); }
.ref .meta span { font-size: 14.5px; color: var(--muted); }
.ref .meta a.ext { font-size: 14px; font-weight: 600; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; }
.ref .meta a.ext svg { width: 14px; height: 14px; }

/* ---------- Why ---------- */
.why { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.why-intro { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.why-list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.why-list li:first-child { padding-top: 0; }
.why-list .num { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--mint); line-height: 1.1; }
.why-list h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.02em; }
.why-list p { font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (max-width: 899px) { .why-grid { grid-template-columns: 1fr; } .why-intro { position: static; } .why-list li { grid-template-columns: 48px 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-copy p { color: var(--muted); font-size: 17px; }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.fact b { font-family: var(--font-head); font-size: 17px; font-weight: 800; color: var(--indigo); letter-spacing: -0.02em; }
.fact span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.fact .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; color: var(--violet); margin-bottom: 6px; }
.fact .ico svg { width: 20px; height: 20px; }
@media (max-width: 899px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .about-facts { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--indigo); color: #fff; position: relative; overflow: hidden; }
.contact .bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 18px; }
.contact-copy h2 { color: #fff; }
.contact-copy .eyebrow { color: var(--lavender); }
.contact-copy p { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 46ch; }
.contact-direct { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; font-size: 15px; color: var(--lavender); }
.contact-direct a { color: #fff; font-weight: 600; }
.contact-direct a:hover { color: var(--mint); }
.contact-direct li { display: flex; align-items: center; gap: 10px; }
.contact-direct svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-float); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--indigo); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(109,91,246,0.15); }
.field.check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--violet); }
.field.check label { font-weight: 400; font-size: 14px; color: var(--muted); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-foot small { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; display: none; }
.form-alert.error { display: block; background: #FDECEC; color: #8A1C1C; border: 1px solid #F5C2C2; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand .mark { width: 30px; height: 30px; } .footer-brand .brand .word { height: 17px; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 380px; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.footer-col li { margin-bottom: 9px; font-size: 14.5px; }
.footer-col a { color: var(--ink); } .footer-col a:hover { color: var(--violet); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; margin-top: 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom ul { display: flex; gap: 22px; }
.footer-bottom a { color: var(--muted); } .footer-bottom a:hover { color: var(--violet); }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal / simple pages ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; margin-top: 14px; }
.prose { max-width: 760px; padding-bottom: var(--section); }
.prose h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 40px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.prose ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .box { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; margin: 18px 0; }
.prose .box p { color: var(--ink); }
.prose .todo { background: #FFF6E5; border: 1px dashed #F5A524; }
.thanks { min-height: 50vh; display: grid; place-items: center; text-align: center; padding: var(--section) 0; }
.thanks .inner { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 560px; }
.thanks .badge { width: 72px; height: 72px; border-radius: 20px; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; }
.thanks .badge svg { width: 34px; height: 34px; }

/* ---------- Plugins page ---------- */
.h-m { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; }
.plug-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); }
.plug-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.plug-hero-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.plug-hero-copy .back { color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: none; font-size: 14px; }
.plug-hero-copy .h-xl { font-size: clamp(34px, 4.4vw, 56px); max-width: 16ch; }
.plug-hero-copy .lead { max-width: 560px; }
.plug-facts .fact { padding: 20px 20px 18px; }
@media (max-width: 1023px) { .plug-hero-grid { grid-template-columns: minmax(0, 1fr); } .plug-hero-copy .h-xl { max-width: none; } }

.plugin { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plugin-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.plugin-head .titles { display: flex; flex-direction: column; gap: 10px; }
.plugin-head .pname { font-family: var(--font-head); }
.plugin-head .badge { display: inline-block; vertical-align: middle; margin-left: 10px; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint-ink); background: var(--mint); padding: 5px 10px; border-radius: 999px; position: relative; top: -6px; }
.plugin-head .tagline { font-size: 19px; color: var(--ink); font-weight: 500; }
.plugin-head .ver { display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--violet); background: var(--violet-soft); padding: 3px 9px; border-radius: 999px; }
.plugin-head .lead { max-width: 60ch; }
@media (max-width: 899px) { .plugin-head { grid-template-columns: 1fr; gap: 16px; } }

/* mock storefront illustration */
.mock { background: var(--indigo); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-float); margin-bottom: clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.mock::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; top: -260px; background: var(--violet); opacity: .28; pointer-events: none; }
.mock-chrome { display: flex; align-items: center; gap: 6px; color: var(--lavender); font-size: 12px; padding: 4px 6px 12px; position: relative; }
.mock-chrome i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: rgba(255,255,255,.25); }
.mock-chrome i:nth-child(1) { background: #F5A5A5; } .mock-chrome i:nth-child(2) { background: #F7D67A; } .mock-chrome i:nth-child(3) { background: #9DE3B8; }
.mock-chrome span { margin-left: 8px; }
.mock-body { background: var(--paper); border-radius: 12px; padding: clamp(14px, 2vw, 24px); position: relative; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-head .kicker { font-family: var(--font-head); font-weight: 800; font-size: clamp(16px, 1.6vw, 20px); color: var(--indigo); letter-spacing: -0.02em; }
.mock-head .dots i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); margin-left: 5px; }
.dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dcard .dlabel { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dcard .dimg { aspect-ratio: 4 / 3; border-radius: 8px; background: var(--mist); position: relative; overflow: hidden; }
.dcard .dimg i { position: absolute; left: 22%; right: 22%; top: 18%; bottom: 18%; border-radius: 6px; background: linear-gradient(135deg, var(--lavender), var(--violet-soft)); }
.dcard .dimg .off { position: absolute; top: 8px; left: 8px; background: var(--mint); color: var(--mint-ink); font-weight: 700; font-size: 12px; padding: 3px 7px; border-radius: 6px; }
.dcard .dname { display: flex; flex-direction: column; gap: 5px; }
.dcard .dname b { display: block; height: 8px; border-radius: 4px; background: var(--line-strong); }
.dcard .dname b.short { width: 55%; background: var(--line); }
.dcard .dprice { display: flex; align-items: baseline; gap: 8px; min-height: 20px; }
.dcard .dprice strong { font-family: var(--font-head); font-size: 16px; color: var(--indigo); }
.dcard .dprice s { font-size: 12px; color: var(--muted); }
.dcard .dtag { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--mist); border-radius: 6px; padding: 5px 8px; text-align: center; }
.dcard.past { opacity: .55; }
.dcard.future .dprice strong { display: block; width: 40%; height: 10px; border-radius: 5px; background: var(--line-strong); }
.dcard.today { border: 2px solid var(--violet); box-shadow: var(--shadow-card); }
.dcard.today .dlabel { color: var(--violet); }
.dcard .dstock { display: flex; flex-direction: column; gap: 4px; }
.dcard .dstock .bar { height: 6px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.dcard .dstock .bar i { display: block; height: 100%; background: var(--mint); border-radius: 3px; }
.dcard .dstock span { font-size: 11.5px; color: var(--muted); }
.dcard .dtimer { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--indigo); }
.dcard .dtimer svg { width: 14px; height: 14px; }
.dcard .dbtn { background: var(--indigo); color: #fff; font-size: 12.5px; font-weight: 600; text-align: center; padding: 8px; border-radius: 8px; }
@media (max-width: 767px) { .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dcard.past { display: none; } .dcard.future:last-child { display: none; } }
@media (max-width: 419px) { .dgrid { grid-template-columns: 1fr; } .dcard.future { display: none; } }

.plugin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.feat-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.feat-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--violet); }
.feat-list .ico svg { width: 22px; height: 22px; }
.feat-list h3 { font-size: 17px; letter-spacing: -0.015em; margin-bottom: 6px; }
.feat-list p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.spec-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.specs { margin: 0; display: flex; flex-direction: column; }
.specs .spec { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-strong); font-size: 14.5px; }
.specs .spec:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; color: var(--ink); }
.spec-card .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
.spec-card small { color: var(--muted); font-size: 13.5px; text-align: center; }
.more-soon { margin-top: clamp(28px, 4vw, 44px); display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; border: 1px dashed var(--line-strong); border-radius: 999px; padding: 10px 18px; }
.more-soon svg { width: 18px; height: 18px; color: var(--violet); }
@media (max-width: 1023px) { .plugin-grid { grid-template-columns: minmax(0, 1fr); } .spec-card { position: static; } }
@media (max-width: 639px) { .feat-list { grid-template-columns: minmax(0, 1fr); } }

.custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.custom-copy, .custom-steps { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.custom-copy .points { list-style: none; margin: 6px 0 10px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.custom-copy .points li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--ink); }
.custom-copy .points svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 3px; }
.custom-steps .why-list { width: 100%; }
@media (max-width: 899px) { .custom-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .service, .ref, .btn { transition: none; } }

/* ---------- Print ---------- */
@media print { .site-header, .nav-drawer, .contact, .hero-panel { display: none !important; } body { background: #fff; } }
