:root {
  --bg: #f4f1eb;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --surface-dark: #141b2b;
  --text: #102033;
  --muted: #58667a;
  --line: rgba(16, 32, 51, 0.1);
  --primary: #1f6fff;
  --primary-dark: #1254c8;
  --accent: #9fe3cf;
  --accent-soft: #dff6ef;
  --shadow: 0 24px 80px rgba(12, 31, 61, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 255, 0.12), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(159, 227, 207, 0.4), transparent 22%),
    linear-gradient(180deg, #fbfaf7 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 18px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--primary), #5ea4ff);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
}

.brand-text,
.eyebrow,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav a:hover {
  color: var(--text);
}

.hero,
.split-section,
.premium-card {
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: center;
  padding: 48px;
  margin-top: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.hero-text,
.section-heading p,
.feature-card p,
.split-copy p,
.premium-card p,
.footer p,
.footer a {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.hero-actions,
.premium-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.hero-points,
.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--text);
}

.hero-points li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 5px rgba(31, 111, 255, 0.09);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device {
  position: absolute;
  width: min(100%, 300px);
  aspect-ratio: 0.5;
  padding: 14px;
  border-radius: 40px;
  background: #0f1727;
  box-shadow: 0 24px 60px rgba(11, 26, 49, 0.2);
}

.device::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 32%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #0a0f1a;
}

.device-back {
  top: 44px;
  right: 16px;
  transform: rotate(9deg);
}

.device-front {
  bottom: 40px;
  left: 22px;
  transform: rotate(-7deg);
}

.screen-placeholder,
.shot-frame {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(31, 111, 255, 0.16), rgba(159, 227, 207, 0.14));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: white;
}

.device-screen {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 30px;
  background: #080b12;
}

.device-screen-accent {
  object-position: center center;
}

.screen-placeholder span,
.shot-frame span {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.screen-placeholder small,
.shot-frame small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.accent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(31, 111, 255, 0.32), rgba(159, 227, 207, 0.22));
}

.metric-card {
  position: absolute;
  padding: 18px 20px;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(13, 30, 59, 0.15);
}

.metric-card strong,
.summary-strip strong,
.comparison-row strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
}

.metric-card span,
.summary-strip span,
.comparison-row span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.metric-top {
  top: 18px;
  left: 0;
}

.metric-bottom {
  right: 0;
  bottom: 0;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.summary-strip article,
.feature-card,
.shot-card,
.comparison-card,
.premium-card,
.footer {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.summary-strip article {
  padding: 22px;
  border-radius: 22px;
}

.section {
  padding: 84px 0 0;
}

.section-heading {
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.feature-card {
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.feature-card-large {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(31, 111, 255, 0.08), rgba(159, 227, 207, 0.2)),
    rgba(255, 255, 255, 0.8);
}

.feature-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
  margin-top: 28px;
  align-items: start;
}

.shot-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  min-height: 320px;
}

.shot-card-portrait {
  min-height: 540px;
}

.shot-card-tall {
  grid-row: span 2;
  min-height: 760px;
}

.shot-card-wide {
  grid-column: 2 / 4;
  min-height: 360px;
}

.shot-frame {
  border-color: rgba(16, 32, 51, 0.14);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 249, 255, 0.92)),
    linear-gradient(135deg, rgba(31, 111, 255, 0.06), rgba(159, 227, 207, 0.14));
}

.shot-frame-filled {
  padding: 0;
  overflow: hidden;
  border-style: solid;
  background: #0d1320;
}

.shot-frame-dark {
  background: #0d1320;
}

.shot-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  padding: 14px;
  background: #0d1320;
}

.shot-image-contain {
  object-fit: contain;
  object-position: center center;
  padding: 18px;
  background: #0d1320;
}

.shot-frame small {
  color: var(--muted);
}

.shot-frame-landscape {
  border-radius: 26px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
  padding: 34px;
  margin-top: 84px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(223, 246, 239, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.92);
}

.legal-page {
  padding-top: 32px;
}

.legal-hero {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
  box-shadow: var(--shadow);
}

.legal-layout {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.legal-section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
}

.legal-section p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.8;
}

.legal-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.legal-list li {
  margin-bottom: 16px;
  line-height: 1.8;
}

.comparison-card {
  padding: 18px;
  border-radius: 28px;
}

.comparison-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px;
  border-radius: 18px;
}

.comparison-row + .comparison-row {
  border-top: 1px solid var(--line);
}

.premium-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 255, 0.18), transparent 25%),
    linear-gradient(135deg, #0f1d34, #19345c);
  color: white;
}

.premium-card p,
.premium-card .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.premium-card .button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  margin-top: 84px;
  padding: 34px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 255, 0.24), transparent 26%),
    linear-gradient(145deg, #0d1627, #142540 58%, #102033);
  box-shadow: 0 28px 80px rgba(7, 15, 28, 0.28);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #1f6fff, #5ea4ff 48%, #9fe3cf);
}

.footer > div:first-child {
  max-width: 560px;
}

.footer strong {
  display: block;
  margin-bottom: 12px;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer p + p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.95rem;
}

.footer div:last-child {
  display: grid;
  gap: 12px;
  justify-items: end;
  align-content: start;
  text-align: right;
}

.footer a {
  color: white;
}

.footer div:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  line-height: 1.4;
  overflow-wrap: anywhere;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.footer div:last-child a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .showcase-grid,
  .feature-grid,
  .summary-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 34px;
  }

  .hero-visual {
    min-height: 700px;
  }

  .feature-card-large,
  .shot-card-wide,
  .shot-card-tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .shot-card-portrait {
    min-height: 620px;
  }

  .shot-card-wide {
    min-height: 340px;
  }

  .split-section {
    padding: 28px;
  }

  .legal-hero,
  .legal-section {
    padding: 28px;
  }

  .comparison-card {
    min-width: 0;
  }

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

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 12px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
    padding: 18px;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(31, 111, 255, 0.06);
    color: var(--text);
  }

  .hero {
    padding: 24px;
    border-radius: 28px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.3rem, 13vw, 3.5rem);
  }

  .hero-visual {
    min-height: 540px;
  }

  .device {
    width: 220px;
    border-radius: 28px;
  }

  .screen-placeholder,
  .shot-frame,
  .device-screen {
    border-radius: 20px;
  }

  .device-back {
    top: 18px;
    right: 0;
  }

  .device-front {
    bottom: 50px;
    left: 0;
  }

  .metric-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .summary-strip article,
  .feature-card,
  .shot-card,
  .premium-card,
  .footer {
    border-radius: 22px;
  }

  .shot-card-portrait,
  .shot-card-tall {
    min-height: 500px;
  }

  .shot-card-wide {
    min-height: 260px;
  }

  .section {
    padding-top: 64px;
  }

  .premium-card,
  .footer,
  .split-section {
    padding: 24px;
  }

  .legal-hero,
  .legal-section {
    padding: 24px;
    border-radius: 22px;
  }

  .footer div:last-child {
    width: 100%;
    justify-items: stretch;
    text-align: left;
  }

  .footer div:last-child a {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
  }
}
