* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scrollbar-gutter: stable;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #f4f0e8;
  background:
    radial-gradient(ellipse 85% 70% at 0% -8%, rgba(255, 186, 64, 0.5), transparent 62%),
    radial-gradient(ellipse 48% 42% at 8% 6%, rgba(255, 230, 160, 0.32), transparent 55%),
    radial-gradient(ellipse 85% 70% at 100% -8%, rgba(88, 78, 230, 0.52), transparent 62%),
    radial-gradient(ellipse 48% 42% at 92% 6%, rgba(150, 170, 255, 0.28), transparent 55%),
    #0b0c10;
  padding: 3.4rem 1.1rem 0;
}
.sky-ornament {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.sky-sol,
.sky-nox {
  top: -8vh;
  width: min(48rem, 68vw);
  height: min(48rem, 80vh);
}
.sky-sol {
  left: -10vw;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 36% 26%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse 72% 72% at 36% 26%, #000 18%, transparent 72%);
}
.sky-nox {
  right: -10vw;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 64% 26%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse 72% 72% at 64% 26%, #000 18%, transparent 72%);
}
.wrap,
.site-contact {
  position: relative;
  z-index: 1;
}
.home-btn {
  position: fixed;
  z-index: 20;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  left: max(1rem, env(safe-area-inset-left, 0px));
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(224, 242, 254, 0.95);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-btn:hover {
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(56, 189, 248, 0.16);
  color: #f0f9ff;
}
.wrap { width: min(40rem, 100%); margin: 0 auto; flex: 1 0 auto; }
.wrap.wide { width: min(58rem, 100%); }
header { text-align: center; margin-bottom: 1.5rem; }
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #a8a29e;
}
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
h1 {
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.4rem;
}
.wordmark {
  margin: 0.1rem auto 0.25rem;
  max-width: min(15.5rem, 72vw);
}
.wordmark a { display: block; }
.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}
.lede { color: #c4bfb6; line-height: 1.5; }
.pill {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e9d5ff;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.4rem;
}
.side {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.1rem;
  min-height: 22rem;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.side:hover {
  filter: brightness(1.06);
}
.side:focus-visible {
  outline: 2px solid rgba(253, 230, 138, 0.85);
  outline-offset: 3px;
}
.side.nox:focus-visible {
  outline-color: rgba(196, 181, 253, 0.9);
}
.side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.side.sol { box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.35), 0 18px 40px rgba(0,0,0,.4); }
.side.nox { box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.4), 0 18px 40px rgba(0,0,0,.4); }
.cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 3.4rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(8, 8, 12, 0.92) 70%);
}
.cap h2 {
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.side.sol .cap h2 { color: #fde68a; }
.side.nox .cap h2 { color: #ddd6fe; }
.cap p { margin-top: 0.2rem; color: #d6d3d1; font-size: 0.92rem; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1.15rem;
}
.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 0.65rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #fbbf24, #a78bfa);
  border: none;
}
.actions a.ghost {
  background: transparent;
  color: #e7e5e4;
  border: 1px solid rgba(255,255,255,0.14);
}
.links-quiet {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  font-size: 0.82rem;
  font-weight: 650;
}
.links-quiet a {
  color: #a8a29e;
  text-decoration: none;
}
.links-quiet a:hover { color: #e7e5e4; }
.panel {
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 1rem;
  background: rgba(16, 14, 20, 0.78);
  border: 1px solid rgba(255,255,255,0.08);
}
.panel + .panel { margin-top: 0.85rem; }
.panel h2 {
  font-size: 1.15rem;
  margin: 0.15rem 0 0.45rem;
}
.panel .pk {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.75);
}
.panel p { color: #c4bfb6; font-size: 0.92rem; line-height: 1.5; }
.panel p + p { margin-top: 0.55rem; }
.panel a { color: #ddd6fe; }
button.dl-btn { font: inherit; border: none; cursor: pointer; }
.dl-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.85rem; }
.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1.05rem;
  border-radius: 0.7rem;
  font-weight: 750;
  text-decoration: none;
  color: #1c1208;
  background: #fbbf24;
}
.dl-btn.is-off {
  color: rgba(228, 228, 231, 0.55);
  background: rgba(39, 39, 42, 0.85);
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.faq-list { margin-top: 0.55rem; }
.faq-item {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0.55rem 0;
}
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 0.4rem; }
.faq-list.is-editing { margin-top: 0.15rem; }
.faq-row {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.faq-row:first-child { border-top: none; padding-top: 0; }
.faq-q,
.faq-a {
  width: 100%;
  font: inherit;
  color: #f4f0e8;
  background: rgba(8, 8, 12, 0.65);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.65rem;
  padding: 0.5rem 0.7rem;
}
.faq-q {
  font-weight: 700;
  font-size: 0.95rem;
}
.faq-a {
  resize: vertical;
  min-height: 4.2rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.faq-q:focus,
.faq-a:focus {
  outline: none;
  border-color: rgba(251, 191, 36, 0.55);
}
.site-contact {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1rem 0.15rem;
  margin-top: auto;
  padding: 0.85rem 1rem max(0.75rem, env(safe-area-inset-bottom, 0px));
  text-align: center;
  pointer-events: none;
  border: none;
  background: none;
}
.site-contact a,
.site-contact button {
  pointer-events: auto;
  appearance: none;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.4);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
  touch-action: manipulation;
}
.site-contact a:hover,
.site-contact a:focus-visible,
.site-contact button:hover,
.site-contact button:focus-visible {
  color: rgba(186, 230, 253, 0.72);
  background: rgba(15, 23, 42, 0.25);
  outline: none;
}
.site-contact .label { color: inherit; opacity: 0.85; }
.site-contact .addr { color: inherit; font-variant-numeric: tabular-nums; }
.site-contact-toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: max(2.75rem, calc(env(safe-area-inset-bottom, 0px) + 2.25rem));
  transform: translateX(-50%) translateY(0.4rem);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(186, 230, 253, 0.28);
  box-shadow: 0 8px 28px rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.site-contact-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
body.contact {
  justify-content: center;
  background:
    radial-gradient(720px 420px at 12% 20%, rgba(245, 158, 11, 0.22), transparent 58%),
    radial-gradient(720px 420px at 88% 28%, rgba(124, 58, 237, 0.28), transparent 58%),
    #0b0c10;
}
body.contact .wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 2rem;
}
body.contact header { margin-bottom: 0; }
body.contact .wordmark { max-width: min(12.5rem, 60vw); margin-bottom: 1.1rem; }
body.contact .lede {
  max-width: 28rem;
  margin: 0.55rem auto 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #d6d3d1;
}
.mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.8rem;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fafaf9;
  cursor: pointer;
  border: 1px solid transparent;
  background:
    linear-gradient(#16131c, #16131c) padding-box,
    linear-gradient(135deg, #fbbf24, #a78bfa) border-box;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.mail:hover,
.mail:focus-visible {
  color: #fff;
  outline: none;
  filter: brightness(1.08);
}
.steps {
  margin: 0.85rem 0 0 1.2rem;
  color: #c4bfb6;
}
.steps li { margin: 0.4rem 0; line-height: 1.45; }
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.gallery a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.gallery img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 1rem;
  display: block;
}
.gallery .cap-line {
  margin-top: 0.45rem;
  font-weight: 750;
  text-align: center;
}
.road { display: grid; gap: 0.75rem; }
.road h2 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  display: inline-block;
}
.dot.now { background: #fbbf24; }
.dot.next { background: #a78bfa; }
.dot.later { background: #78716c; }
.road-empty { color: #78716c; font-style: italic; }
.road-actions {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}
.road-actions[hidden],
.road-btn[hidden],
.road-status[hidden] {
  display: none;
}
.road-btn {
  appearance: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0.55rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(15, 23, 42, 0.55);
  color: #e7e5e4;
}
.road-btn:hover { border-color: rgba(253, 230, 138, 0.45); }
.road-btn.primary {
  color: #1c1208;
  background: #fbbf24;
  border-color: #fbbf24;
}
.road-btn.ghost { color: #a8a29e; }
.road-status {
  width: 100%;
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #a8a29e;
}
.road-status.ok { color: #86efac; }
.road-status.err { color: #fca5a5; }
.road.is-editing .panel { padding-bottom: 0.9rem; }
.road-row {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.road-row textarea {
  width: 100%;
  resize: vertical;
  min-height: 4.2rem;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #f4f0e8;
  background: rgba(8, 8, 12, 0.65);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.65rem;
  padding: 0.55rem 0.7rem;
}
.road-row textarea:focus {
  outline: none;
  border-color: rgba(251, 191, 36, 0.55);
}
.road-row-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.road-icon,
.road-add {
  appearance: none;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  cursor: pointer;
  border-radius: 0.45rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: #a8a29e;
}
.road-icon:hover,
.road-add:hover { color: #e7e5e4; border-color: rgba(255,255,255,0.28); }
.road-icon:disabled { opacity: 0.35; cursor: default; }
.road-icon.danger:hover { color: #fecaca; border-color: rgba(248, 113, 113, 0.45); }
.road-add { margin-top: 0.7rem; }
.log-ver {
  font-weight: 800;
  color: #fde68a;
  margin-bottom: 0.35rem;
}
@media (max-width: 720px) {
  .pair { grid-template-columns: 1fr; }
  .side { min-height: 26rem; }
  .gallery { grid-template-columns: 1fr; }
}
