@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --ink: #eef5f4;
  --muted: #a6b8b7;
  --subtle: #718786;
  --page: #081417;
  --surface: #0d1c20;
  --surface-raised: #112429;
  --line: rgba(178, 213, 211, 0.14);
  --accent: #53cce3;
  --accent-strong: #8be5f1;
  --warm: #d6a866;
  --content-width: 1200px;
  --page-gutter: clamp(1.2rem, 5vw, 5rem);
  --header-height: 84px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  background: var(--page);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 82% 0%, rgba(26, 73, 78, 0.16), transparent 38rem),
    var(--page);
  font-size: 15px;
  line-height: 1.7;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #c4f7fb;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  color: #061316;
  background: var(--accent-strong);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  border-radius: 4px;
  color: #061316;
  background: var(--accent-strong);
  font-weight: 800;
}

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

.section-wrap {
  width: min(var(--content-width), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: 100%;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 19, 22, 0.92);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
}

.brand svg,
.footer-brand svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.7rem);
}

.primary-nav a,
.header-cta {
  color: #c4d1cf;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--accent-strong);
}

.header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(83, 204, 227, 0.42);
  border-radius: 3px;
  color: var(--accent-strong);
}

.header-cta:hover {
  border-color: var(--accent);
  color: #fff;
}

.menu-toggle,
.mobile-contact {
  display: none;
}

.hero {
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

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

.eyebrow,
.card-index,
.hero-meta,
.tag,
.scene-label,
.card-foot > span,
.step-no {
  font-family: "DM Mono", "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.5;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.75rem, 6.6vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 700px;
}

.lead {
  max-width: 620px;
  margin-bottom: 1.8rem;
  color: #c2d0ce;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  color: #061619;
  background: var(--accent);
}

.button-primary:hover {
  border-color: var(--accent-strong);
  color: #061619;
  background: var(--accent-strong);
}

.button-quiet {
  border-color: var(--line);
  color: #d6e2e0;
  background: rgba(12, 29, 32, 0.5);
}

.button-quiet:hover {
  border-color: rgba(83, 204, 227, 0.55);
  color: #fff;
  background: rgba(20, 49, 54, 0.7);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin-top: 2.2rem;
  color: var(--subtle);
  font-size: 0.58rem;
  line-height: 1.5;
}

.visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(180, 221, 221, 0.2);
  border-radius: 4px;
  background-color: #14282b;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.visual::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 16, 20, 0.16), transparent 65%),
    linear-gradient(0deg, rgba(4, 17, 20, 0.38), rgba(4, 17, 20, 0.04) 62%);
  content: "";
  pointer-events: none;
}

.visual::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 1px solid rgba(215, 246, 245, 0.05);
  content: "";
  pointer-events: none;
}

.visual > i {
  display: none;
}

.hero-visual {
  min-height: 420px;
  aspect-ratio: 1.1 / 1;
}

.scene-label {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(213, 240, 238, 0.25);
  color: #f1f7f5;
  background: rgba(4, 16, 19, 0.64);
  font-size: 0.57rem;
  line-height: 1.4;
}

.scene-aerial {
  background-image: url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?auto=format&fit=crop&w=2000&q=85");
}

.scene-vessel {
  background-image: url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=1600&q=85");
}

.scene-cranes {
  background-image: url("https://images.unsplash.com/photo-1567789884554-0b844b597180?auto=format&fit=crop&w=1600&q=85");
}

.scene-shipyard {
  background-image: url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?auto=format&fit=crop&w=1600&q=85");
}

.scene-warehouse {
  background-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1600&q=85");
}

.scene-rail {
  background-image: url("https://images.unsplash.com/photo-1474487548417-781cb71495f3?auto=format&fit=crop&w=1600&q=85");
}

.scene-yard {
  background-image: url("https://images.unsplash.com/photo-1567789884554-0b844b597180?auto=format&fit=crop&w=1600&q=85");
}

.scene-control {
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=85");
}

.scene-inspection {
  background-image: url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?auto=format&fit=crop&w=1200&q=85");
}

.intro {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: 3.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.planning h2,
.contact-band h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
}

.intro > p {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-block {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.guide-list {
  display: grid;
  gap: 1rem;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(120deg, rgba(17, 36, 41, 0.78), rgba(10, 25, 29, 0.74));
  transition: border-color 180ms ease, transform 180ms ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: rgba(83, 204, 227, 0.38);
}

.guide-card .visual {
  min-height: 245px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.guide-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.35rem, 3vw, 2.2rem);
}

.card-index {
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 0.6rem;
}

.guide-copy h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.035em;
}

.guide-copy > p:not(.card-index) {
  max-width: 610px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.card-foot {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.card-foot > span {
  color: var(--subtle);
  font-size: 0.55rem;
}

.card-foot a {
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.flow-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 27, 30, 0.42);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(11, 26, 29, 0.55);
}

.flow-step {
  min-width: 0;
  padding: 1.35rem;
  border-right: 1px solid var(--line);
}

.flow-step:last-child {
  border-right: 0;
}

.step-no {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 0.66rem;
}

.flow-step h3 {
  margin-bottom: 1.1rem;
  font-size: 1.1rem;
}

.flow-step p {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.65;
}

.flow-step p:last-child {
  margin-bottom: 0;
}

.flow-step b {
  color: #dce8e6;
  font-weight: 700;
}

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

.glass-panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(19, 40, 44, 0.88), rgba(10, 24, 28, 0.88));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.comparison-grid .glass-panel {
  min-height: 220px;
  padding: 1.35rem;
}

.tag {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-size: 0.56rem;
}

.comparison-grid h3 {
  margin-bottom: 0.7rem;
  font-size: 1.02rem;
}

.comparison-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.planning {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.planning h2 {
  max-width: 620px;
  margin-bottom: 1.4rem;
}

.planning-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}

.planning .visual {
  min-height: 340px;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid rgba(83, 204, 227, 0.28);
  border-radius: 4px;
  background:
    linear-gradient(100deg, rgba(31, 76, 81, 0.26), rgba(10, 26, 29, 0.75)),
    var(--surface);
}

.contact-band h2 {
  margin-bottom: 0.55rem;
}

.contact-band p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5.2vw, 4.7rem);
  overflow-wrap: anywhere;
}

.article-hero .lead {
  margin-bottom: 1.4rem;
}

.article-hero .visual {
  min-height: 330px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  align-items: start;
  gap: clamp(3rem, 7vw, 6.5rem);
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.article-body {
  min-width: 0;
  max-width: 790px;
}

.article-body .article-intro {
  margin-bottom: 2.6rem;
  color: #d4e0de;
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-body h2 {
  margin: 2.5rem 0 0.9rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -0.035em;
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 1.1rem;
}

.article-body ul {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.article-body li::marker {
  color: var(--accent);
}

.article-body a {
  color: var(--accent-strong);
}

.article-aside {
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.article-aside .glass-panel {
  padding: 1.25rem;
}

.article-aside .eyebrow {
  margin-bottom: 0.9rem;
}

.article-aside .glass-panel > a,
.article-aside .glass-panel > button {
  display: block;
  margin: 0.65rem 0;
}

.article-aside .glass-panel > a {
  color: #c5d7d4;
  font-size: 0.78rem;
  text-decoration: none;
}

.article-aside .glass-panel > a:hover {
  color: var(--accent-strong);
}

.article-aside .glass-panel h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.article-aside .glass-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.76rem;
}

.article-aside .visual {
  min-height: 205px;
}

.related {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.related a {
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: 3.5rem var(--page-gutter) 1.3rem;
  border-top: 1px solid var(--line);
  background: #061114;
}

.footer-main {
  display: grid;
  width: min(var(--content-width), 100%);
  grid-template-columns: minmax(250px, 1.35fr) minmax(180px, 1fr) minmax(150px, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin: 0 auto;
  padding-bottom: 2.6rem;
}

.footer-brand {
  margin-bottom: 1rem;
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.footer-brand svg {
  width: 32px;
  height: 32px;
}

.footer-main p,
.footer-main > div > a:not(.footer-brand) {
  color: var(--muted);
  font-size: 0.73rem;
}

.footer-main > div > p {
  margin-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-links h2 {
  margin-bottom: 0.5rem;
  color: #dce7e5;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.72rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

.footer-bottom {
  display: flex;
  width: min(var(--content-width), 100%);
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 0.57rem;
}

.footer-bottom a {
  color: var(--subtle);
  text-decoration: none;
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--accent-strong);
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.text-button:hover {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  display: grid;
  width: min(680px, calc(100% - 2rem));
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.5);
}

.cookie-banner p {
  margin-bottom: 0.4rem;
  color: #d6e2e0;
  font-size: 0.77rem;
}

.cookie-banner .eyebrow {
  margin-bottom: 0.4rem;
}

.cookie-banner a {
  font-size: 0.72rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cookie-actions .button {
  min-height: 38px;
  padding: 0.55rem 0.7rem;
  font-size: 0.68rem;
}

.cookie-actions .text-button {
  padding-inline: 0.4rem;
  font-size: 0.68rem;
}

.preferences-dialog {
  width: min(520px, calc(100% - 2rem));
  max-height: min(90vh, 720px);
  padding: 0;
  border: 1px solid rgba(130, 187, 188, 0.32);
  border-radius: 5px;
  color: var(--ink);
  background: #0b1b1f;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.65);
}

.preferences-dialog::backdrop {
  background: rgba(1, 9, 11, 0.76);
  backdrop-filter: blur(4px);
}

.preferences-dialog form {
  position: relative;
  padding: clamp(1.4rem, 5vw, 2.2rem);
}

.preferences-dialog .eyebrow {
  margin-bottom: 0.55rem;
}

.preferences-dialog h2 {
  margin-bottom: 0.6rem;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.preferences-dialog form > p:not(.eyebrow) {
  max-width: 390px;
  color: var(--muted);
  font-size: 0.84rem;
}

.dialog-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.preference-row b,
.preference-row small {
  display: block;
}

.preference-row b {
  color: var(--ink);
  font-size: 0.84rem;
}

.preference-row small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.preference-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.preferences-dialog .actions {
  margin-top: 1.2rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  :root {
    --header-height: 74px;
  }

  .site-header {
    gap: 1rem;
  }

  .primary-nav {
    gap: 0.8rem;
  }

  .primary-nav a {
    font-size: 0.68rem;
  }

  .header-cta {
    padding-inline: 0.65rem;
    font-size: 0.7rem;
  }

  .hero {
    min-height: 540px;
    gap: 2rem;
  }

  .hero-visual {
    min-height: 350px;
  }

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

  .flow-step:nth-child(3) {
    border-right: 0;
  }

  .flow-step:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

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

  .article-layout {
    gap: 2.5rem;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 1.25rem;
  }

  .site-header {
    min-height: 70px;
  }

  .brand {
    font-size: 0.62rem;
  }

  .brand svg {
    width: 34px;
    height: 34px;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: rgba(13, 28, 32, 0.8);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 17px;
    height: 1px;
    background: var(--ink);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .menu-toggle span {
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--page-gutter) 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 19, 22, 0.98);
  }

  .primary-nav[data-open],
  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(178, 213, 211, 0.08);
    font-size: 0.82rem;
  }

  .primary-nav .mobile-contact {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 4rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .hero-visual {
    min-height: 300px;
    aspect-ratio: 1.4 / 1;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 2.4rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-card .visual {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .flow-step,
  .flow-step:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .flow-step:nth-child(2n) {
    border-right: 0;
  }

  .flow-step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .planning .visual {
    min-height: 280px;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 3.5rem;
  }

  .article-hero h1 {
    font-size: clamp(2.7rem, 10vw, 4.4rem);
  }

  .article-hero .visual {
    min-height: 280px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .article-aside .visual {
    min-height: 100%;
  }

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

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

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

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

  .comparison-grid .glass-panel {
    min-height: 0;
  }

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

  .flow-step,
  .flow-step:nth-child(3),
  .flow-step:nth-child(2n) {
    border-right: 0;
  }

  .flow-step + .flow-step {
    border-top: 1px solid var(--line);
  }

  .card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .article-aside .visual {
    min-height: 210px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-main > div:first-child {
    grid-column: auto;
  }

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

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}