/* =========================================================
   serggiu.dev — shared styles
   System fonts, no external requests.
   ========================================================= */

:root {
  color-scheme: light dark;

  --bg: #f7f5f0;
  --bg-elevated: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f1eee7;
  --text: #17191f;
  --muted: #5f6570;
  --faint: #878d97;
  --line: rgba(23, 25, 31, 0.11);
  --line-strong: rgba(23, 25, 31, 0.2);
  --accent: #0b63f6;
  --accent-2: #44a1ff;
  --accent-soft: #e8f0ff;
  --accent-ink: #ffffff;
  --focus: #0b63f6;
  --shadow: 0 30px 80px rgba(24, 39, 75, 0.16);
  --shadow-soft: 0 12px 34px rgba(24, 39, 75, 0.08);
  --header-bg: rgba(247, 245, 240, 0.86);
  --dark-panel: #0d1119;
  --dark-panel-2: #131927;
  --dark-panel-text: #f5f8fd;
  --dark-panel-muted: #a8b2c2;
  --code-bg: rgba(255, 255, 255, 0.07);
  --success: #1d9f68;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0c11;
    --bg-elevated: #0f1218;
    --surface: #131720;
    --surface-2: #181d28;
    --text: #f1f4f9;
    --muted: #99a2b1;
    --faint: #70798a;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.2);
    --accent: #6ca8ff;
    --accent-2: #8ecaff;
    --accent-soft: rgba(108, 168, 255, 0.14);
    --accent-ink: #06111f;
    --focus: #8ecaff;
    --shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 14px 38px rgba(0, 0, 0, 0.28);
    --header-bg: rgba(10, 12, 17, 0.84);
    --dark-panel: #05070b;
    --dark-panel-2: #0b111c;
    --dark-panel-text: #f5f8fd;
    --dark-panel-muted: #9da8b9;
    --code-bg: rgba(255, 255, 255, 0.07);
    --success: #54d39a;
  }
}

:root[data-theme="dark"] {
  --bg: #0a0c11;
  --bg-elevated: #0f1218;
  --surface: #131720;
  --surface-2: #181d28;
  --text: #f1f4f9;
  --muted: #99a2b1;
  --faint: #70798a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #6ca8ff;
  --accent-2: #8ecaff;
  --accent-soft: rgba(108, 168, 255, 0.14);
  --accent-ink: #06111f;
  --focus: #8ecaff;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 14px 38px rgba(0, 0, 0, 0.28);
  --header-bg: rgba(10, 12, 17, 0.84);
  --dark-panel: #05070b;
  --dark-panel-2: #0b111c;
  --dark-panel-text: #f5f8fd;
  --dark-panel-muted: #9da8b9;
  --code-bg: rgba(255, 255, 255, 0.07);
  --success: #54d39a;
}

/* ---------- reset ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 6%, var(--accent-soft), transparent 26rem),
    radial-gradient(circle at 8% 42%, rgba(68, 161, 255, 0.06), transparent 22rem);
  opacity: 0.9;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: none;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-sm {
  width: 1em;
  height: 1em;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(11, 99, 246, 0.22);
}

.brand-text {
  color: var(--text);
}

.brand-dot {
  color: var(--accent);
}

.brand-tagline {
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 550;
  padding: 8px 11px;
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-cta {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 650;
  padding: 9px 14px;
  border-radius: 9px;
  transition: transform 150ms ease, filter 150ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.theme-toggle .icon {
  width: 17px;
  height: 17px;
}

.icon-sun {
  display: none;
}

.icon-moon {
  display: block;
}

:root[data-theme="dark"] .icon-sun {
  display: block;
}

:root[data-theme="dark"] .icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .icon-moon {
    display: none;
  }
}

.menu-toggle {
  display: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease,
    background 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px rgba(11, 99, 246, 0.22);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(11, 99, 246, 0.3);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
  background: var(--bg-elevated);
}

.btn-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
  border-radius: 9px;
}

.btn.is-pending {
  cursor: help;
  opacity: 0.7;
}

.btn.is-pending:hover {
  transform: none;
}

/* ---------- shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 12%, transparent);
}

.gradient-text {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 62%, #9bd2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted {
  color: var(--muted);
}

.small-note {
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.55;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  right: -14rem;
  top: -16rem;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 64%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-top: 22px;
  max-width: 11ch;
  font-size: clamp(3rem, 6.2vw, 5.1rem);
  line-height: 0.97;
  letter-spacing: -0.06em;
  font-weight: 780;
}

.lede {
  margin-top: 24px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.lede strong {
  color: var(--text);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  color: var(--faint);
  font-size: 12.5px;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-facts li:first-child::before {
  display: none;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 16px 10px 34px 26px;
}

.hero-glow {
  position: absolute;
  inset: 8% 0 4% 12%;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(11, 99, 246, 0.28), rgba(68, 161, 255, 0.02));
  filter: blur(34px);
  transform: rotate(-4deg);
  z-index: -1;
}

.hero-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #0d1119;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.hero-window picture,
.hero-window img {
  width: 100%;
}

.hero-window figcaption {
  padding: 0 16px 12px;
  color: #8d97a8;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.floating-note {
  position: absolute;
  right: 0;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 600;
}

.floating-note .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* ---------- sections ---------- */

.section {
  padding: 82px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 760;
}

.section-head p:not(.eyebrow) {
  max-width: 58ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- apps ---------- */

.apps-section {
  padding-top: 24px;
}

.app-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.app-card-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(11, 99, 246, 0.2);
}

.app-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.app-card h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.app-card-body p {
  margin-top: 8px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 14.5px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tag {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 550;
}

.app-card-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  min-width: 118px;
}

.app-card-action .muted {
  font-size: 11px;
}

/* ---------- detail ---------- */

.detail-section {
  padding-top: 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 58px;
  align-items: start;
}

.detail-copy h2 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 4.3vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 770;
}

.detail-copy > p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 16px;
}

.check-list {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 14.5px;
}

.check-list .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--accent);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.detail-note {
  margin-top: 12px;
  color: var(--faint);
  font-size: 12px;
}

.detail-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.spec-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.spec-card h3 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-list {
  margin-top: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-row dt {
  color: var(--faint);
  font-size: 12.5px;
}

.spec-row dd {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
}

.spec-footnote {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ---------- features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-icon .icon {
  width: 18px;
  height: 18px;
}

.feature-card h3 {
  margin-top: 18px;
  font-size: 15.5px;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.step h3 {
  margin-top: 20px;
  font-size: 15.5px;
  letter-spacing: -0.015em;
}

.step p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- privacy ---------- */

.privacy-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 30px;
  background: var(--dark-panel);
  color: var(--dark-panel-text);
  box-shadow: var(--shadow);
}

.privacy-panel::before {
  content: "";
  position: absolute;
  right: -10rem;
  top: -12rem;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 161, 255, 0.2), transparent 66%);
  pointer-events: none;
}

.privacy-panel .eyebrow {
  color: var(--dark-panel-muted);
}

.privacy-panel h2 {
  margin-top: 14px;
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.privacy-panel p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--dark-panel-muted);
  font-size: 14.5px;
}

.privacy-list {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dark-panel-text);
  font-size: 13px;
}

.privacy-list .icon {
  width: 15px;
  height: 15px;
  color: #7db6ff;
}

.privacy-aside {
  position: relative;
  z-index: 1;
}

.path-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: var(--code-bg);
  font-family: "SFMono-Regular", ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.path-card .path-label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-panel-muted);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-card .path {
  color: #dbe9ff;
}

.privacy-aside .small-note {
  margin-top: 12px;
  color: var(--dark-panel-muted);
  font-size: 11.5px;
}

.privacy-aside a {
  color: #9bc9ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- licensing ---------- */

.licensing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: start;
}

.licensing-copy h2 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.licensing-copy > p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 15.5px;
}

.license-facts {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.license-facts li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--text);
  font-size: 14px;
}

.license-facts .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--accent);
}

.price-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.price-card::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.price-label {
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-value {
  margin-top: 8px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.price-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

.price-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.price-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}

.price-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--accent);
}

.price-actions {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.price-actions .btn {
  width: 100%;
}

.price-note {
  margin-top: 12px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.55;
}

.launch-note {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.store-live .launch-note {
  display: none;
}

/* ---------- faq ---------- */

.faq-list {
  max-width: 820px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 68ch;
  padding: 0 44px 20px 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-item a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 24px;
  padding: 56px 0 26px;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.footer-brand .brand {
  font-size: 14px;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.footer-col h3 {
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.footer-col a {
  color: var(--muted);
  font-size: 13px;
  transition: color 150ms ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11.5px;
}

.footer-bottom p {
  max-width: 60ch;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--text);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  max-width: min(420px, calc(100% - 32px));
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #111723;
  color: #f3f7ff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  font-size: 12.5px;
  line-height: 1.45;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- legal pages ---------- */

.legal-hero {
  padding: 64px 0 18px;
}

.legal-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.legal-hero p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  width: min(820px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - var(--container)) / 2));
  padding: 34px 0 88px;
}

.prose h2 {
  margin-top: 36px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.prose h3 {
  margin-top: 24px;
  font-size: 15.5px;
}

.prose p,
.prose li {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.72;
}

.prose ul,
.prose ol {
  margin-top: 10px;
  padding-left: 20px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-top: 6px;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
  font-weight: 650;
}

.prose code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  font-family: "SFMono-Regular", ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
}

.prose .btn {
  margin-top: 2px;
}

.prose .note {
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0;
  text-align: center;
}

.not-found-inner {
  max-width: 560px;
}

.not-found .big-number {
  color: var(--accent);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.not-found h1 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.04em;
}

.not-found p {
  margin-top: 12px;
  color: var(--muted);
}

.not-found .hero-actions {
  justify-content: center;
}

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .hero-grid {
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.3rem);
  }

  .detail-grid,
  .licensing-grid {
    gap: 38px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-panel {
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 11px 12px;
    border-radius: 9px;
  }

  .nav-cta {
    margin: 4px 0 0;
    padding: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 58px 0 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    max-width: 680px;
    padding: 10px 8px 30px 14px;
  }

  .hero-window {
    transform: none;
  }

  .detail-grid,
  .licensing-grid {
    grid-template-columns: 1fr;
  }

  .spec-card {
    max-width: 620px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .privacy-aside {
    max-width: 520px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section {
    padding: 64px 0;
  }

  .section-tight {
    padding: 44px 0;
  }
}

@media (max-width: 600px) {
  .brand-tagline {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.6rem);
  }

  .lede {
    font-size: 15.5px;
  }

  .hero-actions .btn {
    flex: 1 1 180px;
  }

  .app-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    align-items: start;
  }

  .app-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 17px;
  }

  .app-card h3 {
    font-size: 19px;
  }

  .app-card-action {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding-top: 4px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 20px;
  }

  .privacy-panel {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .privacy-panel h2 {
    font-size: 2.1rem;
  }

  .price-card,
  .spec-card {
    padding: 22px;
  }

  .price-card::before {
    left: 22px;
    right: 22px;
  }

  .faq-item summary {
    font-size: 14.5px;
  }

  .faq-item p {
    padding-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .legal-layout {
    width: calc(100% - 36px);
    margin-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
