:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --surface-soft: #e9f1ff;
  --text: #10213d;
  --muted: #4f6284;
  --accent: #1f5fbf;
  --accent-strong: #184c9b;
  --line: #cad8f2;
  --shadow: 0 18px 50px rgba(15, 44, 95, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 95% -5%, rgba(31, 95, 191, 0.18), transparent),
    radial-gradient(800px 380px at 5% 0%, rgba(124, 163, 235, 0.24), transparent),
    var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.banner {
  padding-bottom: clamp(2rem, 4vw, 3.1rem);
}

.banner-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #f5f8ff 0%, #eaf1ff 44%, #f8fbff 100%);
  box-shadow: 0 10px 30px rgba(15, 44, 95, 0.09);
}

.anchor-mark {
  width: clamp(60px, 8vw, 82px);
  height: clamp(60px, 8vw, 82px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(24, 76, 155, 0.22);
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.7);
}

.anchor-svg {
  width: 58%;
  height: 58%;
  animation: spin-anchor 6s linear infinite;
  transform-origin: 50% 50%;
}

.banner-title {
  font-size: clamp(2rem, 4.6vw, 3.7rem);
}

.banner-copy {
  color: var(--muted);
  margin: 0.75rem 0 0;
  max-width: 68ch;
}

.top-email {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--accent-strong);
  font-weight: 700;
  border-bottom: 1px solid rgba(24, 76, 155, 0.35);
  padding-bottom: 0.1rem;
}

.top-email .at {
  margin: 0 0.2rem;
}

.section-light {
  background: linear-gradient(180deg, #fdfeff 0%, #eff4ff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-accent {
  background: linear-gradient(145deg, #e4edff 0%, #edf3ff 45%, #f7faff 100%);
  border-top: 1px solid var(--line);
}

.section-showcase {
  position: relative;
  overflow: hidden;
}

.section-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 220px at 15% 6%, rgba(31, 95, 191, 0.12), transparent 72%),
    radial-gradient(640px 240px at 88% 5%, rgba(24, 76, 155, 0.12), transparent 74%);
  pointer-events: none;
}

.section-showcase > .container {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(244, 248, 255, 0.8);
  border-bottom: 1px solid rgba(16, 33, 61, 0.08);
}

.nav-wrap {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  font: inherit;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.8rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent-strong);
  font-size: 0.76rem;
  margin: 0 0 0.8rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
  padding: 0.36rem 0.62rem 0.36rem 0.36rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.88rem;
}

.app-badge img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: 1.12rem;
}

.lead,
.section-copy {
  color: var(--muted);
  max-width: 65ch;
  margin-top: 1.05rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #f4fbf9;
  background: linear-gradient(140deg, var(--accent) 0%, #1d4fa1 100%);
  box-shadow: 0 10px 20px rgba(31, 95, 191, 0.28);
}

.btn-ghost {
  color: var(--accent-strong);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.phone-stage {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-frame {
  width: min(300px, 76vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(165deg, #1e1e1d 0%, #070707 35%, #232a2f 100%);
  box-shadow: var(--shadow);
  transform: rotate(-7deg);
  position: relative;
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  display: block;
  background: #d6dfd1;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 24px;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  background: #111;
  z-index: 2;
}

.feature-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.step-card {
  display: flex;
  flex-direction: column;
}

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

.step-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.2rem 0.35rem;
}

.step-mockup {
  width: min(240px, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
  padding: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #1b1f2a 0%, #05080f 38%, #182643 100%);
  box-shadow: 0 14px 30px rgba(8, 25, 58, 0.28);
}

.step-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 20px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  background: #080d17;
  z-index: 2;
}

.step-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 0;
  background: #0f1d38;
}

.step-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-strong);
  margin-top: 1.35rem;
}

.contact-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.email-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--accent-strong);
  border: 1px solid rgba(24, 76, 155, 0.28);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
}

.email-link .at {
  margin: 0 0.25rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 2rem;
}

.site-footer p {
  color: var(--muted);
  margin: 0;
}

@keyframes spin-anchor {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .banner-wrap {
    grid-template-columns: 1fr;
    text-align: left;
  }

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

  .phone-frame {
    transform: rotate(-4deg);
  }

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

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

  .step-panel {
    max-width: 320px;
    margin-inline: auto;
    width: 100%;
    padding-inline: 0;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 4vw;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    min-width: 150px;
  }

  .nav.open {
    display: flex;
  }
}
