@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@500;700;800;900&display=swap");

:root {
  --ink: #050914;
  --navy: #07111f;
  --panel: #101b2d;
  --line: rgba(255, 255, 255, 0.16);
  --gold: #e1b95f;
  --gold-soft: #ffe5a3;
  --text: #f7f0e5;
  --muted: #b9c1cf;
  --blue: #7ab8ff;
  --green: #74d6aa;
  --eurostile: Eurostile, "Eurostile Extended", "Eurostile LT Std", "Microgramma D Extended", Microgramma, "Bank Gothic", Orbitron, "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --body-copy: Inter, "Aptos", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--eurostile);
  line-height: 1.5;
  font-stretch: expanded;
  isolation: isolate;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

body::before {
  background-image:
    radial-gradient(circle at 6% 12%, rgba(255, 244, 204, 0.95) 0 1px, transparent 1.8px),
    radial-gradient(circle at 18% 32%, rgba(255, 229, 163, 0.72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 26% 9%, rgba(175, 213, 255, 0.7) 0 1px, transparent 1.7px),
    radial-gradient(circle at 38% 22%, rgba(255, 255, 255, 0.76) 0 1px, transparent 1.8px),
    radial-gradient(circle at 46% 64%, rgba(255, 229, 163, 0.82) 0 1px, transparent 1.7px),
    radial-gradient(circle at 58% 16%, rgba(255, 248, 218, 0.88) 0 1px, transparent 1.8px),
    radial-gradient(circle at 69% 48%, rgba(183, 218, 255, 0.68) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 27%, rgba(255, 229, 163, 0.78) 0 1px, transparent 1.7px),
    radial-gradient(circle at 86% 72%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 94% 18%, rgba(255, 229, 163, 0.88) 0 1px, transparent 1.8px);
  background-size: 410px 410px, 520px 520px, 470px 470px, 620px 620px, 560px 560px, 680px 680px, 430px 430px, 590px 590px, 510px 510px, 640px 640px;
  background-position: 0 0, 90px 140px, 210px 50px, 40px 260px, 310px 180px, 120px 320px, 360px 80px, 500px 240px, 220px 420px, 460px 10px;
  opacity: 0.72;
  animation: stars-drift 48s linear infinite;
}

body::after {
  background-image:
    radial-gradient(circle at 14% 22%, rgba(255, 229, 163, 0.56) 0 1.5px, transparent 2.6px),
    radial-gradient(circle at 32% 76%, rgba(255, 255, 255, 0.48) 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 54% 36%, rgba(255, 236, 184, 0.58) 0 1.5px, transparent 2.6px),
    radial-gradient(circle at 72% 11%, rgba(167, 211, 255, 0.42) 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 91% 58%, rgba(255, 244, 204, 0.56) 0 1.5px, transparent 2.6px);
  background-size: 720px 720px, 660px 660px, 840px 840px, 780px 780px, 700px 700px;
  background-position: 30px 70px, 240px 110px, 480px 220px, 110px 410px, 390px 350px;
  opacity: 0.58;
  animation: stars-twinkle 5.8s ease-in-out infinite alternate;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(4, 8, 15, 0.82), rgba(4, 8, 15, 0.26));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 229, 163, 0.35);
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  padding: 2px;
  background: #050914;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.8),
    0 0 22px rgba(255, 219, 134, 0.95),
    0 0 46px rgba(225, 185, 95, 0.55);
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav a:hover {
  color: var(--gold-soft);
}

nav a.is-active,
nav a.active {
  color: var(--gold-soft);
  text-shadow:
    0 0 10px rgba(255, 229, 163, 0.72),
    0 0 24px rgba(225, 185, 95, 0.46);
}

.language-menu {
  position: relative;
  z-index: 31;
  margin-left: auto;
  color: var(--muted);
  font-family: var(--eurostile);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.language-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-options {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  min-width: 180px;
  border: 1px solid rgba(255, 229, 163, 0.24);
  border-radius: 8px;
  padding: 8px;
  background: rgba(5, 9, 20, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 24px rgba(225, 185, 95, 0.12);
}

.language-menu[open] .language-options {
  display: flex;
}

.language-options a {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  white-space: nowrap;
}

.language-options a:hover {
  color: var(--gold-soft);
  background: rgba(225, 185, 95, 0.1);
}

.flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  letter-spacing: 0;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: start;
  overflow: hidden;
  padding: clamp(112px, 8vw, 132px) clamp(22px, 5vw, 76px) 72px;
  background:
    linear-gradient(0deg, rgba(5, 9, 20, 0.18), rgba(5, 9, 20, 0.18)),
    url("./assets/prima-ordia-logo.png") center center / cover no-repeat;
}

.hero-video,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: 0;
  object-fit: cover;
  object-position: center center;
  opacity: 0.72;
  filter: brightness(0.82) contrast(1.08) saturate(1.03);
}

.shade {
  z-index: 1;
  background:
    radial-gradient(circle at 54% 52%, rgba(225, 185, 95, 0.3), rgba(5, 9, 20, 0.02) 34%, rgba(5, 9, 20, 0.54) 78%),
    linear-gradient(90deg, rgba(5, 9, 20, 0.9), rgba(5, 9, 20, 0.62) 48%, rgba(5, 9, 20, 0.26)),
    linear-gradient(0deg, rgba(5, 9, 20, 0.88), rgba(5, 9, 20, 0.12) 44%, rgba(5, 9, 20, 0.34));
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(880px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(255, 229, 163, 0.62),
    0 0 24px rgba(225, 185, 95, 0.34);
}

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

h1,
h2,
h3,
.brand,
.button,
.eyebrow,
nav {
  font-family: var(--eurostile);
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0.015em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  color: #e8edf6;
  font-size: clamp(20px, 2.3vw, 28px);
  font-family: var(--body-copy);
  font-weight: 500;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button.primary {
  border: 1px solid rgba(255, 241, 190, 0.95);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), rgba(255, 229, 163, 0.88) 24%, rgba(225, 185, 95, 0.96) 58%, rgba(142, 92, 29, 0.98) 100%);
  color: #111316;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 18px rgba(255, 229, 163, 0.78),
    0 0 42px rgba(225, 185, 95, 0.45),
    0 10px 28px rgba(0, 0, 0, 0.34);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}

.button.secondary {
  border: 1px solid rgba(255, 245, 214, 0.78);
  background: rgba(2, 6, 14, 0.78);
  color: white;
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.12),
    inset 0 0 24px rgba(255, 229, 163, 0.06),
    0 0 16px rgba(255, 255, 255, 0.38),
    0 0 36px rgba(255, 229, 163, 0.24),
    0 10px 28px rgba(0, 0, 0, 0.28);
}

.button.dark {
  border: 1px solid rgba(255, 245, 214, 0.44);
  background: rgba(2, 6, 14, 0.9);
  color: white;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(255, 229, 163, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.38);
}

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

.button.primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 26px rgba(255, 229, 163, 0.95),
    0 0 64px rgba(225, 185, 95, 0.6),
    0 12px 32px rgba(0, 0, 0, 0.4);
}

.button.secondary:hover {
  border-color: rgba(255, 250, 232, 0.96);
  box-shadow:
    inset 0 0 16px rgba(255, 255, 255, 0.18),
    inset 0 0 28px rgba(255, 229, 163, 0.1),
    0 0 22px rgba(255, 255, 255, 0.52),
    0 0 48px rgba(255, 229, 163, 0.32),
    0 12px 32px rgba(0, 0, 0, 0.34);
}

.button.dark:hover {
  border-color: rgba(255, 245, 214, 0.78);
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.12),
    0 0 28px rgba(255, 229, 163, 0.28),
    0 12px 32px rgba(0, 0, 0, 0.44);
}

.button.is-disabled {
  opacity: 0.46;
  pointer-events: none;
  font-size: inherit;
  font-weight: 800;
  letter-spacing: 0.065em;
}

.ecosystem-intro {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background:
    radial-gradient(circle at 22% 24%, rgba(225, 185, 95, 0.14), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(122, 184, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #050914, #07111f 54%, #050914);
}

.ecosystem-media {
  position: relative;
  border: 1px solid rgba(255, 229, 163, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(2, 6, 14, 0.82);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(225, 185, 95, 0.12);
}

.ecosystem-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 46px rgba(255, 229, 163, 0.12);
}

.ecosystem-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section > .ecosystem-copy > h2 {
  width: min(920px, 100%);
  margin-bottom: 28px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.14;
  letter-spacing: 0.02em;
  font-weight: 900;
  text-transform: uppercase;
}

.ecosystem-button {
  width: fit-content;
}

.ecosystem-copy p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
}

.ecosystem-copy p + p {
  margin-top: 16px;
}

.ecosystem-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ecosystem-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 229, 163, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #e8edf6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--line);
  overflow-x: clip;
}

.section > * {
  position: relative;
  z-index: 2;
}

.section > h2,
.section > div > h2 {
  width: min(920px, 100%);
  margin-bottom: 36px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: 0.02em;
  font-weight: 900;
  text-transform: uppercase;
}

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

.card,
.media-grid article {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  overflow-wrap: anywhere;
}

.card,
.media-grid article {
  display: flex;
  flex-direction: column;
}

.card {
  position: relative;
  padding-bottom: 28px;
}

.card.highlight {
  background: linear-gradient(180deg, rgba(225, 185, 95, 0.18), rgba(255, 255, 255, 0.04));
  border-color: rgba(225, 185, 95, 0.45);
}

.card span {
  color: var(--gold-soft);
  font-weight: 900;
}

.card h3,
.media-grid strong {
  display: block;
  margin: 20px 0 12px;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card h3 {
  min-height: 2.24em;
}

.card p,
.media-grid p,
.split p,
.about-copy p {
  color: var(--muted);
  font-size: 17px;
  font-family: var(--body-copy);
  font-weight: 500;
}

.card p {
  min-height: 5.1em;
}

.card ul {
  margin-bottom: 26px;
}

ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: #dce5ef;
  font-family: var(--body-copy);
}

li + li {
  margin-top: 8px;
}

.card-button {
  width: 100%;
  margin-top: auto;
}

.media-button {
  margin-top: auto;
}

.status-button {
  cursor: default;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  background: #0a1424;
}

.split-copy p + p {
  margin-top: 18px;
}

.tools-roadmap {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(64px, 7vw, 92px);
  padding-bottom: clamp(64px, 7vw, 92px);
}

.tools-roadmap h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(38px, 4.1vw, 62px);
  line-height: 1.05;
}

.tools-roadmap .split-copy {
  max-width: 760px;
}

.tools-roadmap .split-copy p {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
}

.split-button {
  margin-top: 18px;
}

.board-package-section {
  background:
    radial-gradient(circle at 74% 18%, rgba(225, 185, 95, 0.12), transparent 34%),
    linear-gradient(180deg, #081321, #050914);
}

.tools-feature-section {
  background:
    radial-gradient(circle at 20% 18%, rgba(122, 184, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #07111f, #050914);
}

.tools-feature-section h2 {
  max-width: 760px;
  font-size: clamp(28px, 2.9vw, 42px);
  line-height: 1.06;
}

.tools-feature-list {
  margin-top: 24px;
  margin-bottom: 36px;
}

.tools-feature-list + p {
  margin-bottom: 14px;
}

.media {
  background: #080d18;
}

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

.media-grid article {
  min-height: 240px;
}

.media-grid article:nth-child(1) {
  border-color: rgba(225, 185, 95, 0.38);
}

.media-grid article:nth-child(2) {
  border-color: rgba(122, 184, 255, 0.36);
}

.media-grid article:nth-child(3) {
  border-color: rgba(116, 214, 170, 0.34);
}

.media-grid article:nth-child(4) {
  border-color: rgba(255, 255, 255, 0.26);
}

.about {
  background:
    radial-gradient(circle at 18% 30%, rgba(225, 185, 95, 0.14), transparent 32%),
    linear-gradient(180deg, #0b1423, #050914);
}

.about-page .about {
  min-height: calc(100vh - 92px);
  padding-top: clamp(96px, 10vw, 132px);
}

.about-copy {
  width: min(920px, 100%);
}

.about-photo-wrap {
  position: relative;
  max-width: 216px;
  margin: 4px 0 32px;
}

.about-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(255, 229, 163, 0.52);
  border-radius: 10px;
  box-shadow:
    0 0 22px rgba(255, 229, 163, 0.26),
    0 0 54px rgba(225, 185, 95, 0.18);
}

.about-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 34%;
  filter: contrast(1.04) saturate(0.96);
}

.about-copy h1,
.about-copy h2 {
  width: min(880px, 100%);
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: 0.02em;
  font-weight: 900;
  text-transform: uppercase;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: #ffffff;
  font-family: var(--eurostile);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.18);
  transition: color 160ms ease, text-shadow 160ms ease;
}

.linkedin-logo {
  display: inline-block;
  flex: 0 0 24px;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  border-radius: 6px;
  object-fit: contain;
  box-shadow:
    0 0 14px rgba(10, 102, 194, 0.58),
    0 0 26px rgba(255, 229, 163, 0.18);
}

.linkedin-link:hover {
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(255, 229, 163, 0.86),
    0 0 26px rgba(225, 185, 95, 0.58);
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-points span {
  border: 1px solid rgba(255, 229, 163, 0.38);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--gold-soft);
  font-family: var(--body-copy);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 18px rgba(225, 185, 95, 0.1);
}

.contact {
  display: grid;
  gap: 28px;
  background: linear-gradient(180deg, #101b2d, #050914);
}

.contact h2 {
  margin-bottom: 4px;
}

.book-page {
  min-height: 100vh;
  padding: 150px clamp(22px, 5vw, 76px) 84px;
  background:
    radial-gradient(circle at 18% 20%, rgba(225, 185, 95, 0.12), transparent 28%),
    linear-gradient(180deg, #07111f, #050914);
  overflow-x: clip;
}

.app-production-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 22% 16%, rgba(225, 185, 95, 0.16), transparent 30%),
    radial-gradient(circle at 78% 30%, rgba(122, 184, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #07111f, #050914);
  overflow-x: clip;
}

.tools-page,
.tool-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(225, 185, 95, 0.14), transparent 30%),
    radial-gradient(circle at 82% 28%, rgba(122, 184, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #07111f, #050914);
  overflow-x: clip;
}

.tools-page {
  padding-top: 0;
}

.tool-page {
  padding-top: 0;
}

.tools-page .button,
.tool-page .button {
  min-height: 44px;
  padding: 11px 20px;
}

.tools-hero,
.tool-hero {
  position: relative;
  z-index: 2;
  min-height: 52vh;
  display: grid;
  align-content: end;
  padding: 112px clamp(22px, 5vw, 76px) 44px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 74% 28%, rgba(122, 184, 255, 0.22), transparent 28%),
    radial-gradient(circle at 22% 72%, rgba(225, 185, 95, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.58), rgba(5, 9, 20, 0.96)),
    url("./assets/prima-ordia-tools-hero.png") center / cover;
}

.tool-hero {
  min-height: auto;
  align-content: start;
  padding-top: clamp(88px, 6.5vw, 112px);
  padding-bottom: 34px;
}

.tool-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(44px, 5.9vw, 78px);
  line-height: 1;
}

.tool-hero .actions {
  margin-top: 18px;
}

.tools-hero {
  min-height: auto;
  align-content: start;
  padding-top: clamp(90px, 6.8vw, 116px);
  padding-bottom: 34px;
}

.tools-hero h1 {
  max-width: 980px;
}

.tools-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(46px, 5.7vw, 74px);
  line-height: 0.98;
}

.tools-hero .actions {
  margin-top: 18px;
}

.tools-hero p:not(.eyebrow),
.tool-hero p:not(.eyebrow) {
  width: min(760px, 100%);
  color: #e8edf6;
  font-family: var(--body-copy);
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: 500;
}

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

.category-grid {
  margin-bottom: clamp(54px, 7vw, 86px);
}

.tools-directory {
  padding-top: clamp(42px, 5vw, 68px);
}

.tools-search {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: end;
  padding: clamp(28px, 4vw, 48px) clamp(22px, 5vw, 76px);
  border-top: 1px solid rgba(255, 229, 163, 0.2);
  border-bottom: 1px solid rgba(255, 229, 163, 0.16);
  background: rgba(5, 9, 20, 0.78);
}

.tools-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: var(--eurostile);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tools-search input {
  width: 100%;
  border: 1px solid rgba(255, 229, 163, 0.26);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(2, 6, 14, 0.9);
  color: var(--text);
  font: 700 17px/1.4 var(--body-copy);
  outline: none;
}

.tools-search input:focus {
  border-color: rgba(255, 229, 163, 0.72);
  box-shadow: 0 0 0 3px rgba(225, 185, 95, 0.14);
}

.tools-search-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 13px;
  font-weight: 700;
}

.tools-search-results {
  grid-column: 1 / -1;
  max-height: min(420px, 55vh);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 18px;
  background: rgba(2, 6, 14, 0.58);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.06),
    0 0 22px rgba(255, 255, 255, 0.16);
}

.tools-search-results[hidden] {
  display: none;
}

.tools-search-results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tools-search-result {
  display: grid;
  gap: 6px;
  min-height: 0;
  border: 1px solid rgba(255, 229, 163, 0.22);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tools-search-result:hover {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.tools-search-result span {
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tools-search-result strong {
  color: var(--text);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.08;
  text-transform: uppercase;
}

.tools-search-result small,
.tools-search-results__empty {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tools-search-results__empty {
  margin: 0;
}

.tool-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button,
.vip-modal-close {
  border: 1px solid rgba(255, 229, 163, 0.28);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-family: var(--eurostile);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover {
  border-color: rgba(255, 241, 190, 0.95);
  background: rgba(225, 185, 95, 0.2);
  color: var(--gold-soft);
  box-shadow: 0 0 18px rgba(225, 185, 95, 0.24);
}

.featured-tools {
  padding-top: clamp(38px, 5vw, 68px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.tool-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  align-items: start;
  min-height: 286px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032));
}

.tool-card span {
  color: var(--gold-soft);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tool-card h3 {
  margin: 18px 0 10px;
  font-size: 25px;
  line-height: 1.12;
  text-transform: uppercase;
}

.tool-card p,
.tool-note,
.tool-content p,
.tool-content summary {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 17px;
}

.tool-card p {
  min-height: 0;
  margin-bottom: 24px;
}

.tool-card .button {
  align-self: end;
  width: 100%;
  margin-top: 0;
}

.privacy-badge,
.tool-privacy-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(116, 214, 170, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(116, 214, 170, 0.08);
  color: #bcefd4;
  font-family: var(--body-copy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.privacy-badge {
  margin: auto 0 18px;
  border-color: rgba(185, 193, 207, 0.44);
  background: rgba(2, 6, 14, 0.88);
  color: #b9c1cf;
  box-shadow:
    inset 0 0 14px rgba(185, 193, 207, 0.08),
    0 0 14px rgba(185, 193, 207, 0.24),
    0 0 30px rgba(185, 193, 207, 0.12);
}

.tool-card .privacy-badge {
  align-self: end;
  margin: 0 0 18px;
  border-color: rgba(185, 193, 207, 0.5);
  background: rgba(2, 6, 14, 0.92);
  color: #b9c1cf;
  box-shadow:
    inset 0 0 14px rgba(185, 193, 207, 0.08),
    0 0 14px rgba(185, 193, 207, 0.26),
    0 0 30px rgba(185, 193, 207, 0.14);
}

.tool-hero p.tool-privacy-note {
  display: inline-flex;
  width: fit-content;
  max-width: min(680px, 100%);
  margin: 14px 0 0;
  border-color: rgba(185, 193, 207, 0.54);
  padding: 7px 11px;
  background: rgba(2, 6, 14, 0.68);
  color: #b9c1cf !important;
  font-size: clamp(11px, 0.8vw, 12px) !important;
  font-weight: 800;
  line-height: 1.22 !important;
  box-shadow:
    inset 0 0 14px rgba(185, 193, 207, 0.08),
    0 0 14px rgba(185, 193, 207, 0.24),
    0 0 30px rgba(185, 193, 207, 0.12);
}

.tool-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 20px;
  align-items: stretch;
  padding-top: clamp(24px, 3.6vw, 46px);
  padding-bottom: clamp(28px, 4vw, 52px);
}

.readiness-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(580px, 0.9fr);
}

.tool-panel,
.tool-results {
  border: 1px solid rgba(255, 229, 163, 0.22);
  border-radius: 8px;
  padding: clamp(18px, 2.4vw, 26px);
  background: rgba(9, 18, 31, 0.82);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.tool-panel label {
  display: block;
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tool-panel input[type="text"],
.tool-panel input[type="number"],
.tool-panel input[type="date"],
.tool-panel select,
.tool-panel textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(2, 6, 14, 0.82);
  color: var(--text);
  font: 500 16px/1.5 var(--body-copy);
  outline: none;
}

.tool-panel input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.tool-panel input + label,
.tool-panel textarea + label,
.tool-panel .option-grid + label {
  margin-top: 16px;
}

.tool-panel textarea {
  min-height: clamp(260px, 28vw, 360px);
  resize: vertical;
}

.tool-panel input:focus,
.tool-panel select:focus,
.tool-panel textarea:focus {
  border-color: rgba(255, 229, 163, 0.68);
  box-shadow: 0 0 0 3px rgba(225, 185, 95, 0.16);
}

.file-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.file-picker-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-picker-button {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background: rgba(255, 255, 255, 0.94);
  color: #050914 !important;
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.48),
    0 0 18px rgba(255, 255, 255, 0.72),
    0 0 42px rgba(255, 255, 255, 0.38),
    0 16px 32px rgba(0, 0, 0, 0.34);
  cursor: pointer;
}

.file-picker-button:hover,
.file-picker-input:focus-visible + .file-picker-button {
  background: #ffffff;
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.62),
    0 0 24px rgba(255, 255, 255, 0.88),
    0 0 54px rgba(255, 255, 255, 0.52),
    0 18px 36px rgba(0, 0, 0, 0.36);
}

.file-picker-name {
  min-width: 0;
  color: #f7f0e5;
  font-family: var(--body-copy);
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.tool-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--gold-soft);
  font-family: var(--body-copy);
  font-size: 15px;
  font-weight: 700;
}

.color-preview {
  min-height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #e1b95f;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.24),
    0 18px 46px rgba(0, 0, 0, 0.28);
}

.media-preview,
.image-preview {
  width: 100%;
  min-height: 220px;
  max-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(2, 6, 14, 0.82);
  object-fit: contain;
}

.image-preview {
  display: block;
  padding: 12px;
}

.preview-box,
.tool-output-box {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(2, 6, 14, 0.82);
  color: var(--text);
  font-family: var(--body-copy);
  font-size: 16px;
  line-height: 1.55;
  overflow: auto;
}

.tool-output-box {
  min-height: 120px;
  overflow-wrap: anywhere;
}

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

.tool-panel .inline-fields label {
  margin-top: 0;
}

.compact-options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.compact-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.social-studio-workspace {
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
}

.studio-inputs {
  grid-row: span 2;
}

.studio-output-panel textarea {
  min-height: 420px;
}

.studio-calendar-panel {
  grid-column: 2;
}

.studio-calendar-panel textarea {
  min-height: 190px;
}

.studio-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.studio-stats span {
  border: 1px solid rgba(116, 214, 170, 0.24);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(116, 214, 170, 0.08);
  color: #c6f3df;
  font-family: var(--body-copy);
  font-size: 13px;
  font-weight: 800;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.tool-actions .button {
  cursor: pointer;
}

.tool-panel > .button {
  margin-top: 24px;
}

.tool-panel > .button + .button {
  margin-left: 10px;
}

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

.tool-results div {
  display: grid;
  align-content: center;
  min-height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.tool-results span {
  color: var(--gold-soft);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.tool-results small {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 14px;
}

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

.readiness-results div {
  min-height: 128px;
  padding: clamp(16px, 1.8vw, 22px);
}

.readiness-results div:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 150px;
}

.readiness-results span {
  display: block;
  max-width: 100%;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.readiness-results div:nth-child(-n + 2) span {
  font-size: clamp(24px, 2.8vw, 36px);
  overflow-wrap: normal;
  word-break: normal;
}

.readiness-results div:nth-child(3) span {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.18;
}

.single-result {
  grid-template-columns: 1fr;
}

.single-result div {
  min-height: 100%;
}

.single-result span {
  font-size: clamp(44px, 8vw, 88px);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.option-grid-wide {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.option-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  color: #dce5ef;
  background: rgba(255, 255, 255, 0.045);
  font-family: var(--body-copy);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.tool-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
  background: #0a1424;
}

.tool-content h3 {
  margin-top: 28px;
}

.tool-content details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 0;
}

.tool-content summary {
  cursor: pointer;
  color: #e8edf6;
  font-weight: 700;
}

.tool-content a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 229, 163, 0.42);
  text-underline-offset: 4px;
}

.vip-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  border-top: 1px solid rgba(255, 229, 163, 0.18);
  border-bottom: 1px solid rgba(255, 229, 163, 0.18);
  background:
    radial-gradient(circle at 18% 50%, rgba(225, 185, 95, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(10, 20, 36, 0.96), rgba(5, 9, 20, 0.98));
}

.vip-list h2 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
}

.vip-list p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.vip-list .button {
  min-width: min(100%, 280px);
}

.vip-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 6, 14, 0.78);
  backdrop-filter: blur(12px);
}

.vip-modal[hidden] {
  display: none;
}

.vip-modal-panel {
  position: relative;
  width: min(640px, 100%);
  border: 1px solid rgba(255, 229, 163, 0.34);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at 20% 0%, rgba(225, 185, 95, 0.18), transparent 34%),
    #07111f;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.58), 0 0 44px rgba(225, 185, 95, 0.16);
}

.vip-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 22px;
}

.vip-modal h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
}

.vip-modal p:not(.eyebrow),
.vip-form label {
  color: var(--muted);
  font-family: var(--body-copy);
}

.vip-form label {
  display: block;
  margin: 16px 0 8px;
  font-weight: 800;
}

.vip-form input,
.vip-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(2, 6, 14, 0.9);
  color: var(--text);
  font: 500 16px/1.5 var(--body-copy);
}

.vip-form textarea {
  min-height: 110px;
  resize: vertical;
}

.app-production-hero {
  position: relative;
  z-index: 2;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 160px clamp(22px, 5vw, 76px) 84px;
  border-bottom: 1px solid var(--line);
}

.app-production-hero > div {
  width: min(940px, 100%);
}

.app-production-hero p:not(.eyebrow),
.app-system-grid p {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
}

.app-production-hero p:not(.eyebrow) {
  max-width: 820px;
}

.app-overview-section {
  background:
    radial-gradient(circle at 84% 24%, rgba(225, 185, 95, 0.1), transparent 34%),
    #080d18;
}

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

.app-system-grid article {
  min-height: 280px;
  border: 1px solid rgba(255, 229, 163, 0.24);
  border-radius: 8px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  overflow-wrap: anywhere;
}

.app-system-grid span {
  color: var(--gold-soft);
  font-weight: 900;
}

.app-system-grid h3 {
  margin: 20px 0 12px;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-method-section {
  background:
    radial-gradient(circle at 72% 18%, rgba(122, 184, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #0a1424, #050914);
}

.app-output-grid article {
  min-height: 220px;
}

.app-contact {
  background:
    radial-gradient(circle at 22% 20%, rgba(225, 185, 95, 0.14), transparent 30%),
    linear-gradient(180deg, #101b2d, #050914);
}

.media-production-hero {
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.94), rgba(5, 9, 20, 0.7)),
    url("./assets/prima-ordia-space-fantasy-intro.png") center / cover;
}

.showcase-grid {
  display: grid;
  gap: 28px;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 229, 163, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 15% 20%, rgba(225, 185, 95, 0.12), transparent 32%),
    rgba(16, 21, 35, 0.74);
}

.showcase-image {
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(185, 193, 207, 0.22);
  border-radius: 8px;
  background: rgba(2, 5, 12, 0.75);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28);
}

.showcase-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(10px, 2vw, 24px) 0;
}

.showcase-copy span {
  color: var(--gold-soft);
  font-family: var(--eurostile);
  font-weight: 900;
}

.showcase-copy h3 {
  margin: 18px 0 14px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.showcase-copy p {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 600;
}

.media-showcase-button {
  width: min(420px, 100%);
  margin-top: 28px;
}

.book-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.book-cover-wrap {
  position: relative;
  max-width: 430px;
}

.book-cover-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(255, 229, 163, 0.52);
  border-radius: 10px;
  box-shadow:
    0 0 22px rgba(255, 229, 163, 0.26),
    0 0 54px rgba(225, 185, 95, 0.18);
}

.book-cover {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.book-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 88px);
}

.book-copy p {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
}

.book-copy p + p {
  margin-top: 18px;
}

.contact .button {
  justify-self: start;
}

@media (min-width: 901px) {
  .contact .button {
    width: 16%;
    min-width: 360px;
    max-width: 460px;
  }
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: #050914;
  color: var(--muted);
  font-family: var(--eurostile);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer p {
  margin: 0;
  font-size: 10.7px;
  font-weight: 700;
}

.footer-links {
  display: inline-flex;
  gap: 10px;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 229, 163, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.62;
  transition: opacity 160ms ease, color 160ms ease;
}

.footer-links span {
  color: rgba(185, 193, 207, 0.38);
}

.footer-links a:hover {
  color: var(--gold-soft);
  opacity: 0.9;
}

.legal-page {
  min-height: 100vh;
  padding: 150px clamp(22px, 5vw, 76px) 84px;
  background:
    radial-gradient(circle at 18% 20%, rgba(225, 185, 95, 0.14), transparent 28%),
    linear-gradient(180deg, #07111f, #050914);
  overflow-x: clip;
}

.legal-content {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
}

.legal-content h1 {
  margin-bottom: 28px;
  font-size: clamp(42px, 7vw, 76px);
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 17px;
  font-weight: 500;
}

.legal-content a {
  color: var(--gold-soft);
}

.privacy-consent {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(680px, calc(100vw - 28px));
  padding: 16px;
  border: 1px solid rgba(255, 229, 163, 0.26);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9, 17, 31, 0.96), rgba(5, 9, 20, 0.96));
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.48),
    0 0 32px rgba(225, 185, 95, 0.12);
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.privacy-consent.is-leaving {
  opacity: 0;
  transform: translateY(10px);
}

.privacy-consent__copy {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  align-items: baseline;
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 13px;
  line-height: 1.35;
}

.privacy-consent__copy strong {
  color: var(--gold-soft);
  font-family: var(--eurostile);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.privacy-consent__copy a {
  color: var(--gold-soft);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 229, 163, 0.38);
  text-underline-offset: 3px;
}

.privacy-consent__actions {
  display: flex;
  gap: 8px;
}

.privacy-consent__button {
  min-height: 38px;
  border: 1px solid rgba(255, 241, 190, 0.88);
  border-radius: 999px;
  padding: 10px 15px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.86), rgba(255, 229, 163, 0.9) 34%, rgba(225, 185, 95, 0.96) 100%);
  color: #111316;
  cursor: pointer;
  font-family: var(--eurostile);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(255, 229, 163, 0.34);
}

.privacy-consent__button--quiet {
  border-color: rgba(255, 245, 214, 0.34);
  background: rgba(2, 6, 14, 0.78);
  color: #f7f0e5;
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.08);
}

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

@media (max-width: 900px) {
  body {
    padding-bottom: 88px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-left: 18px;
    padding-right: 18px;
    max-width: 100vw;
  }

  .brand {
    max-width: calc(100% - 54px);
    gap: 10px;
    letter-spacing: 0.085em;
    font-size: clamp(16px, 4.8vw, 21px);
  }

  .brand span {
    white-space: nowrap;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  nav {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .language-menu {
    position: absolute;
    top: 24px;
    right: 18px;
    align-self: auto;
    margin-left: 0;
    font-size: 0;
  }

  .language-options {
    right: 0;
    left: auto;
    min-width: 58px;
  }

  .language-menu summary span:not(.flag),
  .language-options a span:not(.flag) {
    display: none;
  }

  .language-menu summary {
    gap: 0;
  }

  .language-options a {
    justify-content: center;
    gap: 0;
    padding: 10px;
    font-size: 0;
  }

  .language-menu .flag,
  .language-options .flag {
    font-size: 16px;
  }

  .cards,
  .media-grid,
  .tool-grid,
  .tool-workspace,
  .social-studio-workspace,
  .tool-content,
  .tools-search,
  .split,
  .book-hero,
  .app-system-grid,
  .showcase-card,
  .ecosystem-intro {
    grid-template-columns: 1fr;
  }

  .studio-inputs,
  .studio-calendar-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .hero {
    padding-top: clamp(164px, 34vw, 188px);
    max-width: 100vw;
  }

  .tools-page {
    padding-top: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .tool-hero {
    min-height: auto;
    align-content: start;
    padding-top: 104px;
    padding-bottom: 28px;
  }

  .tools-hero {
    min-height: auto;
    align-content: start;
    padding: 172px 18px 30px;
    background-position: center top;
  }

  .tools-hero p:not(.eyebrow) {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1rem, 4.8vw, 1.28rem);
    line-height: 1.45;
  }

  .tools-roadmap {
    gap: 24px;
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .tools-roadmap h2 {
    max-width: 100%;
    font-size: clamp(2rem, 8.2vw, 2.8rem);
    line-height: 1.08;
  }

  .tools-roadmap .split-copy p {
    font-size: 17px;
    line-height: 1.55;
  }

  .tools-search-results__grid {
    grid-template-columns: 1fr;
  }

  .tools-search-result {
    min-height: 0;
  }

  .ecosystem-intro {
    gap: 30px;
  }

  .ecosystem-copy h2 {
    max-width: 100%;
    font-size: clamp(1.45rem, 6.2vw, 2.15rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .ecosystem-points span {
    flex: 1 1 130px;
    justify-content: center;
    text-align: center;
  }

  h1,
  .book-copy h1,
  .legal-content h1 {
    max-width: 100%;
    font-size: clamp(2rem, 11.6vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .app-production-hero h1,
  .book-copy h1,
  .tools-hero h1,
  .tool-hero h1 {
    font-size: clamp(1.78rem, 9.2vw, 2.8rem);
    line-height: 1.06;
    letter-spacing: 0;
  }

  .tool-hero p:not(.eyebrow) {
    font-size: clamp(1.02rem, 4.8vw, 1.36rem);
    line-height: 1.42;
  }

  .tool-hero .actions {
    gap: 12px;
    margin-top: 16px;
  }

  .tool-workspace {
    gap: 14px;
    padding-top: 24px;
    padding-bottom: 30px;
  }

  .tools-search {
    gap: 16px;
    padding-right: 18px;
    padding-left: 18px;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .tools-search label {
    font-size: clamp(1.25rem, 6.4vw, 1.75rem);
    line-height: 1.08;
  }

  .tools-search input {
    min-height: 54px;
    padding: 14px 16px;
    font-size: 16px;
  }

  .tool-filter-row {
    gap: 8px;
  }

  .filter-button {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .tools-directory {
    padding: 42px 18px 58px;
  }

  .tools-directory > h2,
  .tools-directory > .eyebrow {
    width: 100%;
    max-width: 100%;
  }

  .tool-panel,
  .tool-results {
    padding: 18px;
  }

  .readiness-results div,
  .readiness-results div:nth-child(3) {
    min-height: 104px;
  }

  .readiness-results span {
    font-size: clamp(22px, 8vw, 32px);
  }

  .readiness-results div:nth-child(3) span {
    font-size: clamp(18px, 6.2vw, 26px);
  }

  .tool-panel textarea {
    min-height: 260px;
  }

  .tool-content {
    padding-top: 50px;
    padding-bottom: 54px;
  }

  .tool-content h2 {
    font-size: clamp(1.65rem, 7.8vw, 2.35rem);
    line-height: 1.1;
  }

  .vip-list {
    grid-template-columns: 1fr;
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .vip-list h2 {
    font-size: clamp(1.75rem, 8vw, 2.7rem);
    line-height: 1.08;
  }

  .tools-feature-section h2 {
    font-size: clamp(1.65rem, 7.4vw, 2.35rem);
    line-height: 1.08;
  }

  .section > h2,
  .section > div > h2,
  .about-copy h2,
  .app-system-grid h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .actions {
    gap: 18px;
    margin-top: 42px;
  }

  .card,
  .media-grid article,
  .tool-card {
    padding: 22px;
  }

  .tool-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
  }

  .tool-card h3 {
    min-height: 0;
    font-size: clamp(1.38rem, 7vw, 1.9rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .tool-card p {
    min-height: 0;
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.48;
  }

  .tool-card .button {
    margin-top: auto;
  }

  .card {
    padding-bottom: 34px;
  }

  .card p,
  .media-grid p,
  .split-copy p,
  .book-copy p {
    min-height: 0;
    margin-bottom: 18px;
  }

  .card h3 {
    min-height: 0;
  }

  ul {
    margin-bottom: 30px;
  }

  li + li {
    margin-top: 12px;
  }

  .card-button,
  .media-button,
  .split-button {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 30px;
  }

  .button {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .tool-hero p.tool-privacy-note {
    max-width: 100%;
    padding: 6px 10px;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }

  .privacy-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    width: auto;
    padding: 14px;
  }

  .privacy-consent__actions {
    width: 100%;
  }

  .privacy-consent__button {
    flex: 1;
    min-width: 0;
    padding-inline: 12px;
  }

  .tool-results,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .readiness-results div:nth-child(3) {
    grid-column: auto;
  }

  .contact .button {
    width: auto;
    min-width: 0;
    max-width: 100%;
    justify-self: start;
    padding-inline: 24px;
  }

  .linkedin-logo {
    flex-basis: 22px;
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
  }

  .app-production-hero {
    min-height: 82vh;
    padding-top: 170px;
  }

  .media-production-hero {
    background:
      linear-gradient(180deg, rgba(5, 9, 20, 0.78), rgba(5, 9, 20, 0.92)),
      url("./assets/prima-ordia-space-fantasy-intro.png") center / cover;
  }

  .showcase-card {
    padding: 18px;
  }

  .showcase-image,
  .showcase-image img {
    min-height: 230px;
  }

  .showcase-copy {
    padding: 8px 4px 10px;
  }

  .showcase-copy h3 {
    font-size: clamp(24px, 7vw, 34px);
    overflow-wrap: anywhere;
  }

  .contact {
    gap: 36px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    white-space: normal;
  }

}

@keyframes stars-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-80px, 120px, 0);
  }
}

@keyframes stars-twinkle {
  from {
    opacity: 0.32;
    filter: brightness(0.88);
  }

  to {
    opacity: 0.68;
    filter: brightness(1.28);
  }
}
