:root {
  --bg: #f5efe7;
  --panel: rgba(255, 251, 246, 0.88);
  --panel-strong: #fffdf9;
  --text: #171312;
  --muted: #675c56;
  --line: rgba(23, 19, 18, 0.1);
  --line-strong: rgba(255, 255, 255, 0.24);
  --ink-blue: #17364b;
  --sky: #67bfd0;
  --ember: #f08e55;
  --rose: #efb0a4;
  --shadow: 0 24px 70px rgba(23, 19, 18, 0.12);
  --radius: 28px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(103, 191, 208, 0.24), transparent 24rem),
    radial-gradient(circle at 85% 12%, rgba(240, 142, 85, 0.22), transparent 20rem),
    linear-gradient(180deg, #f8f2ea 0%, #f3ece5 100%);
}

a {
  color: inherit;
}

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

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 242, 234, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.site-shell {
  min-height: 100vh;
}

.hero,
.page-hero,
.section {
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.section-head h2 {
  margin: 1rem 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero-copy p,
.page-hero p,
.section-head p,
.callout p,
.feature-card p,
.faq-card p,
.legal-card p,
.download-panel p,
.footer-copy {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  background: rgba(23, 54, 75, 0.08);
  color: var(--ink-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-row,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, var(--ink-blue), var(--sky));
  box-shadow: 0 18px 34px rgba(23, 54, 75, 0.22);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.button:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
}

.hero-stats dt {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
}

.hero-panel {
  position: relative;
  min-height: 600px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.26), transparent 14rem),
    linear-gradient(180deg, #234b61 0%, #102635 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
}

.phone-stack {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.phone-card {
  position: absolute;
  width: min(270px, 42%);
  margin: 0;
  padding: 0.8rem;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.phone-card img {
  border-radius: 28px;
}

.tilt-left {
  transform: translate(-18%, 3%) rotate(-10deg);
}

.tilt-right {
  transform: translate(20%, -8%) rotate(10deg);
}

.callout-grid,
.feature-grid,
.faq-grid,
.legal-layout {
  display: grid;
  gap: 1.25rem;
}

.callout-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.callout,
.download-panel,
.feature-card,
.faq-card,
.legal-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.callout,
.feature-card,
.faq-card,
.legal-card {
  padding: 1.5rem;
}

.callout.accent {
  background: linear-gradient(135deg, rgba(239, 176, 164, 0.22), rgba(103, 191, 208, 0.18));
}

.callout h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

.feature-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card h3,
.faq-card h3,
.legal-card h2,
.shot-card figcaption {
  margin: 0 0 0.6rem;
}

.section-dark {
  color: #f7f5f2;
  background:
    radial-gradient(circle at top left, rgba(103, 191, 208, 0.18), transparent 22rem),
    linear-gradient(180deg, #102635 0%, #163447 100%);
}

.section-head-light p,
.section-dark .shot-card figcaption {
  color: rgba(247, 245, 242, 0.78);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.shot-card {
  margin: 0;
  padding: 0.9rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
}

.shot-card img {
  width: 100%;
  border-radius: 22px;
}

.shot-card figcaption {
  margin-top: 0.8rem;
  font-weight: 700;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
}

.legal-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 2rem 0 3rem;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .callout-grid,
  .download-panel,
  .feature-grid,
  .faq-grid,
  .legal-layout,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 500px;
  }

  .phone-card {
    width: min(260px, 48%);
  }
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }

  .hero,
  .page-hero,
  .section {
    padding: 3rem 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 420px;
  }

  .phone-card {
    width: min(220px, 56%);
  }

  .tilt-left {
    transform: translate(-12%, 6%) rotate(-8deg);
  }

  .tilt-right {
    transform: translate(12%, -5%) rotate(8deg);
  }
}
