@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Ogham";
  src: url("../fonts/NotoSansOgham-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --carbon: #171918;
  --carbon-soft: #252927;
  --white: #fbfbf8;
  --rowan: #a9362a;
  --rowan-dark: #7f281f;
  --moss: #315f40;
  --moss-soft: #e8f0e9;
  --cobalt: #315fc3;
  --cobalt-dark: #244895;
  --mineral: #d8d4c9;
  --mist: #f1f2ee;
  --ink-soft: #555b57;
  --amber: #bd6d1d;
  --max: 1280px;
  --header-height: 76px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--carbon);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--cobalt-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--rowan-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
.button {
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--carbon);
  color: var(--white);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(23, 25, 24, 0.16);
  background: rgba(251, 251, 248, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 182px;
  color: var(--carbon);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 780;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--carbon);
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--rowan);
}

.site-nav .nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--carbon);
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--carbon);
  border-radius: 4px;
  background: transparent;
  color: var(--carbon);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.wip-strip {
  border-bottom: 1px solid rgba(23, 25, 24, 0.18);
  background: var(--rowan);
  color: var(--white);
}

.wip-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}

.wip-inner span:first-child {
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 710px;
  overflow: hidden;
  border-bottom: 1px solid var(--carbon);
  background: var(--white);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(251, 251, 248, 0.16);
  content: "";
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  min-height: 710px;
  margin: 0 auto;
  padding: 94px 0 116px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(800px, 72%);
  text-shadow: 0 1px 0 rgba(251, 251, 248, 0.76);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rowan);
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
.display {
  font-family: "Manrope", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: 5.35rem;
  font-weight: 790;
  line-height: 0.98;
}

.hero-lead {
  max-width: 740px;
  margin-bottom: 34px;
  color: var(--carbon-soft);
  font-size: 1.35rem;
  line-height: 1.5;
}

.hero-actions,
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--carbon);
  border-radius: 4px;
  background: var(--carbon);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--rowan);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--carbon);
}

.button.secondary:hover {
  border-color: var(--cobalt);
  color: var(--cobalt-dark);
}

.hero-script {
  position: absolute;
  z-index: 1;
  top: 32px;
  right: max(2vw, 20px);
  height: 650px;
  width: 220px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(23, 25, 24, 0.2);
  opacity: 0.19;
  pointer-events: none;
}

.hero-script span {
  font-family: "Noto Sans Ogham", "Segoe UI Historic", serif;
  font-size: 5.7rem;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: translateY(var(--hero-script-shift, 0px)) rotate(180deg);
  transition: transform 80ms linear;
}

.evidence-ribbon {
  position: relative;
  z-index: 5;
  margin-top: -58px;
}

.ribbon-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border: 1px solid var(--carbon);
  background: var(--white);
}

.ribbon-item {
  min-height: 116px;
  padding: 22px 26px;
  border-right: 1px solid var(--mineral);
}

.ribbon-item:last-child {
  border-right: 0;
}

.ribbon-value {
  display: block;
  margin-bottom: 4px;
  font-family: "Manrope", sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.ribbon-label {
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.section {
  padding: 104px 0;
}

.section.compact {
  padding: 78px 0;
}

.section.mist {
  border-top: 1px solid var(--mineral);
  border-bottom: 1px solid var(--mineral);
  background: var(--mist);
}

.section.dark {
  background: var(--carbon);
  color: var(--white);
}

.section.red {
  background: var(--rowan);
  color: var(--white);
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 58px;
}

.section-heading h2,
.page-hero h1 {
  margin-bottom: 0;
  font-size: 3.2rem;
  font-weight: 770;
  line-height: 1.08;
}

.section-heading p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.16rem;
}

.dark .section-heading p,
.red .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 70px;
  align-items: center;
}

.security-copy h2 {
  margin-bottom: 22px;
  font-size: 3.2rem;
  line-height: 1.06;
}

.security-copy > p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.14rem;
}

.feature-points {
  margin: 38px 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-points li::before {
  position: absolute;
  top: 24px;
  left: 2px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--rowan);
  content: "";
  transform: rotate(45deg);
}

.security-badge-panel {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #202421;
}

.security-badge {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: var(--white);
  color: var(--carbon);
}

.security-badge img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.security-badge strong,
.security-badge span {
  display: block;
}

.security-badge strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.12rem;
}

.security-badge .ogham-line {
  margin-top: 9px;
  color: var(--rowan);
  font-family: "Noto Sans Ogham", "Segoe UI Historic", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.security-badge .badge-caption {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.badge-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.8rem;
}

.status-list {
  border-top: 1px solid var(--carbon);
}

.status-row {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.65fr) 155px;
  gap: 34px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--mineral);
}

.status-row h3 {
  margin: 0;
  font-size: 1.15rem;
}

.status-row p {
  margin: 0;
  color: var(--ink-soft);
}

.status {
  justify-self: end;
  padding: 6px 9px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.status.live {
  color: var(--moss);
  background: var(--moss-soft);
}

.status.dev {
  color: var(--cobalt-dark);
  background: #e9eef9;
}

.status.planned {
  color: #7b4812;
  background: #fbf0df;
}

.deployment-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.deployment-list a {
  min-height: 102px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.deployment-list a:hover {
  background: rgba(255, 255, 255, 0.09);
}

.proof-note {
  margin: 24px 0 0;
  font-size: 0.82rem;
  opacity: 0.8;
}

.tool-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: center;
}

.tool-intro h2 {
  margin-bottom: 20px;
  font-size: 3rem;
  line-height: 1.08;
}

.tool-preview {
  min-height: 270px;
  padding: 38px;
  display: grid;
  align-content: center;
  border: 1px solid var(--carbon);
  background:
    linear-gradient(rgba(49, 95, 64, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 64, 0.08) 1px, transparent 1px),
    var(--white);
  background-size: 32px 32px;
}

.tool-preview .ogham-preview {
  color: var(--moss);
  font-family: "Noto Sans Ogham", "Segoe UI Historic", serif;
  font-size: 3.3rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--carbon);
  background: var(--mist);
}

.page-hero-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 500px;
  margin: 0 auto;
  padding: 90px 0;
  display: flex;
  align-items: center;
}

.page-hero-copy {
  max-width: 840px;
}

.page-hero h1 {
  margin-bottom: 26px;
  font-size: 4.6rem;
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.24rem;
}

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

.plain-grid > div {
  padding-top: 20px;
  border-top: 4px solid var(--rowan);
}

.plain-grid h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.plain-grid p {
  color: var(--ink-soft);
}

.step-list {
  counter-reset: steps;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--carbon);
  list-style: none;
}

.step-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--mineral);
}

.step-list li::before {
  color: var(--rowan);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  content: counter(steps, decimal-leading-zero);
}

.step-list strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Manrope", sans-serif;
}

.step-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.translator-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  border: 1px solid var(--carbon);
  background: var(--white);
}

.translator-controls,
.translator-result {
  padding: 38px;
}

.translator-controls {
  border-right: 1px solid var(--carbon);
  background: var(--mist);
}

.translator-controls label,
.control-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.translator-controls textarea {
  width: 100%;
  min-height: 170px;
  padding: 16px;
  resize: vertical;
  border: 1px solid var(--carbon);
  border-radius: 0;
  background: var(--white);
  color: var(--carbon);
}

.checkbox-row {
  margin: 18px 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: 19px;
  height: 19px;
  accent-color: var(--moss);
}

.translator-result {
  min-height: 430px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.output-frame {
  min-height: 188px;
  padding: 24px;
  display: grid;
  place-items: center;
  overflow: auto;
  border: 1px solid var(--mineral);
  background-image:
    linear-gradient(rgba(49, 95, 64, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 64, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.output-frame.vertical {
  min-height: 330px;
}

.ogham-output {
  margin: 0;
  color: var(--carbon);
  font-family: "Noto Sans Ogham", "Segoe UI Historic", serif;
  font-size: 3.6rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
}

.output-frame.vertical .ogham-output {
  max-height: 280px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.output-tabs {
  display: flex;
  gap: 4px;
}

.output-tab {
  padding: 9px 13px;
  border: 1px solid var(--carbon);
  border-radius: 0;
  background: var(--white);
  color: var(--carbon);
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
}

.output-tab[aria-selected="true"] {
  background: var(--carbon);
  color: var(--white);
}

.substitution-box {
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  background: #fbf0df;
  font-size: 0.82rem;
}

.substitution-box:empty {
  display: none;
}

.mapping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.mapping-table th,
.mapping-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--mineral);
  text-align: left;
  vertical-align: top;
}

.mapping-table .ogham-cell {
  font-family: "Noto Sans Ogham", "Segoe UI Historic", serif;
  font-size: 1.4rem;
}

.notice {
  padding: 20px 22px;
  border-left: 5px solid var(--cobalt);
  background: #e9eef9;
}

.notice strong {
  font-family: "Manrope", sans-serif;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 40px;
  align-items: center;
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: 2.35rem;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 58px 0 34px;
  border-top: 1px solid var(--carbon);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 54px;
}

.footer-brand {
  max-width: 520px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--ink-soft);
}

.footer-links h2 {
  margin-bottom: 14px;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: var(--carbon);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--mineral);
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 4.4rem;
  }

  .hero-copy {
    width: 78%;
  }

  .hero-script {
    right: -12px;
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  body {
    font-size: 16px;
  }

  .header-inner,
  .container,
  .wip-inner,
  .hero-inner,
  .ribbon-inner,
  .page-hero-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    max-height: 0;
    padding: 0 20px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border-bottom: 0 solid var(--carbon);
    background: var(--white);
    opacity: 0;
    transition: max-height 220ms ease, opacity 160ms ease, padding 220ms ease;
  }

  .site-nav[data-open="true"] {
    max-height: calc(100vh - var(--header-height));
    padding-top: 18px;
    padding-bottom: 24px;
    border-bottom-width: 1px;
    opacity: 1;
  }

  .site-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--mineral);
  }

  .site-nav .nav-cta {
    margin-top: 14px;
    text-align: center;
  }

  .wip-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }

  .hero,
  .hero-inner {
    min-height: 820px;
  }

  .hero::after,
  .hero-photo {
    inset: 0 0 auto 0;
    height: 340px;
  }

  .hero-photo img {
    object-position: 76% center;
  }

  .hero-inner {
    padding: 392px 0 110px;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    text-shadow: none;
  }

  h1 {
    font-size: 3.7rem;
  }

  .hero-lead {
    font-size: 1.14rem;
  }

  .hero-script {
    right: -60px;
    width: 185px;
    opacity: 0.11;
  }

  .ribbon-inner {
    grid-template-columns: 1fr;
  }

  .ribbon-item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--mineral);
  }

  .ribbon-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading,
  .security-layout,
  .tool-intro,
  .translator-shell,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 24px;
  }

  .section-heading h2,
  .security-copy h2 {
    font-size: 2.55rem;
  }

  .status-row {
    grid-template-columns: 1fr auto;
  }

  .status-row p {
    grid-column: 1 / -1;
  }

  .translator-controls {
    border-right: 0;
    border-bottom: 1px solid var(--carbon);
  }

  .page-hero h1 {
    font-size: 3.6rem;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .brand-copy span {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 830px;
  }

  .hero::after,
  .hero-photo {
    height: 276px;
  }

  .hero-photo img {
    object-position: 77% center;
  }

  .hero-inner {
    padding: 326px 0 100px;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: 3.05rem;
  }

  .hero-script {
    display: none;
  }

  .hero-actions .button,
  .tool-actions .button {
    width: 100%;
  }

  .section-heading h2,
  .security-copy h2,
  .tool-intro h2 {
    font-size: 2.15rem;
  }

  .section-heading p {
    font-size: 1rem;
  }

  .security-badge-panel,
  .translator-controls,
  .translator-result {
    padding: 24px;
  }

  .security-badge {
    grid-template-columns: 62px 1fr;
    padding: 16px;
  }

  .security-badge img {
    width: 58px;
    height: 58px;
  }

  .deployment-list,
  .plain-grid {
    grid-template-columns: 1fr;
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .status {
    justify-self: start;
  }

  .page-hero-inner {
    min-height: 420px;
    padding: 64px 0;
  }

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

  .page-hero p {
    font-size: 1.06rem;
  }

  .translator-shell {
    margin-right: -1px;
    margin-left: -1px;
  }

  .ogham-output {
    font-size: 2.65rem;
  }

  .mapping-table {
    display: block;
    overflow-x: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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