:root {
  --bg: #f2f8fa;
  --surface: #ffffff;
  --surface-soft: #eaf5f8;
  --ink: #101827;
  --muted: #526174;
  --line: #d5e5ec;
  --teal: #0f8f8b;
  --teal-dark: #086a75;
  --blue: #2477e8;
  --gradient: linear-gradient(135deg, #0f766e 0%, #12b8a6 48%, #1f6feb 100%);
  --shadow: 0 24px 70px rgba(29, 94, 124, .14);
  --shadow-soft: 0 14px 38px rgba(29, 94, 124, .10);
  --radius: 26px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 3%, rgba(50, 205, 191, .18), transparent 25%),
    linear-gradient(180deg, #fbfdfd 0%, var(--bg) 52%, #ebf5f8 100%);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.shell { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  width: min(1280px, calc(100% - 40px));
  margin: 12px auto 0;
}

.header-inner {
  display: flex;
  min-height: var(--header);
  padding: 8px 12px 8px 18px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 44px rgba(32, 94, 119, .12), inset 0 1px 0 rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.brand { width: 120px; height: 54px; flex: 0 0 auto; }
.brand img { width: 100%; height: 100%; object-fit: contain; filter: invert(1); }

.main-nav { display: flex; gap: 34px; align-items: center; }
.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-phone, .button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: var(--gradient);
  box-shadow: 0 12px 28px rgba(22, 130, 156, .2);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease;
}
.header-phone:hover, .button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(22, 130, 156, .28); }
.header-phone:active, .button:active { transform: translateY(1px); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); }

.page-hero { padding: clamp(52px, 7vw, 96px) 0 54px; }
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
  gap: clamp(34px, 5vw, 72px);
  min-height: 600px;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  align-items: center;
  border: 1px solid rgba(205, 226, 234, .9);
  border-radius: 34px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}

.hero-copy { position: relative; z-index: 1; }
.hero-kicker {
  margin: 0 0 20px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1, h2, h3, strong { color: var(--ink); font-weight: 800; letter-spacing: -.045em; }
h1 { max-width: 100%; margin: 0 0 28px; font-size: clamp(42px, 4.2vw, 62px); line-height: 1; }
.hero-lead { max-width: 620px; margin: 0 0 34px; color: var(--muted); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button-secondary { border: 1px solid var(--line); background: #fff; box-shadow: none; color: var(--ink); }

.hero-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: 0 22px 50px rgba(22, 83, 112, .18);
}
.hero-image img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.hero-image.is-plan img { object-fit: cover; object-position: 68% center; }

.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-compact { padding-top: 24px; }
.section-heading { max-width: 780px; margin-bottom: 44px; }
.section-heading h2 { margin: 0 0 18px; font-size: clamp(38px, 4.2vw, 62px); line-height: 1.02; }
.section-heading p { max-width: 65ch; margin: 0; color: var(--muted); font-size: 18px; }

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 34px;
  padding: clamp(30px, 4vw, 52px);
  align-items: center;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 12%, rgba(72, 217, 200, .25), transparent 31%),
    linear-gradient(135deg, #eaf8f8, #eef5ff);
  box-shadow: var(--shadow-soft);
}
.intro-band p { margin: 0; color: var(--muted); font-size: clamp(18px, 1.8vw, 24px); }
.intro-stat { padding-left: 30px; border-left: 1px solid rgba(88, 148, 166, .24); }
.intro-stat strong { display: block; color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; font-size: clamp(62px, 7vw, 100px); line-height: .8; }
.intro-stat span { display: block; margin-top: 18px; color: var(--muted); font-weight: 700; }

.feature-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.feature-card {
  min-width: 0;
  padding: clamp(26px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-soft);
}
.feature-card h3 { margin: 0 0 16px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-card-large { grid-column: span 7; }
.feature-card-small { grid-column: span 5; }
.feature-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 34px; align-items: center; }
.feature-card-tint { background: linear-gradient(145deg, #e9f8f7, #eef5ff); }
.feature-card-gradient {
  border-color: transparent;
  background: linear-gradient(145deg, #0a4858, #0b8583 58%, #1d67ca);
  color: #fff;
}
.feature-card-gradient h2, .feature-card-gradient h3, .feature-card-gradient p, .feature-card-gradient strong { color: #fff; }
.feature-media { min-height: 310px; overflow: hidden; border-radius: 20px; background: #dfecee; }
.feature-media img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; }

.spec-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.spec-list li { position: relative; padding-left: 24px; color: var(--muted); }
.spec-list li::before { content: ""; position: absolute; top: .72em; left: 0; width: 9px; height: 9px; border-radius: 3px; background: var(--gradient); }

.systems-layout { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); gap: clamp(34px, 6vw, 84px); align-items: start; }
.systems-visual { position: sticky; top: 112px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.systems-visual img { width: 100%; min-height: 520px; object-fit: cover; }
.system-stack { display: grid; gap: 18px; }
.system-item { padding: 28px 0; border-top: 1px solid var(--line); }
.system-item:first-child { border-top: 0; }
.system-item h3 { margin: 0 0 10px; font-size: 25px; }
.system-item p { margin: 0; color: var(--muted); }

.metric-strip { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 14px; margin-top: 28px; }
.metric { padding: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.1); }
.metric strong { display: block; margin-bottom: 8px; color: #fff; font-size: 34px; }
.metric span { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 700; }

.article-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); gap: clamp(44px, 7vw, 100px); justify-content: center; align-items: start; }
.article-nav { position: sticky; top: 112px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); }
.article-nav strong { display: block; margin-bottom: 14px; font-size: 14px; }
.article-nav a { display: block; padding: 8px 0; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.article-nav a:hover { color: var(--teal-dark); }
.prose { min-width: 0; }
.prose > p { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.prose-section { margin: 0 0 28px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.9); box-shadow: var(--shadow-soft); }
.prose-section h2 { margin: 0 0 22px; font-size: clamp(34px, 4vw, 54px); line-height: 1; }
.prose-section h3 { margin: 30px 0 12px; font-size: 22px; }
.prose-section p { margin: 0 0 18px; color: var(--muted); }
.prose-section p:last-child { margin-bottom: 0; }
.prose-section ul { display: grid; gap: 12px; margin: 22px 0 0; padding-left: 22px; color: var(--muted); }
.act-number { display: block; margin-bottom: 24px; color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; font-size: clamp(68px, 8vw, 108px); font-weight: 900; line-height: .75; letter-spacing: -.08em; }
.prose-section.is-emphasis { border: 0; background: linear-gradient(145deg, #0a4858, #0a7c7d 58%, #1e68ce); }
.prose-section.is-emphasis h2, .prose-section.is-emphasis h3, .prose-section.is-emphasis p, .prose-section.is-emphasis li { color: #fff; }

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  padding: clamp(34px, 5vw, 64px);
  align-items: center;
  border-radius: 30px;
  background: linear-gradient(135deg, #e7f8f7, #eef5ff);
  box-shadow: var(--shadow);
}
.cta-panel h2 { margin: 0 0 12px; font-size: clamp(36px, 4vw, 58px); line-height: 1.02; }
.cta-panel p { margin: 0; color: var(--muted); }

.site-footer { padding: 32px 0 44px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 44px; padding-top: 30px; align-items: start; border-top: 1px solid var(--line); }
.footer-brand { max-width: 340px; color: var(--muted); font-size: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.footer-links a:hover { color: var(--teal-dark); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .main-nav { gap: 20px; }
  .header-phone { display: none; }
  .hero-panel { grid-template-columns: 1fr; min-height: 0; }
  .hero-image, .hero-image img { min-height: 440px; }
  .feature-card-large, .feature-card-small { grid-column: span 6; }
  .feature-card-wide { grid-template-columns: 1fr; }
  .systems-layout { grid-template-columns: 1fr; }
  .systems-visual { position: static; }
  .systems-visual img { min-height: 420px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-nav { position: static; display: flex; gap: 18px; padding: 18px 22px; overflow-x: auto; }
  .article-nav strong { display: none; }
  .article-nav a { white-space: nowrap; }
}

@media (max-width: 720px) {
  .shell, .site-header { width: min(100% - 24px, 1280px); }
  .site-header { top: 7px; margin-top: 7px; }
  .header-inner { min-height: 62px; padding: 6px 8px 6px 12px; border-radius: 18px; }
  .brand { width: 88px; height: 48px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { padding: 12px 10px; }
  .main-nav a::after { display: none; }
  .page-hero { padding-top: 34px; }
  .hero-panel { padding: 22px; border-radius: 24px; }
  h1 { font-size: clamp(30px, 8.2vw, 36px); line-height: 1.02; }
  .hero-actions .button { flex: 1 1 150px; padding-inline: 14px; }
  .hero-image, .hero-image img { min-height: 350px; }
  .intro-band { grid-template-columns: 1fr; }
  .intro-stat { padding: 24px 0 0; border-top: 1px solid rgba(88,148,166,.24); border-left: 0; }
  .feature-bento { grid-template-columns: 1fr; }
  .feature-card-large, .feature-card-small, .feature-card-wide { grid-column: auto; }
  .feature-media, .feature-media img { min-height: 230px; }
  .metric-strip { grid-template-columns: 1fr; }
  .systems-visual img { min-height: 330px; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .header-inner, .article-nav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
