:root {
  --bg: #070a12;
  --bg-soft: #0c1120;
  --surface: #111829;
  --surface-hover: #161f36;
  --surface-elevated: #141c31;
  --border: rgba(148, 163, 184, 0.15);
  --border-strong: rgba(129, 140, 248, 0.42);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  --max-w: 1120px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(920px 520px at 14% -8%, rgba(79, 70, 229, 0.24), transparent 62%),
    radial-gradient(760px 440px at 88% 4%, rgba(34, 211, 238, 0.12), transparent 58%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main {
  flex: 1;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 10, 18, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.brand-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}

.nav-links a {
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: rgba(99, 102, 241, 0.28);
  color: var(--text);
}

.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lang-select-wrap:hover {
  border-color: rgba(129, 140, 248, 0.42);
  background: var(--surface-hover);
}

.lang-select-wrap:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.25);
}

.lang-globe {
  position: absolute;
  left: 11px;
  color: var(--text-muted);
  pointer-events: none;
}

.lang-chevron {
  position: absolute;
  right: 10px;
  color: var(--text-muted);
  pointer-events: none;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 30px 7px 32px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  min-width: 112px;
}

.lang-select option {
  background: #111829;
  color: #f8fafc;
}

.mobile-subnav {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding: 8px 16px;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

.mobile-subnav::-webkit-scrollbar {
  display: none;
}

.mobile-subnav a {
  white-space: nowrap;
  padding: 3px 2px;
}

.mobile-subnav a[aria-current='page'] {
  color: var(--text);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 55%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.45);
}

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

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: rgba(148, 163, 184, 0.32);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 9px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
}

/* Hero */
.hero {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
}

.hero-grid > *,
.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #a5b4fc;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(129, 140, 248, 0.28);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.75);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.09;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-kerning: normal;
  font-feature-settings: 'kern' 1;
  color: #ffffff;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-soft);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--text-muted);
}

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

.check-icon {
  color: var(--green);
  flex-shrink: 0;
}

/* Hero Studio Snapshot Card */
.studio-panel {
  min-width: 0;
  max-width: 100%;
  background: linear-gradient(180deg, rgba(22, 31, 54, 0.88) 0%, rgba(11, 16, 30, 0.96) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.studio-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.studio-panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.studio-panel-domain {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-2);
}

.directory-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.directory-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 13px;
  background: rgba(7, 10, 18, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.directory-row:hover {
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(17, 24, 41, 0.9);
}

.directory-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.directory-row-left > div {
  min-width: 0;
}

.directory-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}

.directory-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.25);
  color: #a5b4fc;
}

.directory-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.directory-meta {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-muted);
  overflow-wrap: break-word;
}

.directory-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.directory-row:hover .directory-arrow {
  transform: translateX(2px);
  color: var(--text);
}

.studio-panel-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted);
}

.studio-panel-foot a {
  color: #67e8f9;
}

.studio-panel-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sections */
.section {
  padding: 68px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.09);
  scroll-margin-top: 76px;
}

.section-head {
  max-width: 660px;
  margin-bottom: 36px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.product-card:hover {
  border-color: rgba(129, 140, 248, 0.36);
  background: var(--surface-hover);
}

.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 10px;
  margin-bottom: 16px;
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.product-title {
  margin: 0 0 2px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-host {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  white-space: nowrap;
}

.product-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(129, 140, 248, 0.3);
  color: #c7d2fe;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-badge.free {
  background: var(--green-soft);
  border-color: rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
}

.product-desc {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-soft);
}

.product-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.product-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.product-points svg {
  margin-top: 3px;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.platform-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.65);
  border: 1px solid var(--border);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

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

/* Upcoming Studio Note */
.upcoming-card {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px dashed rgba(148, 163, 184, 0.24);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.upcoming-left {
  max-width: 740px;
}

.upcoming-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #a5b4fc;
  margin-bottom: 8px;
}

.upcoming-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.upcoming-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Support and Billing Grid */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(129, 140, 248, 0.25);
  color: #a5b4fc;
  margin-bottom: 14px;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.info-card p {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--text);
  background: rgba(148, 163, 184, 0.14);
  padding: 2px 6px;
  border-radius: 5px;
  white-space: nowrap;
}

.info-card a.inline-link {
  color: #67e8f9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-card-foot {
  margin-top: 12px;
}

.quick-links-bar {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.quick-links-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.quick-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.quick-pill:hover {
  border-color: rgba(129, 140, 248, 0.4);
  background: var(--surface-hover);
  color: var(--text);
}

/* Legal & 404 pages */
.legal-wrap {
  max-width: 820px;
  margin: 44px auto 72px;
  padding: 38px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.legal-wrap h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.legal-meta {
  margin: 0 0 26px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.legal-callout {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.3);
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.legal-wrap h2 {
  margin: 28px 0 10px;
  font-size: 18.5px;
  font-weight: 700;
  color: var(--text);
}

.legal-wrap h3 {
  margin: 18px 0 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
}

.legal-wrap p,
.legal-wrap li {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
}

.legal-wrap ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

.legal-wrap li {
  margin-bottom: 7px;
}

.legal-wrap a {
  color: #67e8f9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-wrap a.btn {
  text-decoration: none;
  color: #ffffff;
}

.legal-wrap a.btn-secondary {
  color: var(--text);
}

.legal-wrap code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--text);
  background: rgba(148, 163, 184, 0.14);
  padding: 2px 6px;
  border-radius: 5px;
}

.legal-wrap code.nowrap {
  white-space: nowrap;
}

.legal-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.not-found-wrap {
  text-align: center;
  max-width: 620px;
}

.not-found-code {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a5b4fc;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(129, 140, 248, 0.3);
  margin-bottom: 14px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 44px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.footer-meta strong {
  color: var(--text);
}

.footer-meta a {
  color: var(--text-soft);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

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

/* Responsive */
@media (max-width: 1020px) {
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

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

@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    height: 60px;
    gap: 10px;
  }

  .nav-links,
  .brand-sub {
    display: none;
  }

  .mobile-subnav {
    display: flex;
  }

  .brand {
    gap: 9px;
    font-size: 15.5px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .lang-btn {
    padding: 4px 9px;
    font-size: 11.5px;
  }

  .lang-select {
    font-size: 12px;
    padding: 6px 26px 6px 29px;
    min-width: 100px;
  }

  .lang-globe {
    left: 9px;
  }

  .lang-chevron {
    right: 8px;
  }

  .hero {
    padding: 40px 0 44px;
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .studio-panel {
    padding: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .product-card {
    padding: 22px 18px;
  }

  .product-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .product-actions {
    flex-direction: column;
  }

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

  .info-card {
    padding: 20px 18px;
  }

  .quick-links-bar {
    padding: 18px 16px;
  }

  .legal-wrap {
    margin: 24px 0 48px;
    padding: 24px 18px;
  }
}
