:root {
  color-scheme: light dark;
  --background: #f4f6fb;
  --surface: #ffffff;
  --text-primary: #171a21;
  --text-secondary: #617073;
  --accent: #3c6797;
  --accent-muted: #dde8f6;
  --on-accent: #ffffff;
  --celebrate: #5a5fb8;
  --border: #dce1eb;
  --frame: #171a21;
  --glow-one: #bcd2ee;
  --glow-two: #cfd1f3;
  --shadow: 0 1.5rem 3rem -1rem rgb(23 26 33 / 0.25);
  --radius-large: 1.5rem;
  --radius-medium: 1rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #171a21;
    --surface: #1f232b;
    --text-primary: #edf0f7;
    --text-secondary: #7a93ac;
    --accent: #92bcea;
    --accent-muted: #26364a;
    --on-accent: #171a21;
    --celebrate: #afb3f7;
    --border: #313744;
    --frame: #313744;
    --glow-one: #26405f;
    --glow-two: #2f3170;
    --shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / 0.6);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 46rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 0.5rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--background) 82%, transparent);
  backdrop-filter: blur(0.75rem);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  text-decoration: none;
}

@media (max-width: 26rem) {
  .header-inner {
    gap: 0.5rem;
  }

  .wordmark {
    gap: 0.5rem;
    font-size: 1rem;
  }

  .wordmark img {
    width: 2rem;
    height: 2rem;
  }

  .button-small {
    padding: 0 0.875rem;
    font-size: 0.875rem;
  }
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text-primary);
}

@media (min-width: 48rem) {
  .nav-links {
    display: flex;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.75rem 1.5rem -0.75rem var(--accent);
}

.button-small {
  min-height: 2.5rem;
  padding: 0 1.125rem;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.button-quiet {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.button-quiet:hover {
  box-shadow: none;
  background: var(--surface);
}

.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .hero {
    padding: 6rem 0 7rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--celebrate);
}

.accent-text {
  color: var(--accent);
}

.lead {
  margin: 1.5rem 0 2rem;
  max-width: 34rem;
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.notice {
  max-width: 34rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  inset: -10% -15%;
  background:
    radial-gradient(closest-side at 35% 40%, var(--glow-one), transparent),
    radial-gradient(closest-side at 70% 65%, var(--glow-two), transparent);
  filter: blur(1.5rem);
  opacity: 0.9;
}

.phone {
  position: relative;
  width: min(100%, 19rem);
  height: auto;
  filter: drop-shadow(var(--shadow));
}

.phone-frame {
  fill: var(--frame);
}

.phone-screen {
  fill: var(--surface);
}

.arc-track,
.arc-progress {
  fill: none;
  stroke-width: 16;
  stroke-linecap: round;
}

.arc-track {
  stroke: var(--border);
}

.arc-progress {
  stroke: var(--accent);
  stroke-dasharray: 72 100;
}

.arc-progress-soft {
  stroke: var(--celebrate);
  stroke-dasharray: 100 100;
}

.mock-label {
  fill: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
}

.mock-time {
  fill: var(--text-primary);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mock-caption {
  fill: var(--text-secondary);
  font-size: 13px;
}

.mock-strong {
  fill: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}

.mock-button {
  fill: var(--accent);
}

.mock-button-text {
  fill: var(--on-accent);
  font-size: 16px;
  font-weight: 600;
}

.mock-card {
  fill: var(--accent-muted);
}

.mock-card + .mock-caption {
  fill: var(--text-primary);
}

.mock-dot {
  fill: var(--celebrate);
}

.mock-divider {
  stroke: var(--border);
  stroke-width: 1;
}

.mock-tab {
  fill: var(--text-secondary);
  font-size: 13px;
}

.mock-tab-active {
  fill: var(--accent);
  font-weight: 700;
}

.float {
  position: absolute;
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(0.5rem);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  line-height: 1.3;
}

.float-text {
  display: grid;
}

.float-text span {
  color: var(--text-secondary);
}

.float-top {
  top: 12%;
  left: -2%;
}

.float-bottom {
  bottom: 14%;
  right: -2%;
}

@media (min-width: 60rem) {
  .float {
    display: flex;
  }

  .float-top {
    left: -6%;
  }

  .float-bottom {
    right: -6%;
  }
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.avatar-alt {
  background: var(--celebrate);
}

.avatar-third {
  background: var(--text-secondary);
}

.section {
  padding: 4.5rem 0;
}

@media (min-width: 60rem) {
  .section {
    padding: 7rem 0;
  }
}

.section-tint {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 42rem;
  margin: 0 0 3rem;
}

.section-head .eyebrow {
  margin-bottom: 1rem;
}

.section-lead {
  margin: 1rem 0 0;
  font-size: 1.1875rem;
  color: var(--text-secondary);
}

.bento {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-wide {
    grid-column: span 2;
  }
}

.card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-secondary);
}

.card-wide {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 48rem) {
  .card-wide {
    grid-template-columns: 1fr auto;
    padding: 2.25rem;
  }

  .card-privacy {
    grid-template-columns: auto 1fr;
  }
}

.card-art-arc {
  width: 11rem;
  height: 11rem;
  justify-self: center;
}

.card-art-phone {
  width: 7.5rem;
  height: 7.5rem;
  justify-self: center;
}

.lock-body {
  fill: var(--accent);
}

.lock-shackle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 12;
  stroke-linecap: round;
}

.lock-hole {
  fill: var(--on-accent);
}

.mini-list,
.mini-members {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.mini-list li,
.mini-members li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  background: var(--background);
  font-size: 0.9375rem;
}

.mini-list li span:first-child {
  min-width: 4.5rem;
  color: var(--text-secondary);
}

.mini-members .avatar {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8125rem;
}

.tag {
  margin-left: auto;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step h3 {
  margin: 1rem 0 0.5rem;
}

.step p {
  color: var(--text-secondary);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 700;
}

.privacy-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .privacy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.privacy-item {
  padding: 1.75rem;
  border-radius: var(--radius-large);
  background: var(--accent-muted);
}

.privacy-item h3 {
  margin-bottom: 0.75rem;
}

.privacy-item p {
  margin: 0;
}

.privacy-link {
  margin: 2rem 0 0;
  color: var(--text-secondary);
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--background);
  padding: 0 1.25rem;
}

.faq summary {
  cursor: pointer;
  padding: 1.125rem 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.375rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
}

.signup {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-large);
  background: var(--accent-muted);
  text-align: center;
}

@media (min-width: 48rem) {
  .signup {
    padding: 3.5rem 3rem;
  }
}

.signup form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  text-align: left;
}

.signup label {
  flex-basis: 100%;
  font-weight: 600;
}

.signup input[type='email'] {
  flex: 1 1 14rem;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  border: 1px solid var(--text-secondary);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-primary);
  font: inherit;
}

.signup button {
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.signup a {
  color: var(--text-primary);
}

.signup .section-lead,
.signup .fine-print {
  color: var(--text-primary);
}

.fine-print {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 1rem 0 0;
  text-align: left;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer-inner p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .arc-progress {
    animation: draw-arc 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
  }

  .float-top {
    animation: drift 7s ease-in-out infinite;
  }

  .float-bottom {
    animation: drift 8s ease-in-out -3s infinite;
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

@keyframes draw-arc {
  from {
    stroke-dasharray: 0 100;
  }
}

@keyframes drift {
  50% {
    transform: translateY(-0.5rem);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

body > header:not([class]),
body > main:not([id]),
body > footer:not([class]) {
  max-width: 40rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

body > header:not([class]) {
  padding-top: 2rem;
}

body > main:not([id]) h1 {
  margin: 3rem 0 1rem;
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body > main:not([id]) h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.25rem;
}

body > main:not([id]) .lead {
  margin: 0 0 1rem;
}

body > footer:not([class]) {
  margin-top: 3rem;
  padding-top: 1rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
