@font-face { font-family: "Manrope"; src: url("/assets/fonts/Manrope-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/Manrope-Medium.ttf") format("truetype"); font-weight: 650; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/Manrope-SemiBold.ttf") format("truetype"); font-weight: 800 950; font-style: normal; font-display: swap; }
@font-face { font-family: "Anton"; src: url("/assets/fonts/Anton-Regular.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --green: #10b981;
  --amber: #f6c546;
  --red: #ef4444;
  --navy: #172554;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.13), transparent 28rem),
    radial-gradient(circle at 90% 0%, rgba(16, 185, 129, 0.16), transparent 24rem),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 42%, #f8fafc 100%);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.78);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -0.03em; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}
.nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: #334155; font-size: 0.9rem; font-weight: 800; padding: 10px 12px; border-radius: 999px; }
.nav-links a:hover { background: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--ink); box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2); }
.btn-blue { color: #fff; background: var(--blue); box-shadow: 0 18px 36px rgba(37, 99, 235, 0.22); }
.btn-soft { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-disabled { color: #94a3b8; background: #f1f5f9; border-color: var(--line); cursor: not-allowed; }

.hero { padding: 72px 0 42px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr); gap: 58px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); background: #eff6ff; border: 1px solid #dbeafe; font-size: 0.78rem; font-weight: 950; text-transform: uppercase; letter-spacing: 0.12em; padding: 9px 12px; border-radius: 999px; }
h1 { font-size: clamp(3.6rem, 6.2vw, 6.8rem); line-height: 1.02; letter-spacing: -0.035em; margin: 20px 0; max-width: 820px; }
.display { font-family: Anton, Manrope, sans-serif; font-weight: 900; }
.lede { color: #334155; font-size: clamp(1.08rem, 1.7vw, 1.32rem); line-height: 1.65; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; color: #475569; font-size: 0.88rem; font-weight: 800; }
.trust-row span { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,0.72); border: 1px solid rgba(226,232,240,0.9); border-radius: 999px; padding: 9px 12px; }

.phone-stage { position: relative; min-height: 640px; display: grid; place-items: center; }
.phone-halo { position: absolute; inset: 5% 0 auto 12%; height: 420px; border-radius: 999px; background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(16,185,129,.16)); filter: blur(8px); transform: rotate(-10deg); }
.phone {
  position: relative;
  width: min(330px, 78vw);
  padding: 12px;
  border-radius: 42px;
  background: #0f172a;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(2deg);
}
.phone img { border-radius: 32px; aspect-ratio: 9/19.5; object-fit: cover; }
.float-card {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 18px 46px rgba(15,23,42,.11);
  border-radius: 24px;
  padding: 16px;
  max-width: 230px;
}
.float-card strong { display: block; font-size: .9rem; margin-bottom: 4px; }
.float-card span { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.float-one { left: -28px; top: 92px; }
.float-two { right: -12px; bottom: 92px; }

.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: .96; letter-spacing: -0.06em; margin: 0; }
.section-head p { color: var(--muted); line-height: 1.6; max-width: 520px; margin: 0; font-weight: 650; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: rgba(255,255,255,.88); border: 1px solid rgba(226,232,240,.9); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 32px rgba(15,23,42,.06); position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: auto -30px -44px auto; width: 120px; height: 120px; border-radius: 50%; background: rgba(37,99,235,.07); }
.card:nth-child(2)::after { background: rgba(16,185,129,.10); }
.card:nth-child(3)::after { background: rgba(239,68,68,.08); }
.card:nth-child(4)::after { background: rgba(23,37,84,.08); }
.icon { width: 52px; height: 52px; border-radius: 20px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; font-weight: 950; position: relative; z-index: 1; box-shadow: 0 12px 26px rgba(15,23,42,.14); }
.blue { background: var(--blue); } .green { background: var(--green); } .red { background: var(--red); } .navy { background: var(--navy); } .amber { background: var(--amber); color: var(--ink); }
.card h3 { margin: 0 0 8px; font-size: 1.16rem; letter-spacing: -0.03em; position: relative; z-index: 1; }
.card p, .card li { color: var(--muted); line-height: 1.6; font-size: .94rem; position: relative; z-index: 1; }
.card ul { padding-left: 18px; margin: 12px 0 0; }

.screenshot-rail { display: grid; grid-template-columns: repeat(6, minmax(180px, 1fr)); gap: 16px; overflow-x: auto; padding: 8px 4px 18px; scroll-snap-type: x mandatory; }
.shot { min-width: 180px; scroll-snap-align: start; background: #0f172a; border-radius: 30px; padding: 8px; box-shadow: 0 16px 40px rgba(15,23,42,.16); }
.shot img { border-radius: 23px; aspect-ratio: 9/19.5; object-fit: cover; }
.shot span { display: block; color: #fff; font-size: .8rem; font-weight: 900; padding: 10px 8px 4px; }

.download-panel { display: grid; grid-template-columns: 1fr .8fr; gap: 20px; align-items: stretch; }
.store-card { background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%); border: 1px solid var(--line); border-radius: 34px; padding: 26px; box-shadow: var(--shadow); }
.meta-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.meta-list div { background: #f8fafc; border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.meta-list strong { display: block; font-size: .78rem; color: #334155; text-transform: uppercase; letter-spacing: .08em; }
.meta-list span { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 12px; font-size: .8rem; font-weight: 900; background: #f1f5f9; color: #334155; border: 1px solid var(--line); }
.notice { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 24px; padding: 18px; line-height: 1.55; }

.legal { max-width: 860px; padding: 54px 0; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.legal section { background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 26px; padding: 24px; margin: 16px 0; }
.legal h2 { font-size: 1.35rem; letter-spacing: -0.03em; }
.legal p, .legal li { color: #475569; line-height: 1.65; }

.footer { padding: 42px 0; border-top: 1px solid rgba(226,232,240,.9); color: #64748b; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .9rem; font-weight: 750; }
.footer a { color: #334155; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .store-shell { width: min(100% - 28px, 1120px); }
  .store-topbar-inner { height: auto; padding: 14px 0; flex-direction: column; align-items: flex-start; }
  .store-nav { gap: 10px; flex-wrap: wrap; }
  .store-layout { grid-template-columns: 1fr; gap: 12px; padding-top: 30px; }
  .app-icon-card { width: 118px; height: 118px; border-radius: 30px; font-size: 2.4rem; }
  .app-icon-image img { border-radius: 28px; }
  .store-sidebar { padding-top: 0; }
  .store-stats { gap: 14px; overflow-x: auto; }
  .store-stats div { min-width: 112px; padding-right: 14px; }
  .store-actions-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .store-install { width: 100%; }
  .device-note { margin-bottom: 28px; }
  .store-screenshot-row img { width: 128px; }
}

@media (max-width: 520px) {
  .store-nav { font-size: .78rem; }
  .app-hero-listing { align-items: center; }
  .app-title-block h1 { font-size: 2.6rem; }
  .app-icon-card { width: 96px; height: 96px; border-radius: 26px; font-size: 2rem; }
  .app-icon-image img { border-radius: 24px; }
  .store-screenshot-row img { width: 116px; }
}

.app-icon-image {
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.app-icon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
}

/* App-store style download page */
.store-body { background: #fff; color: #111827; }
.store-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.store-topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); border-bottom: 1px solid #eef2f7; backdrop-filter: blur(18px); }
.store-topbar-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.store-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; letter-spacing: -.03em; }
.store-nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; color: #475569; font-size: .9rem; font-weight: 800; }
.store-nav a:hover { color: #0f172a; }
.store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 58px; padding: 44px 0 34px; }
.app-hero-listing { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; margin-bottom: 18px; }
.app-title-block h1 { margin: 0 0 8px; font-family: Manrope, sans-serif; font-size: clamp(2.7rem, 6vw, 4.7rem); line-height: 1; letter-spacing: -.065em; font-weight: 950; }
.developer-link { display: inline-block; color: #059669; font-size: .86rem; font-weight: 950; margin-bottom: 4px; }
.app-title-block p { margin: 0; color: #64748b; font-size: .84rem; font-weight: 800; }
.app-icon-card { flex: 0 0 auto; width: 154px; height: 154px; border-radius: 36px; display: grid; place-items: center; background: #fff; color: #fff; font-size: 3.25rem; font-weight: 950; letter-spacing: -.08em; box-shadow: 0 18px 46px rgba(15,23,42,.14); border: 1px solid #e5e7eb; overflow: hidden; }
.app-icon-image { padding: 0; overflow: hidden; background: #fff; }
.app-icon-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
.store-stats { display: flex; gap: 32px; align-items: center; margin: 22px 0 24px; color: #0f172a; }
.store-stats div { min-width: 88px; border-right: 1px solid #e5e7eb; padding-right: 28px; }
.store-stats div:last-child { border-right: 0; }
.store-stats strong { display: block; font-size: .85rem; font-weight: 950; }
.store-stats span { display: block; color: #64748b; font-size: .72rem; font-weight: 800; margin-top: 4px; }
.store-actions-row { display: flex; align-items: center; gap: 20px; margin-bottom: 12px; }
.store-install { min-width: 170px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #00875f; color: #fff; font-weight: 950; font-size: .92rem; box-shadow: 0 10px 22px rgba(0,135,95,.18); }
.store-icon-action { display: inline-flex; align-items: center; gap: 8px; color: #00875f; font-size: .82rem; font-weight: 950; }
.store-icon-action span { font-size: 1.05rem; }
.device-note { color: #64748b; font-size: .78rem; font-weight: 700; margin: 10px 0 54px; }
.store-screenshot-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 24px; margin-bottom: 10px; }
.store-screenshot-row img { width: 136px; flex: 0 0 auto; aspect-ratio: 9/19.5; object-fit: cover; border-radius: 12px; border: 1px solid #e5e7eb; scroll-snap-align: start; background: #f8fafc; }
.store-section { border-top: 1px solid #eef2f7; padding: 28px 0 30px; }
.store-section h2 { font-family: Manrope, sans-serif; font-size: 1.32rem; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 950; }
.store-section h2 span { color: #64748b; }
.store-section p { color: #334155; font-size: .9rem; line-height: 1.7; max-width: 760px; }
.store-details { display: grid; gap: 16px; margin: 20px 0; }
.store-details dt { color: #0f172a; font-size: .78rem; font-weight: 950; margin-bottom: 5px; }
.store-details dd { margin: 0; color: #64748b; font-size: .82rem; font-weight: 750; }
.store-chip { display: inline-flex; padding: 8px 14px; border: 1px solid #dbe4ee; border-radius: 999px; color: #475569; font-size: .78rem; font-weight: 900; }
.data-safety-box { border: 1px solid #d8dee8; border-radius: 8px; max-width: 700px; padding: 18px; display: grid; gap: 18px; margin: 20px 0 12px; }
.data-safety-box > div { display: flex; align-items: flex-start; gap: 14px; }
.safety-icon { flex: 0 0 auto; width: 24px; color: #64748b; font-weight: 950; }
.data-safety-box strong { display: block; color: #0f172a; font-size: .86rem; margin-bottom: 3px; }
.data-safety-box p { margin: 0; color: #64748b; font-size: .78rem; line-height: 1.45; }
.store-text-link { color: #00875f; font-size: .82rem; font-weight: 950; }
.store-sidebar { padding-top: 246px; }
.rating-card, .support-card { border: 1px solid #d8dee8; border-radius: 10px; padding: 18px; margin-bottom: 24px; background: #fff; }
.rating-card { display: flex; gap: 14px; align-items: flex-start; }
.rating-badge { width: 42px; height: 42px; border: 1px solid #d8dee8; display: grid; place-items: center; font-weight: 950; font-size: .95rem; }
.rating-card strong, .support-card h3 { display: block; margin: 0 0 8px; font-size: 1rem; font-weight: 950; }
.rating-card p { margin: 0 0 8px; color: #64748b; font-size: .78rem; line-height: 1.45; }
.rating-card a, .support-card a, .support-card span { display: block; color: #0f766e; font-size: .84rem; font-weight: 850; padding: 7px 0; }
.support-card span { color: #64748b; }
.store-footer { border-top: 1px solid #eef2f7; padding: 26px 0 42px; display: flex; gap: 18px; flex-wrap: wrap; color: #64748b; font-size: .84rem; font-weight: 800; }

/* Final responsive overrides after store base rules */
@media (max-width: 900px) {
  .nav-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .hero { padding-top: 42px; }
  .hero-grid, .download-panel { grid-template-columns: 1fr; }
  .phone-stage { min-height: 540px; }
  .float-one { left: 2px; top: 34px; }
  .float-two { right: 2px; bottom: 42px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .meta-list { grid-template-columns: 1fr; }
  .store-shell { width: min(100% - 28px, 1120px); }
  .store-topbar-inner { height: auto; padding: 14px 0; flex-direction: column; align-items: flex-start; }
  .store-nav { gap: 10px; flex-wrap: wrap; }
  .store-layout { grid-template-columns: 1fr; gap: 12px; padding-top: 30px; }
  .app-icon-card { width: 118px; height: 118px; border-radius: 30px; font-size: 2.4rem; }
  .app-icon-image img { border-radius: 28px; }
  .store-sidebar { padding-top: 0; }
  .store-stats { gap: 14px; overflow-x: auto; }
  .store-stats div { min-width: 112px; padding-right: 14px; }
  .store-actions-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .store-install { width: 100%; }
  .device-note { margin-bottom: 28px; }
  .store-screenshot-row img { width: 128px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 22px, 1160px); }
  .nav-links { gap: 4px; }
  .nav-links a { font-size: .78rem; padding: 8px 9px; }
  .hero-actions .btn { width: 100%; }
  .phone { width: min(286px, 82vw); margin: 20px auto; transform: none; }
  .float-card { position: relative; inset: auto; max-width: none; margin: 10px 0; }
  .phone-stage { min-height: auto; display: block; }
  .store-nav { font-size: .78rem; }
  .app-hero-listing { align-items: center; }
  .app-title-block h1 { font-size: 2.6rem; }
  .app-icon-card { width: 96px; height: 96px; border-radius: 26px; font-size: 2rem; }
  .app-icon-image img { border-radius: 24px; }
  .store-screenshot-row img { width: 116px; }
}
