/*
 * Norvexanas.com — the public product site.
 *
 * Polar dawn, Liquid Glass, deep navy type: the identity of the NAS desktop, used
 * here for a product presentation rather than an administration screen. Light
 * sections carry the product shots; the Intelligence section goes dark so the
 * assistant reads as a different kind of feature. No framework, no webfont
 * request, no tracking script.
 */

:root {
  color-scheme: light;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --canvas: #e6f2f4;
  --canvas-soft: #f2f6f4;
  --canvas-cool: #e4edf6;
  --ink: #0b1a26;
  --ink-2: #3d5468;
  --ink-3: #5f7488;
  --aurora: #0fa98c;
  --ion: #2f7de1;
  --lilac: #7a63d8;
  --peach: #d97a45;
  --rose: #c95d86;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --line: rgba(11, 26, 38, 0.1);
  --hairline: rgba(11, 26, 38, 0.07);
  --shadow: 0 24px 60px rgba(11, 26, 38, 0.11);
  --shadow-tight: 0 10px 28px rgba(11, 26, 38, 0.09);
  --radius: 20px;
  --wrap: 1180px;
  --night: #081420;
  --night-2: #0d1e2c;
  --night-text: #e9f2f8;
  --night-muted: rgba(233, 242, 248, 0.68);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1100px 640px at 4% -8%, rgba(15, 169, 140, 0.18), transparent 62%),
    radial-gradient(1000px 700px at 98% 0%, rgba(47, 125, 225, 0.16), transparent 64%),
    linear-gradient(170deg, var(--canvas-soft), var(--canvas) 52%, var(--canvas-cool));
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
}

a {
  color: var(--ion);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 4.1vw, 3.45rem);
  font-weight: 620;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-tight);
}

.skip:focus {
  left: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.eyebrow-light {
  color: rgba(233, 242, 248, 0.72);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 0 4px rgba(15, 169, 140, 0.16);
  flex: none;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.76);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 620;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: conic-gradient(from 210deg, var(--aurora), var(--ion), var(--lilac), var(--aurora));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 6px 16px rgba(47, 125, 225, 0.28);
  position: relative;
  flex: none;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 7px 8px;
  background: #fff;
  clip-path: polygon(0 0, 33% 0, 100% 72%, 100% 100%, 67% 100%, 0 28%);
  border-radius: 2px;
  opacity: 0.92;
}

.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 520;
  padding: 8px 13px;
  border-radius: 10px;
}

.nav a:hover {
  background: rgba(11, 26, 38, 0.05);
  color: var(--ink);
  text-decoration: none;
}

.nav .nav-cta {
  background: linear-gradient(180deg, #2f8be6, #2064bd);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 125, 225, 0.26);
  padding: 9px 16px;
  margin-left: 6px;
}

.nav .nav-cta:hover {
  color: #fff;
  background: linear-gradient(180deg, #3896f2, #1f5fb4);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle-bar {
  top: 20px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: '';
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: clamp(44px, 6vw, 84px) 0 clamp(30px, 4vw, 56px);
  overflow: clip;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 760px;
  background:
    radial-gradient(560px 420px at 22% 40%, rgba(15, 169, 140, 0.2), transparent 70%),
    radial-gradient(620px 460px at 78% 30%, rgba(47, 125, 225, 0.2), transparent 70%),
    radial-gradient(420px 360px at 62% 70%, rgba(122, 99, 216, 0.14), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 44px);
}

.hero-copy {
  max-width: 900px;
}

.hero-copy h1 {
  max-width: 24ch;
}

.lede {
  margin-top: 20px;
  font-size: clamp(1.03rem, 1.35vw, 1.16rem);
  color: var(--ink-2);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 22px;
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--ink-3);
  max-width: 48ch;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 4px rgba(217, 122, 69, 0.16);
  flex: none;
  margin-top: 0.5em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 120ms ease, background 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, #2f8be6, #2064bd);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 125, 225, 0.3);
}

.button.ghost {
  background: var(--glass-strong);
  border-color: var(--line);
  color: var(--ink);
}

.button:disabled {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 1;
}

.button.primary:disabled {
  background: linear-gradient(180deg, #cdd9e4, #bccbda);
  color: #5b6f83;
}

.button.ghost:disabled {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-3);
  border-color: var(--hairline);
}

.hero-figure {
  margin: 0;
  width: 100%;
  max-width: 1180px;
}

.hero-frame {
  transform: rotate(-0.25deg);
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: rotate(-0.25deg) translateY(0);
  }
  50% {
    transform: rotate(-0.25deg) translateY(-7px);
  }
}

.hero-figure figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-3);
}

/* -------------------------------------------------------------- principles */

.principles {
  padding: 10px 0 clamp(30px, 4vw, 48px);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.principles-grid article {
  padding: 2px 4px 2px 0;
}

.principles-grid h2 {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  font-weight: 620;
  margin-bottom: 7px;
}

.principles-grid p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- sections */

.section {
  padding: clamp(52px, 7vw, 96px) 0;
}

.band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.14));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-head {
  max-width: 66ch;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-sub {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}

/* ------------------------------------------------------------ product tour */

.tour-row {
  padding: clamp(30px, 4.5vw, 58px) 0;
}

.tour-row + .tour-row {
  border-top: 1px solid var(--hairline);
}

.tour-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(24px, 3.4vw, 38px);
}

.tour-head .eyebrow {
  margin-bottom: 12px;
}

.tour-copy h3 {
  max-width: 20ch;
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
}

.tour-copy > .tour-head > p:last-child {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1rem;
  max-width: 48ch;
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 54ch;
}

.points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--aurora);
  border-bottom: 2px solid var(--aurora);
  transform: rotate(-45deg);
}

.points strong {
  color: var(--ink);
  font-weight: 600;
}

.tour-figure {
  margin: 0;
  min-width: 0;
}

.tour-figure figcaption {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.5;
}

.fineprint {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 54ch;
}

/* -------------------------------------------------------------- shot frame */

.shot-frame {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-frame img {
  aspect-ratio: 1300 / 860;
  object-fit: cover;
}

/* ------------------------------------------------------------------- split */

/* --------------------------------------------------------------------- NI */

.dark {
  position: relative;
  background:
    radial-gradient(700px 420px at 85% -10%, rgba(47, 125, 225, 0.22), transparent 66%),
    radial-gradient(560px 380px at 8% 10%, rgba(15, 169, 140, 0.16), transparent 68%),
    linear-gradient(180deg, var(--night), var(--night-2));
  color: var(--night-text);
  overflow: clip;
}

.dark-glow {
  position: absolute;
  inset: auto -10% -30% 20%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(122, 99, 216, 0.28), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}

.dark .wrap {
  position: relative;
}

.dark-head .section-sub {
  color: var(--night-muted);
}

.dark h2,
.dark h3 {
  color: #fff;
}

.ni-figure {
  margin: 0 0 clamp(22px, 3vw, 32px);
}

.dark-frame {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.dark-frame::after {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.ni-figure figcaption {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--night-muted);
  line-height: 1.5;
}

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

.ni-block {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 22px;
}

.ni-block h3 {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.ni-block p {
  margin-top: 9px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--night-muted);
}

.tool-grid {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 22px;
}

.tool-grid li {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--night-muted);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-grid span {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ni-future {
  background: rgba(217, 122, 69, 0.09);
  border-color: rgba(217, 122, 69, 0.28);
}

.ni-future h3 {
  color: #ffd9c2;
}

/* ---------------------------------------------------------------- pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(14px);
}

.plan-featured {
  border-color: rgba(47, 125, 225, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68));
  box-shadow: 0 28px 70px rgba(47, 125, 225, 0.16);
}

.plan-tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ion);
  background: rgba(47, 125, 225, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.plan h3 {
  font-size: 1.12rem;
}

.plan-price {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price strong {
  font-size: 2.1rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.plan-price span {
  font-size: 0.84rem;
  color: var(--ink-3);
}

.plan-line {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--ink-2);
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.plan-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--aurora);
  border-bottom: 2px solid var(--aurora);
  transform: rotate(-45deg);
}

.plan-limit {
  font-size: 0.8rem;
  color: var(--ink-3);
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
  line-height: 1.5;
}

/* ---------------------------------------------------------- compare table */

.compare-block {
  margin-top: clamp(34px, 5vw, 62px);
}

.compare-title {
  font-size: 1.2rem;
}

.compare-sub {
  margin: 10px 0 20px;
  max-width: 68ch;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-tight);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 132px;
  gap: 12px;
  align-items: center;
  padding: 11px 22px;
  border-top: 1px solid var(--hairline);
  font-size: 0.9rem;
}

.compare-row:first-child {
  border-top: 0;
}

.compare-head {
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 650;
  padding-top: 14px;
  padding-bottom: 14px;
}

.compare-head span:not(:first-child) {
  text-align: center;
}

.compare-row > span:nth-child(2),
.compare-row > span:nth-child(3) {
  text-align: center;
}

.compare-group {
  display: contents;
}

.compare-group-label {
  margin: 0;
  padding: 16px 22px 6px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.4);
  border-top: 1px solid var(--hairline);
}

.yes {
  color: #0b7a5f;
  font-weight: 600;
}

.no {
  color: rgba(95, 116, 136, 0.65);
}

.pricing-footnote {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--ink-3);
  max-width: 72ch;
}

/* --------------------------------------------------------------- download */

.download {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.6));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.download-copy h2 {
  max-width: 20ch;
}

.download-copy > p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.96rem;
  max-width: 56ch;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.download-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-3);
}

.download-facts {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-facts div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hairline);
  font-size: 0.86rem;
}

.download-facts dt {
  color: var(--ink-3);
}

.download-facts dd {
  margin: 0;
  font-weight: 560;
  color: var(--ink);
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
  background: rgba(255, 255, 255, 0.42);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  justify-content: space-between;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.footer-brand .brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--ink-3);
  max-width: 60ch;
}

.footer-nav {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-nav a {
  color: var(--ink-2);
}

/* --------------------------------------------------------------- animation */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hero-copy h1 {
    max-width: 22ch;
  }

  .hero-figure {
    max-width: 100%;
  }

  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
  }

  .tour-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .tour-copy h3 {
    max-width: none;
  }

  .ni-cards {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .plan:last-child {
    grid-column: span 2;
  }

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

@media (max-width: 900px) {
  .hero-frame {
    animation: none;
    transform: none;
  }

  .compare-row {
    grid-template-columns: minmax(0, 1fr) 92px 92px;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.86rem;
  }

  .compare-head {
    font-size: 0.68rem;
  }

  .compare-group-label {
    padding: 14px 16px 5px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
  }

  .nav .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .brand-tag {
    display: none;
  }

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

  .plan:last-child {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-actions .button,
  .download-actions .button {
    width: 100%;
  }

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

  .compare-row {
    grid-template-columns: minmax(0, 1fr) 64px 68px;
    gap: 6px;
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .compare-head span:not(:first-child) {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan {
    padding: 22px;
  }
}

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

  .hero-frame {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    transition: none;
  }
}
