:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #111827;
  --ink: #111827;
  --muted: #44546a;
  --line: #d8e0ec;
  --paper: #ffffff;
  --blue: #1d4ed8;
  --teal: #0f766e;
  --amber: #b45309;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f5f7fb;
}

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

a {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 5;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

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

.links a {
  color: #344256;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.links a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: min(760px, 74vh);
  overflow: hidden;
  background-image: url("/assets/session-rescue-hero.png");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(245, 247, 251, 0.98) 0%, rgba(245, 247, 251, 0.9) 34%, rgba(245, 247, 251, 0.18) 68%, rgba(245, 247, 251, 0.02) 100%);
}

.hero-content {
  position: relative;
  display: flex;
  min-height: min(760px, 74vh);
  flex-direction: column;
  justify-content: center;
  padding: 64px 0;
}

h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.16;
  letter-spacing: 0;
}

p,
li {
  color: var(--muted);
  line-height: 1.62;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: #233044;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 760;
  padding: 0 18px;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(17, 24, 39, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-strip span {
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #263449;
  font-weight: 700;
  padding: 9px 12px;
}

.product-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 54px 0;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: center;
}

.product-layout img,
.page-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 48px 0 64px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.feature-card h2 {
  font-size: 22px;
}

.page {
  max-width: 840px;
  padding: 56px 0 76px;
}

.page h1 {
  font-size: 48px;
}

.page h2 {
  margin-top: 36px;
  font-size: 26px;
}

.lede {
  color: #263449;
  font-size: 18px;
}

.page-visual {
  margin: 28px 0 8px;
}

code {
  border-radius: 4px;
  background: #eaf0f7;
  color: #172033;
  padding: 2px 5px;
}

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

  .hero,
  .hero-content {
    min-height: 70vh;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(245, 247, 251, 0.98) 0%, rgba(245, 247, 251, 0.92) 54%, rgba(245, 247, 251, 0.16) 100%);
  }

  h1,
  .page h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 18px;
  }

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

@media (max-width: 380px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  h1,
  .page h1 {
    font-size: 34px;
  }

  .button {
    width: 100%;
  }
}
