:root {
  color-scheme: light;
  --ink: #1c2427;
  --muted: #5a676d;
  --line: #d6e0e2;
  --panel: #ffffff;
  --soft: #eff6f5;
  --accent: #237b6d;
  --accent-dark: #155c52;
  --blue: #2f5fbd;
  --amber: #d78b2d;
  --shadow: 0 24px 70px rgba(32, 51, 57, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "HarmonyOS Sans SC", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbfb 0%, #eef6f5 48%, #fbfaf7 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 6vw, 72px);
  background: rgba(248, 251, 251, 0.9);
  border-bottom: 1px solid rgba(214, 224, 226, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(35, 123, 109, 0.22);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: 22px;
}

nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 48px 0 64px;
}

.hero h2 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
}

.lead {
  max-width: 710px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-action {
  color: #fff;
  background: var(--accent);
}

.secondary-action {
  color: var(--accent-dark);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.primary-action:hover {
  background: var(--accent-dark);
}

.secondary-action:hover {
  color: var(--blue);
  border-color: rgba(47, 95, 189, 0.32);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: #355258;
  border: 1px solid rgba(214, 224, 226, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.hero-shot {
  width: min(260px, 100%);
  justify-self: end;
  padding: 8px;
  border: 1px solid #d5dfe1;
  border-radius: 26px;
  background: #fafdfe;
  box-shadow: var(--shadow);
}

.hero-shot img {
  aspect-ratio: 520 / 1077;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
}

.section {
  scroll-margin-top: 108px;
  padding: 82px 0;
  border-top: 1px solid rgba(214, 224, 226, 0.92);
}

.section-title {
  max-width: 780px;
  margin-bottom: 28px;
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
}

.section-title p,
.feature-grid p,
.copy-block p,
.contact p {
  color: var(--muted);
  line-height: 1.75;
}

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

.feature-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.access-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.access-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 251, 0.92)),
    var(--panel);
  box-shadow: 0 16px 48px rgba(32, 51, 57, 0.08);
}

.access-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 95, 189, 0.28);
  box-shadow: 0 22px 54px rgba(32, 51, 57, 0.12);
}

.access-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.access-card strong {
  font-size: 24px;
  line-height: 1.25;
}

.access-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.featured-link {
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(35, 123, 109, 0.98), rgba(47, 95, 189, 0.92)),
    var(--accent);
}

.featured-link span,
.featured-link p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.screenshots {
  overflow: hidden;
}

.screenshot-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 150px;
  gap: 14px;
  margin: 0 -20px;
  padding: 6px 20px 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.screenshot-strip figure {
  scroll-snap-align: start;
  margin-bottom: 0;
}

.screenshot-strip img {
  aspect-ratio: 520 / 1077;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border: 1px solid #d5dfe1;
  border-radius: 18px;
  background: #fafdfe;
  box-shadow: 0 12px 34px rgba(32, 51, 57, 0.1);
}

.screenshot-strip figcaption {
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: start;
}

.copy-block {
  padding-left: 28px;
  border-left: 4px solid var(--amber);
}

.contact {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
}

.contact-copy {
  max-width: 420px;
}

.contact-panel {
  min-width: 0;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mail-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.mail-card span {
  color: var(--muted);
  font-size: 14px;
}

.mail-card strong {
  color: var(--accent-dark);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.mail-card:hover {
  border-color: rgba(47, 95, 189, 0.28);
  box-shadow: 0 14px 34px rgba(32, 51, 57, 0.08);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 72px);
  color: var(--muted);
  border-top: 1px solid rgba(214, 224, 226, 0.92);
  font-size: 14px;
}

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

footer a:hover {
  color: var(--accent-dark);
}

@media (max-width: 900px) {
  .site-header,
  nav,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-shot {
    justify-self: center;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    width: 100%;
  }

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

@media (max-width: 560px) {
  main {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    gap: 24px;
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .hero h2 {
    font-size: 36px;
    line-height: 1.12;
  }

  .lead {
    font-size: 16px;
  }

  .hero-shot img {
    max-height: 380px;
  }

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

  .access-grid,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .access-card {
    min-height: auto;
  }

  .screenshot-strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: unset;
    gap: 12px;
    margin: 0;
    padding: 6px 0 18px;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .screenshot-strip figure {
    scroll-snap-align: none;
  }

  .screenshot-strip img {
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(32, 51, 57, 0.1);
  }

  .screenshot-strip figcaption {
    min-height: 34px;
    padding-top: 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  .copy-block {
    padding-left: 18px;
  }
}
