:root {
  color-scheme: dark light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-background);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
}

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-ink);
  padding: 0.75rem 1rem;
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 12, 11, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner,
.brand,
.desktop-nav,
.footer-bottom__inner,
.card__top,
.card__footer {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 80px;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--color-background);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(244, 160, 47, 0.24);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  color: white;
  line-height: 1.1;
}

.brand-text small {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
}

.desktop-nav {
  gap: 0.25rem;
}

.desktop-nav a,
.mobile-nav summary,
.mobile-nav a {
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.68);
  padding: 0.7rem 0.9rem;
  transition: background 160ms ease, color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: flex;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  padding: 0 0.9rem;
  color: white;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  width: min(78vw, 290px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--color-background);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  padding: 0.5rem;
}

.mobile-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  padding: 0.9rem 1rem;
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 82svh;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(9, 12, 11, 0.95) 0%, rgba(9, 12, 11, 0.86) 38%, rgba(9, 12, 11, 0.32) 78%);
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: -1;
  height: 8rem;
  background: linear-gradient(to top, var(--color-background), transparent);
}

.hero__inner {
  box-sizing: border-box;
  display: flex;
  min-height: 82svh;
  align-items: flex-start;
  padding-block: 4rem 3rem;
}

.hero__content {
  max-width: 840px;
}

.pill,
.status,
.tags span {
  border-radius: 999px;
}

.pill {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent-soft);
  padding: 0.55rem 1rem;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  margin: 1.4rem 0 0;
  color: white;
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 3.65rem;
}

.hero__subtitle {
  max-width: 660px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.3rem;
  line-height: 1.35;
}

.hero__text {
  max-width: 670px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 1.08rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

button.button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

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

.button--primary {
  background: var(--color-accent);
  color: var(--color-ink);
  box-shadow: 0 16px 48px rgba(244, 160, 47, 0.22);
}

.button--primary:hover {
  background: var(--color-accent-strong);
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.button--dark {
  background: var(--color-ink);
  color: white;
}

.section {
  padding-block: 5rem;
}

.section[id] {
  scroll-margin-top: 6.5rem;
}

.section--surface {
  background: var(--color-surface);
}

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

.section--accent {
  background: var(--color-accent);
  color: var(--color-ink);
}

.section--pattern {
  position: relative;
  overflow: hidden;
}

.section--pattern .container {
  position: relative;
}

.section-heading {
  max-width: 760px;
}

.lead-text {
  max-width: 760px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
  font-weight: 760;
  line-height: 1.6;
}

.section--paper .lead-text,
.section--accent .lead-text {
  color: var(--color-ink);
}

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

.eyebrow--ink-muted {
  color: rgba(0, 0, 0, 0.62);
}

.section-heading h2,
.page-hero h1 {
  margin: 0;
  color: white;
  font-size: 2.75rem;
  line-height: 1.1;
}

.section-heading p,
.page-hero p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-heading--dark h2,
.section-heading--dark p {
  color: var(--color-ink);
}

.section-heading--dark p {
  color: var(--color-ink-muted);
}

.grid {
  display: grid;
  gap: 1.1rem;
}

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

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

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

.mt-lg {
  margin-top: 2.4rem;
}

.card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: white;
  padding: 1.25rem;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.card:hover {
  border-color: rgba(244, 160, 47, 0.62);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-2px);
}

.card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--color-surface-muted);
  color: var(--color-accent);
  font-weight: 900;
}

.card h3 {
  margin: 1rem 0 0;
  font-size: 1.25rem;
}

.card p {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.tags span,
.status {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  color: var(--color-accent);
  font-weight: 850;
}

.card__top,
.card__footer {
  justify-content: space-between;
  gap: 1rem;
}

.card__meta {
  color: var(--color-accent-soft) !important;
  font-weight: 750;
}

.card__footer {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.signal-grid {
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--color-background);
  padding-block: 3rem;
}

.signal-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.25rem;
}

.signal-card strong {
  display: block;
  margin-top: 0.7rem;
  color: white;
  font-size: 1.14rem;
}

.signal-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

.pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pattern--light {
  background-image:
    radial-gradient(ellipse at 24% 24%, rgba(232, 118, 24, 0.28) 0 20%, transparent 22%),
    radial-gradient(ellipse at 78% 42%, rgba(232, 118, 24, 0.22) 0 18%, transparent 20%),
    radial-gradient(ellipse at 46% 76%, rgba(23, 27, 24, 0.18) 0 22%, transparent 24%);
  background-size: 180px 140px;
  opacity: 0.45;
}

.pattern--dark {
  background-image:
    linear-gradient(120deg, rgba(244, 160, 47, 0.08), transparent 44%),
    radial-gradient(ellipse at 12% 30%, rgba(244, 160, 47, 0.12) 0 14%, transparent 16%),
    radial-gradient(ellipse at 76% 62%, rgba(45, 212, 191, 0.1) 0 16%, transparent 18%);
  background-size: 100% 100%, 220px 170px, 260px 200px;
  opacity: 0.55;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.split--top {
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 1rem;
}

.text-stack p {
  margin: 0;
  color: inherit;
  line-height: 1.75;
}

.artemis-portrait {
  width: min(100%, 360px);
  margin: 1.7rem 0 0;
}

.artemis-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(23, 27, 24, 0.13);
}

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

.feature-list article,
.principle,
.legal-box {
  border-radius: 8px;
  padding: 1.25rem;
}

.feature-list article {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  color: white;
  font-size: 1.08rem;
  font-weight: 800;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-background);
  color: white;
  padding-block: 5.5rem;
}

.page-hero__inner {
  position: relative;
}

.page-hero__inner > p {
  max-width: 780px;
}

.page-hero__cta {
  margin-top: 1.8rem;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.category-row span,
.principle,
.legal-box {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-ink);
}

.principle--dark {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  color: white;
}

.principle--dark p {
  color: rgba(255, 255, 255, 0.68);
}

.detail-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: white;
  padding: 1.25rem;
}

.detail-card--dark {
  background: rgba(255, 255, 255, 0.055);
}

.detail-card h3 {
  margin: 0 0 0.75rem;
  color: inherit;
}

.detail-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.section--paper .detail-card {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-ink);
}

.section--paper .detail-card p {
  color: var(--color-ink-muted);
}

.spec-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.spec-grid span {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-ink);
  padding: 0.58rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.print-calculator {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 0.78fr;
  gap: 1rem;
  align-items: start;
}

.print-calculator__file,
.print-calculator__controls,
.print-calculator__result {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 1.2rem;
}

.print-calculator__file,
.print-calculator__controls {
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-ink);
}

.print-calculator__result {
  position: sticky;
  top: 6.5rem;
  background: var(--color-surface);
  color: white;
  box-shadow: 0 22px 46px rgba(23, 27, 24, 0.18);
}

.file-drop {
  position: relative;
  display: grid;
  gap: 0.35rem;
  border: 1px dashed rgba(23, 27, 24, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 1rem;
}

.file-drop:focus-within {
  border-color: var(--color-accent);
  outline: 3px solid rgba(244, 160, 47, 0.2);
}

.file-drop input {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
}

.file-drop__label {
  color: var(--color-ink);
  font-size: 1rem;
  font-weight: 850;
}

.file-drop__hint {
  color: var(--color-ink-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.print-preview {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  margin-top: 1rem;
  overflow: hidden;
  background: var(--color-surface);
}

.print-preview canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 13 / 9;
}

.print-preview p {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 0.8rem 0.9rem;
}

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

.print-metrics div {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 0.8rem;
}

.print-metrics span,
.calculator-field label,
.print-calculator__result dt {
  color: var(--color-ink-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.print-metrics strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-ink);
  font-size: 0.95rem;
}

.print-calculator__controls {
  display: grid;
  gap: 1rem;
}

.calculator-field {
  display: grid;
  gap: 0.5rem;
}

.calculator-field label {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}

.calculator-field output {
  color: var(--color-ink);
  letter-spacing: 0;
  text-transform: none;
}

.calculator-field select {
  width: 100%;
  border: 1px solid rgba(23, 27, 24, 0.16);
  border-radius: 8px;
  background: white;
  color: var(--color-ink);
  font: inherit;
  padding: 0.78rem 0.85rem;
}

.calculator-field input[type="range"] {
  width: 100%;
  accent-color: var(--color-accent);
}

.calculator-field p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.toggle-field {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  border: 1px solid rgba(23, 27, 24, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.9rem;
}

.toggle-field input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--color-accent);
}

.toggle-field strong,
.toggle-field small {
  display: block;
}

.toggle-field strong {
  color: var(--color-ink);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.toggle-field small {
  margin-top: 0.18rem;
  color: var(--color-ink-muted);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.segmented-control label {
  display: block;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-control span {
  display: grid;
  place-items: center;
  min-height: 2.55rem;
  border: 1px solid rgba(23, 27, 24, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
}

.segmented-control input:checked + span {
  border-color: rgba(244, 160, 47, 0.8);
  background: var(--color-accent-soft);
}

.segmented-control input:focus-visible + span {
  outline: 3px solid rgba(244, 160, 47, 0.24);
}

.print-calculator__result h3 {
  margin: 0 0 1rem;
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
}

.print-calculator__result dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.print-calculator__result dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding-bottom: 0.65rem;
}

.print-calculator__result dt {
  color: rgba(255, 255, 255, 0.52);
}

.print-calculator__result dd {
  margin: 0;
  color: white;
  font-weight: 850;
  text-align: right;
}

.calculator-note {
  margin: 1rem 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.print-calculator__result .button {
  width: 100%;
}

.print-calculator__result .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.rich-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rich-list li {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: white;
  padding: 0.95rem 1rem;
  line-height: 1.55;
}

.quote-panel {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-ink);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.quote-panel h2 {
  max-width: 920px;
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.15;
}

.quote-panel p:last-child {
  max-width: 760px;
  color: var(--color-ink-muted);
  line-height: 1.75;
}

.project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-ink);
  padding: 1.25rem;
}

.project-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.project-card h3 {
  margin: 0;
}

.project-card p {
  color: var(--color-ink-muted);
  line-height: 1.7;
}

.project-focus {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: auto;
  padding-top: 1rem;
}

.project-status,
.project-updated {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 850;
}

.project-status {
  background: var(--color-ink);
  color: white;
}

.project-status--active {
  background: var(--color-accent);
  color: var(--color-ink);
}

.project-status--testing {
  background: var(--color-teal);
  color: var(--color-ink);
}

.project-status--beta {
  background: var(--color-accent-soft);
  color: var(--color-ink);
}

.project-status--concept,
.project-status--planned {
  background: var(--color-surface-muted);
  color: white;
}

.project-status--paused {
  background: #6b7280;
  color: white;
}

.project-status--done {
  background: #166534;
  color: white;
}

.project-updated {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-ink-muted);
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.project-detail-link {
  margin-top: 0;
}

.software-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.software-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: auto;
  padding-top: 1rem;
  color: var(--color-ink-muted);
  font-weight: 750;
}

.software-license {
  border-left: 4px solid var(--color-accent);
  margin-top: 1rem;
  padding: 0.75rem 0 0.75rem 1rem;
  color: var(--color-ink);
  font-weight: 720;
}

.software-meta-panel,
.download-panel {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: white;
  padding: 1.25rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.section--paper .software-meta-panel {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-ink);
  box-shadow: 0 18px 40px rgba(23, 27, 24, 0.1);
}

.software-meta-panel {
  display: grid;
  gap: 0.9rem;
}

.software-meta-panel div {
  display: grid;
  gap: 0.25rem;
}

.software-meta-panel span {
  color: var(--color-ink-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.software-meta-panel .project-status,
.download-panel .project-status {
  justify-self: start;
}

.download-panel {
  display: grid;
  gap: 0.85rem;
}

.download-form {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.download-panel h3 {
  margin: 0;
  font-size: 1.25rem;
}

.download-panel p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.download-form {
  display: grid;
  gap: 1rem;
}

.download-disclaimer {
  border: 1px solid rgba(244, 160, 47, 0.3);
  border-radius: 8px;
  background: rgba(244, 160, 47, 0.08);
  padding: 1rem;
}

.download-disclaimer h3 {
  margin: 0 0 0.65rem;
  color: white;
}

.download-disclaimer p,
.download-disclaimer li {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.download-disclaimer ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: white;
  font-weight: 750;
  line-height: 1.55;
}

.checkbox-row input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  accent-color: var(--color-accent);
}

.empty-state {
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  margin-top: 2rem;
  padding: 1.2rem;
  color: var(--color-ink-muted);
}

.category-row span {
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font-weight: 750;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
}

.contact-form {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 1.4rem;
}

.form-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-row label {
  color: white;
  font-weight: 750;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font: inherit;
  padding: 0.85rem 0.95rem;
}

.form-row select {
  color-scheme: dark;
}

.form-row select option {
  background: var(--color-surface);
  color: white;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--color-accent);
  outline: 3px solid rgba(244, 160, 47, 0.22);
}

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

.form-note {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.form-status {
  border-radius: 8px;
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  color: white;
  line-height: 1.55;
}

.form-status--info {
  border: 1px solid rgba(45, 212, 191, 0.38);
  background: rgba(45, 212, 191, 0.12);
}

.form-status--success {
  border: 1px solid rgba(244, 160, 47, 0.42);
  background: rgba(244, 160, 47, 0.14);
}

.form-status--error {
  border: 1px solid rgba(255, 121, 121, 0.46);
  background: rgba(255, 121, 121, 0.13);
}

.form-errors {
  margin: -0.35rem 0 1rem;
  padding: 0.85rem 1rem 0.85rem 2rem;
  border: 1px solid rgba(255, 121, 121, 0.3);
  border-radius: 8px;
  background: rgba(255, 121, 121, 0.08);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.legal-box h2,
.legal-box h3 {
  margin-top: 0;
}

.legal-box p,
.legal-box li {
  line-height: 1.7;
}

.legal-box ul {
  padding-left: 1.25rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--color-background);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 3rem;
  padding-block: 3rem;
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.site-footer nav a {
  display: block;
  margin-block: 0.35rem;
}

.footer-claim {
  color: var(--color-accent-soft) !important;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1rem;
}

.footer-bottom__inner {
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero h1 {
    font-size: 4rem;
  }

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

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

  .print-calculator {
    grid-template-columns: 1fr 1fr;
  }

  .print-calculator__result {
    position: static;
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1.25rem, 1180px);
  }

  .hero__inner {
    align-items: flex-start;
    padding-top: 7.2rem;
  }

  .hero h1 {
    font-size: 2.85rem;
  }

  .hero__subtitle {
    font-size: 1.15rem;
  }

  .section-heading h2,
  .page-hero h1 {
    font-size: 2.2rem;
  }

  .quote-panel h2 {
    font-size: 1.8rem;
  }

  .actions,
  .button {
    width: 100%;
  }

  .grid--3,
  .grid--2,
  .grid--4,
  .split,
  .feature-list,
  .print-calculator,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .print-metrics,
  .segmented-control {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 4rem;
  }

  .section[id] {
    scroll-margin-top: 7rem;
  }

  .footer-bottom__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.45rem;
  }

  .section-heading h2,
  .page-hero h1 {
    font-size: 2rem;
  }

  .quote-panel h2 {
    font-size: 1.65rem;
  }
}
