/* Lingtra — lingtra.app
   System fonts only; no external fonts, scripts or trackers.
   Cream paper and terracotta from the app icon; warm dark palette via prefers-color-scheme. */

:root {
  color-scheme: light;
  --bg: #FFFDF8;
  --bg-2: #FBF6EC;
  --surface: #FFFFFF;
  --surface-2: #F6EFE3;
  --text: #2A211B;
  --muted: #6B5D52;
  --faint: #8F8073;
  --accent: #B8543A;
  --accent-soft: #F7E6DD;
  --link: #9E4530;
  --on-accent: #FFFDF8;
  --ok: #3E8A5B;
  --warn: #B7791F;
  --line: #EADFD0;
  --line-2: #E0D2BF;
  --glow: rgba(184, 84, 58, 0.10);
  --shadow: 0 1px 2px rgba(42, 33, 27, 0.05), 0 12px 32px -12px rgba(42, 33, 27, 0.18);
  --shadow-lg: 0 2px 4px rgba(42, 33, 27, 0.04), 0 30px 70px -24px rgba(72, 40, 24, 0.30);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1C1612;
    --bg-2: #211A15;
    --surface: #251D18;
    --surface-2: #30261F;
    --text: #F5EDE3;
    --muted: #B7A898;
    --faint: #94867A;
    --accent: #D9765A;
    --accent-soft: #3A2820;
    --link: #E8957C;
    --on-accent: #1C1612;
    --ok: #6CC08B;
    --warn: #E0A84A;
    --line: #3A2E26;
    --line-2: #4A3B31;
    --glow: rgba(217, 118, 90, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 70px -24px rgba(0, 0, 0, 0.7);
  }
}

/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background:
    radial-gradient(1000px 480px at 50% -160px, var(--glow), transparent 70%) no-repeat,
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.wrap {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 20px;
}

.wrap-wide {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Typography */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.875rem, 1.45rem + 1.9vw, 2.5rem);
  letter-spacing: -0.025em;
}

h2 {
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  font-size: 1.3125rem;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.45em;
}

li::marker {
  color: var(--accent);
}

strong {
  font-weight: 650;
}

a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 0.875em;
}

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

.ui {
  font-weight: 600;
  color: var(--text);
}

/* Skip link */

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

main:focus {
  outline: none;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap,
.site-header .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 8px;
}

.brand img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 6px 20px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px 20px;
  font-size: 0.9375rem;
}

.top-nav a {
  color: var(--muted);
  font-weight: 550;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  color: var(--text);
}

@media (max-width: 720px) {
  .top-nav .wide-only {
    display: none;
  }
}

@media (max-width: 340px) {
  .top-nav {
    display: none;
  }
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang a {
  min-width: 2.75rem;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

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

.lang a[aria-current="page"] {
  background: var(--accent);
  color: var(--on-accent);
}

/* Main (document pages) */

main {
  padding-block: 44px 72px;
}

.hero-icon {
  display: block;
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  border-radius: 20px;
  box-shadow: 0 0 0 1px var(--line);
}

.lead {
  margin-top: 0.75em;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.6;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  margin: 0;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.facts li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 2px;
}

/* Three segment lines from the logo. */
.segments {
  display: grid;
  gap: 7px;
  width: 64px;
  margin: 28px 0 0;
}

.segments span {
  height: 3px;
  border-radius: 2px;
  background: var(--text);
  opacity: 0.85;
}

.segments span:nth-child(2) {
  width: 120%;
  height: 7px;
  margin-left: -8px;
  border-radius: 4px;
  background: var(--accent);
  opacity: 1;
}

.card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card > :last-child {
  margin-bottom: 0;
}

.contact .email {
  margin: 2px 0 12px;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.4;
}

.contact .email a {
  text-decoration: none;
}

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

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

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.15s ease;
}

.faq details[open] {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] > summary::after {
  border-color: var(--accent);
  transform: translateY(2px) rotate(-135deg);
}

.faq .answer {
  padding: 0 20px 18px;
}

.faq .answer > :last-child {
  margin-bottom: 0;
}

.faq-group {
  margin: 2em 0 0.7em;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Document links */

.doc-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.doc-link {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.doc-link:hover {
  border-color: var(--accent);
}

.doc-link .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 650;
}

.doc-link .title::after {
  content: "\2192";
  content: "\2192" / "";
  color: var(--accent);
}

.doc-link .desc {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Legal pages */

.legal h1 {
  margin-bottom: 0.4em;
}

.legal .updated {
  margin-bottom: 2.2em;
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal .updated em {
  font-style: normal;
}

.legal h2 {
  padding-top: 0.2em;
}

/* ================= Landing page ================= */

.landing main {
  padding-block: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  padding: clamp(48px, 7vw, 96px) 0 0;
  text-align: center;
}

.hero .app-icon {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
}

.hero h1 {
  max-width: 15em;
  margin-inline: auto;
  font-size: clamp(2.125rem, 1.35rem + 3.6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero .sub {
  max-width: 36em;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 32px;
}

/* App Store badge-like button. Not a link until the App Store URL exists. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  text-align: left;
  text-decoration: none;
  line-height: 1.15;
  box-shadow: var(--shadow);
}

a.store-badge:hover {
  filter: brightness(1.15);
}

.store-badge svg {
  flex: none;
  width: 24px;
  height: 24px;
}

.store-badge small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.store-badge span {
  display: block;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.store-badge.soon {
  cursor: default;
}

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

.hero .facts {
  justify-content: center;
  margin-top: 26px;
}

/* Screenshot frame (a calm window, no fake traffic lights) */

.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shot img {
  display: block;
  width: 100%;
}

.hero-shot {
  position: relative;
  max-width: 1080px;
  margin: clamp(44px, 6vw, 72px) auto 0;
}

.hero-shot::before {
  content: "";
  position: absolute;
  inset: 12% -6% -10%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(closest-side, var(--glow), transparent);
}

.hero-shot .shot {
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.caption {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 0.875rem;
  text-align: center;
}

/* Sections */

.section {
  padding-block: clamp(64px, 9vw, 120px) 0;
}

.section-head {
  max-width: 40em;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-head h2,
.feature h2 {
  margin: 0;
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Alternating feature rows */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.feature + .feature {
  margin-top: clamp(64px, 8vw, 112px);
}

.feature.flip .feature-text {
  order: 2;
}

.feature-text p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.feature-text ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-text li {
  position: relative;
  margin: 0;
  padding: 9px 0 9px 28px;
  border-top: 1px solid var(--line);
  font-size: 0.9875rem;
  line-height: 1.5;
}

.feature-text li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-text li::before {
  content: "";
  position: absolute;
  top: 0.95em;
  left: 4px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.feature-media {
  position: relative;
}

/* A stack: big screenshot with a smaller detail overlapping its corner. */
.stack {
  position: relative;
  padding-bottom: 12%;
}

.stack .detail {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 46%;
  box-shadow: var(--shadow-lg);
}

/* Dialog crops: the app's own rounded dialog, shown on a soft panel. */
.panel {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--glow), transparent 60%),
    var(--surface-2);
}

.dialog {
  display: block;
  width: 100%;
  border-radius: 4.4% / 10%;
  box-shadow: var(--shadow-lg);
}

.dialog.tall {
  border-radius: 4.4% / 5%;
}

/* Live QA mock (pure HTML) */

.qa {
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.qa-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 10px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qa-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.qa-item b {
  display: block;
  font-weight: 650;
}

.qa-item span {
  color: var(--muted);
}

.qa-item .dot {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}

.qa-item .dot.warn {
  background: color-mix(in srgb, var(--warn) 18%, transparent);
  color: var(--warn);
}

.qa-item .dot.ok {
  background: color-mix(in srgb, var(--ok) 16%, transparent);
  color: var(--ok);
}

.qa code {
  white-space: nowrap;
}

.tag {
  display: inline-block;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8em;
  font-weight: 700;
}

/* Small feature grid */

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

.tile {
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tile .ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}

.tile .ico svg {
  width: 21px;
  height: 21px;
}

.tile h3 {
  font-size: 1.0625rem;
}

.tile p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 750;
}

.steps h3 {
  font-size: 1.125rem;
}

.steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9875rem;
  line-height: 1.55;
}

.steps .mini {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.steps .mini img {
  display: block;
  width: 100%;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.file-chip.new {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  color: var(--accent);
}

.file-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
}

.file-row .arrow {
  margin-top: 20px;
  color: var(--faint);
}

/* Pricing */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin-inline: auto;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.plan.pro {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background:
    radial-gradient(120% 80% at 100% 0%, var(--glow), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}

.plan .name {
  margin: 0;
  font-size: 1.25rem;
}

.plan .price {
  margin: 10px 0 0;
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.plan .price small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
}

.plan ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  margin: 0;
  padding: 7px 0 7px 26px;
  font-size: 0.9875rem;
  line-height: 1.5;
}

.plan li::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: 3px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.plan .fine {
  margin: auto 0 0;
  padding-top: 20px;
  color: var(--faint);
  font-size: 0.875rem;
  line-height: 1.5;
}

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 3px;
}

.pricing-note {
  max-width: 880px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

/* Privacy band */

.promise {
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background: var(--text);
  color: var(--bg);
}

.promise h2 {
  margin: 0;
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.promise > p {
  max-width: 40em;
  margin: 14px 0 0;
  opacity: 0.78;
  font-size: 1.0625rem;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent);
}

.promise-grid h3 {
  font-size: 1.0625rem;
}

.promise-grid h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--accent);
}

.promise-grid p {
  margin: 8px 0 0;
  opacity: 0.75;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.promise a {
  color: inherit;
}

.promise .more {
  margin: 28px 0 0;
  font-size: 0.9375rem;
}

/* Closing CTA */

.closing {
  padding-block: clamp(72px, 10vw, 128px);
  text-align: center;
}

.closing .app-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 17px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
}

.closing h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.375rem);
  letter-spacing: -0.03em;
}

.closing p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* Landing responsive */

@media (max-width: 900px) {
  .feature,
  .feature.flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature.flip .feature-text {
    order: 0;
  }

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

@media (max-width: 640px) {
  .grid,
  .steps,
  .pricing,
  .promise-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stack {
    padding-bottom: 18%;
  }

  .stack .detail {
    right: -4px;
    width: 62%;
  }

  .shot {
    border-radius: 10px;
  }

  .hero-shot .shot {
    border-radius: 12px;
  }

  .promise {
    border-radius: 20px;
  }

  .plan {
    padding: 26px 22px 24px;
  }

  .tile {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
    padding: 20px;
  }

  .tile .ico {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .tile p {
    margin-top: 4px;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px 44px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer .wrap,
.site-footer .wrap-wide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--text);
  text-decoration-line: underline;
}

.site-footer nav a[aria-current="page"] {
  color: var(--text);
}

.site-footer .sep {
  opacity: 0.6;
}

.site-footer p {
  margin: 0;
}

/* 404 */

.notfound {
  padding-block: 12vh;
  text-align: center;
}

.notfound .code {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.notfound .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

/* Motion and print */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media print {
  :root {
    --bg: #FFFFFF;
    --surface: #FFFFFF;
    --surface-2: #FFFFFF;
    --text: #000000;
    --muted: #333333;
    --link: #000000;
    --line: #BBBBBB;
    --glow: transparent;
  }

  .skip,
  .lang,
  .top-nav,
  .site-footer nav,
  .segments {
    display: none;
  }

  body {
    font-size: 11pt;
  }

  main {
    padding-block: 16px;
  }
}

kbd {
  display: inline-block;
  padding: 0 6px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  font-family: var(--font);
  font-size: 0.85em;
  line-height: 1.5;
}

/* Step 2: a tiny segment mock */
.seg {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  font-size: 0.875rem;
  line-height: 1.55;
}

.seg p {
  margin: 0;
  padding: 10px 12px;
}

.seg .tgt {
  position: relative;
  padding-right: 34px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.seg .tag {
  margin: 0 2px;
}

.seg mark {
  padding: 0 2px;
  border-radius: 3px;
  background: color-mix(in srgb, #F2C94C 30%, transparent);
  color: inherit;
}

.seg .check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok);
  color: var(--surface);
  font-size: 0.6875rem;
  font-weight: 800;
}

.segments.centered {
  margin: 0 auto 28px;
}
