/* ============ Fonts ============ */
@font-face { font-family: 'Satoshi'; src: url("../assets/fonts/satoshi-400.woff2") format('woff2'); font-weight: 400; font-display: swap; font-style: normal; }
@font-face { font-family: 'Satoshi'; src: url("../assets/fonts/satoshi-500.woff2") format('woff2'); font-weight: 500; font-display: swap; font-style: normal; }
@font-face { font-family: 'Satoshi'; src: url("../assets/fonts/satoshi-700.woff2") format('woff2'); font-weight: 700; font-display: swap; font-style: normal; }
@font-face { font-family: 'Satoshi'; src: url("../assets/fonts/satoshi-900.woff2") format('woff2'); font-weight: 900; font-display: swap; font-style: normal; }

/* ============ Tokens ============ */
:root {
  --bg: #101216;
  --bg-deep: #0B0D10;
  --surface: #16181D;
  --ink: #F6F4EF;
  --ink-62: rgba(246, 244, 239, .62);
  --ink-55: rgba(246, 244, 239, .55);
  --ink-45: rgba(246, 244, 239, .45);
  --ink-40: rgba(246, 244, 239, .4);
  --accent: #FF5A1F;
  --success: #10B981;
  --hairline: rgba(246, 244, 239, .08);
  --card-border: rgba(246, 244, 239, .07);
}

/* ============ Base ============ */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Satoshi', system-ui, sans-serif;
}

::selection { background: rgba(255, 90, 31, .35); }

a { text-decoration: none; }

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

@keyframes plk-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 90, 31, .45)); }
  50%      { filter: drop-shadow(0 0 14px rgba(255, 90, 31, .7)); }
}

/* ============ Nav ============ */
.nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

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

.nav__brand img { height: 32px; width: auto; display: block; }

.nav__brand span {
  font: 900 24px 'Satoshi';
  letter-spacing: -.4px;
}

.nav__brand--link { color: var(--ink); }

/* ============ Hero ============ */
.hero {
  padding-top: 48px;
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  gap: 72px;
  flex-wrap: wrap;
}

.hero__copy {
  flex: 1;
  min-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero__kicker {
  font: 700 13px 'Satoshi';
  letter-spacing: 4px;
  color: var(--accent);
}

.hero__title {
  margin: 0;
  font: 900 84px/0.98 'Satoshi';
  letter-spacing: -3px;
}

.hero__lede {
  margin: 0;
  max-width: 440px;
  font: 500 19px/1.55 'Satoshi';
  color: var(--ink-62);
}

.hero__stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 14px 'Satoshi';
  color: var(--ink-45);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 90, 31, .6);
  flex: 0 0 auto;
}

/* ============ Store buttons ============ */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 24px;
  border-radius: 16px;
}

.store-btn--light { background: var(--ink); color: var(--surface); }

.store-btn--outline {
  border: 1.5px solid rgba(246, 244, 239, .25);
  color: var(--ink);
}

.store-btn--accent {
  background: var(--accent);
  color: var(--surface);
  box-shadow: 0 12px 34px -10px rgba(255, 90, 31, .55);
}

.store-btn__label { display: flex; flex-direction: column; }
.store-btn__label small { font: 500 11px 'Satoshi'; opacity: .65; }
.store-btn__label strong { font: 900 18px 'Satoshi'; letter-spacing: -.2px; }

/* ============ Phone mock ============ */
.hero__phone {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.phone {
  border-radius: 54px;
  background: #000;
  padding: 5px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .5);
}

.phone__screen {
  position: relative;
  width: 380px;
  height: 780px;
  border-radius: 50px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone__notch {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 32px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
}

.phone__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px 0;
  font: 700 14px 'Satoshi';
}

.phone__battery {
  display: inline-block;
  width: 18px;
  height: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  position: relative;
}

.phone__battery::after {
  content: '';
  position: absolute;
  inset: 2px;
  right: 5px;
  background: var(--ink);
  border-radius: 1px;
}

.phone__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px 0;
}

.phone__header img { height: 20px; width: auto; display: block; }

.streak-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(246, 244, 239, .06);
  padding: 7px 13px 7px 11px;
  border-radius: 100px;
}

.streak-pill strong { font: 900 14px 'Satoshi'; }
.streak-pill span { font: 500 12px 'Satoshi'; color: rgba(246, 244, 239, .5); }

.goal-pill {
  position: absolute;
  top: 112px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, .16);
  border: 1px solid rgba(16, 185, 129, .4);
  padding: 9px 16px;
  border-radius: 100px;
  z-index: 6;
}

.goal-pill span { font: 700 13px 'Satoshi'; color: var(--success); }
.goal-pill[hidden] { display: none; }

.phone__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.ring { position: relative; width: 236px; height: 236px; }

.ring__progress {
  animation: plk-glow 2.4s ease-in-out infinite;
}

.ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ring__time {
  font: 900 58px 'Satoshi';
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ring__label {
  font: 700 12px 'Satoshi';
  letter-spacing: 5px;
  color: var(--accent);
}

.pr-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(246, 244, 239, .05);
  border-radius: 100px;
  padding: 11px 20px;
}

.pr-pill span {
  font: 600 11px 'Satoshi';
  letter-spacing: 1.5px;
  color: var(--ink-40);
  text-transform: uppercase;
}

.pr-pill strong {
  font: 900 18px 'Satoshi';
  font-variant-numeric: tabular-nums;
}

.phone__footer { padding: 0 26px 40px; }

.stop-btn {
  width: 100%;
  height: 66px;
  border: 1.5px solid rgba(246, 244, 239, .28);
  border-radius: 33px;
  background: transparent;
  color: var(--ink);
  font: 900 19px 'Satoshi';
  letter-spacing: .3px;
  cursor: pointer;
}

/* ============ Features ============ */
.features {
  border-top: 1px solid var(--hairline);
  background: var(--bg-deep);
}

.features .container {
  padding-top: 90px;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.features__title {
  margin: 0;
  font: 900 44px/1.05 'Satoshi';
  letter-spacing: -1.5px;
  max-width: 560px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card h3 {
  margin: 0;
  font: 900 22px 'Satoshi';
  letter-spacing: -.4px;
}

.card p {
  margin: 0;
  font: 500 15px/1.6 'Satoshi';
  color: var(--ink-55);
}

.card__streak {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
}

.card__streak .dot { width: 12px; height: 12px; box-shadow: 0 0 10px rgba(255, 90, 31, .6); }
.card__streak strong { font: 900 26px 'Satoshi'; }
.card__streak span { font: 500 14px 'Satoshi'; color: rgba(246, 244, 239, .5); }

.card__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 52px;
}

.card__bars span { width: 12px; border-radius: 4px; }
.card__bars span:nth-child(1) { height: 18px; background: rgba(246, 244, 239, .15); }
.card__bars span:nth-child(2) { height: 26px; background: rgba(246, 244, 239, .22); }
.card__bars span:nth-child(3) { height: 22px; background: rgba(246, 244, 239, .18); }
.card__bars span:nth-child(4) { height: 34px; background: rgba(246, 244, 239, .3); }
.card__bars span:nth-child(5) { height: 46px; background: var(--accent); }

/* ============ Final CTA ============ */
.cta { border-top: 1px solid var(--hairline); }

.cta .container {
  padding-top: 110px;
  padding-bottom: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.cta img { height: 34px; width: auto; }

.cta__title {
  margin: 0;
  font: 900 64px/1 'Satoshi';
  letter-spacing: -2.5px;
}

.cta__lede {
  margin: 0;
  font: 500 18px 'Satoshi';
  color: rgba(246, 244, 239, .6);
}

.cta__stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.footer .container {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand img { height: 16px; width: auto; opacity: .7; }
.footer__brand span { font: 500 13px 'Satoshi'; color: var(--ink-40); }

.footer__links {
  display: flex;
  gap: 24px;
  font: 500 13px 'Satoshi';
}

.footer__links a { color: var(--ink-40); }

/* ============ Privacy ============ */
.privacy-page {
  border-top: 1px solid var(--hairline);
}

.privacy-hero {
  padding-top: 82px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.privacy-back {
  width: fit-content;
  color: var(--accent);
  font: 700 14px 'Satoshi';
}

.privacy__kicker {
  font: 700 13px 'Satoshi';
  letter-spacing: 4px;
  color: var(--accent);
}

.privacy__title {
  margin: 0;
  max-width: 720px;
  font: 900 72px/1 'Satoshi';
  letter-spacing: -2.5px;
}

.privacy__lede {
  margin: 0;
  max-width: 650px;
  font: 500 20px/1.55 'Satoshi';
  color: var(--ink-62);
}

.privacy-content {
  padding-bottom: 100px;
}

.privacy-panel {
  max-width: 760px;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 28px;
}

.privacy-panel h2 {
  margin: 34px 0 10px;
  font: 900 24px 'Satoshi';
  letter-spacing: -.4px;
}

.privacy-panel h2:first-of-type { margin-top: 0; }

.privacy-panel p {
  margin: 0;
  font: 500 16px/1.7 'Satoshi';
  color: var(--ink-55);
}

.privacy-updated {
  margin-bottom: 28px !important;
  color: var(--ink-40) !important;
  font-size: 14px !important;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero {
    justify-content: center;
    padding-top: 14px;
    gap: 46px;
  }

  .hero__copy {
    order: 2;
    min-width: 0;
    flex-basis: 100%;
  }

  .hero__phone {
    order: 1;
    width: 100%;
  }

  .hero__title { font-size: 64px; letter-spacing: -2px; }
  .cta__title { font-size: 48px; letter-spacing: -1.5px; }
  .features__title { font-size: 36px; }
  .privacy__title { font-size: 54px; letter-spacing: -1.8px; }
}

@media (max-width: 480px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .hero {
    padding-top: 10px;
    padding-bottom: 72px;
    gap: 38px;
  }

  .hero__copy { gap: 22px; }
  .hero__title { font-size: 52px; }
  .features__grid { grid-template-columns: 1fr; }

  .phone {
    border-radius: 46px;
    padding: 4px;
  }

  .phone__screen {
    width: min(300px, calc(100vw - 48px));
    height: auto;
    aspect-ratio: 320 / 660;
    border-radius: 42px;
  }

  .nav__brand img { height: 30px; }
  .nav__brand span { font-size: 22px; }
  .privacy-hero { padding-top: 58px; }
  .privacy__title { font-size: 44px; letter-spacing: -1.2px; }
  .privacy__lede { font-size: 18px; }
  .privacy-panel {
    padding: 28px;
    border-radius: 22px;
  }
}
