:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --surface: #ffffff;
  --tint: #f5f5f7;
  --accent: #ffc629;
  --hairline: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Sticky frosted navigation */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}

.nav {
  max-width: 1024px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-cta {
  text-decoration: none;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  transition: opacity 0.2s ease;
}

.nav-cta:hover {
  opacity: 0.84;
}

/* Hero */
.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 76px 24px 40px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: var(--tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--ink);
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 400;
  line-height: 1.42;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* Download buttons */
.downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 196px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, opacity 0.2s ease;
}

.dl-btn.dark {
  background: var(--ink);
  color: var(--surface);
}

.dl-btn.light {
  background: var(--tint);
  color: var(--ink);
  border: 1px solid var(--hairline);
}

.dl-btn:not(.disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.dl-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dl-icon {
  font-size: 18px;
  line-height: 1;
}

.dl-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.dl-sub {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.72;
}

.dl-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Minimalist device showcase */
.showcase {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 310px;
  background: var(--tint);
  border: 1px solid var(--hairline);
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.08);
}

.phone-notch {
  width: 84px;
  height: 20px;
  background: var(--ink);
  border-radius: 999px;
  margin: 4px auto 12px;
}

.phone-screen {
  background: var(--surface);
  border-radius: 30px;
  padding: 18px 14px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 4px;
}

.mock-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd866, #ffc629);
}

.mock-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mock-status {
  font-size: 11px;
  color: var(--muted);
}

.mock-bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.35;
}

.mock-bubble.peer {
  align-self: flex-start;
  background: var(--tint);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}

.mock-bubble.mine {
  align-self: flex-end;
  background: var(--accent);
  color: var(--ink);
  font-weight: 500;
  border-bottom-right-radius: 6px;
}

.mock-voice {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  padding: 9px 12px;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  width: 176px;
}

.mock-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.12);
  display: grid;
  place-items: center;
  font-size: 9px;
}

.mock-bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.16);
  overflow: hidden;
}

.mock-fill {
  display: block;
  width: 58%;
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
}

.mock-dur {
  font-size: 11px;
  font-weight: 600;
}

/* Feature Bento Section */
.section {
  max-width: 1024px;
  margin: 0 auto;
  padding: 72px 24px 84px;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--tint);
  border-radius: 24px;
  padding: 32px 28px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.bento-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}

.bento-card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* Footer */
.footer {
  border-top: 1px solid var(--hairline);
  background: var(--tint);
}

.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.footer-inner a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.footer-inner a:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .bento {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 52px;
  }

  .dl-btn {
    width: 100%;
  }
}
