:root {
  --orange: #e85d2a;
  --orange-dark: #c94a1c;
  --orange-light: #fff4ef;
  --ink: #1a1a1f;
  --muted: #5c5c66;
  --surface: #ffffff;
  --border: #ece8e4;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(26, 26, 31, 0.08);
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #faf8f6;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(250, 248, 246, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.925rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

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

.hero-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 2rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.925rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-btn--play {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 26, 31, 0.2);
}

.store-btn--play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 31, 0.25);
}

.store-btn--apple {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  cursor: not-allowed;
  opacity: 0.65;
  position: relative;
}

.store-btn--apple .soon {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #eee;
  color: #888;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  margin-left: 0.25rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  padding-inline: 1.5rem;
  overflow: visible;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(220px, 32vw, 360px);
  height: clamp(260px, 40vw, 420px);
  transform: translate3d(-50%, -50%, 0);
  background: rgba(232, 93, 42, 0.12);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: min(52vh, 420px);
  object-fit: contain;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-desc {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-light);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.925rem;
}

/* Pro section */
.pro-section {
  background: linear-gradient(160deg, #1a1a1f 0%, #2a2018 100%);
  color: #fff;
}

.pro-section .section-label {
  color: #ffb088;
}

.pro-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.plan-card {
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.plan-card--free {
  background: rgba(255, 255, 255, 0.05);
}

.plan-card--pro {
  background: linear-gradient(145deg, rgba(232, 93, 42, 0.25), rgba(232, 93, 42, 0.08));
  border-color: rgba(232, 93, 42, 0.4);
  position: relative;
}

.plan-card--pro::before {
  content: "Recommended";
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.plan-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.plan-card .plan-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.925rem;
  line-height: 1.45;
}

.plan-card li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-card--free li::before {
  color: rgba(255, 255, 255, 0.45);
}

/* Updates */
.updates-section {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.updates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.updates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.updates-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: #faf8f6;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.updates-list .emoji {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.updates-list strong {
  display: block;
  margin-bottom: 0.15rem;
}

.updates-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.notes-box {
  background: var(--orange-light);
  border: 1px solid rgba(232, 93, 42, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.notes-box h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--orange-dark);
}

.notes-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.notes-box li {
  font-size: 0.925rem;
  color: var(--ink);
  padding-left: 1.25rem;
  position: relative;
}

.notes-box li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Info cards — privacy & support */
.info-section {
  padding: 4.5rem 0;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.info-section .section-desc {
  margin-bottom: 2.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.info-card {
  background: #faf8f6;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-light);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.info-title {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.info-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--orange-dark);
  transition: color 0.2s;
}

.info-link:hover {
  color: var(--orange);
}

.info-link--email {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}

.cta-section .section-desc {
  margin-inline: auto;
}

.cta-section .store-buttons {
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--orange);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .pro-grid,
  .updates-grid,
  .features-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero-grid {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .hero-content {
    display: contents;
  }

  .hero-badge {
    order: 1;
    margin-bottom: 1rem;
  }

  .hero h1 {
    order: 2;
    padding-inline: 1.25rem;
    margin-bottom: 0.85rem;
  }

  .hero-visual {
    order: 3;
    min-height: 0;
    margin-block: 0.75rem 1.25rem;
    padding-inline: 1rem;
  }

  .hero-visual img {
    max-width: 200px;
    max-height: min(46vh, 380px);
  }

  .hero-lead {
    order: 4;
    margin-inline: auto;
    margin-bottom: 1.75rem;
    font-size: 1rem;
  }

  .store-buttons {
    order: 5;
    justify-content: center;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-visual img {
    max-width: 190px;
    max-height: min(42vh, 340px);
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    padding: 1.25rem 0 1.5rem;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    margin-bottom: 0.35rem;
  }

  .hero-visual {
    margin-block: 0.15rem 0.4rem;
    min-height: 0;
  }

  .hero-visual img {
    max-width: 88px;
    max-height: 22vh;
    width: auto;
    object-fit: contain;
  }

  .hero-lead {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
  }
}

@media (orientation: landscape) and (max-height: 720px) and (min-width: 901px) {
  .hero {
    padding: 1.75rem 0 2rem;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img {
    max-width: 120px;
    max-height: 24vh;
    width: auto;
    object-fit: contain;
  }
}
