/* Rival's existing identity, refined with Unslop by Damir Sokolovsky.
   https://heydamir.design/unslop — CC BY 4.0. Full attribution: /credits.html */
@font-face { font-family: Space; src: url('/assets/space-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Space; src: url('/assets/space-medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }

:root {
  --paper: #e9ecdf;
  --ink: #20382b;
  --secondary: #4f6053;
  --line: #20382b1a;
  --lime: #d7f968;
  font-family: Space, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scrollbar-color: #a6b29c var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 500; text-wrap: balance; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid #607b3b; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.masthead { display: flex; align-items: center; padding-block: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 36px; font-weight: 500; letter-spacing: -.03em; line-height: 1; display: flex; align-items: baseline; gap: 2px; text-decoration: none; }
.brand-dot { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; min-height: calc(100svh - 85px); padding-block: 40px 48px; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(52px, 5.2vw, 72px); line-height: 1.06; letter-spacing: -.03em; }
.hero-description { font-size: 20px; line-height: 1.5; color: var(--secondary); max-width: 400px; margin-top: 24px; }
.demo-column { min-width: 0; width: 100%; display: flex; justify-content: center; }
.phone-stage { position: relative; width: min(360px, 100%); aspect-ratio: 360 / 758; }
.phone-stage .ss-fit { width: 100%; }
.faq-section { padding-block: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid var(--line); }
.faq-section h2 { font-size: 36px; line-height: 1.2; letter-spacing: -.02em; }
.faq-list details { padding-block: 24px; border-bottom: 1px solid var(--line); }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; font-size: 15px; line-height: 1.5; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin-top: 12px; padding-right: 24px; font-size: 14px; line-height: 1.7; color: var(--secondary); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--lime); padding: 12px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { width: auto; height: auto; overflow: visible; clip-path: none; }
.credits { max-width: 760px; padding-block: 64px; }
.credits h1 { font-size: 48px; letter-spacing: -.02em; margin-block: 40px 24px; }
.credits p, .credits li { font-size: 16px; line-height: 1.7; margin-bottom: 24px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 32px; }
  .hero h1 { font-size: 52px; }
  .hero-description { font-size: 18px; }
  .faq-section { gap: 40px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 48px); }
  .masthead { padding-block: 20px; }
  .wordmark { font-size: 32px; }
  .hero { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-block: 48px; }
  .hero h1 { font-size: clamp(36px, 7.5vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
  .hero-description { font-size: 18px; line-height: 1.55; margin-top: 20px; }
  .demo-column { max-width: 380px; margin-inline: auto; }
  .faq-section { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; }
  .faq-section h2 { font-size: 32px; }
  .credits h1 { font-size: 40px; }
}
