:root {
  color-scheme: light;
  --ink: #10151f;
  --text: #1f2937;
  --muted: #647084;
  --line: #d9e0ea;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --blue: #2563eb;
  --blue-dark: #173a8a;
  --green: #0f766e;
  --amber: #b45309;
  --shadow: 0 18px 50px rgba(16, 21, 31, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(217, 224, 234, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  color: var(--ink);
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 6px;
  color: #344054;
  text-decoration: none;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #edf2ff;
  color: var(--blue-dark);
  outline: none;
}

.hero {
  min-height: 86vh;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 21, 31, 0.92) 0%, rgba(16, 21, 31, 0.78) 42%, rgba(16, 21, 31, 0.28) 100%),
    url("ipad-email-viewer.png") right center / cover no-repeat;
}

.hero-inner,
.section-inner,
.legal-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  width: min(680px, 100%);
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #c7d2fe;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  max-width: 9ch;
}

.hero-lede {
  margin: 24px 0 0;
  width: min(620px, 100%);
  color: #e8edf6;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.button,
.button-secondary,
.button-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 7px;
  font-weight: 720;
  text-decoration: none;
  border: 1px solid transparent;
}

.button {
  background: #fff;
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button-quiet {
  border-color: var(--line);
  color: var(--blue-dark);
  background: #fff;
}

.launch-note {
  margin-top: 18px;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.section {
  padding: 78px 0;
}

.section.soft {
  background: var(--soft);
}

.section-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-header h2,
.legal-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-header p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid,
.proof-grid,
.support-grid,
.metadata-grid {
  display: grid;
  gap: 16px;
}

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

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

.support-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

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

.feature,
.proof,
.support-panel,
.metadata-card,
.legal-callout,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.feature strong,
.proof strong,
.metadata-card strong,
.faq-item strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.feature p,
.proof p,
.metadata-card p,
.faq-item p,
.support-panel p {
  margin: 0;
  color: var(--muted);
}

.icon-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.icon-mark.green {
  background: var(--green);
}

.icon-mark.amber {
  background: var(--amber);
}

.showcase {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
}

.showcase-copy ul,
.legal-inner ul,
.legal-inner ol {
  padding-left: 20px;
}

.showcase-copy li,
.legal-inner li {
  margin: 10px 0;
}

.screenshot-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.split-band {
  background: var(--ink);
  color: #e6edf7;
}

.split-band h2,
.split-band h3 {
  color: #fff;
}

.split-band .section-header p,
.split-band p {
  color: #c9d4e3;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: #fff;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

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

.page-hero {
  padding: 72px 0 48px;
  background: var(--soft);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.legal-inner {
  max-width: 900px;
  padding: 56px 0 84px;
}

.legal-inner h2 {
  margin-top: 42px;
  font-size: 1.55rem;
}

.legal-inner h3 {
  margin-top: 28px;
  font-size: 1.15rem;
}

.legal-inner p {
  color: #344054;
}

.legal-meta {
  color: var(--muted);
  margin-top: 12px;
}

.legal-callout {
  border-left: 4px solid var(--blue);
  margin: 28px 0;
}

.compact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.compact-list div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.compact-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #eef2f7;
  padding: 2px 5px;
  border-radius: 5px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 78vh;
    background:
      linear-gradient(180deg, rgba(16, 21, 31, 0.94) 0%, rgba(16, 21, 31, 0.72) 70%, rgba(16, 21, 31, 0.56) 100%),
      url("ipad-email-viewer.png") center bottom / cover no-repeat;
  }

  .feature-grid,
  .proof-grid,
  .support-grid,
  .metadata-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-copy {
    padding: 58px 0 72px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .section {
    padding: 56px 0;
  }

  .feature,
  .proof,
  .support-panel,
  .metadata-card,
  .legal-callout,
  .faq-item {
    padding: 18px;
  }
}
