:root {
  --bg: #f7faf8;
  --bg-soft: #eef6f2;
  --surface: #ffffff;
  --surface-strong: #f1f7f4;
  --ink: #101917;
  --muted: #60706b;
  --line: #dce7e2;
  --primary: #0f766e;
  --primary-strong: #0a5f59;
  --accent: #bb7b2b;
  --shadow: 0 24px 70px rgba(25, 48, 42, 0.12);
  --card-shadow: 0 14px 38px rgba(25, 48, 42, 0.08);
  --page-gutter: clamp(16px, 3.5vw, 64px);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-theme="dark"] {
  --bg: #07110f;
  --bg-soft: #0d1d19;
  --surface: #111f1b;
  --surface-strong: #182923;
  --ink: #f5f8f6;
  --muted: #a9bbb5;
  --line: #294039;
  --primary: #2fc39d;
  --primary-strong: #7de0c4;
  --accent: #d99a3f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --card-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 24rem),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 34rem);
  color: var(--ink);
}

body[data-theme="dark"] {
  background:
    radial-gradient(circle at 14% 2%, rgba(47, 195, 157, 0.18), transparent 25rem),
    radial-gradient(circle at 86% 8%, rgba(217, 154, 63, 0.12), transparent 22rem),
    linear-gradient(180deg, #07110f, #091411 32rem, #07110f);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

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

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

h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 8vw, 7.1rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.24;
}

p {
  line-height: 1.62;
}

.icon-sprite {
  display: none;
}

.icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header,
main,
.site-footer {
  width: 100%;
  margin: 0;
  padding-inline: var(--page-gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.site-nav,
.hero-actions,
.feature-list div,
.free-note,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  font-size: 1.18rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
}

.site-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.site-nav a:hover,
.ghost-link:hover,
.secondary-link:hover {
  color: var(--primary-strong);
}

.header-actions,
.hero-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.primary-link,
.secondary-link,
.ghost-link,
.theme-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 850;
  white-space: nowrap;
}

.primary-link {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--primary) 24%, transparent);
}

body[data-theme="dark"] .primary-link {
  color: #05100d;
}

.primary-link:hover,
.theme-button:hover {
  transform: translateY(-1px);
}

.secondary-link,
.theme-button {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--ink);
}

.ghost-link {
  color: var(--muted);
}

.large {
  min-height: 52px;
  padding-inline: 22px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 56px 0 74px;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.eyebrow {
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lede,
.section-heading p,
.split-section > div p,
.plans-section > div p {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.free-note {
  gap: 12px;
  max-width: 650px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: var(--card-shadow);
}

.free-note strong {
  color: var(--primary-strong);
  white-space: nowrap;
}

.free-note span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, color-mix(in srgb, var(--surface) 88%, transparent));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) brightness(1.34);
}

body[data-theme="dark"] .hero-visual img {
  filter: saturate(1.05) brightness(0.86);
}

.live-card,
.message-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  width: min(270px, calc(100% - 32px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(14px);
}

.live-card {
  top: 18px;
  right: 18px;
}

.message-card {
  left: 18px;
  bottom: 18px;
}

.live-card span,
.message-card span,
.plan-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-card strong,
.message-card strong {
  font-size: 1rem;
}

.trust-strip,
.section-block,
.split-section,
.plans-section,
.download-section,
.faq-section,
.cta-section {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--card-shadow);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.trust-strip div {
  display: grid;
  gap: 4px;
  padding: 24px;
}

.trust-strip div + div {
  border-left: 1px solid var(--line);
}

.trust-strip span,
.detail-grid p,
.steps p,
.faq-grid p,
.plan-card li {
  color: var(--muted);
}

.section-block,
.split-section,
.plans-section,
.download-section,
.faq-section,
.cta-section {
  padding: clamp(24px, 5vw, 58px);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.detail-grid article {
  display: grid;
  gap: 13px;
  min-height: 238px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.detail-grid .icon,
.feature-list .icon {
  color: var(--primary-strong);
}

.split-section,
.plans-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
}

.split-section > div,
.plans-section > div {
  display: grid;
  gap: 14px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.steps span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

body[data-theme="dark"] .steps span {
  color: #06110f;
}

.steps div {
  display: grid;
  gap: 5px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.feature-list div {
  gap: 12px;
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 850;
}

.plan-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--primary) 42%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent 46%),
    var(--surface);
}

.plan-card strong {
  font-size: 2rem;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.plan-card .primary-link {
  justify-self: start;
}

.download-section {
  display: grid;
  gap: 24px;
}

.recommended-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--primary) 38%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 11%, transparent), transparent 52%),
    var(--surface);
}

.recommended-download div {
  display: grid;
  gap: 8px;
}

.recommended-download strong {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.recommended-download p {
  max-width: 66ch;
  color: var(--muted);
}

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

.download-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 50%, var(--line));
}

.download-card span {
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-card strong {
  font-size: 1.2rem;
}

.download-card small {
  color: var(--muted);
  line-height: 1.5;
}

.download-card em {
  align-self: end;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
}

.download-card.is-recommended {
  border-color: color-mix(in srgb, var(--primary) 58%, var(--line));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent 50%),
    var(--surface);
}

.download-card.is-unavailable {
  cursor: default;
  opacity: 0.62;
}

.download-card.is-unavailable:hover {
  transform: none;
  border-color: var(--line);
}

.download-card.is-unavailable em {
  color: var(--accent);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

details {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin-top: 12px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-section div {
  display: grid;
  gap: 10px;
}

.site-footer {
  display: grid;
  gap: 16px;
  padding: 24px var(--page-gutter) 44px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--primary-strong);
  font-weight: 850;
}

.footer-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(420px, 1.4fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 9%, transparent), transparent 44%),
    color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--card-shadow);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-brand .brand {
  justify-self: start;
}

.footer-brand p {
  max-width: 54ch;
  color: var(--muted);
}

.footer-address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

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

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links strong {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  justify-self: start;
  color: var(--muted);
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--primary-strong);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 4px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px var(--page-gutter);
  }

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

  .hero-section,
  .split-section,
  .plans-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    max-width: 11ch;
  }

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

  .feature-list,
  .download-grid,
  .footer-card,
  .trust-strip,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 12px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .primary-link,
  .header-actions .ghost-link,
  .theme-button {
    flex: 1;
  }

  .hero-section {
    gap: 28px;
    padding-bottom: 34px;
  }

  .hero-actions,
  .free-note,
  .recommended-download,
  .cta-section {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .primary-link,
  .hero-actions .secondary-link,
  .recommended-download .primary-link,
  .cta-section .primary-link {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 380px;
  }

  .detail-grid,
  .feature-list,
  .footer-links,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 1fr;
  }
}
