:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #101010;
  --panel-soft: #151515;
  --text: #f6f2ec;
  --muted: #a9a39b;
  --subtle: #6e6861;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ff6a00;
  --accent-soft: rgba(255, 106, 0, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.14), transparent 34rem),
    linear-gradient(180deg, #080808 0%, #050505 44%, #0a0a0a 100%);
  color: var(--text);
  letter-spacing: 0;
}

body.home-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 106, 0, 0.16), transparent 25rem),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 28rem),
    #050505;
}

a {
  color: inherit;
}

.home-shell {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 34px;
}

.home-hero {
  display: flex;
  width: min(100%, 760px);
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.app-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
  text-decoration: none;
}

.app-icon {
  display: grid;
  position: relative;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 106, 0, 0.08),
    0 18px 44px rgba(255, 106, 0, 0.2),
    0 28px 74px rgba(0, 0, 0, 0.45);
  isolation: isolate;
  overflow: hidden;
}

.app-icon::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.32), transparent 62%);
  content: "";
  filter: blur(18px);
}

.app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 27px;
  object-fit: cover;
  transform: scale(1.34);
}

.home-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 8vw, 78px);
  font-weight: 850;
  line-height: 0.98;
  text-align: center;
}

.home-hero h1 span {
  color: var(--accent);
}

.home-copy {
  max-width: 610px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 3.4vw, 22px);
  line-height: 1.45;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 38px;
  min-height: 64px;
  padding: 9px 18px 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #f7f7f7;
  color: #050505;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.store-badge small {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.phone-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 4vw, 32px);
  margin-top: 2px;
}

.shot-button {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.shot-button:hover,
.shot-button:focus-visible {
  border-color: rgba(255, 106, 0, 0.7);
  background: var(--accent);
  color: #170900;
  box-shadow: 0 14px 32px rgba(255, 106, 0, 0.28);
  transform: translateY(-1px);
}

.shot-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.phone-glow {
  position: relative;
}

.phone-glow::before {
  position: absolute;
  inset: 9%;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.2);
  content: "";
  filter: blur(44px);
}

.phone-frame {
  position: relative;
  width: clamp(300px, 18vw, 360px);
  aspect-ratio: 1170 / 2532;
  margin: 0;
  overflow: hidden;
  border: 10px solid #050505;
  border-radius: 48px;
  background: #09090c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 26px 80px rgba(0, 0, 0, 0.58);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.1), transparent 30%),
    #09090c;
  object-fit: cover;
  object-position: top center;
  transition: opacity 180ms ease;
}

.phone-frame img.is-changing {
  opacity: 0.4;
}

.phone-frame img.is-missing {
  opacity: 0;
}

.phone-frame::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px;
  color: var(--muted);
  content: "Add screenshot in assets";
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  text-align: center;
  pointer-events: none;
}

.phone-frame:has(img.is-missing)::after {
  opacity: 1;
}

.shot-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.shot-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.shot-dots button.active {
  width: 24px;
  background: var(--accent);
}

.minimal-footer {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 17px 0 18px;
  color: var(--subtle);
  font-size: 13px;
}

.minimal-footer p {
  margin: 0;
}

.minimal-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.minimal-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.minimal-footer a:hover {
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(22px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 10px 26px rgba(255, 106, 0, 0.16);
  overflow: hidden;
}

.brand-mark img,
.icon svg {
  display: block;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #170900;
}

.button.primary:hover {
  background: #ff7a1f;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
}

.hero-inner,
.section-inner,
.legal-shell,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 106, 0, 0.24);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffb47a;
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
  color: var(--subtle);
  font-size: 14px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.device {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 46px;
  background: linear-gradient(180deg, #232323, #080808);
  padding: 12px;
  box-shadow: var(--shadow);
}

.screenshot-frame {
  width: min(100%, 380px);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 106, 0, 0.28), transparent 28%),
    #070707;
  padding: 10px;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 768 / 1268;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  background: #08080b;
  object-fit: cover;
  object-position: top center;
}

.screen {
  min-height: 630px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.12), transparent 34%),
    #090909;
  padding: 28px 22px;
}

.phone-top {
  width: 90px;
  height: 5px;
  margin: 0 auto 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.app-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.streak {
  margin: 32px 0 22px;
}

.streak-value {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

.streak-label {
  color: var(--muted);
}

.habit-list {
  display: grid;
  gap: 12px;
}

.habit {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 106, 0, 0.13);
  color: var(--accent);
}

.habit strong {
  display: block;
  font-size: 14px;
}

.habit span {
  color: var(--muted);
  font-size: 13px;
}

.progress {
  color: #ffb47a;
  font-size: 13px;
  font-weight: 800;
}

section {
  padding: 74px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
}

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  margin: 18px 0 10px;
  font-size: 19px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.legal-preview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-card {
  padding: 26px;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb47a;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.legal-page {
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 106, 0, 0.12), transparent 28rem),
    #050505;
}

.legal-shell {
  padding: 76px 0 96px;
}

.legal-header {
  max-width: 780px;
  margin-bottom: 38px;
}

.legal-header h1 {
  margin: 16px 0;
  font-size: clamp(42px, 6vw, 70px);
}

.updated {
  color: var(--subtle);
  font-size: 14px;
}

.legal-content {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.policy-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 28px;
}

.policy-section h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.policy-section p:last-child,
.policy-section ul:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  padding-left: 22px;
}

.policy-section strong {
  color: var(--text);
}

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

  .hero-grid,
  .feature-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .device {
    width: min(100%, 330px);
  }

  .screenshot-frame {
    width: min(100%, 350px);
  }

  .screen {
    min-height: 560px;
  }

  .nav {
    min-height: 66px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links .hide-small {
    display: none;
  }
}

@media (max-width: 560px) {
  .home-shell {
    padding-top: 10px;
  }

  .home-hero {
    gap: 18px;
  }

  .app-icon {
    width: 78px;
    height: 78px;
    border-radius: 24px;
  }

  .app-icon img {
    border-radius: 23px;
    transform: scale(1.34);
  }

  .app-brand {
    gap: 12px;
    font-size: 24px;
  }

  .store-badge {
    min-height: 58px;
    font-size: 22px;
  }

  .shot-button {
    width: 38px;
    height: 38px;
  }

  .phone-frame {
    width: min(68vw, 320px);
    border-width: 8px;
    border-radius: 38px;
  }

  .minimal-footer {
    width: min(100% - 28px, 1120px);
    align-items: center;
    flex-direction: column;
  }

  .nav,
  .hero-inner,
  .section-inner,
  .legal-shell,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    display: grid;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .policy-section {
    padding: 22px;
  }
}
