:root {
  --navy: #0f172a;
  --muted: #64748b;
  --teal: #0f8b8d;
  --teal-dark: #086365;
  --teal-light: #ddf4f3;
  --salmon: #f47c6c;
  --surface: #ffffff;
  --soft: #f4f8f8;
  --border: #dfe9e9;
  --shadow: 0 18px 55px rgba(15, 23, 42, 0.1);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(15, 139, 141, 0.34); outline-offset: 3px; }
.skip-link { position: fixed; top: -70px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--navy); color: white; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; color: var(--teal-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -0.035em; }
.section-head p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(223,233,233,.8); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; font-size: 21px; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language { display: inline-flex; padding: 4px; background: var(--soft); border: 1px solid var(--border); border-radius: 12px; }
.language a { min-width: 38px; padding: 7px 9px; text-align: center; border-radius: 9px; font-size: 12px; font-weight: 800; }
.language a.active { color: white; background: var(--navy); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: white; border-radius: 12px; color: var(--navy); cursor: pointer; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--teal); box-shadow: 0 11px 26px rgba(15,139,141,.22); }
.button.primary:hover { background: var(--teal-dark); }
.button.secondary { color: var(--navy); background: white; border-color: var(--border); }
.button.secondary:hover { border-color: #b6d0d0; box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.button.dark { color: white; background: var(--navy); }
.button.small { min-height: 42px; padding-inline: 16px; font-size: 14px; }

.hero { position: relative; overflow: hidden; padding: 82px 0 62px; background: linear-gradient(180deg, #f4fbfa 0%, #fff 88%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 15% 12%, rgba(15,139,141,.08), transparent 26%), radial-gradient(circle at 88% 22%, rgba(244,124,108,.07), transparent 23%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.2fr; align-items: center; gap: 54px; }
.hero h1 { margin: 0; max-width: 650px; font-size: clamp(48px, 6.2vw, 78px); line-height: .98; letter-spacing: -0.055em; }
.hero-copy { margin: 24px 0 0; max-width: 590px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.platform-line { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; color: var(--muted); font-size: 14px; font-weight: 650; }
.platform-line span { display: inline-flex; align-items: center; gap: 7px; }
.platform-line span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero-visual { position: relative; min-height: 500px; }
.hero-desktop { position: absolute; width: 112%; height: auto; max-width: none; top: 0; left: -8%; filter: drop-shadow(0 26px 36px rgba(15,23,42,.17)); }
.hero-phone { position: absolute; width: 38%; height: auto; right: -4%; bottom: -7%; filter: drop-shadow(0 25px 28px rgba(15,23,42,.22)); }
.trust-strip { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.8); box-shadow: 0 12px 32px rgba(15,23,42,.06); }
.trust-item { padding: 18px 22px; text-align: center; font-weight: 730; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item small { display: block; margin-top: 3px; color: var(--muted); font-weight: 550; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 25px; border: 1px solid var(--border); border-radius: 18px; background: white; transition: transform .18s ease, box-shadow .18s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-light); color: var(--teal-dark); font-weight: 900; }
.feature h3 { margin: 18px 0 7px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); }

.product-story { display: grid; grid-template-columns: .78fr 1.22fr; gap: 62px; align-items: center; }
.product-story.reverse { grid-template-columns: 1.22fr .78fr; }
.product-story.reverse .story-copy { order: 2; }
.story-copy h2 { font-size: clamp(36px, 4vw, 56px); }
.story-copy > p { color: var(--muted); font-size: 18px; }
.check-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-weight: 650; }
.check-list li::before { content: "✓"; flex: 0 0 24px; height: 24px; display: grid; place-items: center; color: var(--teal-dark); background: var(--teal-light); border-radius: 50%; font-size: 13px; }
.media-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.media-card img { width: 100%; height: auto; }
.media-caption { padding: 16px 20px; color: var(--muted); font-size: 14px; }
.media-stack { position: relative; min-height: 580px; }
.media-stack .desktop { width: 92%; height: auto; }
.media-stack .phone { position: absolute; width: 31%; height: auto; right: 0; bottom: -2%; filter: drop-shadow(0 22px 30px rgba(15,23,42,.2)); }

.steps { margin-top: 30px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step { padding: 10px 13px; border-radius: 999px; background: var(--soft); border: 1px solid var(--border); font-size: 14px; font-weight: 700; }
.step-arrow { color: var(--teal); font-weight: 900; }
.niimbot { overflow: hidden; border-radius: 30px; color: white; background: var(--navy); }
.niimbot-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 44px; padding: 56px; }
.niimbot .eyebrow { color: #8ee3dc; }
.niimbot h2 { font-size: clamp(38px, 4vw, 58px); }
.niimbot p { color: #b9c8d8; font-size: 18px; }
.niimbot .check-list li::before { color: white; background: rgba(15,139,141,.4); }
.niimbot img { border-radius: 18px; box-shadow: 0 24px 55px rgba(0,0,0,.25); }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.price-card { position: relative; padding: 34px; border: 1px solid var(--border); border-radius: var(--radius); background: white; box-shadow: 0 15px 45px rgba(15,23,42,.07); }
.price-card.featured { border-color: rgba(15,139,141,.45); box-shadow: 0 22px 55px rgba(15,139,141,.14); }
.price-tag { margin: 14px 0 0; font-size: clamp(36px, 4vw, 50px); font-weight: 850; letter-spacing: -.04em; }
.price-tag span { color: var(--muted); font-size: 16px; font-weight: 650; letter-spacing: 0; }
.price-card > p { min-height: 54px; color: var(--muted); }
.badge { display: inline-flex; padding: 7px 11px; border-radius: 999px; color: #8b331f; background: #fde8e4; font-size: 12px; font-weight: 850; }
.notice { margin: 20px 0; padding: 13px 15px; border-radius: 12px; color: #525f70; background: var(--soft); font-size: 13px; }
.price-card .button { width: 100%; margin-top: 12px; }

.download-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 34px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--soft); }
.download-band h3 { margin: 0; font-size: 28px; }
.download-band p { margin: 6px 0 0; color: var(--muted); }
.download-actions { display: flex; gap: 10px; }
.final-cta { padding: 84px 0; }
.cta-panel { overflow: hidden; position: relative; padding: 64px; border-radius: 30px; color: white; background: linear-gradient(125deg, var(--teal-dark), var(--teal) 58%, #17a6a0); text-align: center; }
.cta-panel::after { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -180px; border: 80px solid rgba(255,255,255,.07); border-radius: 50%; }
.cta-panel h2 { position: relative; margin: 0 auto; max-width: 800px; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; }
.cta-panel p { position: relative; color: rgba(255,255,255,.82); font-size: 18px; }
.cta-actions { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.site-footer { padding: 50px 0 28px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer-brand p { max-width: 440px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 650; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-button { display: inline-grid; place-items: center; }
  .nav-actions .login { display: none; }
  .nav-links.open { position: fixed; display: grid; left: 20px; right: 20px; top: 84px; padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: white; box-shadow: var(--shadow); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy-block { max-width: 760px; text-align: center; margin-inline: auto; }
  .hero-actions, .platform-line { justify-content: center; }
  .hero-visual { min-height: 560px; max-width: 850px; width: 100%; margin-inline: auto; }
  .product-story, .product-story.reverse { grid-template-columns: 1fr; gap: 38px; }
  .product-story.reverse .story-copy { order: initial; }
  .media-stack { min-height: 600px; }
  .niimbot-grid { grid-template-columns: 1fr; padding: 44px; }
}

@media (max-width: 768px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .nav { min-height: 68px; gap: 12px; }
  .brand { font-size: 18px; }
  .brand img { width: 34px; height: 34px; }
  .nav-actions .trial { display: none; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(43px, 12vw, 64px); }
  .hero-copy { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 470px; margin-top: 16px; }
  .hero-desktop { width: 126%; left: -19%; top: 2%; }
  .hero-phone { width: 42%; right: -1%; bottom: 0; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--border); }
  .feature-grid { grid-template-columns: 1fr; }
  .media-stack { min-height: 465px; }
  .media-stack .desktop { width: 100%; }
  .media-stack .phone { width: 34%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .download-band { grid-template-columns: 1fr; padding: 26px; }
  .download-actions { flex-direction: column; }
  .niimbot-grid { padding: 30px 22px; }
  .cta-panel { padding: 48px 22px; }
  .cta-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { display: grid; grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 430px) {
  .language { display: none; }
  .hero-visual { min-height: 355px; }
  .hero-desktop { width: 136%; left: -27%; }
  .hero-phone { width: 43%; right: -4%; }
  .media-stack { min-height: 330px; }
  .section h2 { font-size: 36px; }
  .price-card { padding: 26px 22px; }
}

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