:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #f0f4f8;
  --ink: #101827;
  --ink-soft: #344054;
  --muted: #667085;
  --line: rgba(16, 24, 39, 0.12);
  --line-strong: rgba(16, 24, 39, 0.2);
  --cyan: #06b6d4;
  --violet: #6d5dfc;
  --green: #16a34a;
  --amber: #d97706;
  --shadow: 0 18px 50px rgba(16, 24, 39, 0.08);
  --shadow-soft: 0 10px 28px rgba(16, 24, 39, 0.06);
  --max: 1160px;
  --radius: 8px;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.16), transparent 32rem),
    linear-gradient(135deg, #fbfcff 0%, #f4f7fb 48%, #eff5f4 100%);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(16, 24, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 39, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 78%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 0.9rem;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 160px;
  height: 40px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

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

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

.nav-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(90deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  opacity: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.nav-menu a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.72rem;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 160ms ease, background 160ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  color: var(--ink);
  background: rgba(16, 24, 39, 0.06);
}

.nav-menu .nav-pill {
  margin-left: 0.4rem;
  color: var(--surface);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(16, 24, 39, 0.16);
}

.nav-menu .nav-pill:hover,
.nav-menu .nav-pill:focus-visible,
.nav-menu .nav-pill[aria-current="page"] {
  color: var(--surface);
  background: #243044;
}

main {
  overflow: hidden;
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 3.75rem 0;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.hero-grid > *,
.section-heading > *,
.story-grid > *,
.detail-row > *,
.about-grid > *,
.contact-grid > *,
.free-grid > *,
.policy-layout > *,
.cta-panel > * {
  min-width: 0;
}

.hero {
  padding: 5.2rem 0 4.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.4rem 0.62rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.eyebrow::before {
  width: 0.48rem;
  height: 0.48rem;
  background: var(--green);
  border-radius: 999px;
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1;
}

h1 {
  max-width: 12ch;
  font-size: 4.9rem;
}

.subhero h1 {
  max-width: 13ch;
}

h2 {
  font-size: 3.05rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.18;
}

p {
  margin: 0;
}

.lead {
  max-width: 60ch;
  margin-top: 1.45rem;
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.76rem 1rem;
  color: var(--surface);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  box-shadow: 0 12px 28px rgba(16, 24, 39, 0.16);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: #243044;
  border-color: #243044;
  box-shadow: 0 16px 34px rgba(16, 24, 39, 0.18);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.button.disabled,
.button:disabled {
  color: var(--muted);
  background: var(--surface-soft);
  border-color: var(--line);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.hero-note span::before {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  content: "";
}

.product-visual {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 249, 252, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-visual::before {
  position: absolute;
  inset: 1rem;
  z-index: -1;
  border: 1px solid rgba(6, 182, 212, 0.24);
  transform: translate(14px, 14px);
  border-radius: var(--radius);
  content: "";
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 0.85rem 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.window-bar > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-dots {
  display: flex;
  gap: 0.36rem;
}

.window-dots i {
  width: 0.64rem;
  height: 0.64rem;
  display: block;
  border-radius: 999px;
  background: var(--line-strong);
}

.app-panel {
  padding: 1.15rem;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.app-title > div {
  min-width: 0;
}

.app-title img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(109, 93, 252, 0.22);
}

.app-title strong {
  display: block;
  font-size: 1.06rem;
}

.app-title span,
.app-status span,
.metric span,
.path-row span,
.stat span,
.address-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.app-status {
  padding: 0.52rem 0.68rem;
  background: #ecfdf3;
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: var(--radius);
}

.app-status strong {
  display: block;
  color: #157347;
  font-size: 0.86rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.metric {
  min-height: 92px;
  padding: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.42rem;
}

.path-list {
  display: grid;
  gap: 0.62rem;
}

.path-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.path-row > * {
  min-width: 0;
}

.path-row span {
  text-align: right;
}

.path-row::before {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  content: "";
}

.path-row:nth-child(2)::before {
  background: var(--violet);
}

.path-row:nth-child(3)::before {
  background: var(--amber);
}

.path-row strong {
  font-size: 0.94rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.68fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

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

.feature-card,
.platform-card,
.download-card,
.value-card,
.stat,
.contact-card,
.policy-nav,
.free-card,
.system-card,
.legal-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.value-card,
.stat,
.contact-card,
.system-card,
.legal-card {
  padding: 1.2rem;
}

.feature-card {
  min-height: 214px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card p,
.value-card p,
.download-card p,
.platform-card p,
.legal-card p,
.system-card p,
.free-card p {
  color: var(--muted);
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #064e5a;
  background: #dff8fc;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.icon-badge.violet {
  color: #36267d;
  background: #edeaff;
  border-color: rgba(109, 93, 252, 0.22);
}

.icon-badge.green {
  color: #14532d;
  background: #e9f9ee;
  border-color: rgba(22, 163, 74, 0.2);
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.platform-card {
  min-height: 138px;
  padding: 1rem;
}

.platform-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
}

.story-band,
.cta-band {
  background: rgba(255, 255, 255, 0.74);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  align-items: center;
  gap: 3rem;
}

.story-copy p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.story-list {
  display: grid;
  gap: 0.85rem;
}

.story-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.82rem;
  align-items: start;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.story-item i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  background: var(--cyan);
  border-radius: 999px;
  font-style: normal;
  font-weight: 800;
}

.story-item:nth-child(2) i {
  background: var(--violet);
}

.story-item:nth-child(3) i {
  background: var(--green);
}

.story-item p {
  color: var(--muted);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  color: var(--surface);
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.95), rgba(27, 39, 63, 0.96)),
    linear-gradient(90deg, rgba(6, 182, 212, 0.22), rgba(109, 93, 252, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-panel h2,
.cta-panel p {
  color: var(--surface);
}

.cta-panel p {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel .button {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
  box-shadow: none;
}

.subhero {
  padding: 4.4rem 0 2.6rem;
}

.subhero .lead {
  max-width: 66ch;
}

.feature-detail {
  display: grid;
  gap: 1rem;
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-row:nth-child(even) {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.8fr);
}

.detail-row:nth-child(even) .detail-copy {
  order: 2;
}

.detail-copy p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
}

.detail-list {
  display: grid;
  gap: 0.64rem;
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-list span {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  color: var(--ink-soft);
}

.detail-list span::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--cyan);
  border-radius: 50%;
  content: "";
}

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

.download-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
}

.download-top {
  display: grid;
  gap: 0.9rem;
}

.download-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 850;
}

.download-card.featured {
  border-color: rgba(6, 182, 212, 0.34);
  box-shadow: 0 18px 44px rgba(6, 182, 212, 0.12);
}

.download-card.featured .download-icon {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.requirements {
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.stat strong {
  display: block;
  margin-top: 0.42rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}

.about-grid,
.contact-grid,
.free-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: start;
}

.prose {
  display: grid;
  gap: 1.05rem;
  color: var(--ink-soft);
}

.address-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.address-card address {
  margin-top: 0.7rem;
  color: var(--ink);
  font-style: normal;
  line-height: 1.7;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  display: grid;
  gap: 0.75rem;
}

.contact-card a {
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.field {
  display: grid;
  gap: 0.38rem;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  padding: 0.78rem 0.85rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  background: var(--surface);
  border-color: rgba(6, 182, 212, 0.56);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 2rem;
}

.policy-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
}

.policy-nav a {
  padding: 0.58rem 0.65rem;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 700;
}

.policy-nav a:hover,
.policy-nav a:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
}

.legal-content {
  display: grid;
  gap: 1rem;
}

.legal-card {
  scroll-margin-top: 100px;
}

.legal-card h2 {
  font-size: 1.72rem;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
}

.legal-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.free-card {
  padding: 1.5rem;
}

.free-statement {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  margin: 1.2rem 0;
  flex-direction: column;
  padding: 1rem;
  background: #ecfdf3;
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: var(--radius);
}

.free-statement strong {
  font-family: var(--font-display);
  color: #157347;
  font-size: 2.1rem;
  line-height: 1;
}

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

.included-list {
  display: grid;
  gap: 0.66rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.included-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 0.6rem;
  color: var(--ink-soft);
}

.included-list li::before {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  background: var(--green);
  border-radius: 999px;
  content: "";
}

.free-note,
.info-stack {
  display: grid;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
}

.footer-brand {
  display: grid;
  gap: 0.8rem;
}

.footer-brand img {
  width: 150px;
  height: auto;
}

.footer-brand p,
.footer-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.94rem;
}

.footer-bottom {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.1rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-grid,
  .story-grid,
  .about-grid,
  .contact-grid,
  .free-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

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

  .policy-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    color: var(--surface);
    background: var(--ink);
    border-color: var(--ink);
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 0.8rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .nav-menu a {
    justify-content: flex-start;
    min-height: 44px;
  }

  .nav-menu .nav-pill {
    margin-left: 0;
  }

  .hero {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .lead {
    font-size: 1.06rem;
  }

  .section-heading,
  .detail-row,
  .detail-row:nth-child(even),
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .detail-row:nth-child(even) .detail-copy {
    order: 0;
  }

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

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

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .container,
  .footer-grid,
  .footer-bottom {
    width: min(calc(100vw - 1.25rem), 370px);
  }

  .brand img {
    width: 145px;
  }

  .hero {
    padding: 2.8rem 0 3rem;
  }

  .section,
  .section-tight {
    padding: 3.4rem 0;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .feature-grid,
  .platform-strip,
  .download-grid,
  .stat-grid,
  .value-grid,
  .policy-nav,
  .nav-menu.is-open {
    grid-template-columns: 1fr;
  }

  .app-top,
  .free-statement {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-visual {
    padding: 0.72rem;
  }

  .window-bar {
    font-size: 0.7rem;
    gap: 0.5rem;
  }

  .app-panel {
    padding: 0.9rem;
  }

  .path-row {
    grid-template-columns: 8px minmax(0, 1fr);
  }

  .path-row span {
    grid-column: 2;
    text-align: left;
  }

  .cta-panel {
    padding: 1.25rem;
  }

  .hero-actions,
  .inline-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}

/* ── Company homepage additions ─────────────────────────────── */

.hero-company {
  padding: 6.5rem 0 5rem;
}

.company-hero-inner {
  max-width: 760px;
}

.company-hero-inner h1 {
  margin-top: 0.8rem;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 1.02;
  max-width: 16ch;
}

.company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.company-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.company-meta span::before {
  width: 5px;
  height: 5px;
  background: var(--line-strong);
  border-radius: 50%;
  content: "";
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label::before {
  display: inline-block;
  width: 1.4rem;
  height: 1px;
  background: var(--muted);
  content: "";
  vertical-align: middle;
}

/* Value strip */
.value-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}

.value-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.value-dot.cyan   { background: var(--cyan); }
.value-dot.violet { background: var(--violet); }
.value-dot.green  { background: var(--green); }
.value-dot.amber  { background: var(--amber); }

@media (max-width: 640px) {
  .hero-company {
    padding: 4rem 0 3rem;
  }
  .company-hero-inner h1 {
    font-size: 2.8rem;
  }
  .value-strip {
    gap: 0.5rem;
  }
}
