﻿:root {
  color-scheme: dark;
  --canvas: #05060a;
  --ink: #f4f5f7;
  --soft: #c9ccd4;
  --muted: #979ba6;
  --line: rgba(240, 241, 243, 0.14);
  --line-strong: rgba(240, 241, 243, 0.3);
  --radius: 14px;
  --radius-sm: 10px;
  --metal:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06) 48%, rgba(255, 255, 255, 0.025)),
    linear-gradient(145deg, #34373f 0%, #22252b 52%, #16181d 100%);
  --glass:
    linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 60%),
    rgba(15, 17, 22, 0.72);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.35);
  --claude: #cc785c;
  --codex: #83b8f2;
  --accent: #8fd0ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

::selection {
  background: rgba(143, 208, 255, 0.28);
}

/* ---------------------------------- */
/* Kinetic background                 */
/* ---------------------------------- */

.ai-logo-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 74% -8%, rgba(131, 184, 242, 0.09), transparent 62%),
    radial-gradient(900px 560px at 12% 110%, rgba(204, 120, 92, 0.06), transparent 60%),
    var(--canvas);
}

#logo-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#smoke-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ai-logo-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 26% 32%, rgba(5, 6, 10, 0.6), transparent 70%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.42), rgba(5, 6, 10, 0.66) 78%, var(--canvas) 100%);
}

.ai-logo-mark {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 7px;
  border: 1px solid color-mix(in srgb, var(--brand), transparent 62%);
  border-radius: 999px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 65%),
    rgba(10, 12, 16, 0.66);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.55),
    0 0 30px color-mix(in srgb, var(--brand), transparent 90%),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  color: var(--ink);
  opacity: 0;
  transform: translate3d(-200px, -200px, 0);
  will-change: transform, opacity;
}

.ai-logo-symbol {
  display: grid;
  place-items: center;
  width: calc(var(--size) * 0.3);
  height: calc(var(--size) * 0.3);
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--brand), transparent 42%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.22), transparent 42%),
    color-mix(in srgb, var(--brand), #000 76%);
  color: color-mix(in srgb, var(--brand), #fff 55%);
  font-size: clamp(10px, calc(var(--size) * 0.1), 16px);
  font-weight: 800;
  box-shadow:
    0 0 22px color-mix(in srgb, var(--brand), transparent 74%),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.ai-logo-fallback {
  line-height: 1;
}

.ai-logo-name {
  color: rgba(244, 245, 247, 0.66);
  font-size: clamp(12px, calc(var(--size) * 0.115), 15px);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.smoke-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}

.smoke-field::before,
.smoke-field::after {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
}

.smoke-field::before {
  background: none;
}

.smoke-field::after {
  background:
    radial-gradient(1050px 640px at 22% 32%, rgba(3, 4, 7, 0.52), transparent 66%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.34) 72%, rgba(0, 0, 0, 0.62) 100%);
}

.smoke-field canvas {
  filter: blur(14px) saturate(1.03);
}

/* ---------------------------------- */
/* Header                             */
/* ---------------------------------- */

.site-header {
  position: fixed;
  inset: 14px 16px auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 9, 13, 0.6);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand > span:last-child {
  background: linear-gradient(180deg, #ffffff 0%, #e2e5ea 40%, #9aa1ab 70%, #eef1f5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}

.trybal-mark {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  aspect-ratio: 1;
  border: 1px solid rgba(143, 208, 255, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.28), transparent 38%),
    linear-gradient(145deg, rgba(143, 208, 255, 0.28), rgba(9, 16, 24, 0.94));
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  box-shadow:
    0 0 18px rgba(143, 208, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.trybal-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: #06070a;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.16);
}

/* ---------------------------------- */
/* Hero                               */
/* ---------------------------------- */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(680px, 88vh, 900px);
  padding: 150px 24px 70px;
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 600px;
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 540px;
  margin-top: 22px;
  color: var(--soft);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 26px;
  max-width: 480px;
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button.primary {
  border-color: rgba(255, 255, 255, 0.85);
  background: #fff;
  color: #050609;
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.12);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(255, 255, 255, 0.18);
}

.button.secondary {
  background: var(--glass);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 60%),
    rgba(20, 23, 29, 0.8);
}

.button.wide {
  width: 100%;
}

.hero-product {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  background: var(--metal);
  box-shadow: var(--shadow), 0 0 80px rgba(131, 184, 242, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 1;
  pointer-events: none;
  border-radius: var(--radius);
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 36%);
  mix-blend-mode: screen;
}

.hero-product img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #05060a;
}

.hero-product figcaption {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------------------------------- */
/* Sections                           */
/* ---------------------------------- */

.section {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-copy {
  min-width: 0;
  max-width: 720px;
}

.section-copy.narrow {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

h2 {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.section-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.7;
}

/* Overview benefits */

.overview-section {
  padding-top: 40px;
}

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

.benefit-grid article {
  padding: 26px 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.benefit-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.benefit-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.mini-icon,
.step-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  background: rgba(143, 208, 255, 0.06);
  box-shadow: 0 0 22px rgba(143, 208, 255, 0.1);
}

/* Conversation + local sections (copy beside framed image) */

.conversation-section,
.local-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 4.5vw, 60px);
  align-items: center;
}

.framed-preview {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  background: var(--metal);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.framed-preview::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 1;
  pointer-events: none;
  border-radius: var(--radius);
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.1), transparent 34%);
  mix-blend-mode: screen;
}

.framed-preview img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #05060a;
}

.framed-preview figcaption {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.surface-lanes {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.surface-lanes article {
  position: relative;
  padding: 16px 18px 16px 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 60%),
    rgba(10, 12, 17, 0.7);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.surface-lanes article::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 21px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(143, 208, 255, 0.6);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(143, 208, 255, 0.9) 0 2px, transparent 3px);
  box-shadow: 0 0 18px rgba(143, 208, 255, 0.28);
}

.surface-lanes strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.surface-lanes span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

/* Process steps */

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.process-card {
  padding: 26px 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.process-card h3 {
  margin-bottom: 8px;
}

.process-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Screenshot gallery */

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.screenshot-grid figure {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.screenshot-grid figure:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.screenshot-grid figure.wide {
  grid-column: span 2;
}

.screenshot-link {
  position: relative;
  display: block;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: #05060a;
}

.screenshot-link span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.screenshot-link:hover span,
.screenshot-link:focus-visible span {
  opacity: 1;
}

.screenshot-grid figcaption {
  margin-top: 10px;
  padding: 0 4px 2px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 600;
}

/* Check list + providers */

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--soft);
  font-size: 15px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.provider-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.provider-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
}

/* TrybalStudio parent homepage */

.trybal-home .hero {
  min-height: 82vh;
}

.trybal-home .hero-product {
  align-self: center;
}

.trybal-console {
  display: grid;
  gap: 18px;
  min-height: 430px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
}

.trybal-console::before {
  opacity: 0.58;
}

.console-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.console-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.console-grid span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.console-grid h3 {
  color: var(--ink);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1;
}

.console-grid p {
  margin-top: 10px;
  color: var(--soft);
  font-size: 14px;
}

.product-section {
  display: grid;
  gap: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.product-card {
  display: grid;
  gap: 18px;
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.product-card.featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
}

.product-card h3 {
  color: var(--ink);
  font-size: clamp(30px, 5vw, 58px);
  line-height: 0.95;
}

.product-card p {
  color: var(--soft);
}

.product-card img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  background: #05060a;
  box-shadow: var(--shadow-soft);
}

.product-card .button {
  width: max-content;
  margin-top: 8px;
}

.product-card.muted {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    rgba(10, 12, 16, 0.54);
}

.product-card.muted h3 {
  font-size: clamp(24px, 3vw, 38px);
}

.product-card.teaser {
  gap: 0;
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card.teaser:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.teaser-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.teaser-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.6s ease;
}

.product-card.teaser:hover .teaser-media img {
  transform: scale(1.045);
}

.teaser-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 9, 13, 0.82) 100%);
}

.teaser-copy {
  display: grid;
  gap: 10px;
  padding: 20px 24px 24px;
}

.teaser-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.teaser-copy p {
  color: var(--muted);
  font-size: 15px;
  font-style: italic;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(143, 208, 255, 0.26);
  border-radius: 999px;
  color: rgba(244, 245, 247, 0.78);
  background: rgba(143, 208, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.trybal-support {
  padding-top: 36px;
}

.simple-page {
  min-height: 100vh;
}

.simple-shell {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.simple-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.simple-card h2 {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.simple-note {
  color: var(--muted);
  font-size: 14px;
}

.simple-note code {
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}

.download-status {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 14px;
  line-height: 1.5;
}

#checkoutButton[hidden],
#downloadButton[hidden] {
  display: none;
}

.download-status[data-state="checking"] {
  border-color: rgba(143, 208, 255, 0.34);
  color: var(--ink);
}

.download-status[data-state="success"] {
  border-color: rgba(88, 222, 168, 0.42);
  color: #aef0d4;
  background: rgba(88, 222, 168, 0.08);
}

.download-status[data-state="error"] {
  border-color: rgba(255, 122, 110, 0.46);
  color: #ffc3bd;
  background: rgba(255, 122, 110, 0.08);
}

.activation-panel {
  display: grid;
  min-width: 0;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(88, 222, 168, 0.34);
  border-radius: var(--radius);
  background: rgba(88, 222, 168, 0.055);
}

.activation-panel[hidden] {
  display: none;
}

.activation-panel h2 {
  margin-top: 4px;
  font-size: clamp(22px, 2.5vw, 30px);
}

.activation-grid,
.activation-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.activation-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.activation-value {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
}

.activation-value code {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
  color: var(--ink);
  font-size: 13px;
}

.copy-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: var(--glass);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.support-grid {
  display: grid;
  gap: 18px;
}

.support-actions {
  display: grid;
  gap: 10px;
}

.support-actions .button {
  width: 100%;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.62;
}

/* Pricing */

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.66fr);
  gap: clamp(30px, 4.5vw, 60px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.pricing-card {
  padding: 30px 28px;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  background: var(--metal);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.plan-name {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  margin-top: 10px;
  color: var(--muted);
}

.price span {
  color: var(--ink);
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.pricing-card .check-list {
  margin-top: 24px;
}

.pricing-card .button {
  margin-top: 28px;
}

/* FAQ */

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

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: var(--line-strong);
}

.faq-list summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "-";
  color: var(--accent);
}

.faq-list p {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Footer */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 700;
}

.site-footer p:first-child span {
  color: var(--muted);
  font-weight: 500;
}

/* ---------------------------------- */
/* Scroll reveal                      */
/* ---------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.benefit-grid article:nth-child(2),
.process-card:nth-child(2) {
  transition-delay: 0.08s;
}

.benefit-grid article:nth-child(3),
.process-card:nth-child(3) {
  transition-delay: 0.16s;
}

.process-card:nth-child(4) {
  transition-delay: 0.24s;
}

/* ---------------------------------- */
/* Responsive                         */
/* ---------------------------------- */

@media (max-width: 980px) {
  .hero-shell,
  .conversation-section,
  .local-section,
  .pricing-section,
  .product-card.featured {
    grid-template-columns: 1fr;
  }

  .local-section .framed-preview {
    order: 2;
  }

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

  .hero {
    min-height: auto;
    padding-top: 140px;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    inset: 10px 10px auto;
    display: flex;
    justify-content: space-between;
    width: auto;
  }

  .nav-cta {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding: 112px 16px 48px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .section {
    width: min(100vw - 24px, 560px);
    padding: 60px 0;
  }

  .benefit-grid,
  .process-grid,
  .screenshot-grid,
  .product-grid,
  .console-grid {
    grid-template-columns: 1fr;
  }

  .simple-shell {
    grid-template-columns: 1fr;
  }

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

  .copy-button {
    justify-self: start;
  }

  .trybal-console {
    min-height: auto;
  }

  .console-header {
    display: grid;
  }

  .screenshot-grid figure.wide {
    grid-column: auto;
  }

  .screenshot-link span {
    opacity: 1;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
    width: min(100vw - 24px, 560px);
  }

  .ai-logo-name {
    display: none;
  }

  .ai-logo-mark {
    padding: 7px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ai-logo-mark,
  .button,
  .nav-cta,
  .benefit-grid article,
  .process-card,
  .screenshot-grid figure {
    transition: none;
  }
}
