:root {
  --bg: #f4efe6;
  --surface: rgba(255, 250, 243, 0.82);
  --surface-strong: #fffaf3;
  --surface-deep: rgba(28, 46, 43, 0.94);
  --line: rgba(26, 49, 44, 0.11);
  --line-strong: rgba(26, 49, 44, 0.18);
  --text: #17302a;
  --muted: #5a6b66;
  --accent: #E65100;
  --accent-2: #1f7667;
  --accent-3: #ddb15a;
  --shadow: 0 28px 80px rgba(39, 52, 48, 0.11);
  --shadow-soft: 0 16px 40px rgba(39, 52, 48, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1160px, calc(100vw - 40px));
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 91, 53, 0.14), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(31, 118, 103, 0.14), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(221, 177, 90, 0.12), transparent 34%),
    linear-gradient(180deg, #f7f2ea 0%, #f4efe6 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

input,
textarea {
  color: var(--text);
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  z-index: -1;
  filter: blur(40px);
  opacity: 0.3;
}

.page-shell::before {
  top: -14rem;
  right: -10rem;
  background: rgba(201, 91, 53, 0.16);
}

.page-shell::after {
  bottom: -18rem;
  left: -12rem;
  background: rgba(31, 118, 103, 0.14);
}

.site-header,
.section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 26px 0 14px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark-icon {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-family: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-text small {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-meta {
  display: none;
}

.logo-grid-single {
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
}

.logo-card-featured .logo-preview {
  min-height: 230px;
}

.logo-preview-lockup {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(252, 246, 237, 0.9)),
    var(--surface);
}

.brand-sample {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.brand-sample-icon {
  width: 88px;
  height: auto;
}

.brand-sample-copy {
  display: grid;
  gap: 4px;
}

.brand-sample-copy strong {
  font-family: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.brand-sample-copy span {
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-meta small,
.site-footer p {
  color: var(--muted);
}

.site-nav,
.locale-switcher,
.hero-actions,
.site-footer,
.contact-form,
.admin-topbar,
.cookie-actions {
  display: flex;
}

.site-nav {
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.62);
  box-shadow: var(--shadow-soft);
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.locale-link:hover,
.locale-link:focus-visible {
  color: var(--text);
}

.nav-admin {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-admin:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(230, 81, 0, 0.06);
}

.locale-switcher {
  gap: 8px;
}

.locale-link {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.72);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.locale-link.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fffaf2;
}

.section {
  padding: 34px 0 54px;
}

.hero,
.story,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.value-card,
.suite-card,
.story-card,
.contact-panel,
.contact-form,
.support-card,
.info-card,
.admin-panel,
.platform-diagram article {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.hero-copy,
.hero-panel,
.story-card,
.contact-panel,
.contact-form,
.support-card,
.info-card,
.admin-panel {
  padding: 32px;
}

.hero-copy {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.88), rgba(255, 247, 236, 0.8)),
    var(--surface);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
}

h1 {
  max-width: 10ch;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  letter-spacing: -0.05em;
}

h2 {
  max-width: 14ch;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
}

p,
li,
dt,
dd,
label span {
  line-height: 1.7;
}

.hero-text,
.hero-caption,
.section-lead,
.support-list p,
.info-card p,
.story-card p,
.platform-diagram p,
.contact-panel p {
  color: var(--muted);
}

.hero-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-band span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 118, 103, 0.12);
  background: rgba(31, 118, 103, 0.08);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: 1.01rem;
}

.hero-caption {
  max-width: 56ch;
  margin: 14px 0 0;
  font-size: 0.96rem;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), #FF9800);
  color: #fffaf2;
  box-shadow: 0 16px 30px rgba(201, 91, 53, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.56);
  border-color: var(--line);
}

.hero-facts,
.value-strip,
.suite-grid,
.platform-diagram,
.support-grid,
.stack-grid {
  display: grid;
  gap: 18px;
}

.hero-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.hero-facts div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  margin-bottom: 6px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-facts dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.hero-panel {
  display: grid;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.75), rgba(255, 245, 233, 0.88)),
    linear-gradient(140deg, rgba(31, 118, 103, 0.08), transparent 36%);
}

.hero-panel-stack {
  display: grid;
  gap: 14px;
}

.signal-card {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.signal-card strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 1.3rem;
  line-height: 1.15;
}

.signal-card p {
  margin: 0;
}

.signal-card-primary {
  background: var(--surface-deep);
  color: #fffaf2;
}

.signal-card-primary p,
.signal-card-primary .signal-label {
  color: rgba(255, 250, 243, 0.72);
}

.signal-card-soft {
  border: 1px solid rgba(31, 118, 103, 0.14);
  background: rgba(255, 255, 255, 0.5);
}

.signal-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.orbit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.orbit-card {
  min-height: 132px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 49, 44, 0.08);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.orbit-card-icon {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.orbit-card span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.orbit-card strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.2;
}

.orbit-card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 180ms ease;
}

.orbit-card-link:hover {
  color: var(--text);
}

.orbit-card-soon {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}

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

.logo-showcase {
  padding-top: 8px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.logo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.logo-preview {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.95), rgba(252, 246, 237, 0.84)),
    var(--surface);
}

.logo-preview img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.logo-card .logo-tag,
.logo-card h3,
.logo-card p {
  margin-left: 24px;
  margin-right: 24px;
}

.logo-card .logo-tag {
  display: inline-flex;
  margin-top: 22px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 118, 103, 0.1);
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-card h3 {
  margin-top: 14px;
}

.logo-card p {
  margin-top: 10px;
  margin-bottom: 24px;
  color: var(--muted);
}

.value-card,
.suite-card,
.platform-diagram article {
  padding: 24px;
}

.value-card {
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  opacity: 0.9;
}

.value-card span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.section-lead {
  max-width: 62ch;
  margin: 0;
}

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

.suite-card {
  position: relative;
  overflow: hidden;
  min-height: 208px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.suite-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(31, 118, 103, 0.7));
}

.suite-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 91, 53, 0.24);
  box-shadow: 0 30px 80px rgba(39, 52, 48, 0.13);
}

.suite-status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 49, 44, 0.08);
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.suite-status-live {
  background: rgba(31, 118, 103, 0.12);
  color: var(--accent-2);
}

.suite-card-wip {
  opacity: 0.72;
}

.suite-card-link {
  display: inline-flex;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-2);
  transition: color 180ms ease;
}

.suite-card-link:hover {
  color: var(--accent);
}

.button-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  margin-top: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 243, 0.3);
  background: rgba(255, 250, 243, 0.1);
  color: #fffaf2;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.button-outline-light:hover {
  background: rgba(255, 250, 243, 0.18);
  border-color: rgba(255, 250, 243, 0.5);
}

.suite-card-icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.suite-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.32rem;
  line-height: 1.15;
}

.suite-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.platform-diagram {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-diagram article {
  border-radius: var(--radius-lg);
}

.platform-diagram span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(201, 91, 53, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.platform-diagram h3 {
  margin-top: 20px;
}

.platform-diagram p {
  margin: 12px 0 0;
}

.story-section {
  padding: 20px 0;
}

.story-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  box-shadow: var(--shadow-soft);
}

.story-block h2 {
  margin: 14px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.story-text {
  max-width: 68ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.story-block-problem {
  border-left: 4px solid var(--accent);
}

.story-block-solution {
  border-left: 4px solid var(--accent-2);
}

.story-block-market {
  border-left: 4px solid var(--accent-3);
}

.story-block-whyus {
  background:
    linear-gradient(180deg, rgba(23, 48, 42, 0.96), rgba(31, 58, 53, 0.96)),
    var(--surface);
  color: #fffaf2;
}

.story-block-whyus .eyebrow,
.story-block-whyus .story-text {
  color: rgba(255, 250, 243, 0.74);
}

.story-block-vision {
  background: linear-gradient(135deg, var(--accent), #FF9800);
  color: #fffaf2;
}

.story-block-vision .eyebrow,
.story-block-vision .story-text {
  color: rgba(255, 250, 243, 0.82);
}

.traction-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.traction-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.traction-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
}

.story-card.muted {
  background:
    linear-gradient(180deg, rgba(23, 48, 42, 0.96), rgba(31, 58, 53, 0.96)),
    var(--surface);
  color: #fffaf2;
}

.story-card.muted .eyebrow,
.story-card.muted p {
  color: rgba(255, 250, 243, 0.74);
}

.support-card h2 {
  max-width: 12ch;
}

.support-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.support-list li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.support-list strong {
  display: block;
  margin-bottom: 6px;
}

.contact {
  align-items: start;
}

.contact-panel {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.88), rgba(255, 244, 230, 0.84)),
    var(--surface);
}

.contact-form {
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(31, 118, 103, 0.3);
  box-shadow: 0 0 0 4px rgba(31, 118, 103, 0.08);
  background: #fff;
}

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(31, 118, 103, 0.12);
  color: var(--text);
}

.notice.error {
  background: rgba(201, 91, 53, 0.14);
}

.site-footer {
  flex-direction: column;
  gap: 0;
  padding: 32px 0 40px;
  border-top: 1px solid rgba(26, 49, 44, 0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-mz-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-sep {
  font-size: 0.78rem;
  color: var(--line-strong);
  user-select: none;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 180ms ease;
}

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

.footer-contact p {
  margin: 0 0 4px;
  font-size: 0.88rem;
}

.footer-copyright {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(26, 49, 44, 0.07);
  font-size: 0.8rem;
  color: var(--muted);
}

.cookie-policy-link {
  font-size: inherit;
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.legal-body {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.legal-header {
  padding: 32px 40px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.88), var(--surface));
}

.legal-header .eyebrow {
  margin-bottom: 8px;
}

.legal-title {
  max-width: none !important;
  font-size: 1.45rem !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
}

.legal-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.legal-content {
  padding: 36px 40px;
}

.legal-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  max-width: none;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal-section p {
  margin: 0 0 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 12px 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-section ul li {
  line-height: 1.6;
}

.legal-section a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-entity {
  font-size: 0.88rem;
  color: var(--muted);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.cookie-table th {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cookie-table code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.85em;
  padding: 2px 6px;
  background: rgba(26, 49, 44, 0.06);
  border-radius: 6px;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(440px, calc(100vw - 40px));
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 250, 243, 0.97);
  box-shadow: var(--shadow);
  z-index: 20;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 6px;
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-stack,
.admin-body {
  min-height: 100vh;
}

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

.info-card h2 {
  max-width: none;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.info-card p {
  margin: 14px 0 0;
}

/* ── Admin CMS layout ──────────────────────────────────────────────────────── */

.admin-body {
  display: flex;
  flex-direction: column;
}

.admin-body:not(:has(.admin-header)) {
  justify-content: center;
  align-items: center;
}

.admin-header {
  background: var(--surface-deep);
  color: #fff;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  height: 56px;
}

.admin-brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  white-space: nowrap;
}

.admin-brand small {
  opacity: 0.6;
  font-weight: 400;
  margin-left: 4px;
}

.admin-nav {
  display: flex;
  gap: 6px;
}

.admin-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  transition: background 160ms, color 160ms;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.admin-header-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.admin-main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.admin-section h1 {
  font-size: 1rem;
  max-width: none;
  margin: 0 0 4px;
}

.admin-section h2 {
  font-size: 0.9rem;
  max-width: none;
  margin: 32px 0 16px;
}

.admin-lead {
  color: var(--muted);
  margin: 0 0 28px;
}

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

/* ── Dashboard link cards ─────────────────────────────────────────────────── */

.admin-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

.admin-link-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 160ms, box-shadow 160ms;
}

.admin-link-card:hover {
  border-color: var(--accent-2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.admin-link-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.admin-link-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ── Flash notice ─────────────────────────────────────────────────────────── */

.notice-success {
  background: rgba(31, 118, 103, 0.1);
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  margin-bottom: 24px;
}

/* ── Fieldsets ─────────────────────────────────────────────────────────────── */

.admin-fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px 24px;
  margin: 0 0 20px;
}

.admin-fieldset legend {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 8px;
  color: var(--text);
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.admin-field-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  font-family: monospace;
}

.admin-input {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 160ms;
}

.admin-input:focus {
  outline: none;
  border-color: var(--accent-2);
}

textarea.admin-input {
  resize: vertical;
}

select.admin-input {
  cursor: pointer;
}

.admin-form-actions {
  margin-top: 24px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

/* ── Card editor blocks ───────────────────────────────────────────────────── */

.admin-card-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px 24px;
  margin-bottom: 16px;
  background: var(--surface-strong);
}

.admin-card-block-new {
  border-style: dashed;
  background: transparent;
}

.admin-card-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-card-number {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--line);
  border-radius: 6px;
  padding: 2px 8px;
}

.admin-card-block-header strong {
  font-size: 1.05rem;
}

.admin-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

/* ── Small and danger button variants ─────────────────────────────────────── */

.button-sm {
  font-size: 0.84rem;
  padding: 6px 16px;
}

.button-danger {
  background: #c0392b;
  color: #fff;
  border: none;
}

.button-danger:hover,
.button-danger:focus-visible {
  background: #a93226;
}

/* ── Admin panel (login page fallback) ────────────────────────────────────── */

.admin-panel {
  width: min(480px, calc(100vw - 40px));
  margin: auto;
}

@media (max-width: 1080px) {
  .hero,
  .story,
  .contact,
  .platform-diagram,
  .support-grid,
  .logo-grid,
  .logo-grid-single {
    grid-template-columns: 1fr;
  }

  .value-strip,
  .stack-grid,
  .suite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .brand-text strong {
    font-size: 1.55rem;
  }

  .site-nav {
    justify-content: start;
    border-radius: 24px;
  }

  .hero-facts,
  .value-strip,
  .suite-grid,
  .orbit-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  h1,
  h2 {
    max-width: none;
  }

  .hero-copy,
  .hero-panel,
  .story-card,
  .story-block,
  .contact-panel,
  .contact-form,
  .support-card,
  .info-card,
  .admin-panel {
    padding: 24px;
  }

  .cookie-banner,
  .admin-page-header {
    flex-direction: column;
    align-items: start;
  }

  .admin-header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 16px;
  }

  .legal-header,
  .legal-content {
    padding: 24px 20px;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-panel,
  .value-card,
  .suite-card,
  .platform-diagram article,
  .story-card,
  .story-block,
  .support-card,
  .contact-panel,
  .contact-form,
  .info-card {
    animation: rise 620ms ease both;
  }

  .hero-panel,
  .suite-card:nth-child(2),
  .platform-diagram article:nth-child(2),
  .story-card:nth-child(2),
  .support-card:nth-child(2) {
    animation-delay: 100ms;
  }

  .value-card:nth-child(2),
  .suite-card:nth-child(3),
  .platform-diagram article:nth-child(3) {
    animation-delay: 150ms;
  }

  .value-card:nth-child(3),
  .suite-card:nth-child(4),
  .platform-diagram article:nth-child(4) {
    animation-delay: 210ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
