:root {
  --paper: #f4f0e8;
  --paper-light: #fbf8f2;
  --paper-deep: #e8e0d3;
  --ink: #17283b;
  --ink-soft: #3f4c59;
  --muted: #777a78;
  --line: rgba(23, 40, 59, 0.16);
  --line-strong: rgba(23, 40, 59, 0.34);
  --accent: #d95b3f;
  --accent-soft: #f1c0ad;
  --blue: #5b7894;
  --night: #172235;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page: min(1440px, calc(100vw - 72px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 9%, rgba(91, 120, 148, 0.12), transparent 24rem),
    radial-gradient(circle at 6% 46%, rgba(217, 91, 63, 0.055), transparent 20rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(23, 40, 59, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 40, 59, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

::selection {
  color: var(--ink);
  background: var(--accent-soft);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.top-rule {
  width: var(--page);
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.site-header {
  width: var(--page);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-copy small,
.header-source {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.header-source {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
}

main {
  width: var(--page);
  margin: 0 auto;
}

.hero {
  min-height: min(720px, calc(100vh - 102px));
  padding: clamp(68px, 9vw, 132px) 0 clamp(74px, 10vw, 142px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
}

.kicker {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.kicker span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-size: 8px;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6.25vw, 96px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  position: relative;
  display: block;
  color: var(--accent);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 2px;
  height: 8px;
  content: "";
  border-top: 1px solid currentColor;
  border-radius: 50%;
  transform: rotate(-1.6deg);
  opacity: 0.65;
}

.lede {
  max-width: 590px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.9;
  letter-spacing: 0.025em;
}

.hero-note {
  max-width: 570px;
  margin-top: 42px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.hero-note-index {
  padding-top: 2px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.form-column {
  position: relative;
  padding-top: 24px;
}

.orbit-stamp {
  position: absolute;
  top: -57px;
  right: -28px;
  z-index: 0;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  opacity: 0.54;
}

.orbit-stamp-ring {
  position: absolute;
  inset: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.orbit-stamp-ring::before,
.orbit-stamp-ring::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.orbit-stamp-ring::before {
  inset: 25px;
  border: 1px dashed var(--blue);
}

.orbit-stamp-ring::after {
  top: -3px;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.orbit-stamp-core {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
}

.orbit-stamp-label {
  position: absolute;
  bottom: 31px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-align: center;
}

.search-card {
  position: relative;
  z-index: 1;
  padding: clamp(25px, 3vw, 38px);
  background: rgba(251, 248, 242, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  box-shadow:
    0 30px 70px rgba(23, 40, 59, 0.09),
    8px 8px 0 rgba(23, 40, 59, 0.035);
  backdrop-filter: blur(12px);
}

.search-card-head {
  margin-bottom: 38px;
  padding-bottom: 13px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.date-field {
  display: grid;
  gap: 10px;
}

.field-label {
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.date-input-wrap {
  position: relative;
  display: block;
}

.date-input-wrap input {
  width: 100%;
  height: 73px;
  padding: 0 54px 0 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 36px);
  letter-spacing: 0.01em;
  outline: 0;
  cursor: pointer;
}

.date-input-wrap input:focus {
  border-bottom-color: var(--accent);
}

.date-input-wrap input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.date-icon {
  position: absolute;
  right: 4px;
  bottom: 24px;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  pointer-events: none;
}

.primary-button,
.secondary-button,
.text-button {
  border: 0;
  cursor: pointer;
}

.primary-button {
  width: 100%;
  min-height: 64px;
  margin-top: 28px;
  padding: 17px 20px 17px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 1px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.primary-button:hover {
  background: #263c53;
  transform: translateY(-1px);
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.primary-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.65;
}

.button-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.button-arrow svg,
.download-icon svg {
  width: 22px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.form-hint,
.form-error {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.form-error {
  color: #ad3d2a;
}

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

.result-section {
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.section-rule {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: clamp(40px, 7vw, 84px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.section-rule span:first-child {
  color: var(--accent);
}

.section-rule::after {
  grid-column: 2;
  grid-row: 1;
  height: 1px;
  content: "";
  background: var(--line);
}

.section-rule span:nth-child(2) {
  grid-row: 1;
  grid-column: 2;
  z-index: 1;
  width: fit-content;
  padding-right: 14px;
  background: var(--paper);
}

.section-rule span:nth-child(3) {
  grid-row: 1;
  grid-column: 3;
}

.loading-panel {
  min-height: 390px;
  padding: 40px 24px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px solid var(--line);
}

.loading-orbit {
  position: relative;
  width: 92px;
  height: 92px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.loading-orbit::before,
.loading-orbit::after {
  position: absolute;
  content: "";
}

.loading-orbit::before {
  inset: 19px;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}

.loading-orbit::after {
  top: 43px;
  left: 43px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.loading-orbit span {
  position: absolute;
  top: 8px;
  left: 41px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  transform-origin: 4px 38px;
}

.loading-orbit i {
  position: absolute;
  inset: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.loading-kicker,
.result-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.loading-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
}

.loading-date {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.error-panel {
  min-height: 370px;
  padding: clamp(32px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(90px, 0.32fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 8vw, 110px);
  background: rgba(251, 248, 242, 0.72);
  border: 1px solid var(--line);
}

.error-code {
  display: grid;
  place-items: center;
  width: min(20vw, 190px);
  aspect-ratio: 1;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: clamp(70px, 10vw, 130px);
}

.error-copy h2 {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 62px);
  font-weight: 500;
  line-height: 1.18;
}

.error-copy > p:not(.result-kicker) {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.error-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.text-link,
.text-button {
  padding: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 160ms ease;
}

.text-link:hover,
.text-button:hover {
  color: var(--accent);
}

.text-link span {
  padding-left: 4px;
}

.apod-result {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  align-items: start;
  gap: clamp(36px, 6vw, 90px);
}

.image-frame {
  margin: 0;
  min-width: 0;
  background: var(--night);
  border: 1px solid rgba(23, 40, 59, 0.24);
  box-shadow: 12px 16px 0 rgba(23, 40, 59, 0.055);
}

.image-frame-top,
.image-frame figcaption {
  min-height: 44px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.57);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.image-frame-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.image-stage {
  position: relative;
  min-height: 360px;
  max-height: 780px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(91, 120, 148, 0.18), transparent 56%),
    #111a28;
}

.image-stage::after {
  position: absolute;
  inset: 14px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

.image-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 780px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 500ms ease;
}

.image-stage img.is-loaded {
  opacity: 1;
}

.image-image-loading {
  position: absolute;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.image-stage.has-image .image-image-loading {
  display: none;
}

.image-frame figcaption {
  min-height: 50px;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.image-frame figcaption a {
  color: var(--accent-soft);
  text-decoration: none;
}

.result-copy {
  padding-top: 12px;
}

.result-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.result-intro {
  margin: 26px 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.result-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.35;
}

.result-credit {
  margin: 14px 0 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.045em;
  line-height: 1.7;
}

.explanation-block {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.explanation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.translate-button {
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  background: transparent;
  border: 1px solid rgba(217, 91, 63, 0.32);
  border-radius: 99px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.03em;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.translate-button:hover {
  color: var(--paper-light);
  background: var(--accent);
  border-color: var(--accent);
}

.translate-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.translate-icon {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 8px;
  letter-spacing: 0;
}

.result-explanation {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
}

.result-explanation:empty {
  display: none;
}

.translation-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.result-actions {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.result-actions .primary-button {
  margin-top: 0;
}

.download-button {
  min-width: 210px;
}

.download-icon svg {
  width: 20px;
  height: 20px;
}

.secondary-button {
  padding: 0 20px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

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

.source-disclaimer {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.start-over-button {
  margin-top: 22px;
  padding: 0 0 4px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.start-over-button:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.method-section {
  padding: clamp(70px, 10vw, 130px) 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 9vw, 150px);
  border-top: 1px solid var(--line);
}

.method-heading h2 {
  max-width: 430px;
  margin: 30px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.12;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.method-grid article {
  min-height: 230px;
  padding: 0 clamp(18px, 2.4vw, 34px);
  border-left: 1px solid var(--line);
}

.method-number {
  display: block;
  margin-bottom: 52px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
}

.method-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.method-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.closing-line {
  min-height: 250px;
  padding: 48px clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: var(--paper-light);
  background: var(--night);
  overflow: hidden;
}

.closing-line p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 42px);
  text-align: center;
}

.closing-line span {
  color: rgba(255, 255, 255, 0.37);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.closing-line span:last-child {
  text-align: right;
}

.site-footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.noscript {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  padding: 14px 18px;
  color: var(--paper-light);
  background: var(--ink);
  font-size: 12px;
}

.is-entering {
  animation: rise-in 520ms cubic-bezier(0.22, 0.8, 0.2, 1) both;
}

@media (prefers-reduced-motion: no-preference) {
  .orbit-stamp-ring {
    animation: slow-rotate 32s linear infinite;
  }

  .loading-orbit span {
    animation: loading-turn 1.45s linear infinite;
  }
}

@keyframes slow-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loading-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  :root {
    --page: calc(100vw - 48px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 66px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .form-column {
    width: min(100%, 620px);
    margin-left: auto;
  }

  .orbit-stamp {
    right: -8px;
  }

  .apod-result {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .result-copy {
    max-width: 760px;
  }

  .method-section {
    grid-template-columns: 1fr;
  }

  .method-heading h2 {
    max-width: none;
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100vw - 32px);
  }

  .top-rule {
    min-height: 30px;
    font-size: 7px;
  }

  .top-rule span:last-child {
    display: none;
  }

  .site-header {
    padding: 16px 0;
  }

  .header-source {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .hero {
    padding-top: 64px;
    gap: 48px;
  }

  .kicker {
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(36px, 11.4vw, 50px);
    letter-spacing: -0.07em;
    line-height: 1.08;
  }

  .hero h1 em::after {
    bottom: -5px;
    height: 4px;
  }

  .lede {
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-note {
    margin-top: 30px;
  }

  .form-column {
    padding-top: 0;
  }

  .orbit-stamp {
    top: -92px;
    right: 0;
    width: 126px;
    height: 126px;
    opacity: 0.4;
  }

  .orbit-stamp-label {
    display: none;
  }

  .search-card {
    padding: 23px 20px;
    box-shadow: 5px 6px 0 rgba(23, 40, 59, 0.04);
  }

  .search-card-head {
    margin-bottom: 28px;
  }

  .date-input-wrap input {
    height: 64px;
    font-size: 26px;
  }

  .date-icon {
    bottom: 20px;
  }

  .primary-button {
    min-height: 58px;
  }

  .result-section {
    padding-top: 64px;
  }

  .section-rule {
    grid-template-columns: 28px 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

  .section-rule span:nth-child(3) {
    display: none;
  }

  .section-rule span:nth-child(2) {
    padding-right: 10px;
  }

  .loading-panel {
    min-height: 330px;
  }

  .error-panel {
    padding: 28px 22px 34px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .error-code {
    width: 92px;
  }

  .error-copy h2 {
    font-size: 36px;
  }

  .image-frame {
    box-shadow: 5px 7px 0 rgba(23, 40, 59, 0.055);
  }

  .image-frame-top {
    padding: 0 11px;
  }

  .image-frame-top span:last-child {
    display: none;
  }

  .image-stage {
    min-height: 270px;
    max-height: 68vh;
  }

  .image-stage img {
    max-height: 68vh;
  }

  .image-frame figcaption {
    padding: 0 11px;
  }

  .result-copy h2 {
    font-size: 40px;
  }

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

  .secondary-button {
    min-height: 54px;
  }

  .method-section {
    padding: 74px 0;
    gap: 50px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-grid article {
    min-height: 0;
    padding: 26px 0 30px 20px;
    border-top: 1px solid var(--line);
  }

  .method-number {
    margin-bottom: 26px;
  }

  .closing-line {
    min-height: 220px;
    padding: 35px 22px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .closing-line span {
    display: none;
  }

  .closing-line p {
    max-width: 270px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .site-footer {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    line-height: 1.7;
  }
}

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

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