:root {
  color-scheme: light;
  --ink: #0b1b29;
  --ink-soft: #425466;
  --brand: #0566ad;
  --brand-deep: #034b82;
  --brand-soft: #dceffa;
  --mint: #8bd8c3;
  --paper: #f4f8fb;
  --surface: #ffffff;
  --line: #d9e4ec;
  --shadow: 0 24px 70px rgba(19, 61, 92, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 7%, rgba(139, 216, 195, 0.23), transparent 26rem),
    linear-gradient(180deg, #f8fbfd 0, var(--paper) 38rem, #ffffff 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 3px solid #ef9d32;
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 780;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  border-radius: 11px;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 7px 20px rgba(5, 102, 173, 0.22);
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
}

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

nav a:hover {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, 0.97fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
  min-height: 680px;
  padding: 74px 0 102px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--brand-deep);
  font-size: 0.79rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: 0.07em;
  box-shadow: 0 8px 25px rgba(38, 76, 105, 0.07);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: #238265;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(35, 130, 101, 0.13);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.55rem);
  font-weight: 790;
  letter-spacing: -0.066em;
  line-height: 0.94;
}

h1 em {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 2vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 19px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.94rem;
  font-weight: 740;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(5, 102, 173, 0.23);
}

.button-primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 16px 31px rgba(5, 102, 173, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.product-preview {
  position: relative;
  min-height: 475px;
  isolation: isolate;
}

.product-preview::before {
  position: absolute;
  z-index: -2;
  inset: 44px 2px 18px 45px;
  content: "";
  background: linear-gradient(145deg, #c8e7f7, #e6f6f0 65%, #ffffff);
  border-radius: var(--radius-lg);
  transform: rotate(2.5deg);
}

.preview-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(5, 102, 173, 0.15);
  border-radius: 50%;
}

.preview-orbit-one {
  width: 365px;
  height: 365px;
  top: 52px;
  right: 24px;
}

.preview-orbit-two {
  width: 245px;
  height: 245px;
  right: 84px;
  bottom: 26px;
}

.preview-card {
  position: absolute;
  width: min(390px, 85%);
  padding: 23px;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.preview-host {
  top: 84px;
  left: 0;
}

.preview-guest {
  right: 0;
  bottom: 48px;
}

.preview-heading {
  display: flex;
  gap: 13px;
  align-items: center;
}

.preview-heading > span:last-child {
  display: grid;
  gap: 1px;
}

.preview-heading small {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.preview-heading strong {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.preview-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  border-radius: 13px;
  font-size: 0.87rem;
  font-weight: 800;
}

.preview-card ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.preview-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.87rem;
  font-weight: 620;
}

.preview-card li i {
  width: 38%;
  height: 7px;
  background: linear-gradient(90deg, var(--brand-soft), #edf3f7);
  border-radius: 999px;
}

.signal-row {
  display: flex;
  gap: 5px;
  height: 42px;
  margin: 22px 0 14px;
  align-items: end;
}

.signal-row span {
  width: 9px;
  background: var(--brand);
  border-radius: 8px;
}

.signal-row span:nth-child(1) { height: 30%; opacity: 0.42; }
.signal-row span:nth-child(2) { height: 48%; opacity: 0.58; }
.signal-row span:nth-child(3) { height: 70%; opacity: 0.76; }
.signal-row span:nth-child(4) { height: 100%; }

.preview-guest p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.preview-caption {
  position: absolute;
  right: 18px;
  bottom: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  column-gap: 70px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading .kicker {
  grid-column: 1 / -1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.section-heading > p:last-child,
.status-copy > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.feature-card {
  min-height: 285px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 44px rgba(23, 60, 89, 0.07);
}

.feature-number {
  display: grid;
  width: 39px;
  height: 39px;
  margin-bottom: 54px;
  place-items: center;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 11px;
  font-size: 0.72rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.feature-card-accent {
  color: #ffffff;
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.feature-card-accent .feature-number {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.feature-card-accent p {
  color: #dceaf4;
}

.status-section,
.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: center;
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.status-copy h2 {
  margin-bottom: 24px;
}

.status-panel {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 23px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 15px 40px rgba(23, 60, 89, 0.07);
}

.status-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: #238265;
  border: 4px solid #d7f1e9;
  border-radius: 50%;
  box-sizing: content-box;
}

.status-panel div:last-child {
  display: grid;
  gap: 3px;
}

.status-panel strong {
  font-size: 0.96rem;
}

.status-panel span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.privacy-section {
  align-items: start;
}

.privacy-copy {
  padding-left: 24px;
  border-left: 3px solid var(--mint);
}

.privacy-copy p {
  color: var(--ink-soft);
}

.privacy-copy p:last-child {
  margin-bottom: 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 140px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.brand-footer .brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  font-size: 1.35rem;
}

.error-page {
  display: grid;
  min-height: calc(100vh - 228px);
  place-items: center;
  text-align: center;
}

.error-page section {
  max-width: 620px;
  padding: 70px 20px;
}

.error-code {
  margin-bottom: 13px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.error-page h1 {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
}

.error-page p:not(.error-code) {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

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

  .product-preview {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .section-heading,
  .status-section,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    row-gap: 22px;
  }

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

  .feature-card-accent {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  nav {
    gap: 14px;
  }

  nav a:not(:first-child) {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 50px 0 78px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .product-preview {
    min-height: 430px;
  }

  .product-preview::before {
    inset: 26px 8px 22px;
  }

  .preview-card {
    width: 90%;
    padding: 20px;
  }

  .preview-host {
    top: 58px;
  }

  .preview-guest {
    bottom: 43px;
  }

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

  .feature-card-accent {
    grid-column: auto;
  }

  .section,
  .status-section,
  .privacy-section {
    padding: 78px 0;
  }

  .privacy-copy {
    padding: 21px 0 0;
    border-top: 3px solid var(--mint);
    border-left: 0;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #f1f6f9;
    --ink-soft: #afc0cc;
    --brand: #55b9f3;
    --brand-deep: #72c7f7;
    --brand-soft: #163b52;
    --mint: #65bda6;
    --paper: #09131b;
    --surface: #101f2a;
    --line: #263a47;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  }

  body {
    background:
      radial-gradient(circle at 84% 7%, rgba(75, 156, 135, 0.13), transparent 26rem),
      linear-gradient(180deg, #0b1720 0, var(--paper) 38rem, #0c1821 100%);
  }

  .brand-mark,
  .preview-icon {
    color: #06131b;
  }

  .eyebrow {
    background: rgba(16, 31, 42, 0.76);
  }

  .button-primary {
    color: #06131b;
  }

  .button-secondary {
    background: rgba(16, 31, 42, 0.76);
  }

  .product-preview::before {
    background: linear-gradient(145deg, #11384d, #153c36 65%, #142632);
  }

  .preview-card {
    background: rgba(16, 31, 42, 0.93);
    border-color: rgba(100, 142, 169, 0.18);
  }

  .feature-card-accent {
    color: #06131b;
    background: #72c7f7;
    border-color: #72c7f7;
  }

  .feature-card-accent .feature-number {
    color: #06131b;
    background: rgba(6, 19, 27, 0.12);
  }

  .feature-card-accent p {
    color: #173746;
  }

  .status-dot {
    background: #65c5a5;
    border-color: #173f35;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .brand-mark,
  .preview-icon,
  .feature-number,
  .status-dot {
    border: 1px solid currentColor;
  }
}
