/* eSignoria website. Colour concept: docs/website-farbkonzept.md.
   Self-hosted fonts only (SIL OFL), nothing loaded from other sites. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: "Dancing Script";
  src: url("/fonts/DancingScript-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0b1e26;
  --ink-soft: #2a3a41;
  --muted: #56656c;
  --line: #dce4e7;
  --mist: #f4f7f8;
  --white: #ffffff;
  --petrol-950: #062730;
  --petrol-900: #08323d;
  --petrol: #0f4c5c;
  --petrol-600: #136476;
  --lagoon: #1fa5a0;
  --lagoon-soft: #e3f4f3;
  --gold: #f2b23e;
  --gold-deep: #c98a12;
  --gold-soft: #fcefd2;
  --danger: #b42318;
  --radius: 20px;
  --radius-sm: 10px;
  --mint: #2dd4bf;
  --mint-soft: #ddf8f3;
  --grad-accent: linear-gradient(100deg, #2dd4bf 0%, #8be0a4 45%, #f2b23e 100%);
  --shadow: 0 1px 2px rgba(11, 30, 38, 0.06), 0 8px 24px rgba(11, 30, 38, 0.08);
  --shadow-lg:
    0 2px 6px rgba(11, 30, 38, 0.08), 0 24px 48px rgba(11, 30, 38, 0.14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--petrol-600);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--petrol);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.skip:focus {
  left: 16px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 720px) {
  .wrap {
    padding: 0 32px;
  }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol-600);
  margin-bottom: 12px;
}
.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 40em;
}
.center {
  text-align: center;
}
.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s,
    transform 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--petrol);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--petrol-900);
  color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: #f7c463;
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  color: var(--petrol);
  border-color: var(--petrol);
}
.btn-outline:hover {
  background: var(--petrol);
  color: var(--white);
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost-light:hover {
  border-color: var(--white);
  color: var(--white);
}
.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--ink);
}
.brand svg {
  width: 34px;
  height: 34px;
  flex: none;
}
.brand .e {
  color: var(--petrol-600);
}
.nav {
  display: none;
  gap: 4px;
  margin-left: 8px;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--petrol);
  background: var(--mist);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.lang:hover {
  background: var(--mist);
}
.header-actions .btn {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.95rem;
}
.header-cta {
  display: none !important;
}
.menu {
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary svg {
  width: 22px;
  height: 22px;
}
.menu-panel {
  position: absolute;
  right: 0;
  top: 52px;
  width: min(280px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: grid;
}
.menu-panel a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
}
.menu-panel a:hover {
  background: var(--mist);
}
.menu-panel .btn {
  margin-top: 8px;
  color: var(--white);
}
@media (min-width: 960px) {
  .nav {
    display: flex;
  }
  .menu {
    display: none;
  }
  .header-cta {
    display: inline-flex !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      60rem 30rem at 85% -10%,
      var(--lagoon-soft),
      transparent 60%
    ),
    radial-gradient(
      40rem 24rem at -10% 110%,
      var(--gold-soft),
      transparent 60%
    ),
    var(--mist);
  padding: 56px 0 72px;
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero {
    padding: 88px 0 104px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.hero h1 .accent {
  color: var(--petrol-600);
  background: linear-gradient(transparent 68%, var(--gold-soft) 68%);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 0.92rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-note li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-note svg {
  width: 18px;
  height: 18px;
  color: var(--lagoon);
}

/* Document mock-up */
.mock {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.doc {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
}
.doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.doc-title {
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.doc-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc-title svg {
  width: 22px;
  height: 22px;
  color: var(--danger);
  flex: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-head);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip-ok {
  background: var(--lagoon-soft);
  color: #0b6b67;
}
.chip svg {
  width: 14px;
  height: 14px;
}
.lines span {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: #e8eef0;
  margin-bottom: 10px;
}
.lines span:nth-child(2) {
  width: 92%;
}
.lines span:nth-child(3) {
  width: 84%;
}
.lines span:nth-child(4) {
  width: 60%;
}
.sign-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 26px;
}
.sign-box {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  min-height: 62px;
  display: flex;
  align-items: flex-end;
}
.sign-box.pending {
  border-bottom-style: dashed;
  border-bottom-color: var(--gold-deep);
  background: linear-gradient(180deg, transparent, var(--gold-soft));
  border-radius: 6px 6px 0 0;
  justify-content: center;
  align-items: center;
  color: var(--gold-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
}
.signature {
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
  line-height: 1;
  color: var(--petrol-900);
}
.sign-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
}
.float {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 0.82rem;
  display: flex;
  gap: 10px;
  align-items: center;
}
.float strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.88rem;
}
.float small {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.float .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.float .ico svg {
  width: 20px;
  height: 20px;
}
.float-audit {
  left: -20px;
  bottom: -44px;
}
.float-audit .ico {
  background: var(--petrol);
  color: var(--white);
}
.float-code {
  right: -10px;
  top: -46px;
}
.float-code .ico {
  background: var(--gold);
  color: var(--ink);
}
@media (max-width: 560px) {
  .float-audit {
    left: 8px;
  }
  .float-code {
    right: 8px;
  }
  .doc {
    padding: 22px 18px 20px;
  }
}

/* ---------- Trust strip ---------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 32px;
}
.trust li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.trust svg {
  width: 26px;
  height: 26px;
  color: var(--petrol-600);
  flex: none;
}
.trust strong {
  font-family: var(--font-head);
  color: var(--ink);
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}
@media (min-width: 960px) {
  .section {
    padding: 104px 0;
  }
}
.section-mist {
  background: var(--mist);
}
.section-head {
  margin-bottom: 48px;
}

.steps {
  display: grid;
  gap: 24px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  margin-bottom: 16px;
}
.step p {
  color: var(--muted);
  margin: 0;
}

.features {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lagoon-soft);
  color: var(--petrol);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature .ico svg {
  width: 24px;
  height: 24px;
}
.feature p {
  color: var(--muted);
  margin: 0;
}

/* ---------- Pricing ---------- */
.pricing {
  position: relative;
}
.billing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto 40px;
}
.billing-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.toggle {
  position: relative;
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow);
}
.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.toggle label {
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.toggle input:checked + label {
  background: var(--petrol);
  color: var(--white);
}
.toggle input:focus-visible + label {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.save-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-soft);
  color: #7a5200;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.pricing:has(#bill-monthly:checked) .is-annual,
.pricing:not(:has(#bill-monthly:checked)) .is-monthly {
  display: none;
}

.plans {
  display: grid;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
}
.plan-featured {
  border: 2px solid var(--petrol);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  .plan-featured {
    transform: translateY(-12px);
  }
}
.plan-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.plan-desc {
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 3em;
}
.price {
  margin: 18px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price .amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.7rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price .unit {
  color: var(--muted);
  font-size: 0.95rem;
}
.price-note {
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 2.6em;
  margin: 0 0 18px;
}
.plan .btn {
  margin-bottom: 24px;
}
.plan-quota {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--mist);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.plan-quota svg {
  width: 20px;
  height: 20px;
  color: var(--petrol-600);
  flex: none;
}
.plan-featured .plan-quota {
  background: var(--lagoon-soft);
}
.plan-includes {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 10px;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.checks svg {
  width: 20px;
  height: 20px;
  color: var(--lagoon);
  margin-top: 2px;
}
.soon {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a5200;
  background: var(--gold-soft);
  padding: 1px 8px;
  border-radius: 999px;
  vertical-align: 1px;
}
.enterprise {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--petrol-900);
  color: rgba(255, 255, 255, 0.85);
}
.enterprise h3 {
  color: var(--white);
  margin-bottom: 4px;
}
.enterprise p {
  margin: 0;
}
.pricing-foot {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare th,
.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.compare th:first-child,
.compare td:first-child {
  text-align: left;
  width: 46%;
}
.compare thead th {
  position: sticky;
  top: 0;
  background: var(--white);
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.compare thead th.featured {
  color: var(--petrol);
}
.compare tbody th {
  font-weight: 400;
  color: var(--ink-soft);
}
.compare .group th {
  background: var(--mist);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.compare td svg {
  width: 20px;
  height: 20px;
  margin: 0 auto;
}
.compare .yes {
  color: var(--lagoon);
}
.compare .no {
  color: #b5c1c6;
}
.compare td.featured {
  background: rgba(31, 165, 160, 0.05);
}

/* ---------- Developers ---------- */
.dev {
  background:
    radial-gradient(
      50rem 26rem at 100% 0%,
      rgba(31, 165, 160, 0.25),
      transparent 60%
    ),
    var(--petrol-950);
  color: rgba(255, 255, 255, 0.82);
}
.dev h2,
.dev h3 {
  color: var(--white);
}
.dev .eyebrow {
  color: var(--gold);
}
.dev .lead {
  color: rgba(255, 255, 255, 0.82);
}
.dev-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .dev-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.dev .checks li {
  color: rgba(255, 255, 255, 0.85);
}
.dev .checks svg {
  color: var(--gold);
}
.code {
  background: #041b21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-width: 0;
}
.code-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.code-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.code pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #d7e6e9;
}
.code .k {
  color: var(--gold);
}
.code .s {
  color: #7fd6cf;
}
.code .c {
  color: #7c9aa2;
}

/* ---------- Security ---------- */
.split {
  display: grid;
  gap: 24px;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}
.panel {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.panel .checks {
  margin-top: 16px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  line-height: 1;
  color: var(--petrol-600);
  transition: transform 0.2s;
  flex: none;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--ink-soft);
  padding-right: 32px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(
    120deg,
    var(--petrol) 0%,
    var(--petrol-600) 55%,
    var(--lagoon) 130%
  );
  color: var(--white);
  padding: 64px 0;
}
.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 {
  color: var(--white);
  margin: 0 0 6px;
}
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}
.cta-band .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background:
    radial-gradient(
      50rem 24rem at 90% -20%,
      var(--lagoon-soft),
      transparent 60%
    ),
    var(--mist);
  padding: 56px 0 40px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
}

/* ---------- Legal ---------- */
.legal {
  max-width: 800px;
  padding: 48px 16px 80px;
}
.legal h2 {
  font-size: 1.35rem;
  margin-top: 2em;
}
.legal address {
  font-style: normal;
}
.legal ul {
  padding-left: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.site-footer .brand {
  color: var(--white);
}
.site-footer .brand .e {
  color: var(--lagoon);
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

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

.footer-tag {
  margin-top: 12px;
}
.section-tight {
  padding-top: 48px;
}

/* grid children may shrink below their content width (no horizontal scroll on phones) */
.hero-grid > *,
.dev-grid > *,
.split > *,
.plans > *,
.features > *,
.steps > * {
  min-width: 0;
}

/* ======================================================================
   Modern layer: dark hero with light glows, mint→gold accent gradient,
   pill labels, dark featured plan. Petrol stays the base colour.
   ====================================================================== */
.eyebrow {
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--petrol);
  font-size: 0.75rem;
}

.hero {
  isolation: isolate;
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(
      42rem 30rem at 82% 8%,
      rgba(45, 212, 191, 0.32),
      transparent 62%
    ),
    radial-gradient(
      34rem 24rem at 6% 105%,
      rgba(242, 178, 62, 0.22),
      transparent 60%
    ),
    linear-gradient(160deg, #052129 0%, #08323d 55%, #0b4150 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(
    ellipse at 70% 30%,
    #000 20%,
    transparent 70%
  );
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero h1 {
  color: var(--white);
}
.hero h1 .accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  color: rgba(255, 255, 255, 0.8);
}
.hero .eyebrow {
  background: rgba(45, 212, 191, 0.14);
  color: var(--mint);
  border: 1px solid rgba(45, 212, 191, 0.35);
}
.hero-note {
  color: rgba(255, 255, 255, 0.72);
}
.hero-note svg {
  color: var(--mint);
}
.hero .doc {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero .float {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-gold {
  box-shadow: 0 8px 24px rgba(242, 178, 62, 0.3);
}
.btn-primary {
  box-shadow: 0 6px 18px rgba(15, 76, 92, 0.25);
}

.step::before {
  background: var(--grad-accent);
}
.feature .ico {
  background: linear-gradient(135deg, var(--mint-soft), var(--gold-soft));
}
.feature:hover {
  border-color: rgba(45, 212, 191, 0.6);
}

/* featured plan: dark card */
.plan-featured {
  border: 0;
  background:
    radial-gradient(
      28rem 18rem at 100% 0%,
      rgba(45, 212, 191, 0.28),
      transparent 60%
    ),
    linear-gradient(165deg, #08323d, #062730);
  color: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.45),
    0 30px 60px rgba(6, 39, 48, 0.35);
}
.plan-featured h3,
.plan-featured .price .amount {
  color: var(--white);
}
.plan-featured .plan-desc,
.plan-featured .price .unit,
.plan-featured .price-note,
.plan-featured .checks li {
  color: rgba(255, 255, 255, 0.78);
}
.plan-featured .plan-includes {
  color: var(--white);
}
.plan-featured .checks svg {
  color: var(--mint);
}
.plan-featured .plan-quota {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.plan-featured .plan-quota svg {
  color: var(--mint);
}
.plan-ribbon {
  background: var(--grad-accent);
}
.toggle input:checked + label {
  background: var(--petrol-900);
}

.dev .eyebrow,
.enterprise .eyebrow {
  background: rgba(242, 178, 62, 0.14);
  border: 1px solid rgba(242, 178, 62, 0.35);
}
.cta-band {
  background:
    radial-gradient(
      36rem 20rem at 90% 0%,
      rgba(45, 212, 191, 0.35),
      transparent 60%
    ),
    radial-gradient(
      30rem 20rem at 0% 100%,
      rgba(242, 178, 62, 0.25),
      transparent 60%
    ),
    linear-gradient(160deg, #062730, #0b4150);
}
.page-hero {
  background:
    radial-gradient(
      40rem 22rem at 90% -20%,
      rgba(45, 212, 191, 0.22),
      transparent 60%
    ),
    radial-gradient(30rem 18rem at 0% 120%, var(--gold-soft), transparent 60%),
    var(--mist);
}
.hero .mock {
  color: var(--ink);
}
