@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Outfit:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: light;
  --brand-maroon: #7c1a22;
  --brand-saffron: #f05a28;
  --brand-gold: #c59b27;
  --brand-cream: #fbf9f6;
  --brand-lavender: #f4effa;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #fed7aa;
  --surface: #ffffff;
  --soft: #fff7ed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--brand-cream);
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgb(240 90 40 / 20%);
  color: var(--brand-maroon);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgb(254 215 170 / 65%);
  background: rgb(251 249 246 / 94%);
  backdrop-filter: blur(18px);
  transition: transform 240ms ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1184px);
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-maroon);
  font-family: "Cinzel", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 36px;
  height: 36px;
  border: 1px solid rgb(254 215 170 / 90%);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgb(124 26 34 / 10%);
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}



.nav-cta,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(251 146 60 / 45%);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px 14px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.nav-cta:hover,
.back-link:hover {
  border-color: rgb(240 90 40 / 60%);
  background: #fff7ed;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(251 146 60 / 45%);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--brand-maroon);
}

main {
  padding-top: 80px;
}

.landing-hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  border-bottom: 1px solid rgb(254 215 170 / 50%);
  background:
    radial-gradient(circle at 25% 15%, rgb(254 215 170 / 55%), transparent 32%),
    linear-gradient(180deg, #fff7ed 0%, var(--brand-cream) 78%);
}

.hero-orbit {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 760px;
  height: 760px;
  transform: translateX(-50%);
  border: 1px solid rgb(124 26 34 / 9%);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 80px rgb(124 26 34 / 2%),
    inset 0 0 0 160px rgb(124 26 34 / 2%);
  pointer-events: none;
}

.landing-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 70px;
  align-items: center;
  width: min(100%, 1184px);
  min-height: calc(92vh - 80px);
  margin: 0 auto;
  padding: 72px 24px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(251 146 60 / 35%);
  border-radius: 999px;
  background: rgb(255 247 237 / 72%);
  padding: 9px 14px;
  color: var(--brand-maroon);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-hero h1,
.section-heading h2,
.download-card h2,
.hero h1,
h1,
h2,
h3 {
  margin: 0;
}

.landing-hero h1 {
  margin-top: 24px;
  color: var(--ink);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.05;
}

.hero-copy p {
  max-width: 590px;
  margin: 24px 0 0;
  color: #475569;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-action {
  background: linear-gradient(135deg, var(--brand-maroon), var(--brand-saffron));
  color: white;
  box-shadow: 0 16px 34px rgb(124 26 34 / 18%);
}

.secondary-action {
  border: 1px solid rgb(251 146 60 / 45%);
  background: white;
  color: #334155;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.hero-device {
  position: relative;
  display: grid;
  place-items: center;
}

.device-frame {
  width: min(100%, 380px);
  overflow: hidden;
  border: 10px solid #111827;
  border-radius: 34px;
  background: #111827;
  box-shadow: 0 34px 70px rgb(15 23 42 / 22%);
}

.device-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  width: 190px;
  border: 1px solid rgb(254 215 170 / 80%);
  border-radius: 18px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 20px 40px rgb(124 26 34 / 11%);
  padding: 14px;
  backdrop-filter: blur(12px);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.floating-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.card-top {
  top: 12%;
  right: -20px;
}

.card-bottom {
  bottom: 12%;
  left: -28px;
}

.manifesto,
.features-section,
.gallery-section,
.download-section {
  border-bottom: 1px solid rgb(254 215 170 / 50%);
  padding: 96px 24px;
}

.manifesto,
.site-footer {
  background: var(--brand-lavender);
}

.features-section,
.download-section {
  background: var(--brand-cream);
}

.gallery-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgb(124 26 34 / 8%), transparent 38%),
    var(--brand-cream);
}

.section-heading {
  width: min(100%, 760px);
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading span {
  display: block;
  color: var(--brand-maroon);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.download-card h2 {
  margin-top: 14px;
  color: var(--ink);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.18;
}

.section-heading p,
.download-card p {
  margin: 18px auto 0;
  color: #64748b;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
}

.pillar-grid,
.feature-showcase,
.footer-grid {
  width: min(100%, 1184px);
  margin: 0 auto;
}

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

.pillar-card,
.feature-card,
.feature-panel,
.download-card,
.intro,
.data-card,
.service-note {
  border: 1px solid rgb(254 215 170 / 80%);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgb(124 26 34 / 6%);
}

.pillar-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  text-align: center;
}

.pillar-icon,
.feature-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgb(254 215 170 / 85%);
  background: #fff7ed;
  color: var(--brand-maroon);
  font-weight: 900;
}

.pillar-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 18px;
}

.pillar-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.pillar-card h3,
.feature-card h3,
.feature-panel h3,
.site-footer h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.pillar-card p,
.feature-card p,
.feature-panel li,
.site-footer p,
.site-footer a {
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: stretch;
}

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

.feature-card {
  padding: 24px;
}

.feature-card.is-active {
  border-color: rgb(124 26 34 / 35%);
  background: #fff7ed;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-size: 12px;
}

.feature-panel {
  padding: 32px;
}

.feature-panel img {
  display: block;
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  border-radius: 22px;
  object-fit: cover;
}

.feature-panel ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-panel li {
  position: relative;
  padding-left: 20px;
}

.feature-panel li + li {
  margin-top: 12px;
}

.feature-panel li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand-maroon);
  content: "";
}

.panel-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 24px;
  border-radius: 13px;
  background: var(--ink);
  padding: 0 20px;
  color: white;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgb(15 23 42 / 14%);
  transition: transform 180ms ease, background 180ms ease;
}

.panel-download:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

.app-store-action {
  gap: 10px;
}

.store-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

.store-mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.screenshot-row {
  display: flex;
  gap: 22px;
  width: min(100%, 1184px);
  margin: 0 auto;
  overflow-x: auto;
  padding: 18px 8px 36px;
  scroll-snap-type: x mandatory;
}

.screenshot-row figure {
  flex: 0 0 250px;
  margin: 0;
  overflow: hidden;
  border: 8px solid #111827;
  border-radius: 26px;
  background: #111827;
  box-shadow: 0 26px 54px rgb(124 26 34 / 13%);
  scroll-snap-align: center;
}

.screenshot-row img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.download-card {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 48px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 100%, rgb(254 215 170 / 40%), transparent 52%),
    white;
}

.download-card .hero-actions {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid rgb(254 215 170 / 75%);
  padding: 68px 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 0.75fr 1.05fr;
  gap: 92px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-maroon);
  font-family: "Cinzel", Georgia, serif;
  font-size: 18px;
}

.site-footer h3 {
  margin: 0 0 18px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 390px;
  margin: 18px 0 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.site-footer a {
  display: block;
  color: #111827;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.site-footer a + a {
  margin-top: 12px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: auto;
  margin: 66px -24px 0;
  border-top: 1px solid rgb(254 215 170 / 75%);
  padding: 32px max(24px, calc((100vw - 1184px) / 2 + 24px)) 64px;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
}

.hero {
  border-bottom: 1px solid rgb(254 215 170 / 50%);
  background: linear-gradient(180deg, #fff7ed 0%, var(--brand-cream) 100%);
  padding: 64px 24px;
  text-align: center;
}

.shield {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 1px solid rgb(254 215 170 / 90%);
  border-radius: 16px;
  background: #fff7ed;
}

.shield svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--brand-maroon);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.hero h1 {
  color: var(--brand-maroon);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.05;
}

.hero p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.policy {
  width: min(100%, 816px);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.intro {
  margin-bottom: 48px;
  border-radius: 18px;
  background: rgb(255 247 237 / 55%);
  padding: 24px;
}

.intro p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}

.policy-section {
  margin-top: 48px;
}

.policy-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Cinzel", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.icon {
  display: inline-grid;
  flex: 0 0 22px;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--brand-maroon);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.policy-section p {
  margin: 12px 0 0;
  color: #475569;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.data-card,
.service-note {
  border-radius: 18px;
  padding: 20px;
}

.data-card strong,
.service-note strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.data-card p,
.service-note p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.resource-links a,
.service-note a {
  color: var(--brand-maroon);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.resource-links a::after,
.service-note a::after {
  content: " ↗";
}

.resource-links a:hover,
.service-note a:hover,
.email:hover {
  text-decoration: underline;
}

.email {
  display: inline-block;
  margin-top: 12px;
  color: var(--brand-maroon);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.terms-note {
  border-left: 3px solid var(--brand-maroon);
  padding-left: 18px;
  color: var(--brand-maroon) !important;
  font-weight: 800 !important;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgb(254 215 170 / 70%);
    background: var(--brand-cream);
    padding: 18px 24px 24px;
    box-shadow: 0 18px 34px rgb(15 23 42 / 10%);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    text-align: center;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .landing-inner,
  .feature-showcase,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .landing-inner {
    gap: 48px;
    padding-top: 56px;
    text-align: center;
  }

  .hero-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .card-top {
    right: 4px;
  }

  .card-bottom {
    left: 4px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 72px;
    padding: 0 18px;
  }

  .brand {
    font-size: 16px;
  }

  .main-nav {
    top: 72px;
  }

  main {
    padding-top: 72px;
  }

  .landing-inner {
    min-height: auto;
    padding: 44px 18px 58px;
  }

  .landing-hero h1 {
    font-size: 40px;
  }

  .hero-copy p,
  .section-heading p,
  .download-card p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .manifesto,
  .features-section,
  .gallery-section,
  .download-section {
    padding: 72px 18px;
  }

  .pillar-card,
  .feature-card,
  .feature-panel,
  .download-card {
    padding: 24px;
  }

  .screenshot-row figure {
    flex-basis: 230px;
  }

  .hero {
    padding: 48px 18px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .policy {
    padding: 40px 18px 80px;
  }

  .intro {
    padding: 20px;
  }

  .policy-section {
    margin-top: 40px;
  }

  .policy-section h2 {
    align-items: flex-start;
    font-size: 19px;
  }

  .data-grid {
    grid-template-columns: 1fr;
  }
}

/* ── App Store Badge ───────────────────────────────────────────────────── */

/* Shared base for all badge variants */
.appstore-badge-nav,
.appstore-badge-hero,
.appstore-badge-footer {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid #333;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.appstore-badge-nav:hover,
.appstore-badge-hero:hover,
.appstore-badge-footer:hover {
  background: #1a1a1a;
  border-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgb(0 0 0 / 30%);
}

/* Apple icon shared */
.apple-icon {
  flex-shrink: 0;
  fill: #fff;
}

/* Two-line text block */
.appstore-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.appstore-badge-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0.85;
  text-transform: none;
}

.appstore-badge-main {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── Nav badge (compact) */
.appstore-badge-nav {
  padding: 7px 12px 7px 10px;
  border-radius: 10px;
}

.appstore-badge-nav .apple-icon {
  width: 18px;
  height: 18px;
}

.appstore-badge-nav .appstore-badge-sub {
  font-size: 8px;
}

.appstore-badge-nav .appstore-badge-main {
  font-size: 13px;
}

/* ── Hero badge (large, prominent) */
.appstore-badge-hero {
  padding: 11px 20px 11px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
}

.appstore-badge-hero .apple-icon {
  width: 26px;
  height: 26px;
}

.appstore-badge-hero .appstore-badge-sub {
  font-size: 10px;
}

.appstore-badge-hero .appstore-badge-main {
  font-size: 20px;
}

/* ── Footer badge (medium) */
.appstore-badge-footer {
  padding: 8px 14px 8px 11px;
  border-radius: 11px;
  margin-top: 6px;
}

.appstore-badge-footer .apple-icon {
  width: 20px;
  height: 20px;
}

.appstore-badge-footer .appstore-badge-sub {
  font-size: 8.5px;
}

.appstore-badge-footer .appstore-badge-main {
  font-size: 15px;
}

