/* SPDX-License-Identifier: LicenseRef-Proprietary
   Copyright (c) 2026 Thierry Devilliere. Tous droits réservés. */

:root {
  color-scheme: light;
  --ink: #171518;
  --muted: #67616b;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #ded7ce;
  --gold: #d4a646;
  --amber: #e6a33f;
  --copper: #b94f43;
  --teal: #0e8f88;
  --violet: #5b4aa3;
  --night: #050b1a;
  --deep: #121216;
  --shadow: 0 24px 70px rgba(28, 22, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

/* Phase de présentation : les pages et leurs liens restent conservés.
   Retirer data-site-stage="presentation" des deux pages pour rétablir les accès. */
body[data-site-stage="presentation"] .site-header nav,
body[data-site-stage="presentation"] .hero-choices a:not([data-open-presentation]),
body[data-page="accueil"][data-site-stage="presentation"] .site-header {
  display: none;
}

body[data-page="accueil"][data-site-stage="presentation"] .home-hero {
  min-height: 100vh;
  min-height: 100svh;
}

/* Fondu entre documents sur les navigateurs compatibles ; script.js assure le repli. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: page-fade-out 0.8s ease-in-out both;
}

::view-transition-new(root) {
  animation: page-fade-in 0.8s ease-in-out both;
}

body.page-leaving {
  pointer-events: none;
  animation: page-fade-out 0.6s ease-in-out both;
}

body.page-arriving {
  animation: page-fade-in 0.6s ease-in-out both;
}

@keyframes page-fade-out {
  to { opacity: 0; }
}

@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--deep);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 850;
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand:hover img,
.brand:focus-visible img {
  transform: rotate(-5deg) scale(1.05);
  filter: drop-shadow(0 0 12px rgba(212, 166, 70, 0.55));
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(0.7rem, 2vw, 1.8rem);
  font-size: 0.94rem;
}

nav a,
footer a,
.manual-list a,
.hero-choices a {
  text-decoration: none;
}

nav a {
  position: relative;
  color: var(--muted);
  font-weight: 750;
}

nav a:hover,
nav a.active,
footer a:hover,
.manual-list a:hover {
  color: var(--teal);
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: var(--teal);
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 65px);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 8vw, 7rem) 1rem;
  background: radial-gradient(circle at 50% 35%, #142349 0, var(--night) 62%);
  color: #eef2fb;
  text-align: center;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 28%, rgba(212, 166, 70, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(5, 11, 26, 0), rgba(5, 11, 26, 0.44));
}

.starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-center {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(920px, 100%);
  flex-direction: column;
  align-items: center;
}

.welcome-logo {
  width: min(300px, 38vh);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(120, 160, 255, 0.35));
  animation: shell-float 6s ease-in-out infinite;
}

.welcome-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  cursor: help;
}

.welcome-seshat {
  margin-top: -4px;
  color: rgba(232, 201, 128, 0.75);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.18em;
  transition: color 0.2s;
}

.welcome-emblem:hover .welcome-seshat,
.welcome-emblem:focus-visible .welcome-seshat {
  color: #f3d58a;
}

.welcome-title {
  margin: 10px 0 4px;
  color: #f3d58c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(212, 166, 70, 0.45);
}

.shell-subtitle {
  margin: 0;
  color: #c9d4ef;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.welcome-motto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
  color: #fff;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  font-weight: 750;
}

.welcome-motto span {
  opacity: 0;
  animation: motto-word 0.8s ease-out forwards;
}

.welcome-motto span:nth-child(1) {
  animation-delay: 0.9s;
}

.welcome-motto span:nth-child(2) {
  animation-delay: 1.6s;
}

.welcome-motto span:nth-child(3) {
  animation-delay: 2.3s;
}

.hero-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

.hero-choices a {
  border: 1px solid rgba(212, 166, 70, 0.38);
  border-radius: 0.45rem;
  padding: 0.72rem 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  color: #f6e4b6;
  font-weight: 850;
}

.hero-choices a:hover,
.hero-choices a:focus-visible {
  background: rgba(212, 166, 70, 0.25);
  color: #fff;
}

.welcome-pitch {
  max-width: 760px;
  margin: 1.4rem 0 0;
  color: #cfd8ee;
}

.seshat-dialog {
  width: min(560px, calc(100vw - 2rem));
  border: 1px solid rgba(212, 166, 70, 0.42);
  border-radius: 0.5rem;
  padding: 0;
  background: #10182d;
  color: #dfe6f5;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.seshat-dialog::backdrop {
  background: rgba(3, 8, 22, 0.66);
}

.seshat-dialog form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.seshat-dialog h2 {
  margin: 0;
  color: #f3d58a;
  font-family: Georgia, "Times New Roman", serif;
}

.seshat-dialog p {
  margin: 0;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  padding: 0.78rem 1rem;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.2;
}

.button.primary {
  background: var(--amber);
  color: #251609;
}

.button.primary:hover {
  background: #f0ba62;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 5rem);
}

.pres-demo {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.pres-demo h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.15;
}

.pres-video {
  max-width: 1100px;
  margin: 2rem auto 0;
}

.pres-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--night);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.pres-video figcaption {
  margin-top: 1rem;
  color: var(--muted);
  text-align: center;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: normal;
  word-break: normal;
}

.page-hero {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 5vw, 5rem) clamp(3rem, 7vw, 5rem);
  background:
    linear-gradient(90deg, rgba(18, 18, 22, 0.92), rgba(18, 18, 22, 0.62)),
    url("assets/electricite.webp") center / cover;
  color: #fff;
}

.page-hero h1,
.section-heading h1,
.section-heading h2 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(2.3rem, 5.4vw, 5.6rem);
  line-height: 0.98;
}

.page-hero p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.presentation-section {
  background: var(--paper);
}

.presentation-section .section-heading {
  max-width: none;
}

.presentation-section .section-heading h1,
.presentation-section .section-heading h2 {
  max-width: none;
}

.prose {
  display: grid;
  width: 100%;
  gap: 1rem;
  color: #272328;
}

.prose h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  line-height: 1.08;
}

.prose h4 {
  margin: 1.3rem 0 0.4rem;
  font-size: 1.1rem;
}

.prose p {
  margin: 0 0 1rem;
  padding: 0;
  color: #423c45;
  font-size: 1.05rem;
}

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

.prose blockquote {
  margin: 1.5rem 0;
  border-left: 4px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
}

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

.presentation-part {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.presentation-part:nth-of-type(odd) {
  background: #ffffff;
}

.presentation-part:nth-of-type(even) {
  background: #f2f4f5;
}

.presentation-part > :last-child {
  margin-bottom: 0;
}

.prose-columns > div,
.feature-grid article,
.pricing-grid article,
.steps article {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.2rem;
  background: var(--surface);
  box-shadow: 0 12px 35px rgba(28, 22, 15, 0.06);
}

.prose-columns p {
  border: 0;
  padding: 0;
  background: transparent;
}

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

.feature-grid h2,
.pricing-grid h2,
.steps h2 {
  margin: 0 0 0.7rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

.feature-grid p,
.pricing-grid p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.feature-mark {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--copper);
  font-weight: 900;
}

.visual-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2rem, 6vw, 5rem);
  padding: clamp(1rem, 3vw, 2rem);
  border-block: 1px solid var(--line);
}

.visual-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  object-fit: cover;
}

.visual-row h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
}

.visual-row p {
  color: var(--muted);
  font-size: 1.08rem;
}

.pricing-section {
  background: #f2f7f6;
}

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

.pricing-grid article {
  padding: 1.4rem;
}

.pricing-grid article.highlight {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.pricing-grid span {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--copper);
  font-weight: 900;
}

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

.steps strong {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.order-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.order-section p {
  color: var(--muted);
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.2rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 850;
}

.wide,
.order-form button,
.form-feedback {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.8rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-feedback {
  min-height: 1.5rem;
  margin: 0;
  color: var(--teal);
  font-weight: 750;
}

.manual-section {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--deep);
  color: #fff;
}

.manual-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.manual-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.manual-list {
  display: grid;
  gap: 0.75rem;
}

.manual-list a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.download-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.download-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.download-section p {
  max-width: 780px;
  color: var(--muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem clamp(1.2rem, 5vw, 5rem);
  color: var(--muted);
}

/* Page Présentation : colonne de lecture, sections alternées, quatre verbes, étapes et conclusion. */

.pres-text {
  max-width: 760px;
  margin-inline: auto;
}

.pres-text h2,
.pres-pair h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.08;
}

.pres-text p,
.pres-pair p {
  margin: 0 0 1rem;
  color: #423c45;
  font-size: 1.08rem;
  line-height: 1.7;
}

.pres-text strong,
.pres-pair strong {
  color: var(--ink);
}

.pres-intro {
  background: var(--paper);
}

.pres-intro .pres-text p.pres-lead {
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

.pres-verbs {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
}

.pres-verbs li {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: 0 12px 35px rgba(28, 22, 15, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pres-verbs li:hover,
.pres-verbs li:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pres-verbs a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.3rem;
  color: inherit;
  text-decoration: none;
}

.pres-verbs .feature-mark {
  margin-bottom: 1.2rem;
}

.pres-verbs strong {
  margin-bottom: 0.4rem;
  font-size: 1.5rem;
}

.pres-verbs span:last-child {
  color: var(--muted);
}

.pres-band {
  background: #f2f4f5;
}

.pres-step {
  background: var(--surface);
}

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

.pres-number {
  margin: 0 0 0.6rem !important;
  color: var(--copper) !important;
  font-size: 0.85rem !important;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pres-key {
  margin: 1.6rem 0 !important;
  border-left: 4px solid var(--teal);
  padding: 0.4rem 0 0.4rem 1rem;
  color: var(--ink) !important;
  font-size: 1.25rem !important;
  font-weight: 700;
}

.pres-quote {
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding: 0 1rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  line-height: 1.3;
  text-align: center;
}

.pres-quote::before,
.pres-quote::after {
  color: var(--gold);
}

.pres-quote::before {
  content: "« ";
}

.pres-quote::after {
  content: " »";
}

.pres-list,
.pres-whatif {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.pres-list li {
  position: relative;
  padding-left: 1.6rem;
  color: #423c45;
  font-size: 1.05rem;
}

.pres-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
  content: "✓";
}

.pres-whatif li {
  border-radius: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--surface);
  color: var(--ink);
  font-style: italic;
  box-shadow: 0 6px 18px rgba(28, 22, 15, 0.06);
}

.pres-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 1150px;
  margin-inline: auto;
}

.pres-levels {
  margin: 0 0 1.2rem;
}

.pres-levels > div {
  font-size: 1.1rem;
  text-align: center;
}

.pres-levels > div:first-child {
  border-top: 4px solid var(--gold);
}

.pres-levels > div:last-child {
  border-top: 4px solid var(--violet);
}

.pres-timeline {
  background: var(--paper);
}

.pres-phases {
  max-width: 1100px;
  margin: 1rem auto 2rem;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.pres-phases li {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.3rem;
  background: var(--surface);
  box-shadow: 0 12px 35px rgba(28, 22, 15, 0.06);
}

.pres-phases li:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.pres-phases .feature-mark {
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.pres-phases h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.pres-phases p {
  margin: 0;
  color: var(--muted);
}

.pres-users {
  max-width: 1000px;
  margin: 1.5rem auto 0;
}

.pres-users h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.pres-users p {
  color: #423c45;
  font-size: 1.05rem;
  line-height: 1.7;
}

.pres-closing {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 5vw, 5rem);
  background: radial-gradient(ellipse at top, #1b2747, var(--night) 70%);
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.pres-closing img {
  width: 88px;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 8px 24px rgba(212, 166, 70, 0.35));
}

.pres-closing h2 {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.pres-closing p {
  max-width: 760px;
  margin: 0 auto 0.8rem;
  font-size: 1.08rem;
}

.pres-closing strong {
  color: #fff;
}

.pres-closing-verbs {
  margin-bottom: 1.8rem !important;
  color: #fff;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem) !important;
  font-weight: 800;
}

.pres-closing-verbs span:nth-child(odd) {
  color: var(--gold);
}

.pres-closing-motto {
  margin-top: 2rem !important;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem !important;
  font-style: italic;
}

.pres-closing-last {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 980px) {
  .pres-pair,
  .pres-phases {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .pres-verbs,
  .pres-levels,
  .pres-users {
    grid-template-columns: 1fr;
  }
}

@keyframes shell-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shell-appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes motto-word {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

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

  .pricing-grid,
  .steps,
  .order-section,
  .manual-section,
  .download-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  nav {
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
    overflow-x: visible;
  }

  .home-hero {
    min-height: calc(100vh - 120px);
  }

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

  .hero-choices a,
  .button {
    width: 100%;
  }

  .feature-grid,
  .pricing-grid,
  .steps,
  .visual-row,
  .order-form,
  .prose-columns {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
