/* SolderCAD — shared styles
   Muted mint / emerald, mid-tone (not dark, not bright white) */

:root {
  --mint-50: #d8e6de;
  --mint-100: #c5d8cd;
  --mint-200: #a8c4b4;
  --mint-300: #7fa992;
  --mint-400: #5a8f72;
  --mint-500: #3f7560;
  --mint-600: #326051;
  --mint-700: #2a5144;
  --mint-800: #234238;
  --mint-900: #1a322a;

  --ink: #16241e;
  --ink-soft: #2f3f37;
  --ink-muted: #4a5c53;
  --surface: #b9cfc3;
  --surface-elevated: #cfdfd6;
  --border: #8eaaa0;
  --border-soft: #a3bbb0;

  /* Diagonal gradients; stronger end-to-end color contrast */
  --grad-cta: linear-gradient(135deg, var(--mint-900), var(--mint-500));
  --grad-page: linear-gradient(135deg, #8eaaa0, #d0e2d8);
  --grad-header: linear-gradient(135deg, rgba(142, 170, 160, 0.96), rgba(208, 226, 216, 0.96));
  --grad-section: linear-gradient(135deg, rgba(35, 66, 56, 0.22), rgba(168, 196, 180, 0.55));
  --grad-elevated: linear-gradient(135deg, #a8c4b4, #e2efe8);
  --grad-hero: linear-gradient(135deg, var(--mint-300), var(--mint-50));
  --grad-footer: linear-gradient(135deg, var(--mint-900), var(--mint-500));

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 8px 28px rgba(22, 36, 30, 0.14);
  --shadow-sm: 0 2px 10px rgba(22, 36, 30, 0.1);

  --font-sans: "Maven Pro", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Gruppo", var(--font-sans);
  --max: 1280px;
  --header-h: 68px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--surface);
  background-image: var(--grad-page);
  background-attachment: fixed;
  min-height: 100vh;
}

.home,
.home main {
  background: #f4f6f3;
}

.home main {
  padding-bottom: 0;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: normal;
}

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

a {
  color: var(--mint-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--mint-700);
}

/* ——— Layout ——— */

.container {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  min-height: var(--header-h);
  background-color: #131519;
}

.header-inner {
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: transparent;
  background-image: none;
}

.brand {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 200px;
  max-width: 100%;
  height: 40px;
  overflow: hidden;
  mix-blend-mode: screen;
}

.brand img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  filter: invert(1) hue-rotate(180deg) contrast(1.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 3rem;
  flex-wrap: wrap;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--mint-400);
}

.nav .nav-cta {
  margin-left: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #d1a861;
  color: #13151a;
  border-bottom: none;
  font-weight: 500;
}

.nav .nav-cta:hover {
  background: #d1a861;
  color: #13151a;
  border-bottom: none;
}

.nav-toggle,
#mobile-navigation {
  display: none;
}

main {
  position: relative;
  z-index: 1;
  padding-bottom: 4rem;
}

.site-footer {
  border-top: 0;
  background: #131519;
  padding: 2.5rem 0 2rem;
  margin-top: auto;
  color: #d5e4dc;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-copy {
  color: rgba(232, 240, 235, 0.78);
  font-size: 0.9rem;
  max-width: 28rem;
  margin: 0.4rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(232, 240, 235, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn-primary {
  position: relative;
  background: #fff;
  color: #13151a;
  border-color: transparent;
  box-shadow: none;
}

.btn-primary:hover {
  background: #d7dee5;
  color: #13151a;
  border-color: transparent;
}

.btn-secondary {
  position: relative;
  background: #245843;
  color: #fff;
  border: 1.5px solid #fff;
}

.btn-secondary:hover {
  background: #234238;
  color: #fff;
  border-color: #fff;
}

.btn-primary::after,
.btn-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 6px 9px #13151a;
  opacity: 0.1;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.btn-ghost {
  background: transparent;
  color: var(--mint-700);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--mint-100);
  color: var(--mint-800);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ——— Hero ——— */

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: transparent;
  color: #e5f0e9;
}

.hero-surface {
  position: relative;
  background-color: #263e52;
}

.hero-background-canvas {
  position: absolute;
  inset: calc(-1 * var(--header-h)) 0 auto;
  z-index: 0;
  display: block;
  width: 100%;
  height: calc(100% + var(--header-h));
  pointer-events: none;
}

.hero > .container {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero > .container {
    width: min(100% - clamp(3rem, 8vw, 6rem), var(--max));
  }

  .hero h1,
  .hero .lead {
    width: calc(100% + 3rem);
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.model-story {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.model-stage {
  order: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 64vw, 520px);
  padding: 0 0 2rem;
}

.model-board {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
}

.model-board.is-jumping > .hero-canvas {
  animation: board-jump 0.7s linear;
  animation-play-state: inherit;
}

@keyframes board-jump {
  0% {
    transform: translate3d(0, 0, 0);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  12% {
    transform: translate3d(0, 0.45rem, 0);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  50% {
    transform: translate3d(0, -3rem, 0);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.model-story .hero {
  order: 1;
}

@media (min-width: 860px) {
  .model-story {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    overflow: clip;
  }

  .model-stage {
    grid-column: 2;
    grid-row: 1;
    z-index: 2;
    align-self: start;
    height: calc(100svh - var(--header-h));
    min-height: 0;
    padding: 0;
    pointer-events: none;
  }

  .model-board {
    position: relative;
    z-index: 2;
    justify-content: flex-start;
  }

  .model-board .hero-canvas {
    flex-shrink: 0;
    width: clamp(640px, 65vw, 944px);
    pointer-events: auto;
  }

  .model-story .hero {
    grid-column: 1 / -1;
    order: initial;
  }

  .model-story .hero {
    grid-row: 1;
  }

  .model-story .hero-grid,
  .why-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 3rem;
  }

  .why-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .model-story .hero-grid > :first-child {
    grid-column: 1;
  }

  .why-content {
    grid-column: 1;
    grid-row: 1;
  }
}

.why-video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.why-video-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1rem;
  object-fit: contain;
}

.why-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4rem;
  height: 4rem;
  padding-left: 0.2rem;
  place-items: center;
  color: #fff;
  background: rgba(19, 21, 25, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-size: 1.25rem;
  transform: translate(-50%, -50%);
}

@media (min-width: 860px) {
  .why-video-placeholder {
    grid-column: 2;
    grid-row: 1;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint-600);
  background: var(--mint-100);
  border: 1px solid var(--mint-200);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-grid > :first-child {
  container-type: inline-size;
}

.hero h1 {
  font-size: clamp(2rem, 12cqi, 4rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero-accent {
  color: #d1a861;
}

.hero-plan {
  position: relative;
  display: inline-block;
}

.hero-plan-corners {
  position: absolute;
  inset: -4px -7px;
  pointer-events: none;
  opacity: 0.8;
}

.hero-plan-corners i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0;
}

.hero-plan-corners i:nth-child(1) {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.hero-plan-corners i:nth-child(2) {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}

.hero-plan-corners i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}

.hero-plan-corners i:nth-child(4) {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}

.hero .lead {
  font-size: clamp(1rem, 5cqi, 1.5rem);
  color: #fff;
  margin: 0 0 1.75rem;
}

.hero-question {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  white-space: nowrap;
}

.hero-question + .hero-question {
  margin-left: 0.4em;
}

.hero-question-icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: #d1a861;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-lead-detail {
  color: #b8c9d6;
}

.hero-cta {
  width: fit-content;
  max-width: 100%;
}

.hero-cta .hero-note {
  text-align: center;
  margin-top: 0.75rem;
}

.hero-actions {
  padding-top: 1.333rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.hero-waitlist {
  padding-top: 1.333rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  max-width: 34rem;
  margin: 0 0 1.25rem;
}

.hero-waitlist input {
  flex: 1 1 13rem;
  min-width: min(100%, 15rem);
  padding: 0.85rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--mint-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.hero-waitlist input:focus {
  outline: 2px solid var(--mint-300);
  outline-offset: 1px;
  border-color: var(--mint-400);
}

.hero-waitlist .hero-note {
  flex-basis: 100%;
  margin: 0;
}

.hero-note {
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
}

.hero-platforms {
  color: #c5d1d9;
  font-size: 0.8rem;
}

.hero-canvas {
  will-change: transform;
  display: block;
  width: 100%;
  max-width: 944px;
  height: clamp(472px, 73vw, 800px);
  object-fit: contain;
  background: transparent;
  border: none;
  outline: none;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  opacity: 0;
  transition: opacity 280ms ease-out;
}

.hero-canvas.is-dragging {
  cursor: grabbing;
}

.hero-canvas.is-ready {
  opacity: 1;
}

@media (max-width: 859px) {
  .hero {
    padding: 2.5rem 0;
  }

  .hero > .container {
    width: calc(100% - 3rem);
  }

  .hero-grid > :first-child {
    width: min(100%, 30rem);
    min-width: 0;
    margin-inline: auto;
    text-align: center;
  }

  .hero h1 {
    max-width: 22ch;
    margin-bottom: 1.25rem;
    text-align: center;
    text-wrap: balance;
  }

  .hero .lead {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.8rem;
    line-height: 1.3;
    margin-bottom: 0;
  }

  .hero-question + .hero-question {
    margin-left: 0;
  }

  .hero .lead br {
    display: none;
  }

  .hero-lead-detail {
    flex-basis: 100%;
  }

  .hero-waitlist,
  .hero-actions {
    padding-top: 0;
    justify-content: center;
  }

  .hero-cta {
    margin-inline: auto;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-actions .btn,
  .hero-waitlist .btn {
    min-height: 44px;
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }

  .hero-waitlist input {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding: 0.625rem 0.75rem;
  }

  .model-stage {
    min-height: 0;
    width: 100vw;
    margin: -1rem calc(50% - 50vw);
    margin-bottom: 0;
    padding: 0;
  }

  .hero-canvas {
    height: auto;
    aspect-ratio: 2332 / 1654;
  }
}

/* ——— Sections ——— */

.section {
  padding: 3.25rem 0;
}

#why,
#features,
#trial {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section-alt {
  background-color: #B7B7B7;
  background-image:
    radial-gradient(
      ellipse 89.50% 153.50% at 89.92% 105%,
      #fff 0%,
      rgba(226, 226, 226, 0.65) 61%,
      rgba(222, 222, 222, 0.18) 86%,
      rgba(214, 214, 214, 0) 100%
    ),
    radial-gradient(
      ellipse 57.46% 94.03% at 12.08% 14.83%,
      #fff 0%,
      rgba(226, 226, 226, 0.65) 58%,
      rgba(222, 222, 222, 0.18) 86%,
      rgba(214, 214, 214, 0) 100%
    );
  border-block: 1px solid var(--border-soft);
}

.home main > .section:nth-of-type(odd):not(.cta-section) {
  background: #e8f0eb;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  color: var(--ink);
}

.faq-initial {
  color: var(--mint-700);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.why-content .section-head p + p {
  margin-top: 1rem;
}

.why-heading {
  margin: 0 0 2rem;
  color: var(--ink);
  line-height: 1.12;
}

.why-content {
  max-width: 40rem;
}

/* Landing page showcases */

.showcase {
  overflow: hidden;
  color: var(--ink);
}

.showcase-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.showcase-copy {
  max-width: 34rem;
  align-self: start;
}

.showcase .eyebrow {
  color: var(--mint-700);
  background: var(--mint-50);
  border-color: var(--mint-200);
}

.showcase h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.12;
}

.showcase-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.showcase-copy p + p,
.validation-checks + p {
  margin-top: 0.85rem;
}

.showcase-visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #0d1c16;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.showcase-screenshot img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 42%;
}

.board-showcase-canvas {
  display: block;
  width: min(100%, 700px);
  height: auto;
  margin-inline: auto;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
}

.board-showcase-canvas.is-dragging {
  cursor: grabbing;
}

.board-showcase-canvas:focus-visible {
  outline: 2px solid var(--mint-100);
  outline-offset: 2px;
}

@media (max-width: 859px), (pointer: coarse) {
  .hero-canvas {
    cursor: default;
  }
}

.validation-showcase .showcase-layout {
  align-items: start;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1.5rem;
}

.feature-tags span {
  padding: 0.35rem 0.6rem;
  color: var(--ink);
  background: rgba(232, 240, 235, 0.42);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

.validation-showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.validation-showcase figcaption {
  padding: 0.7rem 1rem;
  color: var(--ink-soft);
  background: var(--surface-elevated);
  font-size: 0.82rem;
}

.validation-checks {
  margin: 1rem 0 0;
  overflow: hidden;
  background: rgba(232, 240, 235, 0.32);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.validation-checks div {
  padding: 1rem 1.2rem;
}

.validation-checks div + div {
  border-top: 1px solid var(--border);
}

.validation-checks dt {
  font-weight: 600;
}

.validation-checks dd {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
}

@media (min-width: 860px) {
  .showcase-layout {
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
}

/* ——— Exports ——— */

.export-list p {
  color: var(--ink-soft);
}

.export-list {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}

.export-list article {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem;
}

.export-list article + article {
  border-top: 1px solid var(--border-soft);
}

.export-formats {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 0.35rem;
}

.export-formats span {
  padding: 0.3rem 0.5rem;
  color: var(--mint-700);
  background: var(--mint-50);
  border: 1px solid var(--mint-200);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.export-list h3 {
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.export-list p {
  margin: 0;
  font-size: 0.92rem;
}

/* ——— Cards / grid ——— */

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background-color: var(--surface-elevated);
  background-image: var(--grad-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--mint-100);
  color: var(--mint-700);
  display: grid;
  place-items: center;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--mint-200);
}

/* ——— CTA section ——— */

.cta-section {
  background: #0d1c16;
  color: #d5e4dc;
}

.cta-section h2 {
  margin: 0 0 0.5rem;
  color: #e8f0eb;
  line-height: 1.12;
}

.cta-section p {
  margin: 0 auto 1.35rem;
  max-width: 32rem;
  color: rgba(232, 240, 235, 0.88);
}

.cta-layout {
  text-align: center;
}

.cta-section .btn-primary {
  background: var(--mint-100);
  color: var(--mint-900);
  box-shadow: none;
}

.cta-section .btn-primary:hover {
  background: var(--mint-50);
  color: var(--ink);
}

.cta-section .btn-secondary {
  background: transparent;
  color: #e8f0eb;
  border-color: rgba(232, 240, 235, 0.45);
}

.cta-section .btn-secondary:hover {
  background: rgba(232, 240, 235, 0.1);
  color: #e8f0eb;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ——— Page headers (subpages) ——— */

.page-hero {
  padding: 2.75rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36rem;
  font-size: 1.05rem;
}

/* ——— Pricing ——— */

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 1120px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

@media (min-width: 1040px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background-color: var(--surface-elevated);
  background-image: var(--grad-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--mint-500);
  box-shadow: 0 10px 32px rgba(26, 50, 42, 0.16);
}

.price-badge {
  position: absolute;
  top: -0.7rem;
  left: 1.4rem;
  background: var(--mint-700);
  color: #e8f0eb;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.price-card h2 {
  margin: 0 0 0.35rem;
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.price-meta {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin: 0 0 1.25rem;
}

.price-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.price-card li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.price-card li + li {
  margin-top: 0.55rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--mint-200);
  box-shadow: inset 0 0 0 3px var(--mint-500);
}

.pricing-note {
  max-width: 640px;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* ——— Legal pages ——— */

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  margin-top: 2.5rem;
}

.legal-content h3 {
  margin-top: 1.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.faq-list {
  max-width: 780px;
  margin: 0;
  border-top: 1px solid var(--border-soft);
}

.faq-layout {
  display: grid;
  gap: 1.5rem;
}

.faq-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.faq-side .section-head {
  text-align: left;
}

@media (min-width: 800px) {
  .faq-layout {
    grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1.45fr);
    align-items: start;
  }
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--mint-700);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--mint-500);
  outline-offset: 3px;
}

.faq-item p {
  max-width: 46rem;
  margin: 0;
  padding: 0 2rem 1.1rem 0;
  color: var(--ink-soft);
}

/* ——— News / release notes ——— */

.release {
  background-color: var(--surface-elevated);
  background-image: var(--grad-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.release-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-soft);
}

.release-header h2 {
  margin: 0;
  color: var(--ink);
}

.release-date {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.release-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.release-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 0.85rem;
  align-items: start;
  padding: 0.45rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  line-height: 1.2;
  min-width: 4.5rem;
  text-align: center;
}

.tag-new {
  background: #9fbfb0;
  color: var(--mint-900);
}

.tag-improved {
  background: #a8b8c8;
  color: #1e3348;
}

.tag-fixed {
  background: #c4b0a0;
  color: #4a3020;
}

/* ——— Contact ——— */

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.contact-card {
  background-color: var(--surface-elevated);
  background-image: var(--grad-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  margin: 0 0 0.5rem;
}

.contact-card p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.contact-email {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--mint-700);
  text-decoration: none;
  word-break: break-all;
}

.contact-email:hover {
  text-decoration: underline;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--mint-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--mint-300);
  outline-offset: 1px;
  border-color: var(--mint-400);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

/* ——— Utility ——— */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-mode-toggle {
  position: fixed;
  bottom: 0.65rem;
  left: 0.65rem;
  z-index: 100;
  width: 0.75rem;
  height: 0.75rem;
  padding: 0;
  border: 1px solid var(--mint-700);
  border-radius: 50%;
  background: var(--mint-700);
  opacity: 0.22;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s, background 0.15s;
}

.site-mode-toggle:hover,
.site-mode-toggle:focus-visible {
  opacity: 0.9;
  transform: scale(1.35);
  outline: 2px solid var(--mint-300);
  outline-offset: 3px;
}

.site-mode-toggle[data-mode="release"] {
  background: var(--mint-100);
}

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

.stack-sm > * + * {
  margin-top: 0.5rem;
}

@media (max-width: 859px) {
  .nav .nav-cta {
    margin-left: 0;
    padding: 0.5rem 0.75rem;
  }

  .header-inner {
    gap: 0.5rem;
    padding-block: 0.5rem;
  }

  .nav {
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 0.5rem;
  }

  .nav > a {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #52616c;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  #mobile-navigation:popover-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0.75rem auto auto;
    width: max-content;
    max-width: calc(100vw - 1.5rem);
    margin: 0;
    padding: 0.5rem 1rem;
    border: 1px solid #52616c;
    border-radius: 8px;
    background: #131519;
    color: #fff;
  }

  #mobile-navigation a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 1.125rem;
  }

  #mobile-navigation .nav-cta {
    position: relative;
    justify-content: flex-start;
    margin-block: 1.5rem 0.5rem;
    padding: 0.35rem 0;
    border-radius: 0;
    background: transparent;
    color: #d1a861;
  }

  #mobile-navigation .nav-cta:hover {
    color: #fff;
  }

  #mobile-navigation .nav-cta::before {
    content: "";
    position: absolute;
    inset: -0.75rem 0 auto;
    height: 1px;
    background: #52616c;
  }

  .nav a {
    font-size: 0.875rem;
    white-space: nowrap;
  }
}
