:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --ink: #10131a;
  --muted: #5e6678;
  --line: #dce1ea;
  --brand: #4c83ff;
  --brand-dark: #2457d6;
  --accent: #1d9a8a;
  --shadow: 0 18px 60px rgba(28, 37, 66, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 225, 234, 0.8);
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(76, 131, 255, 0.28);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(76, 131, 255, 0.24);
}

.button.secondary {
  background: white;
  color: var(--brand-dark);
  box-shadow: none;
}

.button:hover { text-decoration: none; }

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 72px);
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(44px, 7vw, 86px);
}

h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 21px; }

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual { display: grid; gap: 18px; }

.transformation-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.hero-copy h1 {
  max-width: 720px;
}

.desktop-mail {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 19, 26, 0.12);
  border-radius: 14px;
  background: #edf0f5;
  box-shadow: var(--shadow);
}

.mock-label {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: #343b4b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.desktop-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #d7dce7;
  background: #e8ebf1;
  color: #4a5262;
  font-size: 13px;
}

.desktop-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #c5cbd8;
}

.desktop-bar strong {
  margin-left: 8px;
}

.desktop-shell {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 430px;
}

.mail-sidebar {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 18px 10px;
  border-right: 1px solid #d7dce7;
  background: #f5f7fb;
  color: #6b7280;
  font-size: 12px;
}

.mail-sidebar span {
  padding: 8px 10px;
  border-radius: 999px;
}

.mail-sidebar .compose-fake {
  width: max-content;
  margin-bottom: 10px;
  background: #dbe7ff;
  color: #2457d6;
  font-weight: 800;
}

.mail-sidebar .side-active {
  background: #e7ebf3;
  color: #161a22;
  font-weight: 800;
}

.mail-main {
  min-width: 0;
  background: white;
}

.search-fake {
  margin: 12px 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #f1f3f7;
  color: #9aa2b1;
  font-size: 12px;
}

.mail-toolbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #d7dce7;
  background: white;
  color: #697183;
  font-size: 12px;
  font-weight: 700;
}

.mail-toolbar span {
  padding: 12px 14px;
  border-right: 1px solid #e5e8ef;
}

.boring-inbox {
  background: white;
}

.inbox-row {
  display: grid;
  grid-template-columns: 14px 96px minmax(100px, 0.8fr) minmax(150px, 1fr) 64px;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border-bottom: 1px solid #e7eaf1;
  color: #4b5362;
  font-size: 13px;
}

.inbox-row i {
  width: 12px;
  height: 12px;
  border: 1px solid #c8ced9;
  border-radius: 2px;
}

.inbox-row.unread {
  color: #161a22;
  font-weight: 700;
}

.inbox-row span,
.inbox-row em,
.inbox-row time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-row em {
  color: #747c8c;
  font-style: normal;
}

.inbox-row time {
  color: #747c8c;
  text-align: right;
  font-size: 12px;
}

.to-this {
  position: relative;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

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

.modern-feed-stage {
  position: relative;
  max-width: 820px;
  margin: 38px auto 0;
}

.modern-phone {
  max-width: 470px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(16, 19, 26, 0.12);
  border-radius: 36px;
  background: #10131a;
  box-shadow: var(--shadow);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 24px 24px 0 0;
  background: white;
}

.phone-status span {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: #c8cfdd;
}

.feed-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 10px 14px;
  background: white;
}

.feed-tabs strong,
.feed-tabs span {
  padding: 7px 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
}

.feed-tabs strong {
  background: #eef2ff;
  color: #2457d6;
}

.feed-tabs span {
  color: var(--muted);
}

.demo-hint {
  margin: 0;
  padding: 0 18px 10px;
  background: white;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.summary-showcase {
  display: grid;
  gap: 0;
  max-height: 690px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  border-radius: 0 0 24px 24px;
  background: white;
}

.summary-card {
  padding: 18px;
  border: 0;
  border-top: 1px solid rgba(220, 225, 234, 0.9);
  border-radius: 0;
  background: var(--panel);
  box-shadow: none;
}

.card-meta {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.card-meta small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.card-meta time {
  color: var(--muted);
  font-size: 12px;
}

.logo-chip {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: white;
  font-weight: 900;
}

.logo-chip.blue { background: linear-gradient(140deg, #4c83ff, #1d9a8a); }
.logo-chip.green { background: linear-gradient(140deg, #1d9a8a, #6f9f35); }
.logo-chip.purple { background: linear-gradient(140deg, #8a6bff, #4c83ff); }

.summary-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.summary-card p {
  margin: 0;
  color: #343b4b;
}

.product-carousel {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.product-carousel button {
  flex: 0 0 86%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #eef2f8;
  cursor: zoom-in;
  overflow: hidden;
  scroll-snap-align: start;
}

.product-carousel img {
  display: block;
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.card-actions span,
.card-actions a,
.copy-code {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafc;
  color: #343b4b;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.card-actions a:hover {
  text-decoration: none;
}

.copy-code.copied {
  border-color: rgba(29, 154, 138, 0.4);
  background: #e9f8f5;
  color: #0b7468;
}

.comment-preview {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f2f4f8;
  color: #343b4b;
}

.comment-preview span {
  color: var(--muted);
}

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

.privacy-callout {
  padding-bottom: 88px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(16, 19, 26, 0.82);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  max-width: min(920px, 96vw);
  max-height: 82vh;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: white;
  font-weight: 800;
}

.phone {
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: 38px;
  background: #10131a;
  padding: 14px;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 580px;
  overflow: hidden;
  border-radius: 28px;
  background: white;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.app-top img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.app-pill {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #c8cfdd;
}

.feed-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(140deg, #4c83ff, #1d9a8a);
}

.feed-line {
  height: 10px;
  margin-top: 9px;
  border-radius: 999px;
  background: #dce1ea;
}

.feed-line.short { width: 62%; }
.feed-line.medium { width: 82%; }

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.image-strip span {
  aspect-ratio: 1.25;
  border-radius: 8px;
  background: linear-gradient(140deg, #e8f3ff, #eef2ff 48%, #d8f7ef);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

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

.tile {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(28, 37, 66, 0.06);
}

.tile p { color: var(--muted); }

.page {
  max-width: 860px;
  padding: 56px 0 88px;
}

.page h1 { font-size: clamp(38px, 5vw, 64px); }
.page h2 { margin-top: 42px; font-size: 28px; }
.page h3 { margin-top: 26px; }
.page p, .page li { color: #343b4b; }

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: white;
  color: #343b4b;
}

.legal-list { padding-left: 22px; }

.footer {
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

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

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

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

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

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

  .inbox-row {
    grid-template-columns: 14px 82px 1fr 52px;
  }

  .inbox-row em {
    display: none;
  }

  .desktop-shell {
    grid-template-columns: 1fr;
  }

  .mail-sidebar {
    display: none;
  }

  .mail-toolbar span {
    padding: 10px;
  }

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

  .phone-screen { min-height: 470px; }
  .grid { grid-template-columns: 1fr; }
}
