/* =========================================================================
   Cloud Communication Platform marketing site
   Theme matched to the product app (internal/api/web/shared/css/styles.css):
   warm cream canvas, green/teal accent, Inter + JetBrains Mono, soft shadows.
   Kept deliberately close to the product so the two sites read as one.
   ========================================================================= */

:root {
  /* Tokens copied from the product's default (light) theme */
  --bg:            #faf5ed;
  --surface:       #ffffff;
  --surface2:      #f5f0e8;
  --surface-hover: #ede8df;
  --border:        #e0dbd2;
  --border-hover:  #cfc9be;
  --accent:        #1a8b6e;
  --accent-hover:  #157a5e;
  --accent-glow:   rgba(26, 139, 110, 0.12);
  --accent2:       #0d9488;
  --accent2-glow:  rgba(13, 148, 136, 0.12);
  --text:          #1a1a1a;
  --text-muted:    #6b7280;

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 44px rgba(26, 60, 50, 0.12);

  --font: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1140px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@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;
  }
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin: 0; color: var(--text); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); }

.visually-hidden, .hp-field {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { color: var(--accent); flex: none; }
.brand-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.02em; }

.site-nav { display: flex; align-items: center; gap: clamp(0.75rem, 2.5vw, 1.9rem); }
.site-nav a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.site-nav a:hover { color: var(--text); }
.site-nav .nav-cta { color: #fff; background: var(--accent); padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); }
.site-nav .nav-cta:hover { background: var(--accent-hover); color: #fff; }
@media (max-width: 680px) { .site-nav a:not(.nav-cta) { display: none; } }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(3.5rem, 10vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 8%, var(--accent2-glow) 0%, transparent 60%),
    radial-gradient(55% 45% at 12% 0%, var(--accent-glow) 0%, transparent 60%);
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-glow);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 999px; padding: 0.4rem 0.9rem; margin: 0 0 1.5rem; font-weight: 600;
}

.hero-title { font-size: clamp(2.4rem, 6.4vw, 4.6rem); letter-spacing: -0.04em; }
.hero-title .accent { color: var(--accent); }
.hero-sub { color: var(--text-muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 640px; margin: 1.5rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-meta { margin-top: 1.5rem; color: var(--text-muted); font-size: 0.95rem; }
.hero-meta strong { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------------ button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: 0.8rem 1.6rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; padding-block: 0.95rem; font-size: 1.05rem; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* ------------------------------------------------------------------- strip */
.strip { border-block: 1px solid var(--border); background: var(--surface); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 1.5rem var(--pad); border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.15rem; }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-num { font-weight: 800; font-size: 1.2rem; color: var(--accent); letter-spacing: -0.02em; }
.strip-label { color: var(--text-muted); font-size: 0.9rem; }
@media (max-width: 760px) {
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item { border-top: 1px solid var(--border); }
  .strip-item:nth-child(-n+2) { border-top: 0; }
  .strip-item:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ----------------------------------------------------------------- section */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--surface2); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.9rem; font-weight: 600; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section-lede { color: var(--text-muted); font-size: 1.1rem; margin-top: 1.1rem; }

/* -------------------------------------------------------------- value props */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.4rem; box-shadow: var(--shadow); }
.value-num { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); font-weight: 700; }
.value h3 { font-size: 1.12rem; margin: 0.6rem 0 0.4rem; letter-spacing: -0.01em; }
.value p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ------------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.card-icon {
  display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 10px;
  background: var(--accent-glow); color: var(--accent); margin-bottom: 1.1rem;
}
.card-icon svg { width: 1.4rem; height: 1.4rem; }
.card h3 { font-size: 1.22rem; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
.card p { color: var(--text-muted); font-size: 0.98rem; margin: 0; }
.card .card-benefit { display: inline-block; margin-top: 0.9rem; font-size: 0.86rem; font-weight: 600; color: var(--accent); }

/* --------------------------------------------------------------- use cases */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .usecases { grid-template-columns: 1fr; } }
.usecase { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); display: flex; gap: 0.9rem; align-items: flex-start; }
.usecase .uc-mark { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 8px; background: var(--accent2-glow); color: var(--accent2); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 0.85rem; }
.usecase h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.usecase p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ------------------------------------------------------------ case studies */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 880px) { .cases { grid-template-columns: 1fr; } }
.case {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.case-sector { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent2); font-weight: 700; }
.case h3 { font-size: 1.2rem; margin: 0.6rem 0 0.7rem; letter-spacing: -0.015em; }
.case p { color: var(--text-muted); font-size: 0.96rem; margin: 0 0 1.1rem; }
.case-result { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.case-result .figure { font-size: 1.7rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.case-result .figure-label { display: block; color: var(--text-muted); font-size: 0.86rem; margin-top: 0.1rem; }
.cases-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-muted); font-family: var(--mono); }

/* --------------------------------------------------------------- pricing/value */
.offer { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 800px) { .offer { grid-template-columns: 1fr; } }
.offer h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.offer p { color: var(--text-muted); font-size: 1.08rem; margin-top: 1rem; }
.offer-points { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.offer-points li { position: relative; padding-left: 1.7rem; color: var(--text); }
.offer-points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border: 2px solid var(--accent); border-bottom: 0; border-right: 0; transform: rotate(-45deg); }
.offer-cta { display: flex; flex-direction: column; gap: 0.8rem; }
.offer-cta .muted-note { color: var(--text-muted); font-size: 0.88rem; text-align: center; }

/* -------------------------------------------------------------------- plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.plan-tag { position: absolute; top: -0.7rem; left: 1.4rem; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 999px; }
.plan-name { font-size: 1.2rem; margin-bottom: 0.4rem; }
.plan-line { color: var(--accent2); font-family: var(--mono); font-size: 0.82rem; font-weight: 700; margin-bottom: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: 0.35rem; margin: 0 0 1.1rem; }
.plan-price .mono { font-size: 1.8rem; color: var(--accent2); font-weight: 800; letter-spacing: -0.02em; }
.plan-per { color: var(--text-muted); font-size: 0.88rem; }
.plan-feats { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: 0.5rem; }
.plan-feats li { color: var(--text-muted); font-size: 0.93rem; padding-left: 1.4rem; position: relative; }
.plan-feats li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border: 1.5px solid var(--accent); border-bottom: 0; border-right: 0; transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }

/* ------------------------------------------------------------------ request */
.request-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .request-wrap { grid-template-columns: 1fr; } }
.request-intro .section-head { margin-bottom: 1.5rem; }
.request-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.request-points li { color: var(--text); padding-left: 1.6rem; position: relative; }
.request-points li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }

.request-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); }
.form-row { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } }
.form-row label { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.req { color: var(--accent); }
.optional { color: var(--text-muted); font-weight: 400; }

input, select, textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input::placeholder { color: var(--text-muted); opacity: 0.7; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
textarea { resize: vertical; min-height: 96px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 1.15rem, calc(100% - 12px) 1.15rem; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }

input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12); }
.field-error { color: #b91c1c; font-size: 0.84rem; margin: 0; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; margin: 0.4rem 0 1.3rem; padding: 1rem; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--accent); }
.consent label { font-size: 0.82rem; line-height: 1.55; color: var(--text-muted); font-weight: 400; }
.consent label a { color: var(--accent); white-space: nowrap; font-weight: 600; }

.form-status { margin: 1rem 0 0; font-size: 0.95rem; min-height: 1.2em; }
.form-status.is-error { color: #b91c1c; }
.form-status.is-success { color: var(--accent); font-weight: 600; }

/* ------------------------------------------------------------------- footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-brand .brand-name { font-size: 1.05rem; }
.footer-tag { color: var(--text-muted); font-size: 0.92rem; margin: 0.5rem 0 0; max-width: 40ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: flex-start; }
.footer-nav a { color: var(--text-muted); font-size: 0.93rem; }
.footer-nav a:hover { color: var(--text); }
.footer-legal { margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.footer-legal p { color: var(--text-muted); font-size: 0.85rem; margin: 0; font-family: var(--mono); }

/* -------------------------------------------------------------- reveal motion */
.reveal { opacity: 0; transform: translateY(18px); animation: reveal 0.7s var(--ease) forwards; }
.reveal[data-delay="0"] { animation-delay: 0.05s; }
.reveal[data-delay="1"] { animation-delay: 0.16s; }
.reveal[data-delay="2"] { animation-delay: 0.28s; }
.reveal[data-delay="3"] { animation-delay: 0.4s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

/* ------------------------------------------------------- scroll reveal (JS) */
/* Gated on .js so the page stays fully visible when JavaScript is off. */
.js .scroll-in { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); will-change: opacity, transform; }
.js .scroll-in.is-visible { opacity: 1; transform: none; }
/* Light stagger for siblings inside a grid (cards, values, plans, cases). */
.scroll-in:nth-child(2) { transition-delay: 0.07s; }
.scroll-in:nth-child(3) { transition-delay: 0.14s; }
.scroll-in:nth-child(4) { transition-delay: 0.21s; }
.scroll-in:nth-child(5) { transition-delay: 0.28s; }
.scroll-in:nth-child(6) { transition-delay: 0.35s; }

/* Header gains elevation once the page is scrolled. */
.site-header { transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease); }
.site-header.scrolled { box-shadow: var(--shadow-md); background: color-mix(in srgb, var(--bg) 94%, transparent); }

/* Animated underline on nav links. */
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

/* Slow drift on the hero background glow. */
.hero::before { animation: heroDrift 20s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(0, -2.5%, 0) scale(1.07); } }

/* Feature icon reacts when its card is hovered. */
.card-icon { transition: transform 0.22s var(--ease), background 0.22s var(--ease); }
.card:hover .card-icon { transform: translateY(-3px) scale(1.06); background: color-mix(in srgb, var(--accent) 22%, transparent); }

/* Primary CTA arrow that nudges on hover. */
.btn-arrow::after { content: "\2192"; margin-left: 0.5rem; transition: transform 0.2s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* Active nav link (scroll spy). */
.site-nav a:not(.nav-cta).active { color: var(--text); }
.site-nav a:not(.nav-cta).active::after { transform: scaleX(1); }

/* ------------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow); text-align: center; }
.stat-top { display: flex; align-items: baseline; justify-content: center; gap: 0.05rem; }
.stat .figure { font-size: clamp(2.1rem, 4vw, 2.9rem); font-weight: 800; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.stat-suffix { font-size: 1.6rem; font-weight: 800; color: var(--accent2); letter-spacing: -0.02em; }
.stat-label { display: block; margin-top: 0.6rem; color: var(--text-muted); font-size: 0.92rem; }

/* ----------------------------------------------------------- API / developers */
.api-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (max-width: 920px) { .api-wrap { grid-template-columns: 1fr; } }
.api-intro .section-head { margin-bottom: 1.3rem; }
.api-feats { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0.6rem; }
.api-feats li { position: relative; padding-left: 1.7rem; color: var(--text); font-size: 0.97rem; }
.api-feats li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border: 2px solid var(--accent); border-bottom: 0; border-right: 0; transform: rotate(-45deg); }
.api-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.code-window { background: #11151d; border: 1px solid #232a38; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; font-family: var(--mono); }
.code-head { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1rem; background: #171d28; border-bottom: 1px solid #232a38; }
.code-head .dots { display: inline-flex; gap: 0.4rem; }
.code-head .dots i { width: 11px; height: 11px; border-radius: 50%; background: #39414f; display: block; }
.code-head .dots i:first-child { background: #e06c5b; }
.code-head .dots i:nth-child(2) { background: #e0b35b; }
.code-head .dots i:nth-child(3) { background: #5bbf7d; }
.code-tabs { display: flex; gap: 0.25rem; margin-left: auto; }
.code-tab { font-family: var(--mono); font-size: 0.8rem; color: #8a94a6; background: transparent; border: 0; padding: 0.3rem 0.7rem; border-radius: 6px; cursor: pointer; transition: color 0.18s var(--ease), background 0.18s var(--ease); }
.code-tab:hover { color: #cfd6e2; }
.code-tab.is-active { color: #0f1117; background: var(--accent2); font-weight: 700; }
.code-body { padding: 1.1rem 1.2rem; overflow-x: auto; }
.code-panel { display: none; margin: 0; }
.code-panel.is-active { display: block; animation: codeFade 0.35s var(--ease); }
@keyframes codeFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.code-panel code { font-family: var(--mono); font-size: 0.82rem; line-height: 1.7; color: #d7dce5; white-space: pre; }
.code-resp { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #2a3140; }
.code-resp-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #5bbf7d; }
.code-resp pre { margin: 0.45rem 0 0; }
.code-resp code { font-family: var(--mono); font-size: 0.8rem; line-height: 1.7; color: #9fb6c9; white-space: pre; }
