:root {
  color-scheme: light;
  --navy: #15324a;
  --navy-deep: #0d2639;
  --teal: #18a999;
  --teal-deep: #0b8075;
  --coral: #fb7569;
  --ink: #183247;
  --muted: #627586;
  --line: #d9e2e8;
  --surface: #f4f7f9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(13, 38, 57, 0.16);
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.75rem, 8vw, 7rem);
  font-weight: 790;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 760;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 720;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(21, 50, 74, 0.1);
  box-shadow: 0 10px 30px rgba(13, 38, 57, 0.06);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 780;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal-deep);
}

.site-nav .nav-cta {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  position: relative;
  min-height: min(820px, 94vh);
  padding-top: 74px;
  overflow: hidden;
  background: linear-gradient(115deg, #ffffff 0%, #f8fbfc 48%, #e7f3f3 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(21, 50, 74, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 50, 74, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, black, transparent 78%);
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: calc(min(820px, 94vh) - 74px);
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: 40px;
  padding-block: 74px 54px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.hero-mark {
  margin-bottom: 28px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(21, 50, 74, 0.18);
}

.hero-lead {
  margin-bottom: 18px;
  color: var(--teal-deep);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 730;
  line-height: 1.25;
}

.hero-detail {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 32px rgba(21, 50, 74, 0.18);
}

.button-primary:hover {
  background: var(--navy-deep);
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.button-light:hover {
  background: #eaf4f3;
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--teal-deep);
}

.hero-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-showcase {
  position: relative;
  height: 650px;
  align-self: end;
}

.phone {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 7px solid var(--navy);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.phone::before {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 8px;
  border-radius: 6px;
  background: var(--navy);
  content: "";
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-front {
  z-index: 2;
  right: 3%;
  bottom: -138px;
  width: 342px;
  height: 617px;
  transform: rotate(2deg);
}

.phone-back {
  z-index: 1;
  right: 43%;
  bottom: -180px;
  width: 300px;
  height: 541px;
  opacity: 0.92;
  transform: rotate(-6deg);
}

.section {
  padding-block: 112px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 72px;
}

.section-heading > p:last-child,
.tour-copy > p:last-child {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-label {
  margin-bottom: 14px;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label-light {
  color: #84e1d7;
}

.feature-section {
  border-top: 1px solid #eef2f4;
  background: var(--white);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 80px;
  border-top: 1px solid var(--line);
}

.feature-list article {
  position: relative;
  min-height: 240px;
  padding: 42px 0 38px 70px;
  border-bottom: 1px solid var(--line);
}

.feature-index {
  position: absolute;
  top: 45px;
  left: 0;
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 800;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-tour {
  overflow: hidden;
  background: var(--surface);
}

.tour-copy {
  max-width: 760px;
  margin-bottom: 58px;
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 30px;
}

.screen-rail figure {
  margin: 0;
}

.screen-rail img {
  width: 100%;
  aspect-ratio: 0.554 / 1;
  border: 6px solid var(--navy);
  border-radius: 24px;
  background: #edf2f5;
  box-shadow: 0 24px 54px rgba(13, 38, 57, 0.13);
  object-fit: cover;
  object-position: top;
}

.screen-rail figure:nth-child(2) {
  transform: translateY(-30px);
}

.screen-rail figcaption {
  padding-top: 18px;
  color: var(--navy);
  font-weight: 720;
  text-align: center;
}

.privacy-band {
  color: #dce9ee;
  background: var(--navy);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 100px;
  align-items: start;
}

.privacy-band h2 {
  max-width: 700px;
  color: var(--white);
}

.privacy-points {
  padding-top: 46px;
}

.privacy-points p {
  padding: 0 0 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #dce9ee;
}

.privacy-points p::before {
  position: absolute;
  margin: 3px 0 0 -28px;
  color: #84e1d7;
  content: "✓";
  font-weight: 900;
}

.privacy-points .button {
  margin-top: 18px;
}

.support-pack {
  background: var(--white);
}

.support-pack-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: 100px;
  align-items: center;
}

.support-pack-copy > p:not(.section-label) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.support-pack-copy .fine-print {
  font-size: 0.92rem;
}

.support-pack-facts {
  border-top: 3px solid var(--coral);
  border-bottom: 1px solid var(--line);
}

.support-pack-facts > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.support-pack-facts > div:last-child {
  border-bottom: 0;
}

.support-pack-facts strong {
  color: var(--navy);
}

.support-pack-facts span {
  color: var(--muted);
}

.final-cta {
  padding-block: 76px;
  background: #e7f3f3;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.final-cta h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.final-cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 72px 28px;
  color: #c9d8df;
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 70px;
  padding-bottom: 54px;
}

.site-footer .brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 360px;
  margin-top: 20px;
  color: #9eb2bd;
}

.site-footer nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer nav a,
.footer-contact a {
  color: #dce9ee;
  text-decoration: none;
}

.site-footer nav a:hover,
.footer-contact a:hover {
  color: #84e1d7;
}

.footer-contact > span {
  color: #84e1d7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact small {
  color: #7f98a5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #7f98a5;
  font-size: 0.8rem;
}

/* Legal and support pages */
.page-hero {
  padding: 160px 0 76px;
  background: linear-gradient(120deg, var(--surface), #e7f3f3);
}

.page-hero .shell {
  max-width: 880px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.page-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

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

.document-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 72px;
  align-items: start;
  padding-block: 78px 112px;
}

.document-toc {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}

.document-toc span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.document-toc a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.document-toc a:hover {
  color: var(--teal-deep);
}

.document-content section {
  scroll-margin-top: 100px;
  padding: 0 0 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.document-content section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.document-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.document-content h3 {
  margin-top: 32px;
  font-size: 1.2rem;
}

.document-content p,
.document-content li {
  color: #40596a;
}

.document-content ul,
.document-content ol {
  padding-left: 22px;
}

.document-content li + li {
  margin-top: 9px;
}

.notice {
  padding: 22px 24px;
  border-left: 4px solid var(--teal);
  background: var(--surface);
}

.notice strong {
  color: var(--navy);
}

.meta-line {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.88rem;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 90px;
  padding-block: 86px 112px;
}

.contact-panel {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(13, 38, 57, 0.08);
}

.contact-panel h2 {
  font-size: 2rem;
}

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

.contact-panel .button {
  width: 100%;
  margin-top: 10px;
}

.contact-meta {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.contact-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 26px 46px 26px 0;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 720;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 23px;
  right: 4px;
  color: var(--teal-deep);
  content: "+";
  font-size: 1.45rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 50px 24px 0;
  margin: 0;
  color: var(--muted);
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
  background: var(--surface);
  text-align: center;
}

.error-page img {
  width: 90px;
  margin: 0 auto 26px;
  border-radius: 18px;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
}

.error-page p {
  max-width: 520px;
  color: var(--muted);
}

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

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 90px;
  }

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

  .hero-showcase {
    width: min(680px, 100%);
    height: 560px;
    margin: 0 auto;
  }

  .phone-front {
    right: 8%;
  }

  .phone-back {
    right: auto;
    left: 8%;
  }

  .privacy-layout,
  .support-pack-layout,
  .support-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .privacy-points {
    padding-top: 0;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .header-inner {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: 0;
    left: 0;
    display: flex;
    min-height: calc(100vh - 66px);
    padding: 40px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
  }

  .site-nav .nav-cta {
    margin-top: 22px;
    border: 0;
    color: var(--white);
    background: var(--navy);
    text-align: center;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 66px;
  }

  .hero-inner {
    padding-block: 64px 0;
  }

  .hero-mark {
    width: 68px;
    height: 68px;
  }

  .hero-showcase {
    height: 470px;
    margin-top: 10px;
  }

  .phone-front {
    right: 0;
    bottom: -118px;
    width: 260px;
    height: 469px;
  }

  .phone-back {
    bottom: -145px;
    left: -8px;
    width: 225px;
    height: 406px;
  }

  .section {
    padding-block: 80px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

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

  .feature-list article {
    min-height: 0;
    padding: 32px 0 32px 52px;
  }

  .feature-index {
    top: 35px;
  }

  .screen-rail {
    grid-template-columns: repeat(3, 72vw);
    gap: 20px;
    margin-inline: calc((100vw - var(--shell)) / -2);
    padding: 20px 16px 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .screen-rail figure {
    scroll-snap-align: center;
  }

  .screen-rail figure:nth-child(2) {
    transform: none;
  }

  .privacy-layout,
  .support-pack-layout {
    gap: 40px;
  }

  .support-pack-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .final-cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .page-hero {
    padding: 130px 0 60px;
  }

  .page-hero .shell {
    width: var(--shell);
    margin-inline: auto;
  }

  .document-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 55px 80px;
  }

  .document-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 0 18px 18px;
  }

  .document-toc span {
    grid-column: 1 / -1;
  }

  .support-layout {
    padding-block: 58px 80px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    padding: 8px 0;
    text-align: center;
  }

  .phone-front {
    right: -28px;
  }

  .phone-back {
    left: -35px;
  }

  .document-toc {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 26px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
