:root {
  --bg: #f3efe6;
  --bg-soft: #e9e1d2;
  --panel: rgba(255, 255, 255, 0.68);
  --panel-strong: #fffdf8;
  --line: rgba(30, 41, 59, 0.12);
  --line-strong: rgba(30, 41, 59, 0.18);
  --text: #172033;
  --muted: #556173;
  --brand: #0d6b6a;
  --brand-strong: #083f40;
  --accent: #d9873f;
  --accent-soft: #f6c98f;
  --shadow: 0 24px 60px rgba(26, 35, 52, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 135, 63, 0.18), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(13, 107, 106, 0.16), transparent 22%),
    linear-gradient(180deg, #faf6ee 0%, var(--bg) 38%, #f2ebdf 100%);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 70%);
  opacity: 0.4;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 20px;
  top: 18px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand-strong);
  color: white;
}

.page {
  position: relative;
  z-index: 1;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(250, 246, 238, 0.76);
  border-bottom: 1px solid rgba(30, 41, 59, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 0;
}

.header-side {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(26, 35, 52, 0.12);
}

.brand-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name strong {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.brand-name span {
  font-size: 0.88rem;
  color: var(--muted);
}

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

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}

.utility-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.utility-nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.utility-nav a:hover,
.utility-nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(23, 32, 51, 0.22);
}

.header-cta {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: white;
  box-shadow: 0 16px 28px rgba(13, 107, 106, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(30, 41, 59, 0.12);
  color: var(--text);
}

.button.ghost {
  background: transparent;
  border-color: rgba(30, 41, 59, 0.12);
  color: var(--text);
}

.button.small {
  padding: 10px 14px;
  font-size: 0.95rem;
}

.hero {
  padding: 58px 0 24px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 107, 106, 0.12);
  color: var(--brand-strong);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  letter-spacing: -0.04em;
  margin-top: 18px;
  max-width: 11ch;
}

.hero-copy p {
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.actions-tight {
  margin-top: 14px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.meta-tight {
  margin-top: 14px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 41, 59, 0.1);
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-strip {
  padding: 8px 0 12px;
}

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

.proof-item {
  padding: 16px 18px;
  border-top: 1px solid rgba(23, 32, 51, 0.12);
  color: var(--muted);
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.98rem;
}

.summary-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.summary-copy p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.signal-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.signal-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.signal-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.summary-aside {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(26, 35, 52, 0.06);
}

.summary-aside h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.summary-aside p {
  margin: 0;
  color: var(--muted);
}

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

.flow-step {
  padding: 18px 0 0;
  border-top: 1px solid rgba(23, 32, 51, 0.12);
}

.flow-step span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-step h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
}

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

.status-panel {
  padding: 20px 0 0;
  border-top: 1px solid rgba(23, 32, 51, 0.12);
}

.status-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.status-panel p {
  margin: 0;
  color: var(--muted);
}

.showcase-summary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.showcase-point {
  padding: 16px 0 0;
  border-top: 1px solid rgba(23, 32, 51, 0.12);
}

.showcase-point strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.showcase-point p {
  margin: 0;
  color: var(--muted);
}

.hero-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  border: 1px solid rgba(30, 41, 59, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 24px;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -16% -30% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 135, 63, 0.22), transparent 72%);
}

.app-visual {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.app-window {
  background: #172033;
  border-radius: 24px;
  padding: 18px;
  color: #eef4ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.window-pills {
  display: flex;
  gap: 8px;
}

.window-pills span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.window-label {
  font-size: 0.9rem;
  color: rgba(238, 244, 255, 0.7);
}

.pipeline {
  display: grid;
  gap: 12px;
}

.pipeline-card {
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pipeline-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.pipeline-card p {
  margin: 0;
  color: rgba(238, 244, 255, 0.7);
  font-size: 0.95rem;
}

.screenshot-frame {
  overflow: hidden;
  border-radius: 24px;
  background: #0b1220;
  border: 1px solid rgba(23, 32, 51, 0.14);
  box-shadow: 0 22px 48px rgba(23, 32, 51, 0.18);
}

.hero-screenshot {
  transform: rotate(-1deg);
}

.hero-screenshot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.screenshot-showcase {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.screenshot-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(26, 35, 52, 0.08);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: #0b1220;
}

.is-zoomable {
  cursor: zoom-in;
  transition: filter 140ms ease, transform 140ms ease;
}

.is-zoomable:hover,
.is-zoomable:focus {
  filter: saturate(1.04) contrast(1.03);
}

.is-zoomable:focus-visible {
  outline: 3px solid rgba(13, 107, 106, 0.55);
  outline-offset: 4px;
}

.screenshot-card figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.screenshot-card figcaption strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

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

.spec {
  padding: 14px;
  border-radius: 18px;
  background: rgba(13, 107, 106, 0.1);
  border: 1px solid rgba(13, 107, 106, 0.15);
}

.spec span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.section {
  padding: 28px 0 10px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
}

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

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 12px 28px rgba(26, 35, 52, 0.06);
  backdrop-filter: blur(8px);
}

.card.strong {
  background: var(--panel-strong);
  border-color: var(--line-strong);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

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

.feature-list li,
.bullet-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.feature-list li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand));
}

.soft-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(30, 41, 59, 0.08);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.language-panel {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.45fr 0.55fr;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 0%, rgba(13, 107, 106, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(26, 35, 52, 0.07);
}

.language-panel h3 {
  margin-bottom: 8px;
}

.language-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.language-chips span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(13, 107, 106, 0.1);
  border: 1px solid rgba(13, 107, 106, 0.14);
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.language-note {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(217, 135, 63, 0.12);
  border: 1px solid rgba(217, 135, 63, 0.2);
}

.language-note strong {
  display: block;
  margin-bottom: 8px;
}

.language-note p {
  margin: 0;
  color: var(--muted);
}

.pricing-card {
  display: grid;
  gap: 14px;
  height: 100%;
}

.download-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(13, 107, 106, 0.1), rgba(217, 135, 63, 0.1));
  border: 1px solid rgba(30, 41, 59, 0.1);
}

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

.download-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(26, 35, 52, 0.06);
}

.download-card h3 {
  margin: 0;
}

.download-card p {
  margin: 0;
  color: var(--muted);
}

.download-card code {
  overflow-wrap: anywhere;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price small {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(30, 41, 59, 0.1);
}

.table th,
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.08);
  text-align: left;
  vertical-align: top;
}

.table th {
  background: rgba(13, 107, 106, 0.06);
  color: var(--brand-strong);
}

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

.callout {
  border-radius: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(13, 107, 106, 0.16);
  background: rgba(13, 107, 106, 0.08);
  color: var(--text);
}

.callout-spaced {
  margin-top: 14px;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

.faq-item {
  border: 1px solid rgba(30, 41, 59, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
}

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

.faq-item .answer {
  padding: 0 20px 18px;
  color: var(--muted);
}

.page-hero {
  padding: 42px 0 16px;
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

.page-hero p {
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.content {
  padding: 14px 0 34px;
}

.content article + article {
  margin-top: 18px;
}

.content h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.content h3 {
  font-size: 1.25rem;
  margin: 18px 0 10px;
}

.prose p {
  margin: 0 0 14px;
  color: var(--text);
}

.prose p.muted {
  color: var(--muted);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--brand-strong);
  font-weight: 700;
}

.footer {
  padding: 26px 0 42px;
}

.footer-inner {
  border-top: 1px solid rgba(30, 41, 59, 0.1);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
}

.has-open-lightbox {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 22px 30px;
  overflow: hidden;
  background: rgba(7, 12, 22, 0.82);
  backdrop-filter: blur(10px);
}

.image-lightbox.is-open {
  display: grid;
  place-items: center;
}

.image-lightbox__image {
  width: auto;
  max-width: min(calc(100vw - 44px), 1500px);
  max-height: min(calc(100dvh - 120px), 900px);
  object-fit: contain;
  border-radius: 18px;
  background: #0b1220;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.image-lightbox__close {
  position: fixed;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.image-lightbox__close:hover,
.image-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.image-lightbox__caption {
  position: fixed;
  left: 50%;
  bottom: 16px;
  width: min(calc(100% - 32px), 900px);
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-size: 0.95rem;
}

.stack-tight {
  margin-top: 14px;
}

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

code {
  font-family: "Cascadia Mono", "Consolas", monospace;
  background: rgba(23, 32, 51, 0.06);
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 8px;
  padding: 0.12em 0.35em;
}

@media (max-width: 960px) {
  .hero-grid,
  .summary-band,
  .grid.cols-2,
  .grid.cols-3,
  .download-grid,
  .language-panel,
  .screenshot-showcase,
  .flow-grid,
  .status-grid,
  .showcase-summary {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .header-cta {
    margin-left: 0;
  }

  .header-side {
    width: 100%;
    justify-content: space-between;
  }

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

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero {
    padding-top: 32px;
  }

  .header-side,
  .utility-nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .card,
  .soft-panel,
  .hero-panel {
    border-radius: 20px;
    padding: 18px;
  }

  .table th,
  .table td {
    padding: 12px 14px;
  }

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

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