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

:root {
  --bg: #0b0d10;
  --bg-soft: #101319;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f1ec;
  --muted: #a7adb6;
  --muted-strong: #7f8691;
  --accent: #93a4dd;
  --accent-soft: rgba(147, 164, 221, 0.14);
  --white: #ffffff;
  --container: min(1120px, calc(100% - 40px));
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.24);
  --radius: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 25% 0%, rgba(147, 164, 221, 0.105), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.045), transparent 22%),
    linear-gradient(180deg, #0b0d10 0%, #0d1014 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.site-shell {
  position: relative;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(11, 13, 16, 0.76);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #a7b5e6, #6f7fae);
  color: var(--white);
  font-family: "Instrument Serif", serif;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(111, 127, 174, 0.18);
}

.brand-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-pill {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text) !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(147, 164, 221, 0.14), transparent 24%),
    radial-gradient(circle at 82% 35%, rgba(255, 255, 255, 0.06), transparent 20%);
  pointer-events: none;
}

.hero-frame {
  position: relative;
  padding: 34px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026));
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.035em;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 26px;
  max-width: 760px;
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 600;
}

h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  max-width: 700px;
}

h3 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.12;
}

.hero-text,
.section-text,
.info-card p,
.step-card p,
.statement-text,
.contact-value,
.footer-note,
.product-card p,
.page-intro,
.feature-list li,
.meta-card p,
.screenshot-copy p {
  color: var(--muted);
}

.hero-text {
  margin-top: 24px;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.72;
}

.hero-subtext {
  margin-top: 16px;
  max-width: 610px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  min-height: 48px;
  padding: 0 19px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  background: rgba(243, 241, 236, 0.94);
  color: #101319;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  background: var(--white);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  position: relative;
}

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

.panel-card,
.info-card,
.step-card,
.contact-card,
.product-card,
.meta-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.022));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 24px;
  min-height: 190px;
}

.panel-card-offset {
  transform: translateX(22px);
}

.panel-label,
.section-label,
.contact-label,
.step-number,
.product-kicker,
.meta-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-label,
.section-label,
.contact-label,
.product-kicker,
.meta-label {
  color: var(--muted-strong);
}

.panel-card p,
.info-card p,
.step-card p,
.product-card p,
.meta-card p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.panel-card h3 {
  margin-top: 14px;
}

.section {
  padding: 92px 0;
}

.section-muted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.014), rgba(255,255,255,0.028));
}

.section-muted-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.section-head {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-label {
  margin-bottom: 14px;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.52);
}

.section-text {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.8;
  max-width: 720px;
}

.card-grid.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 28px;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 16px;
}

.step-card {
  padding: 26px;
}

.step-number {
  color: var(--accent);
  margin-bottom: 12px;
}

.product-feature {
  align-items: center;
}

.product-card {
  padding: 30px;
}

.product-card h3 {
  margin-top: 14px;
  font-size: 32px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.text-link::after {
  content: "\2192";
  margin-left: 8px;
  opacity: 0.65;
}

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

.statement-panel {
  padding: 42px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(147, 164, 221, 0.10), transparent 28%),
    linear-gradient(180deg, #121720, #0f1319);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.statement-text {
  font-size: 18px;
  line-height: 1.85;
  max-width: 640px;
}

.contact-grid {
  align-items: center;
}

.contact-card {
  padding: 30px;
}

.contact-row {
  display: grid;
  gap: 6px;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

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

.contact-value {
  font-size: 18px;
}

.page-hero {
  position: relative;
  padding: 92px 0 58px;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(147, 164, 221, 0.13), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.045), transparent 20%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  max-width: 860px;
}

.page-hero h1 {
  max-width: 820px;
}

.page-intro {
  margin-top: 24px;
  max-width: 720px;
  font-size: 19px;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.75;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

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

.meta-card {
  padding: 24px;
}

.meta-card h3 {
  margin-top: 12px;
  font-size: 22px;
}

/* Quick Links screenshots */
.screenshot-stack {
  display: grid;
  gap: 56px;
  margin-top: 42px;
}

.screenshot-item {
  display: grid;
  gap: 18px;
}

.screenshot-image {
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.03);
}

.screenshot-copy {
  max-width: 760px;
}

.screenshot-copy h3 {
  font-size: 22px;
}

.screenshot-copy p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.7;
}


/* Legal / Policy Pages */
.policy-page {
  padding: 72px 0;
}

.policy-container {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
}

.policy-wrap {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.policy-eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}

.policy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.policy-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.policy-updated {
  color: var(--muted);
  font-size: 12px;
}

.policy-title {
  margin-top: 24px;
  margin-bottom: 14px;
  font-size: clamp(38px, 6vw, 54px);
  font-weight: 600;
}

.policy-intro {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.policy-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.policy-section p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.policy-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.policy-link::after {
  content: "\2192";
  margin-left: 8px;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.policy-link:hover::after {
  transform: translateX(3px);
}

.policy-wrap .policy-section a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-wrap .policy-section a:hover {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-copy {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  opacity: 0.9;
  letter-spacing: -0.01em;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-link {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-link:hover {
  color: var(--text);
  opacity: 1;
}

.footer-note {
  margin: 0;
  max-width: 460px;
  font-size: 12.5px;
  opacity: 0.7;
  text-align: right;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-copy {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 32px, 1120px);
  }

  .hero-grid,
  .split-grid,
  .statement-grid,
  .card-grid.three-col,
  .footer-inner,
  .meta-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-frame {
    padding: 28px;
  }

  .panel-card-offset {
    transform: none;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1120px);
    --shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  }

  .policy-page {
    padding: 58px 0 72px;
  }

  .policy-container {
    width: min(100% - 28px, 840px);
  }

  .policy-wrap {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .policy-actions {
    flex-direction: column;
    gap: 4px;
  }


  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(17, 20, 24, 0.98);
    border: 1px solid var(--line);
  }

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

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

  .hero {
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .hero-frame {
    padding: 22px;
    border-radius: 28px;
  }

  .section,
  .page-hero {
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 46px);
  }

  .hero-text,
  .page-intro {
    font-size: 17px;
  }

  .hero-subtext {
    font-size: 14px;
  }

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

  .hero-panel,
  .statement-panel,
  .info-card,
  .step-card,
  .contact-card,
  .panel-card,
  .product-card,
  .meta-card {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-actions,
  .product-actions,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .screenshot-stack {
    gap: 40px;
    margin-top: 32px;
  }

  .screenshot-image {
    border-radius: 14px;
  }

  .screenshot-copy h3 {
    font-size: 20px;
  }

  .screenshot-copy p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  :root {
    --container: min(100% - 24px, 1120px);
  }

  .brand-text {
    font-size: 13px;
  }

  .page-hero,
  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  h3 {
    font-size: 21px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .statement-panel {
    padding: 26px 22px;
    border-radius: 26px;
  }

  .screenshot-stack {
    gap: 34px;
  }

  .screenshot-image {
    border-radius: 12px;
  }
}

/* Technical Reference Pages */

.tech-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 14px;
}

.tech-table th,
.tech-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.tech-table th {
  color: var(--text);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.035);
}

.tech-table tr:last-child td {
  border-bottom: 0;
}

.workflow-example {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(147, 164, 221, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.025);
}

.workflow-example h3 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.workflow-example ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.tech-code-shell {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.tech-code-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.tech-code {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  color: var(--text);
  background: transparent;
  font-size: 13px;
  line-height: 1.75;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre;
  box-shadow: none;
}

.tech-code code {
  display: block;
  font-family: inherit;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

.tech-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.tech-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.policy-section code {
  padding: 2px 6px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 0.92em;
}

.tech-code code {
  background: transparent;
}

@media (max-width: 640px) {
  .tech-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .tech-code {
    font-size: 12.5px;
    padding: 16px;
  }

  .tech-code-header {
    flex-direction: column;
    gap: 2px;
  }
}
