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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; }

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

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 10; }

.site-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.site-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 18px; }
.site-nav { display: flex; gap: 4px; }
.site-nav-link { color: var(--ink); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.site-nav-link:hover { background: var(--card); }

.hero { padding: 72px 0 56px; }
.hero-eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.hero-eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--brand); vertical-align: 1px; }
.hero h1 { margin: 0; max-width: 15ch; font-size: clamp(40px, 8vw, 72px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 650; }
.hero-lede { max-width: 60ch; margin: 22px 0 30px; color: var(--muted); font-size: clamp(18px, 2.4vw, 21px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--card); }

.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section-title { margin: 0 0 8px; font-size: clamp(28px, 4.5vw, 40px); letter-spacing: -0.02em; line-height: 1.15; font-weight: 650; }
.section-lede { margin: 0 0 32px; max-width: 62ch; color: var(--muted); }

.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.app { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 56px; height: 56px; border-radius: 13px; flex: none; }
.app-name { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 650; }
.app-status { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.app-line { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 600; }
.app-detail { margin: 0; color: var(--muted); font-size: 16px; }
.app-fine { margin: 0; color: var(--muted); font-size: 13px; }
.app-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: auto; padding-top: 6px; }
.app-link { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.app-domain { color: var(--muted); font-size: 15px; }

.get-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border-radius: 10px; background: var(--solid); color: var(--on-solid); text-decoration: none; line-height: 1.1; }
.get-badge svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.get-badge-text { display: flex; flex-direction: column; }
.get-badge-when { font-size: 11px; color: var(--on-solid-soft); }
.get-badge-where { font-size: 15px; font-weight: 600; }
.get-badge-soon { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.get-badge-soon .get-badge-when { color: var(--muted); }

.about { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.about h3 { margin: 0 0 6px; font-size: 19px; font-weight: 650; }
.about p { margin: 0; color: var(--muted); }

.contact { text-align: left; }
.contact-mail { font-size: clamp(22px, 4vw, 30px); font-weight: 650; overflow-wrap: anywhere; }

.site-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 32px; }
.site-foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.site-foot-links a { color: var(--muted); }

.legal { max-width: 720px; padding-top: 48px; padding-bottom: 64px; }
.legal h1 { font-size: 40px; letter-spacing: -0.02em; margin: 0 0 16px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 520px) {
  .site-nav-link { padding: 8px 6px; font-size: 14px; }
  .hero { padding: 48px 0 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
