:root {
  --ink: #112033;
  --ink-soft: #425064;
  --navy: #122235;
  --navy-2: #192d44;
  --paper: #f4f1e9;
  --paper-deep: #ebe6da;
  --white: #ffffff;
  --lime: #c8f36a;
  --lime-dark: #9dce37;
  --sky: #d7e8f0;
  --line: #d7d5cc;
  --danger: #b42318;
  --warning: #fff2c7;
  --shadow: 0 22px 60px rgba(17, 32, 51, 0.13);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 8px;
  font-weight: 800;
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 5;
  color: var(--white);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 20px;
  background: var(--lime);
  border: 2px solid var(--lime);
  border-radius: 5px;
  box-shadow: 5px -5px 0 -3px var(--navy), 5px -5px 0 -1px var(--lime);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 5px;
  width: 7px;
  height: 7px;
  background: var(--navy);
  border-radius: 50%;
}

.brand-accent {
  color: var(--lime);
}

.header-note {
  font-size: 0.78rem;
  color: #c8d1dc;
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: -190px;
  right: -90px;
  border: 70px solid rgba(200, 243, 106, 0.08);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 42px;
  padding-block: 58px 72px;
}

.eyebrow,
.section-kicker,
.mode-label,
.result-eyebrow {
  margin: 0 0 14px;
  color: var(--lime-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hero .eyebrow {
  color: var(--lime);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 11vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #d6dde6;
  font-size: clamp(1rem, 3vw, 1.18rem);
  line-height: 1.75;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 7px 11px;
  color: #e5ebf1;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.78rem;
}

.trust-list li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--lime);
  font-weight: 900;
}

.hero-diagram {
  align-self: end;
  padding: 22px;
  color: var(--navy);
  background: var(--lime);
  border-radius: var(--radius-md);
  box-shadow: 12px 12px 0 rgba(0,0,0,0.16);
  transform: rotate(-1deg);
}

.hero-diagram > p {
  margin: 14px 2px 0;
  font-size: 0.82rem;
}

.diagram-room {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background:
    linear-gradient(rgba(18,34,53,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,34,53,0.06) 1px, transparent 1px),
    #e8ffc0;
  background-size: 20px 20px;
  border: 2px solid var(--navy);
  border-radius: 10px;
}

.diagram-projector {
  position: absolute;
  left: 22px;
  bottom: 56px;
  z-index: 2;
  width: 60px;
  height: 30px;
}

.projector-body {
  position: absolute;
  inset: 5px 0 0 0;
  background: var(--navy);
  border-radius: 5px;
}

.projector-body::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 18px;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 5px 0 var(--lime);
}

.projector-lens {
  position: absolute;
  z-index: 1;
  right: -8px;
  top: 9px;
  width: 18px;
  height: 18px;
  background: #dff5ff;
  border: 4px solid var(--navy);
  border-radius: 50%;
}

.light-beam {
  position: absolute;
  left: 76px;
  right: 40px;
  top: 34px;
  bottom: 62px;
  background: rgba(255,255,255,0.45);
  clip-path: polygon(0 52%, 100% 0, 100% 100%);
}

.diagram-screen {
  position: absolute;
  top: 25px;
  right: 27px;
  width: 15px;
  height: 110px;
  background: var(--navy);
  border-radius: 3px;
}

.diagram-screen span {
  position: absolute;
  left: -3px;
  top: 5px;
  width: 3px;
  height: 100px;
  background: var(--white);
}

.measure-line {
  position: absolute;
  left: 79px;
  right: 31px;
  bottom: 24px;
  height: 1px;
  border-top: 2px dashed var(--navy);
}

.measure-line span {
  position: absolute;
  top: -5px;
  width: 8px;
  height: 8px;
  background: var(--navy);
  border-radius: 50%;
}

.measure-start {
  left: -2px;
}

.measure-end {
  right: -2px;
}

.measure-line strong {
  position: absolute;
  left: 50%;
  bottom: 7px;
  padding: 2px 7px;
  background: var(--lime);
  font-size: 0.64rem;
  white-space: nowrap;
  transform: translateX(-50%);
}

.calculator-section {
  position: relative;
  padding: 64px 0 72px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2,
.guide-heading h2,
.example-section h2,
.faq-section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 7vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.calculator-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(17,32,51,0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  background: var(--navy);
  gap: 4px;
}

.mode-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 12px;
  color: #c9d2dc;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 14px;
}

.mode-tab.is-active {
  color: var(--navy);
  background: var(--lime);
}

.mode-tab:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -4px;
}

.mode-tab strong,
.mode-tab small {
  display: block;
}

.mode-tab strong {
  font-size: 0.9rem;
  line-height: 1.3;
}

.mode-tab small {
  margin-top: 3px;
  font-size: 0.68rem;
  opacity: 0.75;
}

.tab-number {
  display: none;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mode-panel {
  padding: 26px 18px 20px;
}

.mode-panel[hidden] {
  display: none;
}

.mode-intro {
  display: grid;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.mode-intro h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.mode-intro > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.mode-label {
  margin-bottom: 3px;
  color: #6a7b30;
}

.calculator-layout {
  display: grid;
  gap: 20px;
  padding-top: 24px;
}

.input-panel fieldset {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-group {
  min-width: 0;
}

.field-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

.field-group input,
.field-group select {
  width: 100%;
  min-height: 50px;
  color: var(--ink);
  background: #faf9f5;
  border: 1px solid #c9c8c2;
  border-radius: var(--radius-sm);
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.field-group input {
  padding: 11px 14px;
  font-weight: 750;
}

.field-group select {
  padding: 11px 42px 11px 14px;
  appearance: none;
}

.field-group input:hover,
.field-group select:hover {
  border-color: #8893a0;
}

.field-group input:focus,
.field-group select:focus {
  background: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18,34,53,0.12);
}

.field-group input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180,35,24,0.1);
}

.input-with-unit {
  position: relative;
}

.input-with-unit input {
  padding-right: 60px;
}

.input-with-unit span {
  position: absolute;
  right: 14px;
  top: 50%;
  color: #667181;
  font-size: 0.83rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.field-help,
.field-error {
  margin: 6px 2px 0;
  font-size: 0.73rem;
  line-height: 1.45;
}

.field-help {
  color: #6d7682;
}

.field-error {
  color: var(--danger);
  font-weight: 700;
}

.field-error:empty {
  display: none;
}

.split-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-panel {
  position: relative;
  min-width: 0;
  padding: 22px;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: var(--radius-md);
}

.result-eyebrow {
  color: var(--lime);
}

.result-error {
  min-height: 170px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #ffd2cd;
  text-align: center;
  border: 1px dashed rgba(255,210,205,0.45);
  border-radius: 12px;
}

.result-error[hidden] {
  display: none;
}

.primary-result > span {
  display: block;
  color: #bfcbd7;
  font-size: 0.82rem;
  font-weight: 700;
}

.primary-result > strong {
  display: block;
  margin-top: 2px;
  color: var(--lime);
  font-size: clamp(2.15rem, 9vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.primary-result > p {
  margin: 10px 0 0;
  color: #cbd4de;
  font-size: 0.78rem;
}

.result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 24px 0 0;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
}

.result-stats > div {
  padding: 13px;
  background: var(--navy-2);
}

.result-stats dt {
  color: #aebac7;
  font-size: 0.72rem;
}

.result-stats dd {
  margin: 2px 0 0;
  font-size: 1.02rem;
  font-weight: 850;
}

.distance-visual {
  display: grid;
  grid-template-columns: 38px 1fr 12px;
  align-items: center;
  gap: 4px;
  min-height: 74px;
  margin-top: 22px;
}

.visual-projector {
  position: relative;
  width: 35px;
  height: 20px;
  background: var(--white);
  border-radius: 4px;
}

.visual-projector::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: #dff6ff;
  border: 3px solid var(--white);
  border-radius: 50%;
}

.visual-projector i {
  position: absolute;
  left: 5px;
  bottom: -4px;
  width: 25px;
  height: 4px;
  background: #6f7b88;
  border-radius: 0 0 3px 3px;
}

.visual-track {
  position: relative;
  height: 42px;
  overflow: hidden;
}

.visual-track::before,
.visual-track::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
}

.visual-track::before {
  left: 3px;
}

.visual-track::after {
  right: 3px;
}

.visual-track span {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 22px;
  border-top: 1px dashed var(--lime);
}

.visual-track strong {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 0 7px;
  color: var(--lime);
  background: var(--navy);
  font-size: 0.66rem;
  white-space: nowrap;
  transform: translateX(-50%);
}

.visual-screen {
  width: 10px;
  height: 62px;
  background: var(--white);
  border-left: 3px solid #7c8793;
  box-shadow: 3px 3px 0 rgba(200,243,106,0.55);
}

.result-note {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
  color: #afbac7;
  font-size: 0.69rem;
  line-height: 1.5;
}

.result-note span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
}

.install-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 20px;
  padding: 20px;
  background: var(--warning);
  border: 1px solid #e8cd72;
  border-radius: var(--radius-md);
}

.warning-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 900;
}

.install-warning h3 {
  margin: 0;
  font-size: 0.96rem;
}

.install-warning p {
  margin: 5px 0 0;
  color: #5e5331;
  font-size: 0.8rem;
}

.guide-section {
  padding: 72px 0;
  background: var(--white);
}

.guide-grid {
  display: grid;
  gap: 34px;
}

.guide-heading p:last-child {
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.ratio-scale {
  padding: 24px;
  background: var(--sky);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 0 var(--navy);
}

.scale-row {
  display: grid;
  grid-template-columns: 66px 1fr 82px;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.71rem;
}

.scale-row strong {
  line-height: 1.25;
}

.scale-line {
  position: relative;
  width: 54%;
  height: 8px;
  background: var(--navy);
  border-radius: 999px;
}

.scale-line-long {
  width: 100%;
}

.scale-line i {
  position: absolute;
  right: -1px;
  top: -4px;
  width: 16px;
  height: 16px;
  background: var(--lime);
  border: 3px solid var(--navy);
  border-radius: 50%;
}

.ratio-scale > p {
  margin: 6px 0 0;
  padding-top: 16px;
  color: #35485c;
  border-top: 1px solid rgba(18,34,53,0.18);
  font-size: 0.78rem;
}

.content-section {
  padding: 72px 0;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  padding: 22px;
  background: rgba(255,255,255,0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.steps li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: var(--lime);
  border: 1px solid var(--navy);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

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

.steps p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.example-section {
  padding: 72px 0;
  color: var(--white);
  background: var(--navy);
}

.example-grid {
  display: grid;
  gap: 34px;
}

.section-kicker.light {
  color: var(--lime);
}

.example-section h2 {
  max-width: 650px;
}

.example-section h2 + p {
  max-width: 630px;
  margin: 18px 0 0;
  color: #c7d0da;
}

.example-table-wrap {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-md);
}

.example-table-wrap table {
  width: 100%;
  color: var(--ink);
  border-collapse: collapse;
}

.example-table-wrap th,
.example-table-wrap td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid #e4e3de;
}

.example-table-wrap th {
  color: #5f6b78;
  background: #f4f5f4;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.example-table-wrap td:last-child {
  font-weight: 850;
}

.example-table-wrap tr.is-highlight {
  background: #edffd0;
}

.example-table-wrap tr.is-highlight td:first-child::after {
  content: "기준";
  margin-left: 8px;
  padding: 2px 5px;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
  font-size: 0.61rem;
  font-weight: 800;
}

.example-table-wrap > p {
  margin: 0;
  padding: 12px 18px;
  color: #6d7682;
  font-size: 0.69rem;
}

.faq-section {
  padding: 72px 0 82px;
}

.faq-grid {
  display: grid;
  gap: 30px;
}

.faq-grid > div:first-child > p:last-child {
  color: var(--ink-soft);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid #c9c6bb;
}

.faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 7px;
  top: 50%;
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -6px 0 20px;
  padding-right: 30px;
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.site-footer {
  padding: 38px 0;
  color: #c9d2dc;
  background: #0c1826;
}

.footer-inner {
  display: grid;
  gap: 24px;
}

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

.footer-inner p {
  margin: 0;
  font-size: 0.76rem;
}

.footer-disclaimer {
  max-width: 500px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.noscript-notice {
  position: fixed;
  z-index: 50;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--danger);
  border-radius: 10px;
  text-align: center;
  font-size: 0.84rem;
}

@media (min-width: 600px) {
  .shell {
    width: min(calc(100% - 56px), var(--shell));
  }

  .header-note {
    font-size: 0.85rem;
  }

  .hero-grid {
    padding-block: 76px 90px;
  }

  .mode-tabs {
    padding: 8px;
  }

  .mode-tab {
    padding: 17px 20px;
  }

  .mode-tab strong {
    font-size: 1rem;
  }

  .mode-tab small {
    font-size: 0.73rem;
  }

  .tab-number {
    display: inline;
  }

  .mode-panel {
    padding: 34px;
  }

  .mode-intro {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .result-panel {
    padding: 28px;
  }

  .install-warning {
    padding: 22px 26px;
  }

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

  .steps li {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .footer-disclaimer {
    padding-top: 0;
    padding-left: 24px;
    border-top: 0;
    border-left: 1px solid rgba(255,255,255,0.12);
  }
}

@media (min-width: 820px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
    align-items: center;
    min-height: 560px;
  }

  .calculator-section {
    padding-block: 88px;
  }

  .calculator-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
    gap: 34px;
  }

  .guide-grid,
  .example-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    align-items: center;
    gap: 72px;
  }

  .faq-grid {
    align-items: start;
  }

  .guide-section,
  .content-section,
  .example-section,
  .faq-section {
    padding-block: 96px;
  }
}

@media (min-width: 1060px) {
  .mode-panel {
    padding: 42px;
  }

  .calculator-layout {
    gap: 48px;
  }

  .steps li {
    padding: 28px;
  }
}

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

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

/* 404 page */
.error-page {
  min-height: 100vh;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.error-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.error-card {
  width: min(100%, 660px);
  padding: clamp(28px, 7vw, 64px);
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  box-shadow: 14px 14px 0 var(--lime);
}

.error-code {
  margin: 42px 0 0;
  color: var(--lime);
  font-size: clamp(4.8rem, 25vw, 9rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.error-card h1 {
  margin: 24px 0 0;
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.error-card h1 + p {
  margin: 16px 0 0;
  color: #c8d2dd;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 12px 17px;
  color: var(--navy);
  background: var(--lime);
  border: 2px solid var(--lime);
  border-radius: 9px;
  text-decoration: none;
  font-weight: 900;
}

.home-link:hover {
  color: var(--white);
  background: transparent;
}

.home-link:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}
