:root {
  --bg: #f8f9ff;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --brand: #0f5de7;
  --brand-soft: #3d8bff;
  --accent: #ff6a3d;
  --line: rgba(15, 23, 42, 0.1);
  --ring: rgba(15, 93, 231, 0.24);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --shadow-md: 0 16px 36px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 540px at 90% -20%, rgba(61, 139, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255, 106, 61, 0.18), transparent 55%),
    linear-gradient(180deg, #fcfdff 0%, #f3f7ff 56%, #eef4ff 100%);
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 90%);
}

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

a {
  color: inherit;
}

.container {
  width: min(1140px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.topbar-wrap {
  padding-top: 1rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--brand) 10%, var(--accent) 120%);
  box-shadow: 0 6px 18px rgba(15, 93, 231, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav a {
  font-size: 0.95rem;
  color: #334155;
  text-decoration: none;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--line);
  background: rgba(15, 93, 231, 0.07);
  outline: none;
}

.hero {
  padding: 2.7rem 0 2.3rem;
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: #1e293b;
  margin: 0;
  max-width: 62ch;
}

.cta-row {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 14px;
  padding: 0.78rem 1.08rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(130deg, var(--brand), var(--brand-soft));
  box-shadow: 0 12px 26px rgba(15, 93, 231, 0.3);
}

.btn-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.helper-line {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.metric-strip {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.85);
}

.metric strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.visual-stack {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #e7f1ff 0%, #f6f7ff 65%, #fff7f4 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 1.1rem;
  box-shadow: var(--shadow-lg);
  min-height: 500px;
}

.phone-tile {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
  background: #ffffff;
}

.phone-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-a {
  width: min(220px, 38vw);
  aspect-ratio: 706 / 1600;
  top: 14px;
  left: 10%;
  transform: rotate(-6deg);
}

.phone-b {
  width: min(230px, 40vw);
  aspect-ratio: 706 / 1600;
  top: 56px;
  right: 8%;
  transform: rotate(5deg);
}

.phone-c {
  width: min(260px, 44vw);
  aspect-ratio: 1150 / 866;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.content-block {
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  padding: 1.35rem;
}

.content-block h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 3.1vw, 2.35rem);
  margin-bottom: 0.8rem;
}

.takeaway-list {
  margin: 0;
  padding-left: 1.1rem;
}

.takeaway-list li {
  margin: 0.45rem 0;
}

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

.feature-card,
.use-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}

.feature-card h3,
.use-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.feature-card p,
.use-card p,
.content-block p {
  margin: 0.4rem 0;
  color: #334155;
}

.process {
  margin: 0;
  padding-left: 1.1rem;
}

.process li {
  margin: 0.65rem 0;
}

.compare-table {
  margin-top: 1rem;
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
}

.compare-table th,
.compare-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.72rem;
  font-size: 0.95rem;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table th {
  background: rgba(15, 93, 231, 0.08);
  font-weight: 700;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 0.9rem;
  margin-bottom: 0.68rem;
}

.faq-item h3 {
  font-size: 1.03rem;
  margin-bottom: 0.35rem;
}

.faq-item p {
  margin: 0;
}

.download-panel {
  text-align: center;
  padding: 2.2rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #0f5de7 0%, #2f79ff 55%, #ff6a3d 170%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.download-panel h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.download-panel p {
  margin: 0.65rem auto 1rem;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.9);
}

.download-panel .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.footer {
  margin-top: 1.6rem;
  padding: 1rem 0 2rem;
  color: #334155;
  font-size: 0.92rem;
}

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

.footer-links {
  display: inline-flex;
  gap: 0.8rem;
}

.footer-links a {
  text-decoration: none;
  color: #1d4ed8;
}

.hub {
  min-height: 85vh;
  display: grid;
  place-items: center;
  padding: 3rem 0 2rem;
}

.hub-card {
  width: min(860px, calc(100% - 2rem));
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

.hub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hub-grid img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.reveal.delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 980px) {
  .hero-grid,
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    min-height: 420px;
  }

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

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

@media (max-width: 700px) {
  .container {
    width: min(1140px, calc(100% - 1.2rem));
  }

  .topbar {
    border-radius: 18px;
    padding: 0.65rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
  }

  .nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .phone-a {
    left: 2%;
    width: 40vw;
  }

  .phone-b {
    right: 2%;
    width: 42vw;
  }

  .phone-c {
    width: 52vw;
  }

  .content-block {
    padding: 1.05rem;
  }

  .feature-grid,
  .use-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
  }

  .download-panel {
    text-align: left;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
