/*
 * Seamark homepage presentation.
 * The shared site.css continues to serve legal pages; this file intentionally
 * owns the landing page so responsive refinements do not accumulate as
 * competing overrides in the shared stylesheet.
 */

.home-page {
  --home-bg: #f7f9fc;
  --home-surface: #ffffff;
  --home-soft: #edf3ff;
  --home-ink: #16243a;
  --home-muted: #5c6878;
  --home-blue: #2868ed;
  --home-blue-dark: #1553cf;
  --home-line: rgba(31, 58, 94, 0.11);
  --home-max: 1240px;
  --home-reading: 62ch;
  color: var(--home-ink);
  background: var(--home-bg);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

.home-page::before {
  opacity: 0.018;
}

.home-page .site-header {
  position: absolute;
  color: var(--home-ink);
  border-bottom: 1px solid rgba(31, 58, 94, 0.08);
  background: rgba(247, 249, 252, 0.86);
  box-shadow: none;
  filter: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-page .nav-shell {
  width: min(calc(100% - 56px), var(--home-max));
  min-height: 78px;
}

.home-page .brand {
  color: var(--home-ink);
  font-weight: 720;
}

.home-page .brand img,
.home-page .site-header:not(.site-header--paper) .brand img {
  border: 0;
  box-shadow: none;
}

.home-page .nav-links {
  gap: 1.55rem;
  color: #4f5e72;
  font-size: 0.87rem;
}

.home-page .nav-links a:not(.nav-cta) {
  opacity: 0.84;
}

.home-page .nav-cta {
  padding: 0.68rem 1.05rem;
  color: #fff;
  border-color: var(--home-blue);
  background: var(--home-blue);
  box-shadow: none;
}

.home-page .nav-cta:hover {
  color: #fff;
  background: var(--home-blue-dark);
  transform: translateY(-1px);
}

.home-page .home-hero {
  min-height: min(860px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--home-ink);
  background:
    linear-gradient(100deg, rgba(247, 249, 252, 0.98) 0%, rgba(247, 249, 252, 0.92) 46%, rgba(229, 238, 255, 0.60) 100%),
    url("gen-hero.webp") center / cover no-repeat,
    var(--home-bg);
}

.home-page .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background:
    radial-gradient(circle at 74% 30%, rgba(40, 104, 237, 0.10), transparent 27rem),
    radial-gradient(circle at 16% 94%, rgba(133, 211, 239, 0.18), transparent 30rem);
  mask-image: none;
}

.home-page .home-hero__content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 56px), var(--home-max));
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(560px, 1.12fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  margin: 0 auto;
  padding: 118px 0 52px;
}

.home-page .hero-copy {
  max-width: 550px;
}

.home-page .eyebrow {
  margin-bottom: 1.1rem;
  color: var(--home-blue);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.2em;
}

.home-page .eyebrow::before {
  width: 34px;
  height: 1px;
  background: var(--home-blue);
  box-shadow: none;
}

.home-page .hero-copy h1,
.home-page .section-heading h2,
.home-page .provider-line h2,
.home-page .privacy-statement,
.home-page .cta-band h2 {
  color: var(--home-ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  text-wrap: balance;
}

.home-page .hero-copy h1 {
  max-width: 11.2ch;
  font-size: clamp(4.35rem, 6.6vw, 6.35rem);
  font-weight: 720;
  line-height: 0.91;
  letter-spacing: -0.07em;
}

.home-page .hero-copy h1 span {
  display: block;
  color: var(--home-blue);
  text-shadow: none;
}

.home-page .hero-lead {
  max-width: 44ch;
  margin-top: 1.6rem;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.home-page .hero-actions {
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.home-page .button {
  min-height: 52px;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 730;
  box-shadow: none;
}

.home-page .button:hover {
  transform: translateY(-1px);
}

.home-page .button--light,
.home-page .button--blue {
  color: #fff;
  background: var(--home-blue);
  box-shadow: none;
}

.home-page .button--light:hover,
.home-page .button--blue:hover {
  color: #fff;
  background: var(--home-blue-dark);
  box-shadow: none;
}

.home-page .button--quiet {
  display: inline-flex;
  min-height: 52px;
  padding: 0.82rem 1.15rem;
  color: #355271;
  border: 1px solid rgba(43, 73, 111, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

.home-page .hero-actions .button--quiet {
  display: inline-flex;
}

.home-page .button--quiet:hover {
  color: var(--home-blue-dark);
  border-color: rgba(40, 104, 237, 0.42);
  background: rgba(255, 255, 255, 0.88);
}

.home-page .hero-stage {
  position: relative;
  min-width: 0;
  min-height: 520px;
  isolation: isolate;
  perspective: 1400px;
}

.home-page .hero-stage::before {
  content: "";
  position: absolute;
  inset: 16% 0 5% 10%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(40, 104, 237, 0.11);
  filter: blur(66px);
}

.home-page .device-capture {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(42, 67, 99, 0.14);
  background: #fff;
  box-shadow: 0 18px 45px rgba(24, 53, 91, 0.13);
  transform-origin: 50% 100%;
}

.home-page .device-capture img {
  width: 100%;
  height: auto;
}

.home-page .device-capture--ten {
  top: 6%;
  right: 0;
  z-index: 1;
  width: 88%;
  border-radius: 22px;
  animation: home-device-ten 0.75s var(--ease) 0.06s both;
}

.home-page .device-capture--seven {
  left: 0;
  bottom: 3%;
  z-index: 2;
  width: 69%;
  border-radius: 19px;
  animation: home-device-seven 0.75s var(--ease) 0.16s both;
}

.home-page .device-capture--phone {
  right: 4%;
  bottom: 0;
  z-index: 3;
  width: 22%;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 16px 38px rgba(24, 53, 91, 0.17);
  animation: home-device-phone 0.75s var(--ease) 0.26s both;
}

.home-page .device-capture--ten:hover {
  transform: translate3d(-3px, -3px, 14px);
}

.home-page .device-capture--seven:hover {
  transform: translate3d(3px, -4px, 20px);
}

.home-page .device-capture--phone:hover {
  transform: translate3d(-2px, -5px, 28px);
}

.home-page .section {
  position: relative;
  padding: 112px 0 124px;
  color: var(--home-ink);
  background: var(--home-bg);
}

.home-page .section--tight {
  padding: 96px 0 108px;
}

.home-page .section--access,
.home-page #premium {
  background: var(--home-soft);
}

.home-page #gmail-access {
  background: var(--home-surface);
}

.home-page .section--navy {
  color: var(--home-ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(40, 104, 237, 0.07), transparent 26rem),
    #f4f7fb;
}

.home-page .section-shell,
.home-page .footer-shell {
  width: min(calc(100% - 56px), 1120px);
}

.home-page .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.82fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  padding-bottom: 0;
  border: 0;
}

.home-page .section-heading h2,
.home-page .provider-line h2,
.home-page .cta-band h2 {
  max-width: 15ch;
  font-size: clamp(2.75rem, 4.25vw, 4.1rem);
  font-weight: 670;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.home-page .section-heading p {
  max-width: var(--home-reading);
  margin: 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.home-page .feature-list,
.home-page .benefit-list,
.home-page .detail-list {
  display: grid;
  margin-top: 4.5rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.home-page .feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.4rem clamp(3rem, 6vw, 6rem);
}

.home-page .benefit-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5rem);
}

.home-page .detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.2rem clamp(3rem, 6vw, 6rem);
}

.home-page .feature-row,
.home-page .benefit-list article,
.home-page .detail-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.65rem 1rem;
  align-content: start;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: transform 0.22s var(--ease);
}

.home-page .feature-row:hover,
.home-page .benefit-list article:hover,
.home-page .detail-list article:hover {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.home-page .feature-row::before,
.home-page .benefit-list article > span,
.home-page .detail-list article > span {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: var(--home-blue);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.home-page .feature-row h3,
.home-page .benefit-list h3,
.home-page .detail-list h3 {
  grid-column: 2;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
  font-weight: 660;
  line-height: 1.26;
  letter-spacing: -0.03em;
}

.home-page .feature-row p,
.home-page .benefit-list p,
.home-page .detail-list p {
  grid-column: 2;
  margin: 0;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.home-page .scope-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: 4.5rem;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.home-page #gmail-access .scope-note {
  background: var(--home-soft);
}

.home-page .scope-note p {
  max-width: var(--home-reading);
  margin: 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.home-page .scope-note a,
.home-page .privacy-links a,
.home-page code {
  color: var(--home-blue-dark);
}

.home-page code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.home-page .privacy-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: start;
  margin-top: 4.8rem;
}

.home-page .privacy-statement {
  max-width: 18ch;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2rem, 3.1vw, 3.05rem);
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.home-page .privacy-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.65rem 2.8rem;
  margin: 0;
  padding: 0;
}

.home-page .privacy-points li {
  position: relative;
  padding: 0 0 0 1.15rem;
  border: 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.66;
}

.home-page .privacy-points li::before {
  top: 0.6rem;
  left: 0;
  width: 5px;
  height: 5px;
  border: 0;
  border-radius: 50%;
  background: var(--home-blue);
  box-shadow: none;
}

.home-page .privacy-links {
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.home-page .privacy-links a {
  font-size: 0.9rem;
  font-weight: 700;
}

.home-page .provider-line {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: start;
}

.home-page .provider-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.55rem 3rem;
  border: 0;
}

.home-page .provider-status div {
  display: grid;
  gap: 0.18rem;
  padding: 0;
  border: 0;
}

.home-page .provider-status span:first-child {
  color: var(--home-ink);
  font-weight: 650;
}

.home-page .provider-status span:last-child {
  color: #758195;
  text-align: left;
  font-size: 0.84rem;
}

.home-page .status-live {
  color: var(--home-blue) !important;
}

.home-page .cta-band {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px 0;
  color: var(--home-ink);
  background:
    linear-gradient(95deg, rgba(247, 249, 252, 0.96), rgba(226, 237, 255, 0.72)),
    url("gen-hero.webp") center / cover no-repeat;
}

.home-page .cta-band::before,
.home-page .cta-band::after {
  display: none;
}

.home-page .cta-band .section-shell {
  width: min(calc(100% - 56px), 1120px);
}

.home-page .cta-band h2 {
  max-width: 14ch;
}

.home-page .cta-band p {
  max-width: 56ch;
  color: var(--home-muted);
  line-height: 1.7;
}

.home-page .site-footer {
  color: #6b7688;
  border-top: 1px solid var(--home-line);
  background: #f1f5fa;
}

.home-page .footer-brand {
  color: var(--home-ink);
}

.home-page .footer-brand p,
.home-page .footer-links {
  color: #6b7688;
}

@keyframes home-device-ten {
  from { opacity: 0; transform: translate3d(28px, 14px, -28px); }
  to { opacity: 1; transform: none; }
}

@keyframes home-device-seven {
  from { opacity: 0; transform: translate3d(-30px, 24px, -20px); }
  to { opacity: 1; transform: none; }
}

@keyframes home-device-phone {
  from { opacity: 0; transform: translate3d(14px, 34px, 16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .home-page .home-hero {
    min-height: auto;
  }

  .home-page .home-hero__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 102px 0 34px;
  }

  .home-page .hero-copy {
    max-width: 670px;
  }

  .home-page .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(3.6rem, 8.5vw, 5.1rem);
  }

  .home-page .hero-stage {
    width: min(100%, 760px);
    min-height: clamp(350px, 51vw, 430px);
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  .home-page .nav-shell,
  .home-page .home-hero__content,
  .home-page .section-shell,
  .home-page .footer-shell,
  .home-page .cta-band .section-shell {
    width: min(calc(100% - 36px), 1120px);
  }

  .home-page .nav-shell {
    min-height: 72px;
  }

  .home-page .nav-links a:not(.nav-cta) {
    display: none;
  }

  .home-page .home-hero__content {
    gap: 0.9rem;
    padding: 92px 0 28px;
  }

  .home-page .hero-copy h1 {
    max-width: 11.5ch;
    font-size: clamp(3.25rem, 9.5vw, 4.25rem);
    line-height: 0.94;
  }

  .home-page .hero-lead {
    margin-top: 1.15rem;
  }

  .home-page .hero-actions {
    margin-top: 1.25rem;
  }

  .home-page .hero-stage {
    min-height: clamp(315px, 49vw, 390px);
  }

  .home-page .device-capture--ten {
    top: 7%;
    width: 90%;
    border-radius: 17px;
  }

  .home-page .device-capture--seven {
    width: 70%;
    border-radius: 15px;
  }

  .home-page .device-capture--phone {
    width: 23%;
    border-radius: 16px;
  }

  .home-page .section {
    padding: 84px 0 94px;
  }

  .home-page .section-heading,
  .home-page .privacy-grid,
  .home-page .provider-line {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-page .section-heading h2,
  .home-page .provider-line h2,
  .home-page .cta-band h2 {
    max-width: 15ch;
    font-size: clamp(2.55rem, 7.5vw, 3.8rem);
  }

  .home-page .feature-list,
  .home-page .benefit-list,
  .home-page .detail-list {
    margin-top: 3.4rem;
  }

  .home-page .benefit-list {
    grid-template-columns: 1fr;
    gap: 2.3rem;
  }

  .home-page .privacy-grid {
    margin-top: 3.5rem;
  }

  .home-page .privacy-statement {
    max-width: 19ch;
    font-size: clamp(2.15rem, 6vw, 3.2rem);
  }

  .home-page .cta-band {
    min-height: 420px;
    padding: 78px 0;
  }
}

@media (max-width: 560px) {
  .home-page .nav-shell,
  .home-page .home-hero__content,
  .home-page .section-shell,
  .home-page .footer-shell,
  .home-page .cta-band .section-shell {
    width: min(calc(100% - 32px), 1120px);
  }

  .home-page .nav-shell {
    min-height: 70px;
  }

  .home-page .brand {
    gap: 0.55rem;
    font-size: 0.92rem;
  }

  .home-page .brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .home-page .nav-cta {
    padding: 0.56rem 0.85rem;
    font-size: 0.8rem;
  }

  .home-page .home-hero__content {
    gap: 0.55rem;
    padding: 88px 0 24px;
  }

  .home-page .hero-copy .eyebrow {
    display: none;
  }

  .home-page .hero-copy h1 {
    max-width: 10.8ch;
    font-size: clamp(2.65rem, 12.6vw, 3.25rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
  }

  .home-page .hero-lead {
    max-width: 36ch;
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .home-page .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    width: min(100%, 286px);
    margin-top: 1.1rem;
  }

  .home-page .hero-actions .button,
  .home-page .hero-actions .button--quiet {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    padding: 0.72rem 1rem;
  }

  .home-page .hero-stage {
    min-height: clamp(265px, 74vw, 300px);
    margin-top: 0.2rem;
  }

  .home-page .device-capture--ten {
    right: 0;
    width: 91%;
    border-radius: 14px;
  }

  .home-page .device-capture--seven {
    left: 0;
    bottom: 3%;
    width: 71%;
    border-radius: 13px;
  }

  .home-page .device-capture--phone {
    right: 3%;
    width: 24%;
    border-radius: 13px;
  }

  .home-page .section {
    padding: 72px 0 80px;
  }

  .home-page .section-heading {
    gap: 1.4rem;
  }

  .home-page .section-heading h2,
  .home-page .provider-line h2,
  .home-page .cta-band h2 {
    max-width: 15ch;
    font-size: clamp(2.25rem, 10.5vw, 2.85rem);
    line-height: 1;
  }

  .home-page .section-heading p {
    font-size: 0.94rem;
  }

  .home-page .feature-list,
  .home-page .detail-list,
  .home-page .privacy-points,
  .home-page .provider-status,
  .home-page .scope-note {
    grid-template-columns: 1fr;
  }

  .home-page .feature-list,
  .home-page .benefit-list,
  .home-page .detail-list {
    gap: 2.25rem;
    margin-top: 2.8rem;
  }

  .home-page .scope-note {
    gap: 1.25rem;
    margin-top: 3rem;
    padding: 1.35rem;
    border-radius: 18px;
  }

  .home-page .privacy-grid {
    gap: 2.4rem;
    margin-top: 3rem;
  }

  .home-page .privacy-points {
    gap: 1.25rem;
  }

  .home-page .provider-line {
    gap: 2.4rem;
  }

  .home-page .provider-status {
    gap: 1.25rem;
  }

  .home-page .cta-band {
    min-height: 390px;
    padding: 68px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .device-capture {
    animation: none;
  }
}
