/* Marozo Sitetime marketing site. Plain CSS, no build step. Light theme only. */

:root {
  /* Palette: https://coolors.co/palette/0b090a-161a1d-660708-a4161a-ba181b-e5383b-b1a7a6-d3d3d3-f5f3f4-ffffff */
  --black: #0b090a;
  --ink: #161a1d;
  --maroon: #660708;
  --red-dark: #a4161a;
  --red: #ba181b;
  --red-light: #e5383b;
  --grey-warm: #b1a7a6;
  --grey: #d3d3d3;
  --off-white: #f5f3f4;
  --white: #ffffff;

  /* Derived for readable body text on white (the palette greys are too light for text). */
  --text: var(--ink);
  --text-muted: #57504f;
  --border: #e4e0e1;
  --border-strong: var(--grey);
  --accent: var(--red);
  --accent-text: var(--red-dark);
  --shadow: 0 1px 2px rgb(22 26 29 / 5%), 0 10px 30px -18px rgb(22 26 29 / 22%);

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

a { color: var(--accent-text); text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--red-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 860px; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.accent { color: var(--red); }
.body-lg { font-size: 1.125rem; color: var(--text-muted); }
.fine { font-size: 0.9rem; color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 1.0625rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.975rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-parent {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin-bottom: 3px;
}
.brand-name { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }

.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
}
.site-nav a:hover { color: var(--ink); background: var(--off-white); }

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

/* Hero */
.hero {
  position: relative;
  background: var(--white);
  padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 112px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(22 26 29 / 4.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(22 26 29 / 4.5%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgb(186 24 27 / 15%);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 38em; }
.lede-strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
@media (max-width: 480px) { .hero-actions .btn { flex: 1 1 100%; } }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  list-style: none; margin: 0; padding: 0;
  color: var(--text-muted); font-weight: 500; font-size: 0.975rem;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "";
  width: 16px; height: 16px; flex: none;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ba181b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Visit card */
.visit-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(18px, 2.5vw, 26px);
  box-shadow: 0 1px 2px rgb(22 26 29 / 6%), 0 30px 60px -30px rgb(22 26 29 / 30%);
  min-width: 0;
}
.visit-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.visit-label { margin: 0; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.visit-site { margin: 2px 0 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }

.chip {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  white-space: nowrap;
}
.chip-muted { background: var(--off-white); color: var(--text-muted); }
.chip-warn { background: var(--white); color: var(--red-dark); border: 1px solid var(--red-light); }
.chip-ok { background: var(--ink); color: var(--white); white-space: normal; }

.visit-times {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 22px;
}
.visit-times div {
  background: var(--off-white);
  border-radius: 10px;
  padding: 10px;
  min-width: 0;
}
.visit-times dt { font-size: 0.74rem; color: var(--text-muted); line-height: 1.25; }
.visit-times dd { margin: 4px 0 0; font: 500 1.05rem/1 var(--font-mono); color: var(--ink); }
@media (max-width: 480px) {
  .visit-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.timeline { margin-bottom: 22px; }
.track {
  position: relative;
  height: 38px;
  background: var(--off-white);
  border-radius: 10px;
  overflow: hidden;
}
.seg { position: absolute; top: 5px; bottom: 5px; display: flex; align-items: center; overflow: hidden; }
.seg span { padding: 0 10px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.seg-early { background: var(--border); border-radius: 6px 0 0 6px; }
.seg-free { background: var(--grey); color: var(--ink); }
.seg-wait {
  background: repeating-linear-gradient(135deg, var(--red) 0 10px, var(--red-dark) 10px 20px);
  color: var(--white);
  border-radius: 0 6px 6px 0;
}
.ticks { position: relative; height: 22px; margin-top: 6px; }
.ticks span {
  position: absolute; top: 0;
  transform: translateX(-50%);
  font: 0.72rem/1 var(--font-mono);
  color: var(--text-muted);
}
.ticks span::before {
  content: ""; display: block; width: 1px; height: 6px; margin: 0 auto 4px; background: var(--grey-warm);
}

.visit-calc {
  border-top: 1px dashed var(--border-strong);
  padding-top: 14px;
  display: grid; gap: 8px;
  margin-bottom: 18px;
}
.calc-row { display: flex; justify-content: space-between; gap: 12px; color: var(--text-muted); font-size: 0.975rem; }
.calc-row .mono { color: var(--ink); white-space: nowrap; }
.calc-total .mono { color: var(--red-dark); font-size: 1.1rem; font-weight: 500; }
.calc-row small { color: var(--text-muted); font-size: 0.75rem; }

.visit-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.visit-foot .arrow { color: var(--grey-warm); flex: none; }
.visit-caption { margin-top: 16px; font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--off-white); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head > p:last-child { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 0.8rem/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red-dark);
  margin-bottom: 16px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .cards-4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card p { color: var(--text-muted); margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--off-white);
  margin-bottom: 18px;
}
.section-alt .card-icon { background: var(--white); border: 1px solid var(--border); }
.card-icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: var(--red);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Stats */
.stats {
  list-style: none;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.stat { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-value {
  font: 700 clamp(1.8rem, 3vw, 2.3rem)/1 var(--font-body);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-value small { font-size: 0.5em; margin-left: 3px; color: var(--red); font-weight: 600; letter-spacing: 0; }
.stat-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.45; }
.fn {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.7rem; font-weight: 700;
  vertical-align: super; line-height: 0;
  text-decoration: none;
  padding: 2px 3px;
}
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--border); }
}

/* Margin + calculator */
.margin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .margin-grid { grid-template-columns: minmax(0, 1fr); } }
.margin-grid h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }

.calc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow);
}
.calc h3 { margin-bottom: 18px; }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 420px) { .calc-fields { grid-template-columns: minmax(0, 1fr); } }
.calc label { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.calc input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--ink);
  font: 500 1.05rem var(--font-mono);
}
.calc input:focus-visible { outline-offset: 1px; border-color: var(--red); }
.calc-results {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  margin: 20px 0 16px;
}
@media (max-width: 420px) { .calc-results { grid-template-columns: minmax(0, 1fr); } }
.calc-results > div {
  background: var(--off-white);
  border-left: 3px solid var(--red);
  border-radius: 4px 12px 12px 4px;
  padding: 14px 16px;
  min-width: 0;
}
.calc-label { display: block; font-size: 0.85rem; color: var(--text-muted); line-height: 1.3; margin-bottom: 6px; }
.calc output {
  display: block;
  font: 700 clamp(1.5rem, 2.6vw, 1.85rem)/1.1 var(--font-body);
  letter-spacing: -0.02em;
  color: var(--red-dark);
  overflow-wrap: anywhere;
}
.calc-note { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow);
}
.step p { color: var(--text-muted); margin: 0; }
.step-num {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font: 700 1.15rem/1 var(--font-body);
  margin-bottom: 18px;
}
@media (min-width: 901px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 47px; right: -21px;
    width: 22px; height: 2px;
    background: var(--grey);
  }
}

/* Promises */
.promises {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 32px;
  align-items: center;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #e9e6e7;
}
.promises-title { margin: 0; color: var(--white); font-size: 1.3rem; }
.promises ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px;
}
.promises li { position: relative; padding-left: 28px; }
.promises li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5383b' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7'/%3E%3C/svg%3E");
}
@media (max-width: 860px) {
  .promises { grid-template-columns: minmax(0, 1fr); }
  .promises ul { grid-template-columns: minmax(0, 1fr); }
}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.price-card-wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: minmax(0, 1fr); } }
.price-card h3 { display: flex; align-items: center; gap: 10px; }
.price-card h3::before {
  content: ""; flex: none;
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--red);
}
.table-wrap { overflow-x: auto; margin-top: 18px; }
.ff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.975rem;
}
.ff-table caption { text-align: left; color: var(--text-muted); font-size: 0.9rem; padding-bottom: 10px; }
.ff-table th, .ff-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.ff-table th { font-weight: 600; font-size: 0.85rem; color: var(--text-muted); background: var(--off-white); }
.ff-table th:first-child { border-radius: 8px 0 0 8px; }
.ff-table th:last-child { border-radius: 0 8px 8px 0; }
.ff-table td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ff-table td.hl { color: var(--red-dark); font-weight: 500; }
.ff-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 480px) {
  .ff-table th, .ff-table td { padding: 10px 8px; }
  .ff-table th { font-size: 0.78rem; }
  .ff-table { font-size: 0.9rem; }
}
.pricing-note { margin-top: 22px; color: var(--text-muted); font-size: 0.95rem; }

/* Fit */
.fit-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 860px) { .fit-grid { grid-template-columns: minmax(0, 1fr); } }
.fit { border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); background: var(--white); }
.fit-yes { border-top: 3px solid var(--red); box-shadow: var(--shadow); }
.fit-no { background: var(--off-white); }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit li { position: relative; padding-left: 30px; color: var(--text-muted); }
.fit li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  background: no-repeat center/20px;
}
.fit-yes li { color: var(--ink); }
.fit-yes li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ba181b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.fit-no li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b1a7a6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 20px; top: 50%;
  width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%;
  background: var(--off-white) no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ba181b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red-dark); }
.faq-body { padding: 0 22px 20px; color: var(--text-muted); }
.faq-body p:last-child { margin-bottom: 0; }

/* CTA + form */
.cta { border-top: 1px solid var(--border); }
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
.cta h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.cta-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.cta-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.cta-points li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px;
  background: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ba181b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.contact-form {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 1px 2px rgb(22 26 29 / 6%), 0 30px 60px -30px rgb(22 26 29 / 28%);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field label { font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem var(--font-body);
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid rgb(229 56 59 / 35%);
  outline-offset: 0;
  border-color: var(--red);
}
.field [aria-invalid="true"] { border-color: var(--red); }
.form-status { margin: 12px 0 0; font-size: 0.95rem; font-weight: 500; min-height: 1em; }
.form-status:empty { margin: 0; }
.form-status.is-error { color: var(--red-dark); }
.form-status.is-ok { color: var(--ink); }
.form-note { margin: 10px 0 0; font-size: 0.85rem; color: var(--text-muted); }

/* Footer */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding-block: 56px 28px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px 64px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.brand-footer { margin-bottom: 14px; }
.footer-tag { max-width: 28em; margin-bottom: 0.5em; }
.sources-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); margin-bottom: 14px; }
.sources ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 0.875rem; line-height: 1.5; }
.sources a { color: var(--ink); overflow-wrap: anywhere; }
.sources a:hover { color: var(--red-dark); }
.sources:target .sources-title { color: var(--red-dark); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid var(--grey);
  font-size: 0.85rem;
}
.footer-base p { margin: 0; }

/* App screenshots */
.browser, .panel {
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgb(22 26 29 / 6%), 0 24px 60px -28px rgb(22 26 29 / 35%);
}
.browser img, .panel img { display: block; width: 100%; height: auto; }
.browser-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: inline-flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--grey); }
.browser-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
figure figcaption { margin-top: 14px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.45; }
figure figcaption a { white-space: nowrap; }

.hero-shot { position: relative; margin: clamp(48px, 7vw, 88px) 0 0; }
.hero-shot figcaption { text-align: center; }

.features { display: grid; gap: clamp(56px, 8vw, 96px); }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-flip .feature-text { order: 2; }
.feature-wide { grid-template-columns: minmax(0, 1fr); }
.feature-wide .feature-text { max-width: 760px; }
.feature-text p { color: var(--text-muted); font-size: 1.0625rem; margin: 0; }
.feature-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature-flip .feature-text { order: 0; }
}
.stage {
  margin: 0;
  padding: clamp(16px, 3vw, 36px);
  background: var(--off-white);
  border-radius: 20px;
  min-width: 0;
}
.panel-portrait { max-width: 480px; margin-inline: auto; }
.stage figcaption { text-align: center; }
