:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #fafaf8;
  --text: #1b1a17;
  --text-2: #55524b;
  --text-3: #807c73;
  --line: #e6e6e3;
  --line-strong: #cfcdc7;
  --accent: #c2561b;
  --ok: #2f6b3f;
  --block: #a8321f;
  --hold-bg: #fbeadf;
  --brand: #c2561b;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; text-wrap: pretty; }
section { scroll-margin-top: 5rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(1.25rem, env(safe-area-inset-left, 0px)); padding-right: max(1.25rem, env(safe-area-inset-right, 0px)); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); color: var(--text); padding: 0.5rem 0.75rem; border-radius: 8px; z-index: 30; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; color: var(--text); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 9vw, 6.25rem); }
h2 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h3 { font-size: 1.75rem; line-height: 1.1; }
em { font-style: italic; color: var(--accent); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.site-header .wrap > a { display: inline-flex; }
.wordmark { display: block; width: 7.5rem; height: auto; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; font-size: 0.95rem; }
.site-header nav a { color: var(--text-2); text-decoration: none; }
.site-header nav a:hover { color: var(--text); }
@media (max-width: 860px) { .site-header nav .wide { display: none; } }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.25rem; border-radius: 999px;
  font-family: var(--sans); font-size: 0.9375rem; line-height: 1; font-weight: 600;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--text); color: #ffffff; border: 1px solid var(--text);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.button:hover { background: #33312c; border-color: #33312c; color: #ffffff; }
.site-header nav a.button, .site-header nav a.button:hover { color: #ffffff; }
.button--sm { padding: 0.6rem 1rem; font-size: 0.875rem; }
.button--ghost { background: #ffffff; color: var(--text); border-color: var(--line-strong); }
.button--ghost:hover { background: #ffffff; color: var(--text); border-color: var(--text); }

.note { font-size: 0.875rem; color: var(--text-3); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--text-2); max-width: 40rem; }
.small { font-size: 0.875rem; color: var(--text-3); margin: 1.25rem 0 0; max-width: 40rem; }

.hero { padding: 6.5rem 0 5rem; }
.hero h1 { max-width: 16ch; font-size: clamp(2.6rem, 6.4vw, 4.75rem); }
.hero h1 em { white-space: nowrap; }
.hero .lead { margin-top: 1.75rem; }
.sub { margin-top: 1rem; font-size: 1.0625rem; color: var(--text); font-weight: 500; max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 2.25rem; }

.works-with { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin: 2.25rem 0 0; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--text-2); }
.works-with li { display: flex; align-items: center; gap: 0.5rem; }
.works-with li:first-child { color: var(--text-3); }
.logo { width: 1.125rem; height: 1.125rem; }

.hero-shot { margin: 4rem 0 0; }

.section { padding: 6rem 0; }
.head { margin-bottom: 3rem; }

.cells { display: grid; gap: 2.25rem 2.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .cells--3, .cells--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cells--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cells li { padding-top: 1.5rem; }
.cells h3 { font-size: 1.75rem; }
.cells p { margin: 0.75rem 0 0; color: var(--text-2); font-size: 1rem; }
.cells + .note { margin-top: 2.5rem; font-size: 1rem; color: var(--text-2); max-width: 40rem; }

.feature-shot { margin: 0; }
.wide-shot { margin-top: 4rem; }
.app-shot { margin: 0 0 5rem; }
.steps { display: grid; gap: 5rem; }
.step { display: grid; gap: 1.75rem; align-items: center; }
.step h3 { font-size: 2.25rem; }
.step-text p { margin: 1rem 0 0; color: var(--text-2); font-size: 1.0625rem; max-width: 30rem; }
.step-text .mono { margin-top: 1.25rem; font-family: var(--mono); font-size: 0.8125rem; color: var(--text-3); }
@media (min-width: 900px) {
  .step { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; }
}
.frame { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); }
.frame:hover { border-color: var(--line-strong); }

.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 5rem; } }
.faq { }
.faq details { }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--text-3); }
.faq details[open] summary::after { content: "−"; color: var(--accent); }
.faq details p { margin: 0 0 1.25rem; color: var(--text-2); max-width: 40rem; }

.cta { padding: 7rem 0; }
.cta .lead { margin-top: 1.5rem; }

.site-footer { font-size: 0.875rem; color: var(--text-3); }
.legal { padding: 2.5rem 0 2rem; }
.legal h2 { font-family: var(--sans); font-size: 0.875rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--text-2); }
.marks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.9rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); }
.marks li { display: flex; align-items: center; gap: 0.65rem; }
.marks img { width: 20px; height: 20px; object-fit: contain; flex: none; }
.marks span { display: flex; flex-direction: column; font-size: 0.75rem; line-height: 1.35; color: var(--text-3); }
.marks b { font-weight: 500; color: var(--text-2); font-size: 0.8125rem; }
.legal p { margin: 1.1rem 0 0; font-size: 0.75rem; line-height: 1.6; color: var(--text-3); max-width: 52rem; }

.colophon { color: var(--text-3); }
.colophon .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.prlabs-link { display: inline-flex; color: var(--text); }
.prlabs-link:hover { color: var(--accent); }
.prlabs-logo { display: block; height: 22px; width: auto; }
.colophon nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.colophon a { color: var(--text-2); text-decoration: none; }
.colophon a:hover { color: var(--text); }

[lang="pa"] { font-family: var(--sans); }

@media (max-width: 860px) {
  .hero { padding: 4rem 0 3.5rem; }
  .section { padding: 4.5rem 0; }
  .cta { padding: 5rem 0; }
  .wide-shot { margin-top: 3rem; }
  .app-shot { margin-bottom: 3.5rem; }
  .steps { gap: 3.5rem; }
  .step h3 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.tiles { display: block; width: 100%; max-width: 980px; height: auto; margin: 0 auto; }
.tiles .tile { animation: tile-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--d); }
@keyframes tile-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tiles .tile { animation: none; } }
.scene { margin: 0; }
.tiles .tile.grew path:last-child { animation: tile-glint 1.2s ease-out; }
@keyframes tile-glint { from { fill: #C2561B; } }
@media (min-width: 1040px) {
  .hero { padding: 4.5rem 0 4rem; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 3.5rem; align-items: center; }
  .hero .wrap > *:not(.hero-shot) { grid-column: 1; }
  .hero .hero-shot { grid-column: 2; grid-row: 1 / span 6; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .tiles .tile.grew path:last-child { animation: none; } }

