@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --ink: #1a2433;
  --ink-soft: #3d4f66;
  --muted: #6b7a8d;
  --paper: #f7f4ef;
  --paper-2: #efe9df;
  --cloud: #ffffff;
  --accent: #ff9900;
  --accent-deep: #e88700;
  --navy: #232f3e;
  --line: rgba(35, 47, 62, 0.1);
  --shadow: 0 24px 60px rgba(26, 36, 51, 0.12);
  --radius: 20px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(255, 153, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(90, 160, 255, 0.14), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, #f3f0ea 45%, #ebe6dc 100%);
  line-height: 1.55;
  min-height: 100vh;
}

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

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Nav */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.topnav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.topnav-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0 4.5rem;
  min-height: calc(100vh - 5rem);
}

.hero > div:first-child {
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.hero .lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--navy);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 28px rgba(35, 47, 62, 0.28);
}

.btn-store:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(35, 47, 62, 0.34);
}

.btn-store .apple {
  font-size: 1.45rem;
  line-height: 1;
}

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

.btn-store .meta small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-store .meta span {
  font-size: 1.05rem;
}

.btn-ghost {
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  font-weight: 550;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-ghost:hover {
  background: var(--cloud);
  border-color: rgba(35, 47, 62, 0.18);
}

.fineprint {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 28rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  animation: rise 0.85s 0.08s ease both;
}

.glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.35), transparent 68%);
  filter: blur(8px);
  z-index: 0;
  animation: pulse 4.5s ease-in-out infinite;
}

.app-icon {
  position: relative;
  z-index: 1;
  width: min(280px, 70vw);
  height: auto;
  border-radius: 56px;
  box-shadow: var(--shadow);
}

/* Features */
.features {
  padding: 1rem 0 5rem;
}

.features h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.features .sub {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.feature .mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 153, 0, 0.14);
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.feature p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 1.5rem;
    min-height: auto;
  }

  .hero-visual { order: -1; }

  .app-icon {
    width: min(200px, 52vw);
    border-radius: 42px;
  }

  .glow {
    width: 240px;
    height: 240px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topnav-links { gap: 0.85rem; font-size: 0.82rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn-store, .btn-ghost { justify-content: center; }
}
