/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #0B1E2D;
  background-color: #F7F3EA;
  background-image:
    linear-gradient(rgba(147, 161, 173, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 161, 173, 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  padding-left: 1.5rem;
}

a {
  color: #1D6FF2;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

:root {
  --color-deep-space: #0B1E2D;
  --color-tech-blue: #1D6FF2;
  --color-energy-green: #00E5A0;
  --color-gold: #FFC857;
  --color-rock-gray: #93A1AD;
  --color-moss: #3A5F4E;
  --color-terracotta: #C96F4A;
  --color-rice: #F7F3EA;
  --color-dusk: #122E4A;
  --color-line: #C9D2DD;

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "Rajdhani", "DIN Alternate", "Bahnschrift", "Arial Narrow", sans-serif;

  --header-h: 68px;
  --container-w: 1320px;

  --shadow-brutal: 6px 6px 0 rgba(11, 30, 45, 0.88);
  --shadow-md: 0 4px 16px rgba(11, 30, 45, 0.14);
  --shadow-lg: 0 8px 32px rgba(11, 30, 45, 0.20);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

/* ===== Accessibility ===== */
:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid #FFC857;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(255, 200, 87, 0.18);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 2000;
  background: #FFC857;
  color: #0B1E2D;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  border: 2px solid #0B1E2D;
  box-shadow: 4px 4px 0 rgba(11, 30, 45, 0.88);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

#main-content {
  flex: 1 0 auto;
  width: 100%;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* ===== Layout Primitives ===== */
.fd-container {
  width: min(100% - 2rem, var(--container-w));
  margin-inline: auto;
}

.fd-container--wide {
  width: min(100% - 1rem, 1600px);
  margin-inline: auto;
}

.fd-section {
  padding: var(--space-lg) 0;
}

.fd-band {
  background: #0B1E2D;
  color: #F7F3EA;
  padding: var(--space-lg) 0;
}

.fd-band--blue {
  background: linear-gradient(135deg, #0B1E2D, #122E4A);
  color: #F7F3EA;
}

.fd-band--green {
  background: #3A5F4E;
  color: #F7F3EA;
}

.fd-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--space-lg);
}

.fd-grid--2,
.fd-grid--3,
.fd-grid--4 {
  display: grid;
  gap: var(--space-md);
}

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

/* ===== Page Head ===== */
.fd-page-head {
  padding: var(--space-lg) 0 var(--space-md);
  border-bottom: 3px solid #0B1E2D;
  margin-bottom: var(--space-lg);
  position: relative;
}

.fd-page-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 12rem;
  height: 3px;
  background: #1D6FF2;
}

.fd-page-head__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: #0B1E2D;
  letter-spacing: 0.02em;
}

.fd-page-head__sub {
  margin-top: var(--space-xs);
  font-size: 1rem;
  color: #93A1AD;
}

/* ===== Header ===== */
.fd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0B1E2D;
  border-bottom: 2px solid #1D6FF2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.fd-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-top: 3px solid #FFC857;
  border-left: 3px solid #FFC857;
  z-index: 2;
}

.fd-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-top: 3px solid #FFC857;
  border-right: 3px solid #FFC857;
  z-index: 2;
}

.fd-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: var(--space-sm);
}

.fd-header__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

.fd-header__edge--left {
  left: 0;
  background:
    linear-gradient(180deg, #1D6FF2 0%, rgba(29, 111, 242, 0) 55%),
    radial-gradient(circle, #00E5A0 0.6px, transparent 1.2px) 0 0 / 16px 16px,
    radial-gradient(circle, #1D6FF2 0.8px, transparent 1.4px) 6px 8px / 22px 22px;
}

.fd-header__edge--right {
  right: 0;
  background:
    linear-gradient(180deg, rgba(29, 111, 242, 0) 45%, #1D6FF2 100%),
    radial-gradient(circle, #FFC857 0.7px, transparent 1.3px) 4px 6px / 18px 18px,
    radial-gradient(circle, #1D6FF2 0.6px, transparent 1.2px) 0 0 / 24px 24px;
}

/* ===== Brand ===== */
.fd-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}

.fd-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #0B1E2D;
  border: 2px solid #1D6FF2;
  box-shadow: 4px 4px 0 rgba(29, 111, 242, 0.35);
  color: #FFC857;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.04em;
  position: relative;
}

.fd-brand__mark::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: #00E5A0;
}

.fd-brand__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 900;
  color: #F7F3EA;
  letter-spacing: 0.08em;
  line-height: 1;
}

.fd-brand__season {
  font-size: 0.6875rem;
  color: #00E5A0;
  border: 1px solid rgba(0, 229, 160, 0.45);
  background: rgba(0, 229, 160, 0.08);
  padding: 0.125rem 0.5rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  white-space: nowrap;
}

/* ===== Navigation ===== */
.fd-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  counter-reset: fdNavIndex;
}

.fd-nav__link {
  position: relative;
  counter-increment: fdNavIndex;
  display: inline-flex;
  align-items: baseline;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #93A1AD;
  text-decoration: none;
  padding: 0.5rem 0.625rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.fd-nav__link::before {
  content: "0" counter(fdNavIndex);
  font-family: var(--font-num);
  font-size: 0.625rem;
  font-weight: 600;
  color: #1D6FF2;
  margin-right: 0.375rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.fd-nav__link:hover {
  color: #F7F3EA;
  background: rgba(29, 111, 242, 0.14);
}

.fd-nav__link:hover::before,
.fd-nav__link[aria-current="page"]::before {
  color: #FFC857;
}

.fd-nav__link[aria-current="page"] {
  color: #00E5A0;
  border-bottom-color: #00E5A0;
  font-weight: 600;
}

/* ===== Header Status ===== */
.fd-header__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: var(--space-md);
  padding-left: var(--space-md);
  border-left: 1px solid rgba(147, 161, 173, 0.3);
  flex-shrink: 0;
}

.fd-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E5A0;
  animation: fd-pulse 2.4s ease-in-out infinite;
}

.fd-status-text {
  font-size: 0.625rem;
  color: #93A1AD;
  letter-spacing: 0.14em;
  font-family: var(--font-num);
  font-weight: 600;
}

@keyframes fd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(0, 229, 160, 0); }
}

/* ===== Nav Toggle ===== */
.fd-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(147, 161, 173, 0.4);
  border-radius: 8px;
  background: rgba(18, 46, 74, 0.5);
  flex-shrink: 0;
}

.fd-nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  background: #F7F3EA;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.fd-nav-toggle--active .fd-nav-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.fd-nav-toggle--active .fd-nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.fd-nav-toggle--active .fd-nav-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== Header Progress ===== */
.fd-header__progress {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00E5A0, #FFC857);
  z-index: 3;
}

/* ===== Footer ===== */
.fd-footer {
  position: relative;
  margin-top: auto;
  background: #0B1E2D;
  color: #93A1AD;
  border-top: 3px solid #1D6FF2;
}

.fd-footer::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 22%;
  height: 3px;
  background: #00E5A0;
  z-index: 1;
}

.fd-footer::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 10%;
  height: 3px;
  background: #FFC857;
  z-index: 1;
}

.fd-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}

/* Footer Brand */
.fd-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.fd-footer__mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #0B1E2D;
  border: 2px solid #1D6FF2;
  color: #FFC857;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
}

.fd-footer__name {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 900;
  color: #F7F3EA;
  letter-spacing: 0.08em;
}

.fd-footer__desc {
  font-size: 0.8125rem;
  line-height: 1.85;
  color: #93A1AD;
  margin-bottom: var(--space-sm);
  max-width: 34ch;
}

.fd-footer__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #00E5A0;
  border: 1px solid rgba(0, 229, 160, 0.4);
  padding: 0.1875rem 0.625rem;
  letter-spacing: 0.06em;
  background: rgba(0, 229, 160, 0.06);
}

/* Footer Columns */
.fd-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fd-footer__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #F7F3EA;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1D6FF2;
  width: 100%;
}

.fd-footer__link {
  display: inline-block;
  color: #93A1AD;
  font-size: 0.8125rem;
  text-decoration: none;
  padding: 0.375rem 0;
  line-height: 1.6;
  transition: color 0.2s ease, transform 0.2s ease, padding-left 0.2s ease;
}

.fd-footer__link:hover {
  color: #00E5A0;
  padding-left: 0.5rem;
}

.fd-footer__text {
  display: block;
  font-size: 0.8125rem;
  color: #93A1AD;
  padding: 0.25rem 0;
  line-height: 1.6;
}

.fd-footer__note {
  display: block;
  font-size: 0.75rem;
  color: rgba(147, 161, 173, 0.75);
  line-height: 1.7;
  margin-top: var(--space-xs);
  border-left: 2px solid rgba(0, 229, 160, 0.4);
  padding-left: 0.625rem;
}

/* Footer Bottom */
.fd-footer__bottom {
  border-top: 1px solid rgba(147, 161, 173, 0.18);
  padding: var(--space-sm) 0;
  background: rgba(18, 46, 74, 0.4);
}

.fd-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  font-size: 0.6875rem;
  color: rgba(147, 161, 173, 0.8);
  letter-spacing: 0.03em;
}

.fd-footer__contact-line {
  font-family: var(--font-num);
  letter-spacing: 0.06em;
}

/* ===== Buttons ===== */
.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid #1D6FF2;
  background: transparent;
  color: #1D6FF2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fd-btn:hover {
  background: rgba(29, 111, 242, 0.08);
  box-shadow: 4px 4px 0 rgba(29, 111, 242, 0.35);
}

.fd-btn--primary {
  background: #1D6FF2;
  border-color: #1D6FF2;
  color: #F7F3EA;
}

.fd-btn--primary:hover {
  background: #0B1E2D;
  border-color: #0B1E2D;
  box-shadow: 4px 4px 0 rgba(29, 111, 242, 0.4);
}

.fd-btn--gold {
  background: #FFC857;
  border-color: #FFC857;
  color: #0B1E2D;
  font-weight: 700;
}

.fd-btn--gold:hover {
  background: #0B1E2D;
  color: #FFC857;
  box-shadow: 4px 4px 0 rgba(255, 200, 87, 0.4);
}

.fd-btn--ghost {
  border-color: rgba(147, 161, 173, 0.6);
  color: #93A1AD;
}

.fd-btn--ghost:hover {
  background: rgba(147, 161, 173, 0.1);
  color: #F7F3EA;
  box-shadow: none;
}

/* ===== Breadcrumb ===== */
.fd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #93A1AD;
  padding: 0.5rem 0 var(--space-sm);
}

.fd-breadcrumb a {
  color: #1D6FF2;
  text-decoration: none;
}

.fd-breadcrumb a:hover {
  text-decoration: underline;
}

.fd-breadcrumb__separator {
  color: #93A1AD;
}

/* ===== Cards ===== */
.fd-card {
  background: #F7F3EA;
  border: 2px solid #0B1E2D;
  box-shadow: var(--shadow-brutal);
  padding: var(--space-md);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fd-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 rgba(11, 30, 45, 0.88);
}

.fd-card--flat {
  background: #F7F3EA;
  border: 2px solid #0B1E2D;
  padding: var(--space-md);
}

.fd-card--flat + .fd-card--flat {
  border-top: none;
}

/* ===== Prose ===== */
.fd-prose {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #0B1E2D;
}

.fd-prose h2,
.fd-prose h3 {
  font-family: var(--font-head);
  font-weight: 900;
  color: #0B1E2D;
  margin: var(--space-md) 0 var(--space-sm);
}

.fd-prose h2 {
  font-size: 1.5rem;
  padding-left: 0.75rem;
  border-left: 4px solid #1D6FF2;
}

.fd-prose h3 {
  font-size: 1.125rem;
}

.fd-prose p {
  margin-bottom: var(--space-sm);
}

.fd-prose ul,
.fd-prose ol {
  margin-bottom: var(--space-sm);
}

.fd-prose li {
  margin-bottom: 0.375rem;
}

.fd-prose blockquote {
  background: rgba(29, 111, 242, 0.06);
  border-left: 4px solid #FFC857;
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

/* ===== Image Frame ===== */
.fd-img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #122E4A, #0B1E2D);
  border: 2px solid #0B1E2D;
}

.fd-img-frame--16x9 { aspect-ratio: 16 / 9; }
.fd-img-frame--4x3 { aspect-ratio: 4 / 3; }
.fd-img-frame--1x1 { aspect-ratio: 1 / 1; }

.fd-img-frame::after {
  content: "IMG";
  position: absolute;
  inset: 0.5rem;
  display: grid;
  place-items: center;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  color: #93A1AD;
  opacity: 0.45;
  border: 2px dashed rgba(201, 210, 221, 0.45);
}

.fd-img-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Divider ===== */
.fd-divider {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #FFC857 0%, #FFC857 40%, transparent 100%);
  margin: var(--space-md) 0;
  border: none;
}

/* ===== Chapter Number ===== */
.fd-col-num {
  font-family: var(--font-num);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #1D6FF2, #00E5A0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== Section Label ===== */
.fd-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #1D6FF2;
  text-transform: uppercase;
}

.fd-section-label::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: #FFC857;
  flex-shrink: 0;
}

.fd-section-label--light {
  color: #00E5A0;
}

/* ===== Vertical Note ===== */
.fd-note-vert {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  color: #93A1AD;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
}

/* ===== TOC ===== */
.fd-toc {
  background: #F7F3EA;
  border: 2px solid #0B1E2D;
  box-shadow: var(--shadow-brutal);
  padding: var(--space-md);
}

.fd-toc__title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 900;
  margin-bottom: var(--space-sm);
  padding-bottom: 0.625rem;
  border-bottom: 2px solid #FFC857;
}

.fd-toc__list {
  list-style: none;
  padding-left: 0;
}

.fd-toc__list a {
  display: block;
  padding: 0.5rem 0;
  color: #1D6FF2;
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: 1px dashed #C9D2DD;
}

.fd-toc__list a:hover {
  color: #0B1E2D;
  padding-left: 0.5rem;
}

/* ===== Pills ===== */
.fd-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid #C9D2DD;
  border-radius: 999px;
  background: #F7F3EA;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0B1E2D;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.fd-pill--green {
  border-color: rgba(0, 229, 160, 0.55);
  color: #0B1E2D;
  background: rgba(0, 229, 160, 0.12);
}

.fd-pill--terracotta {
  border-color: rgba(201, 111, 74, 0.55);
  color: #0B1E2D;
  background: rgba(201, 111, 74, 0.12);
}

.fd-pill--gold {
  border-color: rgba(255, 200, 87, 0.7);
  color: #0B1E2D;
  background: rgba(255, 200, 87, 0.16);
}

/* ===== Status Badge ===== */
.fd-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 2px solid #0B1E2D;
  font-size: 0.8125rem;
  font-weight: 600;
  background: #F7F3EA;
  box-shadow: 3px 3px 0 rgba(11, 30, 45, 0.88);
}

.fd-status-badge--green { border-left: 6px solid #00E5A0; }
.fd-status-badge--terracotta { border-left: 6px solid #C96F4A; }
.fd-status-badge--gold { border-left: 6px solid #FFC857; }

/* ===== Alert ===== */
.fd-alert {
  padding: var(--space-sm) var(--space-md);
  border: 2px solid #0B1E2D;
  background: #F7F3EA;
  font-size: 0.875rem;
  box-shadow: var(--shadow-brutal);
}

.fd-alert--terracotta {
  border-left: 6px solid #C96F4A;
}

.fd-alert--green {
  border-left: 6px solid #00E5A0;
}

/* ===== Form Fields ===== */
.fd-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: var(--space-sm);
}

.fd-field__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0B1E2D;
  letter-spacing: 0.03em;
}

.fd-field__input {
  padding: 0.75rem 1rem;
  border: 2px solid #C9D2DD;
  border-radius: 0;
  background: #F7F3EA;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fd-field__input:focus {
  border-color: #1D6FF2;
  box-shadow: 4px 4px 0 rgba(29, 111, 242, 0.15);
}

.fd-field__input::placeholder {
  color: #93A1AD;
  opacity: 0.7;
}

textarea.fd-field__input {
  min-height: 120px;
  resize: vertical;
}

.fd-field__helper {
  font-size: 0.75rem;
  color: #93A1AD;
}

.fd-field--error .fd-field__input {
  border-color: #C96F4A;
}

.fd-field--error .fd-field__helper {
  color: #C96F4A;
}

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  .fd-header__status-text {
    display: none;
  }

  .fd-nav__link {
    font-size: 0.75rem;
    padding: 0.5rem 0.4375rem;
  }

  .fd-header__inner {
    gap: 0.5rem;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 60px;
  }

  .fd-header__edge {
    display: none;
  }

  .fd-header__status {
    display: none;
  }

  .fd-nav-toggle {
    display: inline-flex;
  }

  .fd-nav {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.96);
    width: calc(100% - 2rem);
    max-width: 480px;
    margin-left: 0;
    background: #0B1E2D;
    border: 1px solid #1D6FF2;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 6px 6px 0 rgba(29, 111, 242, 0.3);
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 99;
  }

  .fd-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
  }

  .fd-nav__link {
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    border-bottom: none;
    border-left: 3px solid transparent;
    border-radius: 8px;
    white-space: normal;
  }

  .fd-nav__link::before {
    display: none;
  }

  .fd-nav__link:hover {
    background: rgba(29, 111, 242, 0.18);
  }

  .fd-nav__link[aria-current="page"] {
    border-left-color: #00E5A0;
    background: rgba(0, 229, 160, 0.08);
  }

  .fd-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .fd-split {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

@media (max-width: 600px) {
  .fd-brand__season {
    display: none;
  }

  .fd-brand__mark {
    width: 38px;
    height: 38px;
    font-size: 1.125rem;
  }

  .fd-brand__name {
    font-size: 1.125rem;
  }

  .fd-footer__main {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md) 0;
  }

  .fd-grid--2,
  .fd-grid--3,
  .fd-grid--4 {
    grid-template-columns: 1fr;
  }

  .fd-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fd-status-dot {
    animation: none;
  }

  .fd-btn,
  .fd-card,
  .fd-footer__link,
  .fd-nav__link,
  .fd-nav-toggle__line {
    transition: none;
  }
}
