:root {
  --phone-rim: #59665e;
  --phone-hardware: #080d09;
  --phone-shadow: #000000b3;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scrollbar-color: var(--scrollbar) var(--paper);
}
:root[data-theme="light"] { --phone-rim: #1b1d1b; --phone-shadow: #17201466; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }
::selection { color: var(--ink); background: var(--selection); }
h1, h2, h3, p, figure { margin: 0; }
.page-width { width: min(1060px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; color: var(--on-accent); background: var(--accent); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 115px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { object-fit: contain; }
.brand span { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -.04em; }
.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav a { display: flex; align-items: center; min-height: 44px; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.site-nav a + a::before { content: "/"; margin-inline: 16px; font-weight: 400; color: var(--muted); }
.site-nav a:hover, .site-footer a:hover { color: var(--olive); }
.site-nav a:hover .nav-label, .site-footer a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 735px; padding: 24px 34px 72px; column-gap: 80px; }
.hero-copy { text-align: center; padding-bottom: 18px; }
h1 { font-size: clamp(32px, 3.15vw, 40px); line-height: 1.16; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; margin-top: 30px; padding: 14px 25px; border-radius: 6px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-size: 15px; font-weight: 650; transition: background 180ms ease; }
.primary-link:hover { background: var(--accent-hover); }
.icon { display: inline-block; width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.primary-link .icon { width: 19px; height: 19px; }
.hero-preview { justify-self: center; }
.phone-frame { position: relative; width: 312px; max-width: 100%; padding: 7px; border-radius: 39px; background: var(--phone-rim); box-shadow: 0 20px 44px -24px var(--phone-shadow); }
.phone-frame::before, .phone-frame::after { content: ""; position: absolute; width: 3px; background: var(--phone-rim); }
.phone-frame::before { top: 94px; left: -3px; height: 52px; border-radius: 2px 0 0 2px; }
.phone-frame::after { top: 126px; right: -3px; height: 43px; border-radius: 0 2px 2px 0; }
.phone-screen { position: relative; padding-block: 34px; border-radius: 32px; background: var(--paper); }
.phone-screen::before, .phone-screen::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); background: var(--phone-hardware); border-radius: 20px; }
.phone-screen::before { top: 9px; width: 28%; height: 17px; }
.phone-screen::after { bottom: 10px; width: 30%; height: 4px; }
.app-screenshot { display: block; width: 100%; height: auto; }
.screenshot-light, :root[data-theme="light"] .screenshot-dark { display: none; }
:root[data-theme="light"] .screenshot-light { display: block; }
.home-appearance { margin-left: 18px; }
.welcome { border-top: 1px solid var(--line); padding-top: 69px; scroll-margin-top: 28px; text-align: center; }
.feature { scroll-margin-top: 40px; }
.feature + .feature { margin-top: 95px; }
.feature > h2 { font-size: 22px; font-weight: 400; line-height: 1.65; text-wrap: balance; }
.feature > h2 strong { font-weight: 700; }
.feature .phone-frame { width: 290px; margin: 38px auto 0; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 28px; color: var(--olive-deep); font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--olive); }
.site-footer { margin-top: 96px; padding-block: 20px 24px; border-top: 1px solid var(--line); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 25px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; font-weight: 600; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .primary-link { transition: none; }
}
@media (max-width: 900px) {
  .page-width { width: calc(100% - 48px); }
  .site-header { min-height: 100px; }
  .brand span { font-size: 29px; }
  .brand img { width: 30px; height: 33px; }
  .site-nav a { font-size: 10px; letter-spacing: .08em; }
  .site-nav a + a::before { margin-inline: 10px; }
  .hero { column-gap: 30px; padding-inline: 0; }
  h1 { font-size: 32px; }
}
@media (max-width: 650px) {
  .site-header { min-height: 88px; gap: 16px; }
  .brand { gap: 7px; }
  .brand span { font-size: 27px; }
  .brand img { width: 27px; height: 30px; }
  .site-nav { gap: 12px; }
  .home-appearance { margin-left: 0; }
  .site-nav a { font-size: 10px; letter-spacing: .06em; }
  .site-nav .nav-how { display: none; }
  .site-nav a + a::before { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 54px; gap: 45px; }
  .hero-copy { max-width: 410px; justify-self: center; padding: 0; }
  h1 { font-size: 33px; line-height: 1.17; }
  .primary-link { margin-top: 24px; }
  .hero .phone-frame { width: 290px; }
  .welcome { padding-top: 49px; }
  .feature > h2 { font-size: 19px; line-height: 1.6; }
  .feature + .feature { margin-top: 72px; }
  .feature .phone-frame { margin-top: 29px; }
  .site-footer { margin-top: 65px; }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 32px); }
  .site-header { gap: 10px; }
  .brand span { font-size: 24px; }
  .brand img { width: 24px; }
  .site-nav { gap: 8px; }
  .site-nav a { font-size: 9px; }
  h1 { font-size: 30px; }
  .hero .phone-frame, .feature .phone-frame { width: 280px; }
}
