:root {
  color-scheme: light;
  --ink: #151924;
  --ink-soft: #303746;
  --muted: #687183;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --line: rgba(21, 25, 36, 0.14);
  --line-strong: rgba(21, 25, 36, 0.24);
  --green: #0b7f78;
  --green-dark: #075f5a;
  --coral: #ef5264;
  --blue: #2358d7;
  --amber: #e59a31;
  --shadow: 0 26px 80px rgba(16, 24, 40, 0.14);
  --page-pad: clamp(20px, 5.4vw, 84px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

body::selection {
  background: rgba(11, 127, 120, 0.18);
}

a {
  color: inherit;
  text-decoration: none;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  left: 18px;
  padding: 10px 14px;
  position: fixed;
  top: 12px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
  z-index: 100;
}

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

.site-header {
  align-items: center;
  color: #fff;
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 var(--page-pad);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, backdrop-filter 180ms ease;
  z-index: 30;
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  outline-offset: 7px;
  white-space: nowrap;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(11, 127, 120, 0.28);
  height: 40px;
  width: 40px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2.8vw, 32px);
  font-size: 14px;
  font-weight: 720;
}

.main-nav a {
  opacity: 0.78;
  outline-offset: 7px;
  transition: color 180ms ease, opacity 180ms ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #77e1d3;
  opacity: 1;
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a:focus-visible {
  color: var(--green);
}

.site-header.is-scrolled .main-nav a {
  opacity: 1;
}

.hero {
  color: #fff;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  padding: 132px var(--page-pad) 118px;
  position: relative;
}

.hero-media,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-media {
  display: block;
  overflow: hidden;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.82) 0%, rgba(7, 12, 17, 0.54) 48%, rgba(7, 12, 17, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 12, 17, 0.58) 0%, rgba(7, 12, 17, 0) 42%);
  z-index: 1;
}

.hero-content {
  align-self: end;
  max-width: 760px;
  position: relative;
  z-index: 3;
}

.eyebrow,
.section-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #90eee0;
  margin-bottom: 18px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1 {
  font-size: clamp(64px, 10vw, 132px);
  letter-spacing: 0;
  line-height: 0.95;
}

h2 {
  font-size: clamp(34px, 5.4vw, 76px);
  letter-spacing: 0;
  line-height: 1.04;
}

h3 {
  font-size: 21px;
  line-height: 1.28;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.62;
  margin-top: 22px;
  max-width: 680px;
}

.hero-actions,
.hero-tags,
.privacy-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 780;
  gap: 10px;
  justify-content: center;
  min-height: 50px;
  outline-offset: 5px;
  padding: 0 18px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button svg {
  height: 18px;
  width: 18px;
}

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

.button-primary {
  background: #fff;
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e3fbf4;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.82);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--green-dark);
}

.button-outline {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--green);
  color: var(--green-dark);
}

.hero-tags {
  margin-top: 26px;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 760;
  padding: 8px 12px;
}

.intro-band {
  background: var(--ink);
  color: #fff;
  display: grid;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 820;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  letter-spacing: 0;
}

.intro-band p {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding: 28px var(--page-pad);
}

.intro-band p:nth-child(2) {
  color: #8be7da;
}

.intro-band p:last-child {
  border-right: 0;
  color: #ff8d9a;
}

.section,
.showcase-section,
.privacy-section,
.contact-section,
.site-footer {
  margin: 0 auto;
  width: min(1180px, calc(100% - 40px));
}

.section {
  padding: 100px 0;
}

.section-header {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  margin-bottom: 42px;
}

.section-header p,
.showcase-copy p,
.privacy-copy p,
.contact-section p,
.feature-card p,
figcaption span {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.section-header .section-label,
.showcase-copy .section-label,
.privacy-copy .section-label,
.contact-section .section-label {
  color: var(--green);
  font-size: 12px;
  margin-bottom: 16px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 52px rgba(16, 24, 40, 0.06);
  display: grid;
  gap: 16px;
  min-height: 260px;
  padding: 28px;
}

.feature-card span {
  align-items: center;
  background: rgba(11, 127, 120, 0.1);
  color: var(--green-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 42px;
}

.feature-card:nth-child(2) span {
  background: rgba(239, 82, 100, 0.13);
  color: #c93448;
}

.feature-card:nth-child(3) span {
  background: rgba(35, 88, 215, 0.12);
  color: var(--blue);
}

.showcase-section {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  padding: 64px 0 110px;
}

.showcase-copy p:last-child {
  margin-top: 22px;
}

.showcase-image {
  background: #111826;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
}

.screen-section {
  padding-top: 64px;
}

.section-header.compact {
  margin-bottom: 36px;
}

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

.screen-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 52px rgba(16, 24, 40, 0.06);
  overflow: hidden;
}

.screen-frame img {
  aspect-ratio: 9 / 16;
  background: #eef1f4;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.screen-frame figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.screen-frame strong {
  font-size: 18px;
}

.privacy-section {
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  margin-bottom: 104px;
  overflow: hidden;
}

.privacy-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.privacy-copy {
  padding: clamp(30px, 5.4vw, 72px);
}

.privacy-copy p:not(.section-label) {
  margin-top: 22px;
}

.privacy-actions {
  margin-top: 30px;
}

.contact-section {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  padding: 72px 0;
}

.contact-section p:not(.section-label) {
  margin-top: 18px;
  max-width: 680px;
}

.contact-link {
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding: 22px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--green);
  transform: translateY(-2px);
}

.contact-link span {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 28px 0 42px;
}

.site-footer span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-header {
    height: auto;
    min-height: 76px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .main-nav {
    gap: 16px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 128px;
  }

  .section-header,
  .showcase-section,
  .privacy-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .feature-card {
    min-height: 0;
  }

  .screen-frame img {
    max-height: 680px;
  }

  .privacy-media {
    max-height: 360px;
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
  }

  .main-nav {
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
  }

  .hero {
    min-height: 780px;
    padding: 148px var(--page-pad) 46px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .hero-copy,
  .section-header p,
  .showcase-copy p,
  .privacy-copy p,
  .contact-section p,
  .feature-card p,
  figcaption span {
    font-size: 16px;
  }

  .intro-band {
    grid-template-columns: 1fr;
  }

  .intro-band p {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 0;
    padding: 20px var(--page-pad);
  }

  .intro-band p:last-child {
    border-bottom: 0;
  }

  .section,
  .showcase-section,
  .privacy-section,
  .contact-section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 76px 0;
  }

  .showcase-section {
    padding: 34px 0 76px;
  }

  .privacy-section {
    margin-bottom: 76px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
