:root {
  --paper: #f7f5ef;
  --surface: #ffffff;
  --ink: #10231d;
  --muted: #5f6f69;
  --green: #087a55;
  --green-dark: #0b2a21;
  --line: #dce2dd;
  --focus-ring: #006b4a;
  --focus-ring-on-dark: #b7ef7b;
  --field-border: #687972;
  --danger: #992e25;
  --success: #126a4d;
  --radius-sm: 8px;
  --radius-md: 16px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 72px;
  --target-size: 44px;
  --shadow-card: 0 12px 28px rgba(16, 35, 29, 0.08);
  --content-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  min-height: var(--target-size);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea,
summary {
  min-height: var(--target-size);
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.dark :focus-visible,
.demo-grid > div > a:focus-visible,
footer :focus-visible,
.skip-link:focus-visible {
  outline-color: var(--focus-ring-on-dark);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.shell {
  width: min(var(--content-width), calc(100% - (var(--space-3) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: var(--space-2);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  padding-inline: var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--green-dark);
  color: var(--surface);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-2);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nav-inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: var(--space-3);
}

.brand-lockup {
  display: inline-flex;
  min-height: var(--target-size);
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-lockup img {
  width: var(--target-size);
  height: var(--target-size);
  object-fit: contain;
}

.brand-lockup span {
  display: grid;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

.site-nav nav a,
.text-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav nav a:hover,
.text-link:hover,
.text-action:hover,
footer a:hover {
  text-decoration: underline;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.button,
.secondary {
  display: inline-flex;
  min-height: var(--target-size);
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button {
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--surface);
  padding: 13px 21px;
}

.button:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.button.small {
  padding: 10px var(--space-2);
  font-size: 12px;
}

.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 12px 18px;
}

.secondary:hover {
  border-color: var(--green);
}

.hero {
  overflow: hidden;
  background: var(--paper);
}

.hero-grid {
  display: grid;
  min-height: 680px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-5);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: var(--space-3);
  height: 2px;
  background: var(--green);
}

.hero h1 {
  max-width: 760px;
  margin: var(--space-3) 0;
  font-size: clamp(44px, 5.4vw, 76px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  color: var(--green);
}

.hero-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 30px 0;
}

.text-action {
  display: inline-flex;
  min-height: var(--target-size);
  align-items: center;
  color: var(--green-dark);
  font-weight: 800;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px var(--space-3);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.trust-row span::before {
  margin-right: var(--space-1);
  color: var(--green);
  content: "✓";
}

.hero-visual {
  position: relative;
}

.hero-visual > img {
  width: 100%;
  aspect-ratio: 1.05;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-md) + var(--space-1));
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.floating {
  position: absolute;
  display: grid;
  max-width: 240px;
  padding: 14px var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.floating strong {
  font-size: 13px;
}

.floating span {
  color: var(--muted);
  font-size: 11px;
}

.proof-card {
  top: var(--space-4);
  left: calc(var(--space-3) * -1);
}

.access-card {
  right: calc(var(--space-2) * -1);
  bottom: var(--space-4);
  padding-left: var(--space-4);
}

.access-card i {
  position: absolute;
  top: 21px;
  left: var(--space-2);
  width: 12px;
  height: 12px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--green);
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid article {
  padding: var(--space-3);
  border-right: 1px solid var(--line);
}

.proof-grid article:first-child {
  padding-left: 0;
}

.proof-grid article:last-child {
  border-right: 0;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-size: 18px;
}

.proof-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding-block: 104px;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: var(--space-5);
}

.section h2 {
  margin: 18px 0;
  font-size: clamp(36px, 4.2vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
}

.pain-list article {
  display: grid;
  grid-template-columns: var(--target-size) 1fr;
  gap: var(--space-2);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.pain-list b,
.method-grid > article > span {
  color: var(--green);
  font-size: 12px;
}

.pain-list strong {
  font-size: 18px;
}

.pain-list p {
  margin: 6px 0 0;
}

.dark {
  background: var(--green-dark);
  color: var(--surface);
}

.dark .eyebrow,
.demo .eyebrow {
  color: #c8d5cf;
}

.dark h2 {
  max-width: 840px;
}

.dark p,
.demo p {
  color: #c8d5cf;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: var(--space-4);
  border-top: 1px solid #385248;
  border-left: 1px solid #385248;
}

.method-grid article {
  min-height: 240px;
  padding: var(--space-3);
  border-right: 1px solid #385248;
  border-bottom: 1px solid #385248;
}

.method-grid h3 {
  margin: var(--space-4) 0 var(--space-1);
  font-size: 22px;
}

.method-grid p {
  color: #c8d5cf;
  font-size: 14px;
}

.result-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: var(--space-5);
}

.result-panel {
  overflow-x: auto;
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

table {
  width: 100%;
  border-collapse: collapse;
}

caption {
  padding-bottom: var(--space-2);
  font-size: 20px;
  font-weight: 850;
  text-align: left;
}

th,
td {
  padding: 14px var(--space-2);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.panel-headline {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--line);
}

.panel-headline b {
  color: var(--green);
  font-size: 12px;
}

.result-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-panel li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line);
}

.result-panel li:last-child {
  border-bottom: 0;
}

.result-panel strong {
  color: var(--green);
  font-size: 12px;
  text-align: right;
}

.continuity {
  background: #eeece5;
}

.continuity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.local-data,
.control-plane {
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.local-data h3,
.control-plane h3 {
  margin-bottom: var(--space-3);
  font-size: 22px;
}

.local-data ul,
.control-plane ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.local-data li,
.control-plane li {
  position: relative;
  padding-left: var(--space-3);
}

.local-data li::before,
.control-plane li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.faq-title {
  max-width: 720px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: var(--space-4);
}

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

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--target-size);
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  font-weight: 800;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  display: inline-flex;
  width: var(--target-size);
  min-width: var(--target-size);
  height: var(--target-size);
  min-height: var(--target-size);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--field-border);
  border-radius: 50%;
  color: var(--green-dark);
  content: "+";
  font-size: 24px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 12px 0 0;
  font-size: 14px;
}

.demo {
  background: var(--green-dark);
  color: var(--surface);
}

.demo-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-5);
}

.demo h2 {
  font-size: clamp(38px, 4vw, 56px);
}

.demo-grid > div > a {
  display: inline-flex;
  align-items: center;
  color: var(--focus-ring-on-dark);
}

form {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
}

label,
legend {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

label {
  display: block;
  margin-bottom: var(--space-2);
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}

textarea {
  min-height: 104px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--green);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.optional-details {
  margin: var(--space-3) 0;
  padding: var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.optional-details legend {
  padding-inline: var(--space-1);
}

.check {
  display: flex;
  min-width: var(--target-size);
  min-height: var(--target-size);
  align-items: flex-start;
  gap: 12px;
  padding-block: 11px;
  cursor: pointer;
  font-weight: 500;
  line-height: 1.5;
}

.check input {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 2px 0 0;
}

.check a {
  display: inline-block;
  margin-block: -10px;
  padding-block: 10px;
}

.form-message {
  margin-bottom: var(--space-2);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.form-message.success {
  background: #e4f3eb;
  color: var(--success);
}

.form-message.error {
  background: #f9e7e4;
  color: var(--danger);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.form-reassurance {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

footer {
  padding: 64px 0 var(--space-3);
  background: #071a14;
  color: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-4);
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: var(--space-1);
}

.footer-grid strong {
  color: #aabbb4;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  text-decoration: none;
}

.footer-grid p,
.brand-lockup.inverse small {
  color: #aabbb4;
}

.footer-grid p {
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid #294138;
  color: #aabbb4;
  font-size: 12px;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
}

.footer-bottom address {
  color: #dce5e1;
  font-style: normal;
}

.trademark-note {
  margin-bottom: 0;
  color: #aabbb4;
}

.legal-shell {
  width: min(840px, calc(100% - (var(--space-3) * 2)));
  margin: var(--space-5) auto 110px;
}

.legal-shell h1,
.download-hero h1 {
  margin: 18px 0 28px;
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.legal-shell h2 {
  margin-top: var(--space-4);
  font-size: 24px;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-shell a {
  color: var(--green-dark);
  font-weight: 700;
}

.legal-shell table {
  margin-block: var(--space-3);
  border: 1px solid var(--line);
  background: var(--surface);
}

.legal-lead {
  font-size: 19px;
}

.legal-config-error {
  padding: var(--space-2);
  border: 2px solid #cb655c;
  border-radius: var(--radius-sm);
  background: #f9e7e4;
  color: #5b1712;
  font-weight: 800;
}

.download-hero {
  padding: var(--space-5) 0 var(--space-4);
}

.download-hero > p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.download-card {
  position: relative;
  display: grid;
  align-content: start;
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.download-card.recommended {
  border: 2px solid var(--green);
  box-shadow: var(--shadow-card);
}

.download-card > span {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card h2 {
  margin: 13px 0 var(--space-1);
}

.download-card p {
  min-height: 112px;
  color: var(--muted);
}

.download-card small {
  margin-top: 12px;
  color: var(--muted);
}

.download-card .download-note {
  min-height: 0;
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 12px;
  line-height: 1.5;
}

.dark-button {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.install-flow {
  padding-block: 90px;
}

.install-flow h2 {
  font-size: 42px;
  letter-spacing: -0.04em;
}

.install-flow ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin: var(--space-4) 0;
  padding: 0;
  list-style: none;
}

.install-flow li {
  padding: var(--space-3);
  border-top: 3px solid var(--green);
  background: var(--surface);
}

.install-flow li > b {
  color: var(--green);
}

.install-flow strong {
  display: block;
  margin-top: var(--space-2);
}

.install-flow p {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .site-nav nav {
    display: none;
  }

  .legal-page .site-nav nav {
    display: flex;
  }

  .hero-grid,
  .split,
  .result-grid,
  .continuity-grid,
  .demo-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hero-grid {
    min-height: auto;
    padding-block: var(--space-5);
  }

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

  .hero-visual {
    max-width: 720px;
  }

  .proof-grid,
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid article:nth-child(2) {
    border-right: 0;
  }

  .proof-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

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

  .install-flow ol {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(var(--content-width), calc(100% - (var(--space-2) * 2)));
  }

  .nav-inner {
    min-height: var(--space-5);
  }

  .legal-page .nav-inner {
    gap: var(--space-1);
  }

  .legal-page .brand-lockup small {
    display: none;
  }

  .nav-cta .text-link,
  .nav-cta .button {
    display: none;
  }

  .brand-lockup img {
    width: var(--space-4);
    height: var(--space-4);
  }

  .brand-lockup {
    font-size: 19px;
  }

  .hero-grid {
    padding-block: var(--space-4);
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 56px);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .button,
  .actions .text-action {
    width: 100%;
    justify-content: center;
  }

  .trust-row {
    display: grid;
  }

  .floating {
    position: relative;
    inset: auto;
    max-width: none;
    margin-top: var(--space-1);
  }

  .proof-grid,
  .method-grid,
  .faq-grid,
  .footer-grid,
  .download-grid,
  .install-flow ol,
  .two {
    grid-template-columns: 1fr;
  }

  .proof-grid article {
    padding: var(--space-2) 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: var(--space-5);
  }

  .method-grid article {
    min-height: 190px;
  }

  .result-panel {
    padding: var(--space-2);
  }

  .result-panel table {
    min-width: 560px;
  }

  .result-panel li,
  .panel-headline {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-panel strong {
    text-align: left;
  }

  .local-data,
  .control-plane,
  form {
    padding: var(--space-3);
  }

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

  .legal-shell {
    width: calc(100% - (var(--space-2) * 2));
    margin-top: var(--space-4);
  }

  .legal-shell table {
    display: block;
    overflow-x: auto;
  }

  .download-hero {
    padding-top: var(--space-4);
  }

  .download-card p {
    min-height: auto;
  }
}

/* SaaS presentation layer -------------------------------------------------- */

:root {
  --surface-soft: #f0f4f1;
  --surface-green: #e3eee8;
  --green-bright: #0a9868;
  --line-strong: #c8d4cd;
  --dark-surface: #102f26;
  --dark-line: #315147;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 20px 50px rgba(16, 35, 29, 0.1);
  --shadow-lift: 0 28px 70px rgba(10, 42, 33, 0.14);
  --shadow-window: 0 40px 90px rgba(8, 34, 27, 0.22), 0 12px 28px rgba(8, 34, 27, 0.12);
}

body {
  overflow-x: clip;
  background: var(--paper);
}

::selection {
  background: var(--surface-green);
  color: var(--green-dark);
}

.site-nav {
  border-bottom: 0;
  background: rgba(247, 245, 239, 0.96);
  transition: transform 180ms ease-out;
}

.site-nav.is-scrolled {
  box-shadow: 0 10px 30px rgba(16, 35, 29, 0.08);
}

.nav-inner {
  min-height: 68px;
  margin-block: 10px;
  padding: 7px 8px 7px 18px;
  border: 1px solid rgba(200, 212, 205, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(16, 35, 29, 0.06);
}

.brand-lockup img {
  padding: 6px;
  border-radius: 12px;
  background: var(--green-dark);
  box-shadow: 0 7px 16px rgba(11, 42, 33, 0.18);
}

.brand-lockup.inverse img {
  background: var(--surface);
}

.site-nav nav {
  gap: 28px;
}

.site-nav nav a {
  position: relative;
}

.site-nav nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.site-nav nav a:hover {
  text-decoration: none;
}

.site-nav nav a:hover::after,
.site-nav nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.button,
.secondary {
  border-radius: 12px;
  transition: transform 160ms ease-out;
}

.button {
  box-shadow: 0 8px 0 #075f43, 0 14px 26px rgba(8, 122, 85, 0.18);
}

.button:hover {
  transform: translate3d(0, -2px, 0);
}

.button:active {
  transform: translate3d(0, 2px, 0);
}

.secondary {
  box-shadow: 0 5px 14px rgba(16, 35, 29, 0.06);
}

.secondary:hover {
  transform: translate3d(0, -2px, 0);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--paper);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 58px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: var(--surface-green);
  box-shadow: inset 0 0 0 54px var(--paper), inset 0 0 0 55px var(--line);
  opacity: 0.92;
}

.hero::after {
  top: 170px;
  right: 85px;
  width: 310px;
  height: 310px;
  border-color: rgba(8, 122, 85, 0.28);
}

.hero-grid {
  position: relative;
  z-index: 10;
  min-height: 740px;
  grid-template-columns: minmax(0, 0.93fr) minmax(460px, 1.07fr);
  gap: 68px;
  padding-block: 86px 92px;
}

.hero-copy {
  position: relative;
  z-index: 20;
}

.hero-copy::before {
  position: absolute;
  top: -28px;
  left: -28px;
  width: 56px;
  height: 56px;
  border-top: 1px solid var(--green);
  border-left: 1px solid var(--green);
  content: "";
  opacity: 0.44;
}

.eyebrow {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--green-dark);
}

.dark .eyebrow,
.demo .eyebrow {
  border-color: var(--dark-line);
  background: var(--dark-surface);
}

.hero h1 {
  max-width: 680px;
  margin: 28px 0 26px;
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: 0.96;
}

.hero h1 span {
  position: relative;
  width: fit-content;
}

.hero h1 span::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 5px;
  border-radius: 999px;
  background: var(--green);
  content: "";
  opacity: 0.22;
  transform: scaleX(0.78);
  transform-origin: left;
}

.hero-lead {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.72;
}

.actions {
  gap: 22px;
  margin: 34px 0 38px;
}

.text-action {
  position: relative;
  text-decoration: none;
}

.text-action::after {
  margin-left: 9px;
  content: "→";
  transition: transform 160ms ease-out;
}

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

.text-action:hover::after {
  transform: translate3d(4px, 0, 0);
}

.trust-row {
  display: grid;
  max-width: 620px;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
}

.trust-row span {
  display: flex;
  align-items: flex-start;
}

.trust-row span::before {
  display: inline-flex;
  width: 19px;
  min-width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-green);
  font-size: 11px;
}

.hero-visual {
  --tilt-x: 2deg;
  --tilt-y: -4deg;
  position: relative;
  z-index: 10;
  min-width: 0;
  padding: 58px 8px;
  transform-style: preserve-3d;
}

.product-window {
  position: relative;
  z-index: 10;
  overflow: hidden;
  border: 1px solid #c4d1ca;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-window);
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.product-window::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76) url("/static/palesya-mark.png") center / 50px no-repeat;
  box-shadow: 0 12px 24px rgba(16, 35, 29, 0.14);
  content: "";
}

.product-window-bar {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.product-window-bar > span {
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-soft);
}

.product-window-bar > span:first-child {
  background: var(--green);
}

.product-window-bar i {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  color: var(--green-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.product-window-bar i img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.product-window-bar b {
  width: 92px;
  height: 8px;
  margin-left: auto;
  border-radius: 999px;
  background: var(--surface-green);
}

.product-window-media {
  padding: 10px;
  background: var(--surface-soft);
}

.product-window-media img {
  width: 100%;
  aspect-ratio: 1.22;
  border-radius: 15px;
  object-fit: cover;
}

.visual-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(8, 122, 85, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 8px;
  right: -44px;
  width: 260px;
  height: 260px;
  box-shadow: inset 0 0 0 22px rgba(255, 255, 255, 0.18);
}

.orbit-two {
  bottom: 4px;
  left: -44px;
  width: 180px;
  height: 180px;
  border-color: rgba(11, 42, 33, 0.16);
  background: rgba(255, 255, 255, 0.24);
}

.floating {
  z-index: 20;
  max-width: 250px;
  padding: 15px 17px;
  border-color: rgba(200, 212, 205, 0.9);
  border-radius: 15px;
  box-shadow: 0 18px 42px rgba(16, 35, 29, 0.16);
  transform: translate3d(0, 0, 28px);
}

.floating strong {
  color: var(--green-dark);
}

.proof-card {
  top: 4px;
  left: -16px;
}

.access-card {
  right: -16px;
  bottom: 8px;
}

.proof-strip {
  position: relative;
  z-index: 20;
  border-block: 0;
  background: transparent;
}

.proof-grid {
  position: relative;
  overflow: hidden;
  margin-bottom: -46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}

.proof-grid article,
.proof-grid article:first-child {
  position: relative;
  min-height: 134px;
  padding: 28px 24px;
}

.proof-grid article::before {
  position: absolute;
  top: 26px;
  left: 0;
  width: 3px;
  height: 32px;
  border-radius: 999px;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleY(0.5);
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.proof-grid article:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.section {
  position: relative;
  padding-block: 126px;
}

.pain {
  padding-top: 170px;
  background: var(--surface-soft);
}

.split {
  align-items: start;
  gap: 88px;
}

.section h2 {
  margin: 22px 0;
  line-height: 1.02;
}

.pain-list {
  display: grid;
  gap: 12px;
}

.pain-list article {
  min-height: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(16, 35, 29, 0.05);
  transition: transform 180ms ease-out;
}

.pain-list article:hover {
  transform: translate3d(6px, 0, 0);
}

.pain-list b {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface-green);
}

.dark {
  overflow: hidden;
  isolation: isolate;
  background: #082119;
}

.dark::after {
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -140px;
  width: 620px;
  height: 620px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  box-shadow: inset 0 0 0 60px #082119, inset 0 0 0 61px var(--dark-line);
  content: "";
  opacity: 0.7;
}

.method-grid {
  gap: 14px;
  margin-top: 54px;
  border: 0;
}

.method-grid article {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--dark-line);
  border-radius: 18px;
  background: var(--dark-surface);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease-out;
}

.method-grid article::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  content: "";
}

.method-grid article:hover {
  transform: translate3d(0, -7px, 0);
}

.method-grid h3 {
  margin-top: 66px;
}

.method-grid > article > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #3c6758;
  border-radius: 11px;
  background: #173d32;
  color: #b7ef7b;
}

.result-grid {
  gap: 86px;
}

.result-panel {
  position: relative;
  overflow: hidden;
  padding: 62px 24px 24px;
  border-color: var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.result-panel::before {
  position: absolute;
  top: 21px;
  left: 23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 16px 0 0 #b7c8bf, 32px 0 0 #d5ddd8;
  content: "";
}

.result-panel::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 50px;
  border-bottom: 1px solid var(--line);
  content: "";
  pointer-events: none;
}

tbody tr {
  transition: transform 160ms ease-out;
}

tbody tr:hover {
  background: var(--surface-soft);
  transform: translate3d(3px, 0, 0);
}

.continuity {
  overflow: hidden;
  background: var(--surface-green);
}

.continuity::before {
  position: absolute;
  top: -130px;
  left: -160px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(8, 122, 85, 0.2);
  border-radius: 50%;
  content: "";
}

.continuity-grid {
  gap: 28px;
  margin-top: 56px;
  perspective: 1200px;
}

.local-data,
.control-plane {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-color: rgba(200, 212, 205, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease-out;
}

.local-data {
  transform: rotateY(2deg) translate3d(0, -6px, 0);
}

.control-plane {
  transform: rotateY(-2deg) translate3d(0, 6px, 0);
}

.local-data:hover,
.control-plane:hover {
  transform: rotateY(0) translate3d(0, -10px, 0);
}

.local-data::after,
.control-plane::after {
  position: absolute;
  top: -45px;
  right: -45px;
  width: 130px;
  height: 130px;
  border: 1px solid var(--surface-green);
  border-radius: 50%;
  content: "";
}

.faq {
  background: var(--surface-soft);
}

.faq-grid {
  gap: 14px;
  margin-top: 52px;
}

.faq details {
  padding: 19px 21px;
  border-color: var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(16, 35, 29, 0.04);
  transition: transform 160ms ease-out;
}

.faq details:hover {
  transform: translate3d(0, -3px, 0);
}

.faq details[open] {
  border-color: rgba(8, 122, 85, 0.52);
  box-shadow: 0 14px 28px rgba(16, 35, 29, 0.08);
}

.faq summary::after {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.demo {
  overflow: hidden;
  isolation: isolate;
  background: #071c15;
}

.demo::before {
  position: absolute;
  z-index: -1;
  right: -140px;
  bottom: -240px;
  width: 600px;
  height: 600px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  box-shadow: inset 0 0 0 52px #071c15, inset 0 0 0 53px var(--dark-line);
  content: "";
}

.demo-grid {
  align-items: center;
  gap: 90px;
}

form {
  position: relative;
  padding: 42px;
  border: 1px solid #d4ded8;
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 76px rgba(0, 0, 0, 0.24);
  transform: perspective(1000px) rotateY(-1.5deg);
  transition: transform 180ms ease-out;
}

form:hover,
form:focus-within {
  transform: perspective(1000px) rotateY(0);
}

input,
select,
textarea {
  border-radius: 10px;
  background: #fbfcfb;
  transition: transform 160ms ease-out;
}

input:focus,
select:focus,
textarea:focus {
  background: var(--surface);
  transform: translate3d(0, -1px, 0);
}

.optional-details {
  border-radius: 14px;
  background: var(--surface-soft);
}

footer {
  position: relative;
  overflow: hidden;
  padding-top: 82px;
  background: #05140f;
}

footer::before {
  position: absolute;
  top: -190px;
  left: 50%;
  width: 620px;
  height: 300px;
  border: 1px solid #284039;
  border-radius: 50%;
  content: "";
  opacity: 0.46;
  transform: translate3d(-50%, 0, 0);
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 10;
}

.footer-grid a {
  width: fit-content;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: #b7ef7b;
  text-decoration: none;
}

/* Download and legal public surfaces */

.download-page {
  background: var(--surface-soft);
}

.download-hero {
  position: relative;
  padding: 112px 0 64px;
}

.download-hero::after {
  position: absolute;
  top: 70px;
  right: 0;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(8, 122, 85, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px var(--surface-soft), inset 0 0 0 29px rgba(8, 122, 85, 0.18);
  content: "";
}

.download-hero h1 {
  position: relative;
  z-index: 10;
  max-width: 820px;
  font-size: clamp(48px, 6vw, 76px);
}

.download-hero > p:last-child {
  position: relative;
  z-index: 10;
  max-width: 720px;
}

.download-grid {
  grid-template-columns: 1.16fr 1fr 1fr;
  align-items: stretch;
  gap: 18px;
  perspective: 1200px;
}

.download-card {
  padding: 30px;
  border-color: var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease-out;
}

.download-card:hover {
  transform: translate3d(0, -7px, 0);
}

.download-card.recommended {
  grid-row: span 2;
  border: 2px solid var(--green);
  box-shadow: 0 32px 70px rgba(8, 122, 85, 0.16);
  transform: rotateY(1.5deg);
}

.download-card.recommended:hover {
  transform: rotateY(0) translate3d(0, -7px, 0);
}

.download-card:last-child {
  grid-column: 2 / 4;
}

.download-card h2 {
  font-size: 28px;
}

.download-card .button {
  margin-top: auto;
}

.download-card .download-note {
  border-radius: 12px;
  background: var(--surface-soft);
}

.install-flow {
  padding-block: 118px;
}

.install-flow ol {
  gap: 14px;
}

.install-flow li {
  position: relative;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(16, 35, 29, 0.06);
  transition: transform 180ms ease-out;
}

.install-flow li:hover {
  transform: translate3d(0, -6px, 0);
}

.install-flow li > b {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--surface-green);
}

.legal-page {
  background: var(--surface-soft);
}

.legal-shell {
  width: min(960px, calc(100% - (var(--space-3) * 2)));
  margin: 70px auto 110px;
  padding: 58px 64px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}

.legal-shell h1 {
  max-width: 760px;
}

.legal-shell h2 {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-shell table {
  overflow: hidden;
  border-radius: 12px;
}

/* Progressive, compositor-only entrance effects */

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 520ms ease-out, transform 520ms ease-out;
}

.motion-ready .method-grid [data-reveal]:nth-child(2),
.motion-ready .download-grid [data-reveal]:nth-child(2) {
  transition-delay: 70ms;
}

.motion-ready .method-grid [data-reveal]:nth-child(3),
.motion-ready .download-grid [data-reveal]:nth-child(3) {
  transition-delay: 120ms;
}

.motion-ready .method-grid [data-reveal]:nth-child(4),
.motion-ready .download-grid [data-reveal]:nth-child(4) {
  transition-delay: 170ms;
}

@media (max-width: 1100px) {
  .site-nav nav {
    gap: 17px;
  }

  .nav-cta .text-link {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.95fr);
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .nav-inner {
    margin-block: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 76px 92px;
  }

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

  .hero-visual {
    width: min(100%, 760px);
    max-width: none;
    margin-inline: auto;
  }

  .hero::before {
    top: 500px;
  }

  .hero::after {
    top: 700px;
  }

  .split,
  .result-grid,
  .demo-grid {
    gap: 54px;
  }

  .local-data,
  .control-plane,
  form {
    transform: none;
  }

  .proof-grid article:first-child,
  .proof-grid article {
    padding: 24px;
  }

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

  .download-card.recommended {
    grid-row: auto;
    transform: none;
  }

  .download-card:last-child {
    grid-column: auto;
  }

  .legal-shell {
    padding: 48px;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    min-height: 60px;
    padding: 6px 7px 6px 12px;
    border-radius: 15px;
  }

  .nav-cta .button {
    display: inline-flex;
    max-width: 154px;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 11px;
  }

  .hero::before,
  .hero::after,
  .hero-copy::before,
  .download-hero::after {
    display: none;
  }

  .hero-grid {
    padding-block: 60px 78px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(43px, 13.5vw, 60px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding: 40px 0 20px;
  }

  .product-window {
    transform: none;
  }

  .product-window-bar {
    height: 44px;
  }

  .product-window-media {
    padding: 6px;
  }

  .product-window::after {
    right: 12px;
    bottom: 12px;
    width: 54px;
    height: 54px;
    background-size: 38px;
  }

  .orbit-one {
    right: -80px;
  }

  .orbit-two {
    left: -80px;
  }

  .floating {
    position: relative;
    inset: auto;
    max-width: none;
    margin-top: 9px;
    transform: none;
  }

  .proof-grid {
    margin-bottom: -30px;
    border-radius: 18px;
  }

  .proof-grid article:first-child,
  .proof-grid article {
    min-height: 0;
    padding: 20px;
  }

  .pain {
    padding-top: 112px;
  }

  .section {
    padding-block: 82px;
  }

  .section h2 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .split,
  .result-grid,
  .demo-grid {
    gap: 42px;
  }

  .method-grid {
    gap: 12px;
  }

  .method-grid article {
    min-height: 210px;
  }

  .method-grid h3 {
    margin-top: 42px;
  }

  .result-panel {
    padding: 58px 16px 16px;
    border-radius: 18px;
  }

  .local-data,
  .control-plane,
  form {
    padding: 26px;
    border-radius: 18px;
  }

  .faq-grid {
    gap: 10px;
  }

  .download-hero {
    padding-block: 72px 46px;
  }

  .download-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

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

  .download-card {
    padding: 24px;
    border-radius: 18px;
  }

  .download-card.recommended,
  .download-card.recommended:hover {
    transform: none;
  }

  .install-flow {
    padding-block: 84px;
  }

  .install-flow li {
    min-height: 0;
  }

  .legal-shell {
    width: calc(100% - (var(--space-2) * 2));
    margin: 44px auto 80px;
    padding: 28px 22px;
    border-radius: 20px;
  }

  .motion-ready [data-reveal],
  .motion-ready [data-reveal].is-visible {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* Direction 01 · editorial migration flow */

.landing-page {
  --content-width: 1280px;
}

.landing-page .site-nav {
  border-bottom: 0;
  background: var(--paper);
}

.landing-page .nav-inner {
  min-height: 68px;
  margin-block: 12px;
  padding: 7px 8px 7px 16px;
  border: 1px solid #d4dbd6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(16, 35, 29, 0.08);
}

.landing-page .site-nav nav a {
  min-height: 40px;
  padding-inline: 4px;
  font-size: 12px;
}

.landing-page .nav-cta {
  gap: 12px;
}

.landing-page .nav-cta .text-link {
  font-size: 11px;
}

.landing-page .hero::before,
.landing-page .hero::after {
  display: none;
}

.landing-page .hero-grid {
  min-height: 790px;
  grid-template-columns: minmax(410px, 0.82fr) minmax(650px, 1.18fr);
  gap: 28px;
  padding-block: 62px 76px;
}

.landing-page .hero-copy {
  align-self: center;
}

.landing-page .hero-copy::before {
  top: -22px;
  left: -22px;
  width: 48px;
  height: 48px;
}

.landing-page .hero h1 {
  max-width: 590px;
  margin: 30px 0 26px;
  font-size: clamp(58px, 5.3vw, 82px);
  line-height: 0.95;
}

.landing-page .hero h1 span {
  max-width: 420px;
}

.landing-page .hero-lead {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.72;
}

.landing-page .actions {
  margin-block: 30px 32px;
}

.landing-page .trust-row {
  max-width: 560px;
  gap: 12px 18px;
}

.landing-page .hero-visual {
  min-height: 650px;
  align-self: stretch;
  padding: 0;
  overflow: hidden;
  border-radius: 30px;
  background: #eef0eb;
  box-shadow: 0 28px 72px rgba(16, 35, 29, 0.13);
  isolation: isolate;
}

.hero-environment {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  opacity: 0.72;
}

.hero-visual::after {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 46%;
  background: rgba(247, 245, 239, 0.92);
  content: "";
}

.migration-demo {
  --pointer-x: 0px;
  --pointer-y: 0px;
  position: absolute;
  inset: 0;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  transition: transform 180ms ease-out;
}

.migration-flow-canvas {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.migration-panel {
  position: absolute;
  z-index: 6;
  overflow: hidden;
  border: 1px solid rgba(201, 211, 205, 0.96);
  border-radius: 20px;
  box-shadow: 0 22px 52px rgba(16, 35, 29, 0.16);
}

.migration-panel header {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-bottom: 1px solid rgba(220, 226, 221, 0.82);
}

.migration-panel header strong {
  font-size: 12px;
  letter-spacing: -0.01em;
}

.migration-panel-icon,
.migration-panel-brand {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 9px;
}

.migration-panel-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #eaf6ef;
}

.migration-panel-brand {
  background: #e6f2eb;
}

.migration-panel-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.source-panel {
  top: 174px;
  left: 22px;
  width: 32%;
  min-width: 220px;
  background: rgba(18, 36, 30, 0.93);
  color: #fff;
}

.source-panel header {
  border-color: rgba(255, 255, 255, 0.1);
}

.destination-panel {
  top: 150px;
  right: 18px;
  width: 47%;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.96);
}

.destination-panel header small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 5px 7px;
  border: 1px solid #dfe7e2;
  border-radius: 999px;
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
}

.destination-panel header small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3cb671;
  box-shadow: 0 0 0 4px rgba(60, 182, 113, 0.12);
}

.migration-rows {
  display: grid;
  padding: 7px;
}

.migration-row {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 45px;
  grid-template-columns: 24px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 8px;
  border: 0;
  border-bottom: 1px solid rgba(220, 226, 221, 0.68);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 10px;
  text-align: left;
  transition: background 160ms ease-out, transform 160ms ease-out;
}

.migration-row:last-child {
  border-bottom-color: transparent;
}

.migration-row svg {
  width: 15px;
  height: 15px;
}

.migration-row span {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migration-row b {
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.migration-row em {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
}

.source-panel .migration-row {
  cursor: pointer;
}

.source-panel .migration-row:hover,
.source-panel .migration-row:focus-visible,
.source-panel .migration-row[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.11);
  transform: translate3d(3px, 0, 0);
}

.source-panel .migration-row em {
  width: 7px;
  height: 7px;
  justify-self: end;
  background: #c8e9d8;
  box-shadow: 0 0 0 5px rgba(200, 233, 216, 0.08);
}

.destination-panel .migration-row em {
  background: #3ba96b;
  color: #fff;
}

.destination-panel .migration-row.is-active {
  background: #edf6f1;
}

.migration-hub {
  position: absolute;
  z-index: 8;
  top: 338px;
  left: 43.5%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(8, 122, 85, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(16, 35, 29, 0.18), 0 0 0 12px rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%);
}

.migration-hub > span {
  position: absolute;
  inset: 8px;
  border: 1px solid #d9e7df;
  border-radius: 50%;
}

.migration-hub img {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.migration-hub small {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  width: max-content;
  padding: 6px 9px;
  border: 1px solid #d9e3dd;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green);
  font-size: 8px;
  font-weight: 850;
  transform: translateX(-50%);
}

.migration-status {
  position: absolute;
  z-index: 10;
  top: 34px;
  left: 18%;
  display: flex;
  min-width: 285px;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid #dce4df;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 34px rgba(16, 35, 29, 0.13);
}

.migration-status > svg {
  width: 23px;
  height: 23px;
  color: var(--green);
}

.migration-status span {
  display: grid;
  color: var(--muted);
  font-size: 9px;
}

.migration-status strong {
  color: var(--green-dark);
  font-size: 11px;
}

.landing-page .access-card {
  position: absolute;
  right: 20px;
  bottom: 24px;
  max-width: 290px;
  margin: 0;
  padding: 14px 17px 14px 46px;
  border-color: rgba(212, 222, 216, 0.96);
  background: rgba(255, 255, 255, 0.95);
  transform: none;
}

.landing-page .access-card i {
  top: 17px;
  left: 16px;
  width: 20px;
  height: 20px;
  border-width: 0;
  background: #3ba96b;
  box-shadow: 0 0 0 7px rgba(59, 169, 107, 0.11);
}

.landing-page .access-card i::after {
  display: grid;
  height: 100%;
  place-items: center;
  color: #fff;
  content: "✓";
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .landing-page .hero-grid {
    grid-template-columns: minmax(370px, 0.8fr) minmax(560px, 1.2fr);
  }

  .landing-page .hero h1 {
    font-size: clamp(54px, 5.6vw, 72px);
  }

  .source-panel {
    width: 34%;
    min-width: 200px;
  }

  .destination-panel {
    width: 49%;
    min-width: 270px;
  }
}

@media (max-width: 960px) {
  .landing-page .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 62px 82px;
  }

  .landing-page .hero-copy {
    max-width: 780px;
  }

  .landing-page .hero-visual {
    width: min(100%, 780px);
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .landing-page .nav-inner {
    margin-block: 7px;
  }

  .landing-page .hero-grid {
    padding-block: 48px 66px;
  }

  .landing-page .hero h1 {
    font-size: clamp(45px, 13.4vw, 61px);
  }

  .landing-page .hero-visual {
    min-height: 530px;
    border-radius: 22px;
  }

  .hero-environment {
    object-position: 64% center;
    opacity: 0.45;
  }

  .hero-visual::after {
    width: 100%;
    background: rgba(247, 245, 239, 0.74);
  }

  .source-panel {
    top: 142px;
    left: 10px;
    width: 42%;
    min-width: 0;
  }

  .destination-panel {
    top: 126px;
    right: 10px;
    width: 47%;
    min-width: 0;
  }

  .migration-panel header {
    min-height: 48px;
    padding: 8px;
  }

  .migration-panel header strong {
    font-size: 9px;
  }

  .migration-panel-icon,
  .migration-panel-brand {
    width: 24px;
    height: 24px;
  }

  .destination-panel header small {
    display: none;
  }

  .migration-rows {
    padding: 4px;
  }

  .migration-row {
    min-height: 38px;
    grid-template-columns: 18px minmax(0, 1fr) 14px;
    gap: 4px;
    padding: 5px 4px;
    font-size: 8px;
  }

  .migration-row b {
    display: none;
  }

  .migration-row svg {
    width: 12px;
    height: 12px;
  }

  .migration-row em {
    width: 14px;
    height: 14px;
    font-size: 8px;
  }

  .source-panel .migration-row em {
    width: 6px;
    height: 6px;
  }

  .migration-hub {
    top: 294px;
    left: 46%;
    width: 54px;
    height: 54px;
  }

  .migration-hub img {
    width: 34px;
    height: 34px;
  }

  .migration-hub small {
    display: none;
  }

  .migration-status {
    top: 23px;
    left: 14px;
    min-width: 0;
    width: calc(100% - 28px);
  }

  .landing-page .access-card {
    right: 12px;
    bottom: 14px;
    left: 12px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .migration-demo,
  .migration-row {
    transition: none;
  }
}

/* Direction 01 · complete public product system */

.section-number {
  position: absolute;
  z-index: 2;
  top: 72px;
  left: max(18px, calc((100vw - var(--content-width)) / 2 - 54px));
  color: rgba(11, 42, 33, 0.22);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
}

.section-number::after {
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 10px;
  background: currentColor;
  content: "";
}

.dark > .section-number,
.demo > .section-number {
  color: rgba(183, 239, 123, 0.38);
}

.landing-page main > .section:not(.dark):not(.demo) {
  border-top: 1px solid rgba(200, 212, 205, 0.62);
}

.landing-page .section > .shell {
  position: relative;
  z-index: 3;
}

.landing-page .section h2,
.download-page h1,
.download-page h2,
.legal-page h1,
.legal-page h2 {
  font-weight: 860;
}

.landing-page #rischio .split > div:first-child,
.landing-page .result-copy,
.landing-page .faq-title,
.landing-page .demo-grid > div {
  position: sticky;
  top: 132px;
}

.landing-page .pain-list article {
  overflow: hidden;
}

.landing-page .pain-list article::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: center;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.landing-page .pain-list article:hover::after,
.landing-page .pain-list article:focus-within::after {
  opacity: 1;
  transform: scaleY(1);
}

.landing-page .dark .pain-list article {
  border-color: rgba(115, 151, 137, 0.42);
  background: #123229;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.landing-page .dark .pain-list article:hover {
  border-color: rgba(183, 239, 123, 0.52);
  background: #173d32;
}

.landing-page .dark .pain-list b {
  border: 1px solid rgba(183, 239, 123, 0.22);
  background: rgba(183, 239, 123, 0.1);
  color: #b7ef7b;
}

.landing-page .dark .pain-list strong {
  color: #ffffff;
}

.landing-page .dark .pain-list p {
  color: #c8d5cf;
}

.landing-page .method-grid {
  position: relative;
}

.landing-page .method-grid::before {
  position: absolute;
  top: 44px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: rgba(183, 239, 123, 0.24);
  content: "";
}

.landing-page .method-grid article {
  isolation: isolate;
}

.landing-page .method-grid article > span {
  position: relative;
  z-index: 2;
}

.landing-page #migrazione {
  background: #f9f8f3;
}

.landing-page #migrazione .result-panel {
  border-color: rgba(8, 122, 85, 0.24);
}

.landing-page #migrazione tbody td {
  color: var(--muted);
}

.landing-page #migrazione tbody td::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  vertical-align: 1px;
}

.landing-page .continuity-grid {
  align-items: stretch;
}

.landing-page .local-data,
.landing-page .control-plane {
  min-height: 390px;
}

.landing-page .local-data h3,
.landing-page .control-plane h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-page .local-data h3::before,
.landing-page .control-plane h3::before {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--surface-green);
  color: var(--green);
  content: "L";
  font-size: 12px;
  font-weight: 900;
}

.landing-page .control-plane {
  border-color: #173d32;
  background: #0b2a21;
  color: #ffffff;
}

.landing-page .control-plane h3::before {
  border: 1px solid rgba(183, 239, 123, 0.24);
  background: rgba(183, 239, 123, 0.1);
  color: #b7ef7b;
  content: "C";
}

.landing-page .control-plane li {
  color: #d3ded9;
}

.landing-page .control-plane li::before {
  color: #b7ef7b;
}

.landing-page #licenza {
  background: var(--paper);
}

.landing-page #licenza .result-panel {
  border-color: #173d32;
  background: #0b2a21;
  color: #ffffff;
  box-shadow: 0 34px 72px rgba(11, 42, 33, 0.2);
}

.landing-page #licenza .result-panel::after,
.landing-page #licenza .panel-headline,
.landing-page #licenza .result-panel li {
  border-color: rgba(200, 213, 207, 0.2);
}

.landing-page #licenza .result-panel::before {
  background: #b7ef7b;
  box-shadow: 16px 0 0 #55776a, 32px 0 0 #29493d;
}

.landing-page #licenza .panel-headline b,
.landing-page #licenza .result-panel strong {
  color: #b7ef7b;
}

.landing-page #licenza .result-panel p {
  color: #c8d5cf;
}

.landing-page .faq .shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 88px;
}

.landing-page .faq-grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.landing-page .faq details {
  padding: 14px 18px 14px 22px;
  border-radius: 18px;
}

.landing-page .faq details[open] {
  background: #ffffff;
}

.landing-page .faq details[open] summary {
  color: var(--green);
}

.landing-page .demo-grid > div {
  align-self: start;
}

.landing-page .demo form {
  border-top: 6px solid #5dbd79;
}

.landing-page .demo form .button {
  min-height: 52px;
}

.site-footer .brand-lockup {
  margin-bottom: 18px;
}

.site-footer .brand-lockup img {
  border: 1px solid rgba(183, 239, 123, 0.22);
  border-radius: 13px;
  background: #0e3026;
}

.site-footer .brand-lockup small {
  color: #98aaa2;
}

.site-footer .footer-grid {
  padding-bottom: 62px;
}

.site-footer .footer-grid > div:first-child p {
  max-width: 330px;
}

.site-footer .footer-grid > div:not(:first-child) {
  padding-top: 6px;
}

.site-footer .footer-grid > div:not(:first-child) > strong {
  display: block;
  margin-bottom: 14px;
  color: #b7ef7b;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Download */

.download-page {
  --content-width: 1280px;
  background: #f7f5ef;
}

.download-page main {
  overflow: hidden;
}

.download-page .nav-inner > .secondary {
  margin-left: auto;
}

.download-page .download-hero {
  min-height: 560px;
  padding-block: 148px 96px;
}

.download-page .download-hero::before {
  position: absolute;
  top: 84px;
  right: 5%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(8, 122, 85, 0.2);
  border-radius: 50%;
  box-shadow: inset 0 0 0 42px #f7f5ef, inset 0 0 0 43px rgba(8, 122, 85, 0.18);
  content: "";
}

.download-page .download-hero h1 {
  max-width: 880px;
  margin: 30px 0;
  font-size: clamp(58px, 7.4vw, 104px);
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.download-page .download-hero > p:last-child {
  max-width: 730px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.download-page .download-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  margin-top: -44px;
}

.download-page .download-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 34px;
  background: rgba(255, 255, 255, 0.92);
}

.download-page .download-card::before {
  display: block;
  width: fit-content;
  margin-bottom: 48px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  content: attr(data-platform);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-page .download-card > span {
  color: var(--green);
}

.download-page .download-card.recommended {
  grid-row: auto;
  border-color: #173d32;
  background: #0b2a21;
  color: #ffffff;
  transform: none;
}

.download-page .download-card.recommended:hover {
  transform: translate3d(0, -7px, 0);
}

.download-page .download-card:last-child {
  grid-column: auto;
}

.download-page .download-card.recommended::before {
  border-color: rgba(183, 239, 123, 0.28);
  background: rgba(183, 239, 123, 0.09);
  color: #b7ef7b;
}

.download-page .download-card.recommended > span {
  color: #b7ef7b;
}

.download-page .download-card.recommended p,
.download-page .download-card.recommended small {
  color: #c8d5cf;
}

.download-page .download-card.recommended .button {
  border-color: #b7ef7b;
  background: #b7ef7b;
  color: #0b2a21;
}

.download-page .download-card.recommended .button:hover {
  border-color: #ffffff;
  background: #ffffff;
}

.download-page .download-card.recommended .download-note {
  border-color: rgba(200, 213, 207, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.download-page .download-actions {
  display: grid;
  gap: 10px;
}

.download-page .secondary-download {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.download-page .secondary-download:hover {
  border-color: var(--green-dark);
  background: var(--surface-green);
}

.download-page .download-help {
  margin-top: 16px;
  border-top: 1px solid rgba(200, 213, 207, 0.22);
  padding-top: 14px;
}

.download-page .download-help summary {
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.download-page .download-help p {
  min-height: 0;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.download-page .download-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.download-page .download-support p {
  margin: 6px 0 0;
  color: var(--muted);
}

.download-page .install-flow {
  position: relative;
  overflow: hidden;
  margin-block: 118px;
  padding: 68px;
  border-radius: 32px;
  background: #071c15;
  color: #ffffff;
  box-shadow: 0 34px 78px rgba(7, 28, 21, 0.2);
}

.download-page .install-flow::after {
  position: absolute;
  top: -210px;
  right: -120px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(183, 239, 123, 0.15);
  border-radius: 50%;
  box-shadow: inset 0 0 0 42px #071c15, inset 0 0 0 43px rgba(183, 239, 123, 0.12);
  content: "";
}

.download-page .install-flow > * {
  position: relative;
  z-index: 2;
}

.download-page .install-flow h2 {
  max-width: 620px;
  margin-bottom: 44px;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: -0.055em;
}

.download-page .install-flow ol {
  grid-template-columns: repeat(3, 1fr);
}

.download-page .install-flow li {
  border-color: rgba(200, 213, 207, 0.24);
  background: #123229;
  box-shadow: none;
}

.download-page .install-flow li > b {
  border: 1px solid rgba(183, 239, 123, 0.25);
  background: rgba(183, 239, 123, 0.1);
  color: #b7ef7b;
}

.download-page .install-flow p {
  color: #c8d5cf;
}

/* Legal */

.legal-page {
  --content-width: 1280px;
  background: #f3f1ea;
}

.legal-tabs {
  position: sticky;
  z-index: 24;
  top: 94px;
  display: flex;
  overflow-x: auto;
  gap: 8px;
  margin-top: 18px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 35, 29, 0.08);
  scrollbar-width: thin;
}

.legal-tabs a {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.legal-tabs a:hover,
.legal-tabs a[aria-current="page"] {
  background: var(--surface-green);
  color: var(--green-dark);
}

.legal-page .legal-shell {
  position: relative;
  width: min(980px, calc(100% - (var(--space-3) * 2)));
  margin: 54px auto 120px;
  padding: 76px 90px 92px;
  border-color: rgba(8, 122, 85, 0.22);
  border-radius: 30px;
}

.legal-page .legal-shell::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  border-radius: 30px 30px 0 0;
  background: var(--green);
  content: "";
}

.legal-page .legal-shell > .eyebrow:first-child {
  margin-bottom: 36px;
}

.legal-page .legal-shell h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.legal-page .legal-lead {
  max-width: 760px;
  margin-bottom: 54px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.legal-page .legal-shell h2 {
  margin-top: 54px;
  padding-top: 42px;
  color: var(--green-dark);
  font-size: 29px;
  letter-spacing: -0.035em;
}

.legal-page .legal-shell p,
.legal-page .legal-shell li {
  color: #42534d;
  font-size: 16px;
  line-height: 1.78;
}

.legal-page .legal-shell a {
  color: var(--green);
  font-weight: 750;
}

.legal-page .legal-shell code {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--green-dark);
}

.legal-page .legal-shell table {
  margin-block: 30px;
  border: 1px solid var(--line);
}

.legal-page .legal-shell th {
  background: var(--surface-soft);
}

.legal-page .site-footer address {
  color: #aebdb7;
  font-size: 12px;
  font-style: normal;
  line-height: 1.65;
}

.legal-page .site-footer .footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
}

@media (max-width: 1400px) {
  .section-number {
    display: none;
  }
}

@media (max-width: 960px) {
  .landing-page #rischio .split > div:first-child,
  .landing-page .result-copy,
  .landing-page .faq-title,
  .landing-page .demo-grid > div {
    position: static;
  }

  .landing-page .faq .shell {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .landing-page .method-grid::before {
    display: none;
  }

  .download-page .download-hero {
    min-height: 0;
    padding-block: 108px 78px;
  }

  .download-page .download-hero h1 {
    font-size: clamp(56px, 10vw, 82px);
  }

  .download-page .install-flow {
    padding: 52px 36px;
  }

  .legal-tabs {
    top: 84px;
  }

  .legal-page .legal-shell {
    padding: 62px 54px 72px;
  }
}

@media (max-width: 640px) {
  .landing-page .local-data,
  .landing-page .control-plane {
    min-height: 0;
  }

  .landing-page .faq details {
    padding: 12px 12px 12px 16px;
  }

  .site-footer .footer-grid {
    padding-bottom: 40px;
  }

  .download-page .download-hero {
    padding-block: 72px 58px;
  }

  .download-page .download-hero::before {
    display: none;
  }

  .download-page .download-hero h1 {
    margin-block: 24px;
    font-size: clamp(46px, 14vw, 62px);
  }

  .download-page .download-hero > p:last-child {
    font-size: 16px;
  }

  .download-page .download-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .download-page .download-card {
    min-height: 0;
    padding: 26px;
  }

  .download-page .download-card::before {
    margin-bottom: 34px;
  }

  .download-page .download-support {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .download-page .install-flow {
    width: calc(100% - 24px);
    margin-block: 76px;
    padding: 42px 22px;
    border-radius: 24px;
  }

  .download-page .install-flow ol {
    grid-template-columns: 1fr;
  }

  .legal-tabs {
    top: 76px;
    width: calc(100% - 24px);
    margin-top: 12px;
    border-radius: 14px;
  }

  .legal-page .legal-shell {
    width: calc(100% - 24px);
    margin: 28px auto 76px;
    padding: 48px 22px 58px;
    border-radius: 22px;
  }

  .legal-page .legal-shell::before {
    border-radius: 22px 22px 0 0;
  }

  .legal-page .legal-shell h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .legal-page .legal-lead {
    margin-bottom: 38px;
    font-size: 17px;
  }

  .legal-page .legal-shell h2 {
    margin-top: 40px;
    padding-top: 34px;
    font-size: 25px;
  }

  .legal-page .legal-shell table {
    display: block;
    overflow-x: auto;
  }
}

/* Palesya continuity system v2 ------------------------------------------- */

.landing-page {
  --night: #061d16;
  --night-soft: #0b2a21;
  --lime: #b7ef7b;
  --warm: #f4f0e7;
  --warm-deep: #e8e1d3;
  --hairline-dark: rgba(202, 225, 213, 0.17);
  overflow-x: clip;
}

.landing-page main {
  overflow: clip;
}

.landing-page em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.landing-page .continuity-story {
  position: relative;
  overflow: hidden;
  padding: 160px 0 0;
  background:
    radial-gradient(circle at 78% 16%, rgba(183, 239, 123, 0.12), transparent 27%),
    linear-gradient(145deg, #061d16 0%, #0b2a21 55%, #071b14 100%);
  color: #fff;
}

.continuity-orbit {
  position: absolute;
  top: -170px;
  right: -170px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(183, 239, 123, 0.13);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 62px rgba(6, 29, 22, 0.68),
    inset 0 0 0 63px rgba(183, 239, 123, 0.08),
    inset 0 0 0 160px rgba(6, 29, 22, 0.4),
    inset 0 0 0 161px rgba(183, 239, 123, 0.05);
}

.continuity-story-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
}

.continuity-story-copy h2 {
  max-width: 620px;
  margin: 24px 0 28px;
  color: #fff;
  font-size: clamp(52px, 6vw, 86px);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.continuity-story-copy h2 em {
  display: block;
  color: var(--lime);
}

.continuity-story-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: #bfd0c8;
  font-size: 18px;
  line-height: 1.72;
}

.light-action {
  color: #fff;
}

.continuity-art {
  position: relative;
  margin: 0;
  transform: translateX(4%);
}

.continuity-art::before {
  position: absolute;
  inset: 8% 4%;
  border-radius: 44%;
  background: rgba(183, 239, 123, 0.18);
  filter: blur(70px);
  content: "";
}

.continuity-art img {
  position: relative;
  width: 100%;
  border: 1px solid rgba(183, 239, 123, 0.18);
  border-radius: 28px;
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.36);
}

.continuity-art figcaption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  max-width: 320px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(5, 24, 18, 0.78);
  color: #d5e2dc;
  font-size: 11px;
  line-height: 1.45;
  backdrop-filter: blur(18px);
}

.continuity-marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  margin-top: 110px;
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
  background: rgba(0, 0, 0, 0.12);
}

.continuity-marquee > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 30px;
  padding-block: 24px;
  animation: continuityMarquee 30s linear infinite;
}

.continuity-marquee span {
  color: #f6faf8;
  font-size: clamp(19px, 2vw, 29px);
  font-weight: 750;
  letter-spacing: -0.035em;
}

.continuity-marquee i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(183, 239, 123, 0.66);
}

@keyframes continuityMarquee {
  to { transform: translateX(-50%); }
}

.landing-page .migration-engine {
  padding-block: 164px;
  background:
    linear-gradient(90deg, rgba(8, 122, 85, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(8, 122, 85, 0.035) 1px, transparent 1px),
    var(--warm);
  background-size: 48px 48px;
}

.engine-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 84px;
}

.engine-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -42px;
}

.engine-heading h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(56px, 6.8vw, 98px);
  letter-spacing: -0.07em;
  line-height: 0.91;
}

.engine-heading > p:last-child {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.engine-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cbd6cf;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 38px 90px rgba(21, 55, 43, 0.14);
}

.engine-steps {
  display: grid;
  align-content: stretch;
  background: var(--night);
}

.engine-steps button {
  position: relative;
  display: grid;
  min-height: 138px;
  grid-template-columns: 44px 1fr;
  align-content: center;
  gap: 2px 16px;
  padding: 24px 26px;
  border: 0;
  border-bottom: 1px solid var(--hairline-dark);
  background: transparent;
  color: #fff;
  text-align: left;
}

.engine-steps button::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  background: var(--lime);
  content: "";
  transition: width 220ms ease;
}

.engine-steps button[aria-selected="true"] {
  background: rgba(183, 239, 123, 0.08);
}

.engine-steps button[aria-selected="true"]::after {
  width: 4px;
}

.engine-steps button > span {
  grid-row: 1 / 3;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.engine-steps strong {
  font-size: 18px;
  line-height: 1.1;
}

.engine-steps small {
  color: #9fb4ab;
  font-size: 11px;
  line-height: 1.45;
}

.engine-screen {
  min-width: 0;
  background: #f9faf8;
}

.engine-window-bar {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1px solid #dde5df;
  background: #fff;
}

.engine-window-bar > span {
  display: flex;
  gap: 6px;
}

.engine-window-bar > span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8d3cd;
}

.engine-window-bar > span i:first-child { background: #ee806e; }
.engine-window-bar > span i:nth-child(2) { background: #e6bd63; }
.engine-window-bar > span i:last-child { background: #6abd89; }

.engine-window-bar strong,
.engine-window-bar small {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.engine-window-bar small {
  margin-left: auto;
  color: var(--green);
}

.engine-screen-body {
  padding: clamp(30px, 4vw, 58px);
}

.engine-progress {
  height: 4px;
  margin-bottom: 54px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe4de;
}

.engine-progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 420ms cubic-bezier(.2, .8, .2, 1);
}

.engine-status {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
}

.engine-status-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid #bdd0c5;
  border-radius: 22px;
  background: #eaf4ee;
  color: var(--green);
}

.engine-status-icon svg {
  width: 31px;
  height: 31px;
}

.engine-status small {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.engine-status h3 {
  max-width: 700px;
  margin: 8px 0 12px;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.engine-status p {
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
}

.engine-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-block: 40px 20px;
}

.engine-metrics article {
  min-height: 118px;
  padding: 24px;
  border: 1px solid #d7e1db;
  border-radius: 18px;
  background: #fff;
}

.engine-metrics span {
  display: block;
  margin-bottom: 9px;
  color: var(--green-dark);
  font-size: 36px;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.engine-metrics small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.engine-checks {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.engine-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #dfe6e1;
  color: #3c5048;
  font-size: 13px;
}

.engine-checks svg {
  width: 17px;
  color: var(--green);
}

.engine-promise {
  max-width: 820px;
  margin: 60px auto 0;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3.4vw, 44px);
  font-style: italic;
  line-height: 1.15;
  text-align: center;
}

.landing-page .product-proof {
  position: relative;
  overflow: hidden;
  padding-block: 158px 190px;
  background: #fff;
}

.product-proof::before {
  position: absolute;
  top: 290px;
  right: -260px;
  width: 740px;
  height: 740px;
  border: 1px solid rgba(8, 122, 85, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 75px #fff, inset 0 0 0 76px rgba(8, 122, 85, 0.09);
  content: "";
}

.product-proof-heading {
  position: relative;
  z-index: 2;
  text-align: center;
}

.product-proof-heading .eyebrow {
  justify-content: center;
}

.product-proof-heading h2 {
  max-width: 980px;
  margin: 22px auto;
  font-size: clamp(58px, 7.4vw, 106px);
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.product-proof-heading h2 em {
  display: block;
}

.product-proof-heading > p:last-child {
  max-width: 750px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.product-stage {
  position: relative;
  min-height: 740px;
  margin-top: 95px;
  perspective: 1400px;
}

.app-shot {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(23, 61, 50, 0.17);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 38px 90px rgba(15, 45, 35, 0.17);
  transform: perspective(1300px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-shot:hover {
  box-shadow: 0 48px 110px rgba(15, 45, 35, 0.23);
}

.app-shot header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid #e1e7e3;
}

.app-shot header small,
.app-shot footer small {
  display: block;
  color: #71827b;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.member-shot {
  z-index: 3;
  top: 50px;
  left: 0;
  width: 430px;
}

.member-shot header > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #e6f3ec;
  color: var(--green);
}

.member-shot header b {
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #dff3e6;
  color: #166b48;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.member-main {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 24px;
}

.member-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-weight: 850;
}

.member-main dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.member-main dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5eae7;
}

.member-main dt {
  color: #73837c;
  font-size: 10px;
}

.member-main dd {
  margin: 0;
  font-size: 11px;
  font-weight: 750;
}

.member-shot footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: #f3f7f4;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
}

.planning-shot {
  z-index: 2;
  top: 0;
  left: 25%;
  width: 70%;
  min-height: 540px;
  transform: rotate(1.6deg);
}

.planning-shot header {
  padding: 24px 28px;
}

.planning-shot header span {
  margin-left: auto;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.planning-days {
  display: grid;
  grid-template-columns: 70px repeat(5, 1fr);
  gap: 7px;
  padding: 18px 22px 8px;
  color: #687b73;
  font-size: 9px;
  text-align: center;
}

.planning-days::before {
  content: "";
}

.planning-grid {
  display: grid;
  grid-template-columns: 70px repeat(5, minmax(78px, 1fr));
  gap: 7px;
  padding: 0 22px 28px;
}

.planning-grid > * {
  min-height: 68px;
}

.planning-grid > small {
  padding-top: 10px;
  color: #83918b;
  font-size: 9px;
}

.planning-grid > i {
  border: 1px dashed #d5dfd9;
  border-radius: 9px;
}

.planning-grid .slot {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9px;
  border-style: solid;
  background: #eff5f1;
  color: #315246;
  font-size: 9px;
  font-style: normal;
}

.planning-grid .slot.active {
  border-color: #9fcbb5;
  background: #dff1e7;
  color: #135f42;
}

.planning-grid .slot b {
  font-size: 9px;
}

.access-shot {
  z-index: 4;
  right: 0;
  bottom: 8px;
  width: 410px;
  background: var(--night);
  color: #fff;
}

.access-shot header {
  border-color: var(--hairline-dark);
}

.access-shot header small {
  margin-left: auto;
  color: var(--lime);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ce89c;
  box-shadow: 0 0 0 5px rgba(108, 232, 156, 0.1), 0 0 20px rgba(108, 232, 156, 0.58);
}

.access-event {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 28px 24px;
}

.access-event > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: var(--lime);
  color: var(--night);
}

.access-event small {
  color: var(--lime);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.access-event strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.access-event p {
  margin: 3px 0 0;
  color: #a9bbb3;
  font-size: 10px;
}

.access-shot footer {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--hairline-dark);
  color: #a9bbb3;
  font-size: 9px;
}

.product-stage-caption {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid #c9d7cf;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #3d564c;
  font-size: 12px;
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.product-stage-caption svg {
  width: 17px;
  color: var(--green);
}

.hardware-cinema {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}

.hardware-cinema > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hardware-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 16, 11, 0.96) 0%, rgba(2, 16, 11, 0.82) 43%, rgba(2, 16, 11, 0.1) 74%),
    linear-gradient(0deg, rgba(2, 16, 11, 0.45), transparent 40%);
}

.hardware-cinema-copy {
  position: relative;
  z-index: 2;
  padding-block: 145px;
}

.hardware-cinema-copy h2 {
  max-width: 720px;
  margin: 24px 0;
  font-size: clamp(63px, 8vw, 116px);
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hardware-cinema-copy h2 em {
  display: block;
  color: var(--lime);
}

.hardware-cinema-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: #c2d0ca;
  font-size: 18px;
  line-height: 1.7;
}

.hardware-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  max-width: 650px;
  gap: 1px;
  margin: 38px 0;
  border: 1px solid var(--hairline-dark);
  background: var(--hairline-dark);
}

.hardware-signals span {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(6, 29, 22, 0.86);
  color: #d8e2de;
  font-size: 11px;
  font-weight: 750;
}

.hardware-signals svg {
  width: 20px;
  color: var(--lime);
}

.ghost-button {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.ghost-button:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--night);
}

.hardware-pulse-card {
  position: absolute;
  right: 7vw;
  bottom: 8vw;
  z-index: 3;
  display: grid;
  width: 300px;
  grid-template-columns: 20px 1fr;
  gap: 3px 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(5, 23, 17, 0.74);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.33);
  backdrop-filter: blur(22px);
}

.hardware-pulse-card .live-dot {
  grid-row: 1 / 4;
  margin-top: 4px;
}

.hardware-pulse-card small {
  color: var(--lime);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hardware-pulse-card strong {
  font-size: 18px;
}

.hardware-pulse-card b {
  color: #afc1b8;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.landing-page .local-first-v2 {
  padding-block: 160px;
  background: var(--warm);
}

.local-first-heading {
  text-align: center;
}

.local-first-heading .eyebrow {
  justify-content: center;
}

.local-first-heading h2 {
  max-width: 980px;
  margin: 22px auto;
  font-size: clamp(60px, 7.5vw, 106px);
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.local-first-heading h2 em {
  display: block;
}

.local-first-heading > p:last-child {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.local-architecture {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: stretch;
  margin-top: 88px;
}

.architecture-side {
  min-height: 430px;
  padding: 42px;
  border: 1px solid #ccd8d1;
  border-radius: 28px;
  background: #fff;
}

.architecture-side.cloud-side {
  background: var(--night);
  color: #fff;
}

.architecture-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 40px;
  place-items: center;
  border-radius: 18px;
  background: #e6f3ec;
  color: var(--green);
}

.cloud-side .architecture-icon {
  background: rgba(183, 239, 123, 0.11);
  color: var(--lime);
}

.architecture-side > small {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.cloud-side > small {
  color: var(--lime);
}

.architecture-side h3 {
  margin: 8px 0 24px;
  font-size: 38px;
  letter-spacing: -0.055em;
}

.architecture-side ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.architecture-side li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4f625a;
  font-size: 13px;
}

.cloud-side li {
  color: #bdcdc6;
}

.architecture-side li svg {
  width: 16px;
  color: var(--green);
}

.cloud-side li svg {
  color: var(--lime);
}

.architecture-core {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
}

.architecture-mark {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(8, 122, 85, 0.2);
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 18px var(--warm), 0 0 0 19px rgba(8, 122, 85, 0.14);
}

.architecture-mark img {
  width: 48px;
}

.architecture-mark i {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--warm);
  border-radius: 50%;
  background: #5ad58a;
}

.architecture-core strong {
  margin-top: 24px;
  color: var(--green-dark);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.architecture-core small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.architecture-line {
  position: absolute;
  top: 50%;
  width: 75%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green));
}

.architecture-line::after {
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(8, 122, 85, 0.5);
  content: "";
  animation: architectureSignal 2.4s ease-in-out infinite;
}

.line-left {
  right: 61%;
}

.line-right {
  left: 61%;
  transform: rotate(180deg);
}

@keyframes architectureSignal {
  from { left: 0; }
  to { left: calc(100% - 7px); }
}

.local-first-note {
  display: flex;
  max-width: 740px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.local-first-note svg {
  width: 20px;
  color: var(--green);
}

.landing-page .ownership {
  padding-block: 160px;
  background:
    radial-gradient(circle at 13% 88%, rgba(183, 239, 123, 0.11), transparent 31%),
    var(--night);
  color: #fff;
}

.ownership-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.ownership-copy h2 {
  max-width: 650px;
  margin: 22px 0 28px;
  font-size: clamp(60px, 7vw, 101px);
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.ownership-copy h2 em {
  display: block;
  color: var(--lime);
}

.ownership-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: #b9cbc3;
  font-size: 17px;
  line-height: 1.72;
}

.lime-button {
  margin-top: 16px;
  border-color: var(--lime);
  background: var(--lime);
  color: var(--night);
}

.lime-button:hover {
  border-color: #fff;
  background: #fff;
  color: var(--night);
}

.ownership-compare {
  position: relative;
  min-height: 580px;
}

.ownership-compare article {
  position: absolute;
  width: 68%;
  overflow: hidden;
  border-radius: 24px;
}

.compare-palesya {
  z-index: 2;
  top: 0;
  left: 0;
  border: 1px solid rgba(183, 239, 123, 0.35);
  background: #f6f4ed;
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.compare-subscription {
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #112f26;
  color: #fff;
}

.ownership-compare article header {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 11px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(16, 35, 29, 0.1);
}

.compare-subscription header {
  border-color: var(--hairline-dark) !important;
}

.ownership-compare header img {
  width: 34px;
}

.ownership-compare header strong {
  font-size: 12px;
  letter-spacing: 0.09em;
}

.ownership-compare header > span:last-child {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #dff3e6;
  color: #176d4a;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.compare-subscription header > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #aabcb4;
}

.ownership-compare article > div {
  padding: 32px 25px 26px;
}

.ownership-compare article > div small {
  display: block;
  color: var(--green);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.compare-subscription > div small {
  color: #9fb0a9 !important;
}

.ownership-compare article > div b {
  display: block;
  margin-top: 4px;
  font-size: 42px;
  letter-spacing: -0.06em;
}

.ownership-compare ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 25px 28px;
  list-style: none;
}

.ownership-compare li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 0;
  border-top: 1px solid rgba(16, 35, 29, 0.1);
  font-size: 11px;
}

.compare-subscription li {
  border-color: var(--hairline-dark);
  color: #aebfb7;
}

.ownership-compare li svg {
  width: 15px;
  color: var(--green);
}

.compare-subscription li svg {
  color: #72857d;
}

.landing-page .verification-proof {
  padding-block: 160px;
  background: #f7f5ef;
}

.verification-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 92px;
}

.verification-copy h2 {
  margin: 22px 0 28px;
  font-size: clamp(58px, 6.7vw, 95px);
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.verification-copy h2 em {
  display: block;
}

.verification-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.verification-principles {
  display: grid;
  gap: 0;
  margin-top: 38px;
}

.verification-principles span {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid #d4ddd7;
  color: #43584f;
  font-size: 12px;
  font-weight: 750;
}

.verification-principles b {
  color: var(--green);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.verification-report {
  overflow: hidden;
  border: 1px solid #cbd8d0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 40px 90px rgba(17, 51, 39, 0.14);
}

.verification-report > header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #dbe3de;
}

.verification-report header span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.verification-report header img {
  width: 34px;
}

.verification-report header strong {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.verification-report header > b {
  padding: 5px 9px;
  border-radius: 999px;
  background: #e9efeB;
  color: #61736b;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.report-score {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  background: #eef6f1;
}

.report-score > span {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 18px;
  background: var(--green);
  color: #fff;
}

.report-score small {
  display: block;
  color: var(--green);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.report-score strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
}

.report-score > b {
  color: var(--green);
  font-size: 40px;
  letter-spacing: -0.06em;
}

.verification-report ul {
  margin: 0;
  padding: 0 24px;
  list-style: none;
}

.verification-report li {
  display: grid;
  grid-template-columns: 1fr 70px 110px;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #e2e8e4;
  font-size: 11px;
}

.verification-report li > b {
  font-size: 17px;
  text-align: right;
}

.verification-report li em {
  color: var(--green);
  font-family: inherit;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-align: right;
}

.verification-report footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  background: #fafbf9;
  color: #6b7d75;
  font-size: 9px;
  line-height: 1.5;
}

.verification-report footer svg {
  flex: 0 0 17px;
  color: var(--green);
}

.landing-page .faq-v2 {
  padding-block: 150px;
  background: #fff;
}

.faq-v2 .faq-title h2 em {
  display: block;
}

.faq-v2 .faq-title > p:last-child {
  margin-top: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-v2 details {
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.faq-v2 details[open] {
  border-color: var(--green) !important;
}

.faq-v2 summary {
  font-size: 15px !important;
}

.landing-page .demo-v2 {
  position: relative;
  overflow: hidden;
  padding-block: 150px;
  background:
    radial-gradient(circle at 18% 18%, rgba(183, 239, 123, 0.13), transparent 28%),
    var(--night);
}

.demo-v2::after {
  position: absolute;
  right: -300px;
  bottom: -300px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(183, 239, 123, 0.11);
  border-radius: 50%;
  box-shadow: inset 0 0 0 76px var(--night), inset 0 0 0 77px rgba(183, 239, 123, 0.08);
  content: "";
}

.demo-v2 .demo-grid {
  position: relative;
  z-index: 2;
}

.demo-v2 .demo-grid > div h2 {
  margin: 22px 0 26px;
  font-size: clamp(54px, 6.4vw, 90px);
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.demo-v2 .demo-grid > div > p {
  max-width: 600px;
  color: #bbcbc4;
  font-size: 17px;
  line-height: 1.7;
}

.demo-proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 590px;
  margin: 36px 0 28px;
}

.demo-proof span {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 2px 10px;
  padding: 15px;
  border: 1px solid var(--hairline-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.demo-proof svg {
  grid-row: 1 / 3;
  width: 24px;
  color: var(--lime);
}

.demo-proof strong {
  color: #fff;
  font-size: 11px;
}

.demo-proof small {
  color: #9fb2a9;
  font-size: 8px;
}

.demo-v2 form {
  border: 1px solid rgba(183, 239, 123, 0.17);
  border-radius: 26px;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.32);
}

.demo-v2 form .button {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--night);
}

.demo-v2 form .button:hover {
  border-color: #fff;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .continuity-marquee > div,
  .architecture-line::after {
    animation: none;
  }

  .continuity-marquee > div {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .continuity-story-grid,
  .ownership-grid,
  .verification-grid {
    grid-template-columns: 1fr;
  }

  .continuity-story-grid {
    gap: 65px;
  }

  .continuity-art {
    transform: none;
  }

  .engine-layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .product-stage {
    min-height: 800px;
  }

  .planning-shot {
    left: 15%;
    width: 85%;
  }

  .ownership-copy {
    text-align: center;
  }

  .ownership-copy h2,
  .ownership-copy > p:not(.eyebrow) {
    margin-inline: auto;
  }

  .ownership-copy .eyebrow {
    justify-content: center;
  }

  .ownership-compare {
    width: min(780px, 100%);
    margin-inline: auto;
  }

  .verification-grid {
    gap: 68px;
  }

  .verification-copy {
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  .continuity-story {
    padding-top: 110px;
  }

  .continuity-story-grid {
    grid-template-columns: 1fr;
  }

  .continuity-art figcaption {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .engine-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .engine-heading .eyebrow {
    margin-bottom: 0;
  }

  .engine-layout {
    grid-template-columns: 1fr;
  }

  .engine-steps {
    grid-template-columns: repeat(4, 1fr);
    overflow-x: auto;
  }

  .engine-steps button {
    min-width: 170px;
    min-height: 112px;
    grid-template-columns: 32px 1fr;
    padding: 18px;
    border-right: 1px solid var(--hairline-dark);
    border-bottom: 0;
  }

  .engine-steps button::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 0;
    transition: height 220ms ease;
  }

  .engine-steps button[aria-selected="true"]::after {
    width: auto;
    height: 4px;
  }

  .product-stage {
    display: grid;
    min-height: 0;
    gap: 18px;
  }

  .app-shot {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .planning-shot {
    order: -1;
    min-height: 0;
  }

  .product-stage-caption {
    position: static;
    justify-self: center;
    transform: none;
  }

  .hardware-cinema {
    min-height: 950px;
  }

  .hardware-shade {
    background:
      linear-gradient(0deg, rgba(2, 16, 11, 0.98) 0%, rgba(2, 16, 11, 0.84) 62%, rgba(2, 16, 11, 0.1) 100%);
  }

  .hardware-cinema-copy {
    padding-block: 260px 180px;
  }

  .hardware-pulse-card {
    right: 24px;
    bottom: 35px;
  }

  .local-architecture {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .architecture-core {
    min-height: 180px;
  }

  .architecture-line {
    top: 50%;
    width: 42%;
  }

  .line-left { right: 56%; }
  .line-right { left: 56%; }
}

@media (max-width: 640px) {
  .landing-page .continuity-story,
  .landing-page .migration-engine,
  .landing-page .product-proof,
  .landing-page .local-first-v2,
  .landing-page .ownership,
  .landing-page .verification-proof,
  .landing-page .faq-v2,
  .landing-page .demo-v2 {
    padding-block: 92px;
  }

  .continuity-story-copy h2,
  .engine-heading h2,
  .product-proof-heading h2,
  .hardware-cinema-copy h2,
  .local-first-heading h2,
  .ownership-copy h2,
  .verification-copy h2,
  .demo-v2 .demo-grid > div h2 {
    font-size: clamp(46px, 14vw, 65px);
  }

  .continuity-marquee {
    margin-top: 70px;
  }

  .continuity-marquee > div {
    gap: 20px;
    padding-block: 18px;
  }

  .engine-heading {
    margin-bottom: 46px;
  }

  .engine-screen-body {
    padding: 24px 18px;
  }

  .engine-window-bar {
    padding-inline: 14px;
  }

  .engine-window-bar strong {
    display: none;
  }

  .engine-status {
    grid-template-columns: 1fr;
  }

  .engine-status-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
  }

  .engine-status h3 {
    font-size: 38px;
  }

  .engine-metrics {
    grid-template-columns: 1fr;
  }

  .engine-metrics article {
    min-height: 0;
    padding: 18px;
  }

  .product-stage {
    margin-top: 58px;
  }

  .planning-days,
  .planning-grid {
    min-width: 660px;
  }

  .planning-shot {
    overflow-x: auto;
  }

  .hardware-cinema {
    min-height: 980px;
  }

  .hardware-cinema-copy {
    padding-block: 280px 210px;
  }

  .hardware-signals {
    grid-template-columns: 1fr;
  }

  .hardware-pulse-card {
    right: 12px;
    bottom: 24px;
    left: 12px;
    width: auto;
  }

  .architecture-side {
    min-height: 0;
    padding: 28px 22px;
  }

  .architecture-side h3 {
    font-size: 32px;
  }

  .ownership-compare {
    display: grid;
    min-height: 0;
    gap: 18px;
  }

  .ownership-compare article {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .verification-report li {
    grid-template-columns: 1fr auto;
  }

  .verification-report li em {
    grid-column: 1 / -1;
    text-align: left;
  }

  .report-score {
    grid-template-columns: 50px 1fr;
  }

  .report-score > span {
    width: 50px;
    height: 50px;
  }

  .report-score > b {
    grid-column: 2;
    font-size: 32px;
  }

  .demo-proof {
    grid-template-columns: 1fr;
  }
}
