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

:root {
  color-scheme: dark;
  --ink: #f1f3ed;
  --ink-soft: #c1c8c0;
  --muted: #87928b;
  --bg: #080c0d;
  --bg-raised: #0d1313;
  --panel: #111919;
  --panel-light: #172120;
  --line: rgba(223, 237, 224, 0.13);
  --line-strong: rgba(223, 237, 224, 0.22);
  --accent: #77e1c1;
  --accent-dark: #153e35;
  --accent-bright: #a1f0d7;
  --warm: #c6a77b;
  --max-width: 1240px;
  --gutter: clamp(1.2rem, 5vw, 4.5rem);
  --radius: 3px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 4%, rgba(64, 112, 94, 0.09), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

body,
button,
input,
textarea,
select {
  font-family: "DM Sans", sans-serif;
}

button,
input,
textarea,
select {
  font-size: inherit;
}

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

button {
  color: inherit;
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.22em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

a:hover {
  color: var(--accent-bright);
}

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

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

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figure {
  margin: 0;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 9vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.8rem, 5vw, 3.15rem);
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

::selection {
  background: var(--accent);
  color: #07100e;
}

[hidden] {
  display: none !important;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  background: var(--accent);
  color: #07100e;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
  color: #07100e;
}

/* Shared navigation */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(223, 237, 224, 0.08);
  background: rgba(8, 12, 13, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: flex;
  width: min(1440px, calc(100% - var(--gutter) * 1.3));
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.1;
}

.brand:hover,
.footer-logo:hover {
  color: var(--accent);
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--accent);
}

.brand-sub {
  display: block;
  margin-top: 0.38rem;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.48rem;
  font-weight: 400;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.menu-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.menu-toggle:hover {
  border-color: var(--accent);
  background: rgba(119, 225, 193, 0.08);
}

.menu-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.primary-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: none;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-top: 0;
  background: #0b1111;
  box-shadow: var(--shadow);
}

.site-header:has(.menu-toggle[aria-expanded="true"]) .primary-nav {
  display: grid;
}

.primary-nav a {
  display: block;
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid rgba(223, 237, 224, 0.07);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.primary-nav a:last-child {
  border-bottom: 0;
}

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

.primary-nav a[aria-current="page"] {
  background: rgba(119, 225, 193, 0.06);
}

.primary-nav .nav-contact {
  margin-top: 0.45rem;
  border: 1px solid rgba(119, 225, 193, 0.34);
  color: var(--accent);
  text-align: center;
}

/* Labels, actions and common image treatment */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px rgba(119, 225, 193, 0.7);
}

.lede {
  max-width: 690px;
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.82rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

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

.button-primary:hover {
  border-color: var(--accent-bright);
  background: var(--accent-bright);
  color: #07100e;
}

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

.button-quiet:hover {
  border-color: var(--accent);
  background: rgba(119, 225, 193, 0.07);
  color: var(--accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
}

.text-link:hover {
  color: var(--accent-bright);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.image-frame img,
.card-image img,
.feature-image img,
.compact-image img,
.article-aside figure img {
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 500ms ease;
}

.image-frame:hover img,
.card-image:hover img,
.feature-image:hover img,
.compact-image:hover img {
  transform: scale(1.035);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin-top: 2rem;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
}

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

.hero-meta span + span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

/* Homepage hero */
.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-top: clamp(3.25rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7.5rem);
}

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

.hero h1 {
  max-width: 850px;
  text-wrap: balance;
}

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

.hero-visual::after,
.page-visual::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(0deg, rgba(4, 8, 8, 0.75), transparent);
  content: "";
  pointer-events: none;
}

.hero-visual img,
.page-visual img {
  position: absolute;
  inset: 0;
  filter: saturate(0.75) brightness(0.78);
}

.visual-caption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.13em;
}

.visual-caption span {
  color: var(--accent);
}

/* Guide cards */
.section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.section-heading {
  display: grid;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 740px;
  margin-bottom: 0;
  text-wrap: balance;
}

.section-heading > p {
  max-width: 430px;
  margin-bottom: 0.25rem;
  color: var(--ink-soft);
}

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

.split-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.card-image {
  min-height: 220px;
  aspect-ratio: 1.3 / 1;
  overflow: hidden;
  background: var(--panel-light);
}

.card-image img {
  filter: saturate(0.7) brightness(0.82);
}

.card-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 3vw, 2.1rem);
}

.card-panel .eyebrow {
  margin-bottom: 0.7rem;
}

.card-panel h3 {
  max-width: 520px;
  margin-bottom: 0.85rem;
  text-wrap: balance;
}

.card-panel > p:not(.eyebrow) {
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: auto 0 1rem;
}

.card-meta span {
  padding: 0.27rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.61rem;
  letter-spacing: 0.04em;
}

.card-panel .text-link {
  margin-top: 0.2rem;
}

/* Process section */
.section-tinted {
  border-block: 1px solid rgba(223, 237, 224, 0.07);
  background:
    radial-gradient(ellipse at 50% 0, rgba(71, 127, 103, 0.13), transparent 55%),
    #0b1111;
}

.process-grid {
  display: grid;
  gap: 0;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.process-grid article {
  position: relative;
  padding: 1.5rem 1.1rem 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.process-grid article > span {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 0.73rem;
}

.process-grid h3 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
}

.process-grid p {
  max-width: 370px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Featured content */
.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.feature-image {
  min-height: 235px;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
  background: var(--panel-light);
}

.feature-image img {
  filter: saturate(0.7) brightness(0.8);
}

.feature-copy {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.feature-copy .eyebrow {
  margin-bottom: 0.8rem;
}

.feature-copy h2 {
  max-width: 540px;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.feature-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.compact-feature {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.compact-copy {
  align-self: center;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.compact-copy h2 {
  max-width: 680px;
  font-size: clamp(1.8rem, 5vw, 3.1rem);
  text-wrap: balance;
}

.compact-copy > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--ink-soft);
}

.compact-copy .button {
  margin-top: 0.7rem;
}

.compact-image {
  min-height: 260px;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  background: var(--panel-light);
}

.compact-image img {
  filter: saturate(0.7) brightness(0.78);
}

.final-cta {
  margin-top: clamp(4rem, 8vw, 7rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 100% 0, rgba(119, 225, 193, 0.09), transparent 55%),
    var(--panel);
  text-align: center;
}

.final-cta .eyebrow {
  justify-content: center;
}

.final-cta h2 {
  max-width: 800px;
  margin-inline: auto;
  text-wrap: balance;
}

.final-cta > p:not(.eyebrow) {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: var(--ink-soft);
}

.final-cta .button {
  margin-inline: auto;
}

/* Guide page hero and article layout */
.page-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.55rem, 7vw, 5rem);
  text-wrap: balance;
}

.page-visual {
  min-height: 270px;
  aspect-ratio: 1.55 / 1;
}

.article-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
  padding-top: clamp(2.7rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.article-body {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
}

.article-body > .eyebrow {
  margin-bottom: 0.85rem;
}

.article-body h2 {
  margin-top: 2.6rem;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  text-wrap: balance;
}

.article-body > .eyebrow + h2 {
  margin-top: 0;
}

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

.article-body strong {
  color: var(--ink);
  font-weight: 700;
}

.article-body ul {
  padding-left: 1.35rem;
}

.article-body li {
  margin-bottom: 0.55rem;
  padding-left: 0.2rem;
}

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

.check-list {
  list-style: square;
}

.article-aside {
  position: relative;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

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

.article-aside h2 {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}

.article-aside > p:not(.eyebrow, .aside-caption) {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.article-aside figure {
  height: 220px;
  margin-top: 1.3rem;
  overflow: hidden;
  background: var(--panel-light);
}

.article-aside figure img {
  filter: saturate(0.68) brightness(0.82);
}

.aside-caption {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.related-guides {
  display: grid;
  gap: 0.7rem;
  margin-top: 2.7rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(119, 225, 193, 0.035);
}

.related-guides h2 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.related-guides a {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Tables */
.comparison-table {
  max-width: 100%;
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(13, 19, 19, 0.72);
  scrollbar-color: var(--accent-dark) var(--bg-raised);
}

.comparison-table table {
  width: 100%;
  min-width: 610px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
  line-height: 1.6;
}

.comparison-table th,
.comparison-table td {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table th {
  background: rgba(119, 225, 193, 0.08);
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-table td {
  color: var(--ink-soft);
}

.comparison-table td:first-child {
  color: var(--ink);
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.article-layout + .final-cta {
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
  background: #060909;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand {
  max-width: 390px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.footer-logo .brand-mark {
  width: 42px;
  height: 42px;
}

.footer-domain {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.footer-brand p,
.footer-details p {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.footer-brand .fiction-note {
  color: #66726b;
  font-size: 0.72rem;
}

.footer-grid h2 {
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li,
.footer-details {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-grid li a,
.footer-details a {
  color: var(--muted);
}

.footer-grid li a:hover,
.footer-details a:hover {
  color: var(--accent);
}

.footer-cookie {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.footer-cookie:hover {
  color: var(--accent);
}

.footer-details a {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(223, 237, 224, 0.09);
  color: #727d76;
  font-family: "DM Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.03em;
}

/* Cookie consent and preferences */
.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 1rem;
  max-width: 980px;
  margin-inline: auto;
  padding: 1.2rem;
  border: 1px solid var(--line-strong);
  background: rgba(13, 19, 19, 0.97);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
}

.cookie-copy .eyebrow {
  margin-bottom: 0.45rem;
}

.cookie-copy > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

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

.cookie-actions .button {
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  font-size: 0.75rem;
}

.cookie-actions .text-link {
  padding: 0.5rem;
  font-size: 0.78rem;
}

.preferences-panel {
  position: fixed;
  z-index: 110;
  inset: 50% auto auto 50%;
  width: min(560px, calc(100% - 2rem));
  max-height: min(88vh, 780px);
  overflow-y: auto;
  padding: clamp(1.3rem, 5vw, 2rem);
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-strong);
  background: #101817;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.72);
}

.preferences-panel::before {
  position: fixed;
  z-index: -1;
  inset: -100vh -100vw;
  background: rgba(0, 0, 0, 0.65);
  content: "";
}

.preferences-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.preferences-head .eyebrow {
  margin-bottom: 0.45rem;
}

.preferences-head h2 {
  margin-bottom: 0;
  font-size: 1.8rem;
}

.close-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.close-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.preferences-panel > p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

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

.preference-row strong {
  color: var(--ink);
}

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

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

.preferences-panel .form-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.preferences-panel .button-row {
  margin-top: 1.2rem;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 1rem;
  bottom: 1rem;
  max-width: min(420px, calc(100% - 2rem));
  padding: 0.85rem 1rem;
  border: 1px solid rgba(119, 225, 193, 0.45);
  background: #10211c;
  color: var(--accent-bright);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}

/* Form controls for shared or future contact pages */
form {
  display: grid;
  gap: 1.1rem;
}

label {
  color: var(--ink-soft);
}

input:not([type="checkbox"]),
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0b1111;
  color: var(--ink);
}

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

input::placeholder,
textarea::placeholder {
  color: #6f7b74;
}

input:disabled {
  opacity: 0.65;
}

/* Tablet and larger screens */
@media (min-width: 700px) {
  :root {
    --gutter: clamp(2rem, 6vw, 5rem);
  }

  .header-inner {
    min-height: 84px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: clamp(2rem, 5vw, 5rem);
  }

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

  .section-heading {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: 2rem;
    margin-bottom: 2.8rem;
  }

  .split-card {
    grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
    min-height: 300px;
  }

  .card-image {
    height: 100%;
    min-height: 300px;
    aspect-ratio: auto;
  }

  .card-panel {
    padding: clamp(1.5rem, 3vw, 2.6rem);
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .process-grid article {
    min-height: 200px;
    padding: 1.5rem 1.5rem 1.5rem 0;
  }

  .process-grid article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .process-grid article:nth-child(even) {
    padding-left: 1.5rem;
  }

  .process-grid article:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

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

  .feature-card {
    display: flex;
    flex-direction: column;
  }

  .feature-image {
    min-height: 260px;
    aspect-ratio: 1.4 / 1;
  }

  .feature-copy {
    flex: 1;
    padding: 1.7rem;
  }

  .compact-feature {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .compact-image {
    min-height: 420px;
    height: 100%;
    aspect-ratio: auto;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .page-visual {
    min-height: 400px;
    aspect-ratio: 0.95 / 1;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .article-aside {
    position: sticky;
    top: 110px;
  }

  .footer-grid {
    grid-template-columns: minmax(240px, 1.6fr) repeat(2, minmax(130px, 0.8fr));
    gap: 2rem 2.5rem;
  }

  .footer-details {
    grid-column: 2 / -1;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem 2rem;
  }

  .cookie-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 1.35rem 1.5rem;
  }

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

@media (min-width: 1050px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav,
  .site-header:has(.menu-toggle[aria-expanded="true"]) .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: clamp(0.65rem, 1.2vw, 1.35rem);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav a {
    padding: 0.5rem 0;
    border: 0;
    color: var(--ink-soft);
    font-size: 0.74rem;
    white-space: nowrap;
  }

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

  .primary-nav .nav-contact {
    margin: 0 0 0 0.25rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(119, 225, 193, 0.35);
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
  }

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

  .guide-list {
    gap: 1.15rem;
  }

  .split-card {
    grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr);
  }

  .card-image {
    min-height: 320px;
  }

  .card-panel {
    padding: 2.4rem 3rem;
  }

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

  .process-grid article,
  .process-grid article:nth-child(even) {
    min-height: 220px;
    padding: 1.5rem 1.35rem 1.5rem 1.2rem;
    border-right: 1px solid var(--line);
  }

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

  .process-grid article:last-child {
    grid-column: auto;
    border-right: 0;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(410px, 0.88fr);
  }

  .page-visual {
    min-height: 470px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 770px) minmax(250px, 300px);
    justify-content: space-between;
    gap: clamp(4rem, 8vw, 8rem);
  }

  .footer-grid {
    grid-template-columns: minmax(260px, 1.45fr) minmax(140px, 0.7fr) minmax(140px, 0.7fr) minmax(210px, 0.9fr);
    gap: 2rem 3rem;
  }

  .footer-details {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 0.45rem;
    font-size: 0.83rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-sub {
    font-size: 0.42rem;
  }

  .button-row > .button {
    flex: 1 1 auto;
  }

  .cookie-actions .button {
    flex: 1 1 100%;
  }

  .visual-caption {
    font-size: 0.56rem;
  }
}

@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;
  }
}