/* verbecklabs.ai — dark, product-first. One accent color (--accent); red belongs to the
   screenshots' own flags. Change --accent and --accent-2 when the product's new name brings
   a logo color. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-2: #0b0d13;
  --surface: #10131b;
  --surface-2: #161a25;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --text: #eef0f6;
  --muted: #9aa3b5;
  --faint: #7d8597;
  --accent: #8b93ff;
  --accent-2: #5b7cfa;
  --accent-ink: #0a0b16;
  --glow: rgb(110 125 255 / 0.32);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(7 8 12 / 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}

.wordmark .mark {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a:not(.btn) {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 120ms ease-out, background-color 120ms ease-out;
}

.nav a:not(.btn):hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav .btn {
  margin-left: 0.5rem;
}

@media (max-width: 640px) {
  .nav a:not(.btn) {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out,
    box-shadow 140ms ease-out;
}

.btn-sm {
  min-height: 2.35rem;
  padding: 0.45rem 1.05rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgb(139 147 255 / 0.4), 0 8px 24px -8px var(--glow);
}

.btn-primary:hover {
  background: #a3a9ff;
}

.btn-ghost {
  background: rgb(255 255 255 / 0.03);
  border-color: var(--line-2);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 0.07);
  border-color: rgb(255 255 255 / 0.22);
}

.btn .arrow {
  transition: transform 140ms ease-out;
}

.btn:hover .arrow {
  transform: translateX(2px);
}

/* ---------- Type helpers ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.03);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.kicker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.eyebrow,
.place-role,
.more-label {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
}

.section-lead {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.note a,
.story a,
.legal a,
.cta-band .email a {
  color: var(--text);
  text-decoration-color: rgb(139 147 255 / 0.6);
  text-underline-offset: 3px;
}

.badge {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.12rem 0.5rem;
  border: 1px solid rgb(139 147 255 / 0.45);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.08em;
}

/* ---------- Sections ---------- */

main {
  display: block;
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section > h2,
.section-head h2 {
  max-width: 52rem;
  margin-bottom: 1rem;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.section-head {
  max-width: 60rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.section-head h2 {
  margin-inline: auto;
}

.section-head .section-lead {
  margin-inline: auto;
}

.story {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.story p:last-child {
  margin-bottom: 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  isolation: isolate;
}

.hero::before {
  /* the glow the product sits in */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 45% at 50% 0%, rgb(91 124 250 / 0.16), transparent 70%),
    radial-gradient(55% 40% at 50% 78%, rgb(139 147 255 / 0.22), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 640;
}

.hero .lede {
  max-width: 44rem;
  margin: 1.5rem auto 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero-shot {
  max-width: 1120px;
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
}

.hero-proof {
  margin: 1.25rem 0 0;
  color: var(--faint);
  font-size: 0.875rem;
}

/* Reuse the feature rows' two-column balance for a readable opening card. */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-layout .hero-copy {
  margin: 0;
  text-align: left;
}

.hero-layout h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
}

.hero-layout .hero-actions {
  justify-content: flex-start;
}

.hero-layout .hero-shot {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

.hero-layout .hero-shot .shot-open {
  padding-top: 0;
  background: var(--surface);
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-layout .hero-copy {
    margin-inline: auto;
    text-align: center;
  }

  .hero-layout .hero-actions {
    justify-content: center;
  }
}

/* ---------- Screenshots: the window frame ---------- */

figure {
  margin: 0;
}

.shot-open {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.shot-open img {
  display: block;
  width: 100%;
  height: auto;
}

/* Large screens get browser chrome: a dark bar with three dots above the screenshot. */
.hero-shot .shot-open,
.moment-shot .shot-open,
.feature-shot .shot-open,
.desk-panel .shot-open {
  overflow: hidden;
  padding-top: 2.25rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 1.15rem 1.12rem, #3a3f4d 0.3rem, transparent 0.32rem),
    radial-gradient(circle at 2.05rem 1.12rem, #3a3f4d 0.3rem, transparent 0.32rem),
    radial-gradient(circle at 2.95rem 1.12rem, #3a3f4d 0.3rem, transparent 0.32rem),
    linear-gradient(#141823, #10131b);
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.6),
    0 40px 80px -30px rgb(0 0 0 / 0.85),
    0 0 90px -20px var(--glow);
}

.hero-shot .shot-open {
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.6),
    0 50px 100px -30px rgb(0 0 0 / 0.9),
    0 0 140px -10px var(--glow);
}

/* Card crops are UI fragments: a rounded frame, no browser bar. */
.thumbs .shot-open {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.8), 0 0 60px -30px var(--glow);
}

.shot-open::after {
  content: "Full screen";
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgb(7 8 12 / 0.82);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
  /* Hover and focus only: at rest it would sit on the screenshot's own content. */
  opacity: 0;
  transition: opacity 120ms ease-out;
}

.shot-open:hover::after,
.shot-open:focus-visible::after {
  opacity: 1;
}

.shot-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

figcaption {
  margin-top: 0.9rem;
  color: var(--faint);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.hero-shot figcaption {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}

/* ---------- The owner's tagline: one muted sentence, then the bright one ---------- */

.statement {
  padding-block: clamp(3.5rem, 8vw, 6rem) 0;
}

.statement p {
  max-width: 58rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.022em;
  text-align: center;
  text-wrap: balance;
}

.statement strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- What it catches ---------- */

.catches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.catches li {
  padding: 1.75rem 1.6rem 1.9rem;
  background: var(--bg-2);
}

.catches .icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.1rem;
  border-radius: 0.7rem;
  background: rgb(139 147 255 / 0.1);
  border: 1px solid rgb(139 147 255 / 0.25);
  color: var(--accent);
}

.catches .icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.catches h3 {
  margin-bottom: 0.4rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.catches p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .catches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .catches {
    grid-template-columns: 1fr;
  }
}

/* ---------- Feature rows (homepage) ---------- */

.features {
  display: grid;
  gap: 1.5rem;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}

.feature-copy {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.feature-copy h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.feature-copy p {
  color: var(--muted);
}

.feature-copy p:last-child {
  margin-bottom: 0;
}

.feature-copy .more-link {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 0.5rem;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.feature-copy .more-link:hover {
  color: var(--accent);
}

.feature-media {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(70% 70% at 50% 50%, rgb(110 125 255 / 0.2), transparent 70%),
    var(--bg);
  border-left: 1px solid var(--line);
}

.feature-shot {
  width: 100%;
}

.feature-shot.narrow {
  max-width: 26rem;
}

.feature-shot figcaption {
  text-align: center;
}

.feature:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.feature:nth-child(even) .feature-media {
  order: -1;
  border-left: 0;
  border-right: 1px solid var(--line);
}

@media (max-width: 900px) {
  .feature,
  .feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature-media,
  .feature:nth-child(even) .feature-media {
    order: 0;
    border: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps li {
  position: relative;
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.steps strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 1000px) {
  .steps-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .steps,
  .steps-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Built by Verbeck Labs ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about .steps {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.about .steps li {
  padding: 1.2rem 1.35rem;
}

.about .steps li::before {
  margin-bottom: 0.6rem;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* ---------- Closing band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(60% 90% at 50% 0%, rgb(139 147 255 / 0.28), transparent 70%),
    radial-gradient(50% 80% at 50% 120%, rgb(91 124 250 / 0.2), transparent 70%),
    var(--bg-2);
  text-align: center;
}

.cta-band h2 {
  max-width: 46rem;
  margin: 0 auto 1rem;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.cta-band p {
  max-width: 36rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.125rem;
}

.cta-band .hero-actions {
  margin-top: 2rem;
}

.cta-band .email {
  margin: 1.5rem auto 0;
  font-size: 0.9375rem;
}

/* ---------- Product page: outcomes, moments, flags ---------- */

.outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.outcomes-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.outcomes article {
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.outcomes h3 {
  margin-bottom: 0.55rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.outcomes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Native disclosures keep practical answers and detailed checks easy to browse. */
.questions {
  max-width: 52rem;
  margin-top: 1.5rem;
}

.questions details,
.checks-detail,
.example-details {
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
}

.questions summary,
.checks-detail summary,
.example-details summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
}

.questions details p {
  padding: 0 1.25rem 1rem;
  margin: 0;
  color: var(--muted);
}

.checks-detail[open] .flag-groups {
  padding: 0 1rem 1rem;
}

.cta-band .eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
}

.outcomes .place-role {
  margin-bottom: 0.85rem;
}

.manager-points {
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .outcomes,
  .outcomes-2 {
    grid-template-columns: 1fr;
  }
}

.moment {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.moment:first-of-type {
  border-top: 0;
}

.moment-copy h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.moment-copy > p {
  color: var(--muted);
}

.card-parts {
  display: grid;
  gap: 0.15rem;
  margin: 1.5rem 0 0;
}

.card-parts div {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.card-parts dt {
  font-size: 0.9375rem;
  font-weight: 600;
}

.card-parts dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.more {
  grid-column: 1 / -1;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.example-details {
  margin-top: 0;
}

.example-content {
  padding: 0 1.25rem 1.25rem;
}

.example-content .card-parts {
  margin: 0 0 1.5rem;
}

/* A dedicated contact page keeps the walkthrough focused on product evidence. */
html:has(.contact-page) {
  /* Keep native validation and keyboard focus immediate on the form page. */
  scroll-behavior: auto;
}

.contact-page {
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.contact-copy h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-email {
  margin-top: 2rem;
  overflow-wrap: anywhere;
}

.contact-form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.contact-form h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.form-field {
  margin-block: 1.25rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.form-field textarea {
  resize: vertical;
}

.optional,
.form-note {
  color: var(--muted);
  font-weight: 400;
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
}

.form-note a,
.contact-email a {
  text-underline-offset: 3px;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form-status,
.preview-notice {
  margin: 1rem 0 0;
  padding: 0.75rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9375rem;
}

.form-status[data-failed="true"] {
  border-color: var(--accent);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .moment {
    grid-template-columns: 1fr;
  }
}

.flag-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.flag-groups > div {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.flag-groups h3 {
  margin-bottom: 0.9rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.flag-groups ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flag-groups li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.flag-groups li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.78rem;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

@media (max-width: 1000px) {
  .flag-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .flag-groups {
    grid-template-columns: 1fr;
  }
}

/* ---------- Product page: manager tabs ---------- */

.tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 2rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
}

.tabs button {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 120ms ease-out;
}

.tabs button[aria-selected="true"],
.tabs button:hover {
  color: var(--text);
}

.tab-ink {
  position: absolute;
  z-index: 0;
  top: 0.25rem;
  left: 0;
  height: calc(100% - 0.5rem);
  border-radius: 999px;
  background: rgb(139 147 255 / 0.16);
  box-shadow: inset 0 0 0 1px rgb(139 147 255 / 0.35);
  transition: transform 220ms cubic-bezier(0, 0, 0.2, 1), width 220ms cubic-bezier(0, 0, 0.2, 1);
}

/* Wrapped tabs on a phone: the ink cannot follow a second row, so the selected tab carries it. */
@media (max-width: 640px) {
  .tab-ink {
    display: none;
  }

  .tabs {
    border-radius: var(--radius-sm);
  }

  .tabs button[aria-selected="true"] {
    background: rgb(139 147 255 / 0.16);
  }
}

.desk-panel {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.desk-panel[hidden] {
  display: none;
}

@media (min-width: 961px) {
  .desk-copy {
    position: sticky;
    top: 6rem;
  }
}

.desk-copy h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.desk-copy p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .desk-panel {
    grid-template-columns: 1fr;
  }
}

/* ---------- Full-screen viewer (lightbox.js) ---------- */

.shot-dialog {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #05060a;
  color: var(--text);
}

.shot-dialog::backdrop {
  background: rgb(0 0 0 / 0.6);
}

.shot-dialog:modal {
  display: flex;
  flex-direction: column;
}

.shot-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  /* An explicit track gives the image's max-height: 100% a definite height to resolve
     against, so a tall screenshot shrinks to fit above the caption bar. */
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  padding: 1rem;
  cursor: zoom-out;
}

.shot-full {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--line-2), 0 20px 60px rgb(0 0 0 / 0.6);
}

.shot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.shot-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  max-width: 48rem;
}

.shot-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.shot-actions button {
  appearance: none;
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 120ms ease-out;
}

.shot-actions button:hover {
  background: rgb(255 255 255 / 0.08);
}

.shot-actions .shot-close {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.shot-actions .shot-close:hover {
  background: #a3a9ff;
}

/* ---------- Legal pages and 404 ---------- */

.legal {
  max-width: 46rem;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.legal h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2.25rem, 5vw, 3rem);
  letter-spacing: -0.035em;
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.meta {
  color: var(--faint);
  font-size: 0.9375rem;
}

.not-found {
  padding-block: clamp(6rem, 18vw, 10rem);
  text-align: center;
}

.not-found h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem 2.5rem;
  color: var(--faint);
  font-size: 0.875rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 1.25rem;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--text);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}
