@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fafaf9;
  --text: #1a2b23;
  --text-secondary: rgba(26, 43, 35, 0.6);
  --line-strong: rgba(26, 43, 35, 0.14);
  --mint-dark: #449b80;
  --radius-xl: 24px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out-expo);
  --container: 1200px;
}

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

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.02em;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.overline {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 249, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(26, 43, 35, 0.08);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand span {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.start-hero {
  min-height: calc(100dvh - 80px);
  display: grid;
  align-items: center;
  padding: 32px 0 64px;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(26, 43, 35, 0.025) 1px,
    transparent 0
  );
  background-size: 20px 20px;
}

.start-copy {
  max-width: 40rem;
}

.start-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.start-copy h1 span {
  font-weight: 700;
  color: var(--text);
}

.start-copy h1 #start-accent {
  font-weight: 400;
  color: var(--mint-dark);
  display: inline-block;
  padding-top: 6px;
  letter-spacing: -0.025em;
}

.start-lead {
  margin: 28px 0 0;
  max-width: 44ch;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.start-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  padding: 12px 24px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-solid {
  background: var(--text);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--text);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(26, 43, 35, 0.15),
    0 12px 32px rgba(26, 43, 35, 0.1);
}

.btn:focus-visible {
  outline: 2px solid var(--mint-dark);
  outline-offset: 3px;
}

.start-note {
  margin: 16px 0 0;
  max-width: 44ch;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.start-note a {
  color: var(--mint-dark);
  font-weight: 600;
  text-underline-offset: 3px;
}

.start-note a:focus-visible {
  outline: 2px solid var(--mint-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.start-desktop {
  margin-top: 24px;
}

.start-desktop[hidden],
.start-actions [hidden] {
  display: none;
}

.start-qr svg {
  display: block;
  width: 192px;
  height: 192px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
}

.start-qr:empty {
  display: none;
}

@media (max-width: 640px) {
  .start-copy h1 {
    font-size: clamp(2.25rem, 9vw, 2.85rem);
    letter-spacing: -0.03em;
  }

  .start-lead {
    margin-top: 20px;
    font-size: 1rem;
  }

  .start-actions {
    margin-top: 24px;
  }
}

[hidden] {
  display: none !important;
}
