/* =========================================================
   Aquaclara Chiyoda — Apply Form Refresh
   ========================================================= */

:root {
  --bg:         oklch(0.985 0.003 90);
  --bg-sub:     oklch(0.965 0.004 90);
  --fg:         oklch(0.18 0.012 60);
  --fg-sub:     oklch(0.46 0.01 60);
  --fg-mute:    oklch(0.62 0.008 60);
  --line:       oklch(0.90 0.005 90);
  --line-soft:  oklch(0.94 0.004 90);
  --card:       oklch(1 0 0);
  --accent:     oklch(0.55 0.07 220);   /* quiet blue */
  --accent-ink: oklch(0.30 0.06 220);
  --accent-bg:  oklch(0.96 0.02 220);
  --danger:     oklch(0.55 0.17 25);

  --radius-sm: 4px;
  --radius:    6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-1: 0 1px 2px rgba(20, 20, 20, 0.03);
  --shadow-2: 0 12px 40px -16px rgba(30, 30, 50, 0.12);

  --font-sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";
}
button { font: inherit; color: inherit; }
a { color: inherit; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main {
  flex: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 28px 96px;
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--fg);
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.site-header__tel {
  display: inline-flex; align-items: baseline; gap: 10px;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .2s;
}
.site-header__tel:hover { border-color: var(--fg); }
.site-header__tel-label {
  font-size: 10px;
  color: var(--fg-sub);
  letter-spacing: 0.1em;
}
.site-header__tel-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg);
}
@media (max-width: 600px) {
  .site-header__inner { padding: 0 14px; }
  .brand-name { font-size: 13px; white-space: nowrap; }
  .site-header__tel {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    white-space: nowrap;
  }
  .site-header__tel-label { font-size: 9px; }
  .site-header__tel-num   { font-size: 12px; }
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 56px 0 40px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero__lede {
  color: var(--fg-sub);
  font-size: 14px;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.9;
}
.hero__meta {
  display: inline-flex; flex-wrap: wrap;
  gap: 12px; align-items: center; justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--fg-sub);
  letter-spacing: 0.04em;
}
.hero__meta em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 13px;
  color: var(--fg);
  margin: 0 2px;
}

/* ---------- Progress ---------- */

.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px auto 56px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  max-width: 680px;
}
.progress__step {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 6px;
  color: var(--fg-mute);
}
.progress__step.is-current { color: var(--fg); }
.progress__step.is-done    { color: var(--fg); }

.progress__dot {
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  background: var(--bg);
  transition: all .25s;
}
.progress__step.is-current .progress__dot {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}
.progress__step.is-done .progress__dot {
  border-color: var(--fg);
  color: var(--fg);
  background: var(--bg);
}
.progress__text { display: flex; flex-direction: column; }
.progress__label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.progress__sub {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.progress__bar {
  flex: 0 0 40px;
  height: 1px;
  background: var(--line);
}
.progress__bar.is-done { background: var(--fg); }

@media (max-width: 640px) {
  .progress { gap: 4px; }
  .progress__sub { display: none; }
  .progress__bar { flex-basis: 18px; }
  .progress__step { padding: 4px 2px; }
}

/* ---------- Panel / Section ---------- */

.step { display: flex; flex-direction: column; gap: 44px; }
.panel { }

.section-label {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.section-label__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--fg-mute);
  padding-top: 3px;
}
.section-label__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.section-label__sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}

/* ---------- Bottle Grid (real images) ---------- */

.bottle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 680px) { .bottle-grid { grid-template-columns: 1fr; } }

.bottle-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--bg-sub);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer; text-align: left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.bottle-card:hover {
  border-color: color-mix(in oklab, var(--fg) 35%, var(--line));
  transform: translateY(-1px);
}
.bottle-card.is-selected {
  border-color: var(--fg);
  box-shadow: 0 0 0 1px var(--fg) inset, var(--shadow-2);
  background: var(--bg-sub);
}
.bottle-card__thumb {
  width: 72px; height: 90px; flex: 0 0 72px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border-radius: 6px;
  padding: 10px;
  overflow: hidden;
}
.bottle-card__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  object-position: center;
}
.bottle-card.is-selected .bottle-card__thumb { background: var(--bg-sub); }
.bottle-card__img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
}
.bottle-card__q {
  font-family: var(--font-serif); font-size: 28px; font-weight: 300;
  color: var(--fg-mute);
}
.bottle-card__body { flex: 1; }
.bottle-card__name {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 500; letter-spacing: 0.06em;
}
.bottle-card__desc { margin: 0; font-size: 11px; color: var(--fg-mute); }
.bottle-card__check {
  position: absolute; top: 10px; right: 10px;
  width: 18px; height: 18px;
  background: var(--fg); color: var(--bg);
  border-radius: 50%; display: grid; place-items: center;
}

/* ---------- Plan Grid ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 680px) { .plan-grid { grid-template-columns: 1fr; } }

.plan-card {
  position: relative;
  padding: 18px 18px 16px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.plan-card:hover {
  border-color: color-mix(in oklab, var(--fg) 35%, var(--line));
  transform: translateY(-1px);
}
.plan-card.is-selected {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
  box-shadow: var(--shadow-2);
}
.plan-card__head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.plan-card__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 500; letter-spacing: 0.04em;
}
.plan-card__badge {
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
}
.plan-card.is-selected .plan-card__badge {
  background: var(--bg); color: var(--fg);
}
.plan-card__desc {
  margin: 0;
  font-size: 12px; line-height: 1.7;
  color: var(--fg-mute);
}
.plan-card.is-selected .plan-card__desc {
  color: color-mix(in oklab, var(--bg) 70%, transparent);
}
.plan-card__check {
  position: absolute; top: 12px; right: 12px;
  width: 18px; height: 18px;
  background: var(--bg); color: var(--fg);
  border-radius: 50%; display: grid; place-items: center;
}

/* ---------- Terms box ---------- */

.terms-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  overflow: hidden;
  margin-bottom: 16px;
}
.terms-box__head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-sub);
  border: 0;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg);
  transition: background .15s;
}
.terms-box__head:hover { background: color-mix(in oklab, var(--bg-sub) 60%, var(--card)); }
.terms-box__body {
  max-height: 280px;
  overflow: auto;
  padding: 16px 18px;
  border-top: 1px solid var(--line-soft);
}
.terms-box__text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.9;
  color: var(--fg-sub);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ---------- Done detail ---------- */

.done__detail {
  width: 100%;
  max-width: 420px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  margin: 0 0 24px;
  text-align: left;
}
.done__detail-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.done__detail dl {
  margin: 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 16px;
  font-size: 13px;
}
.done__detail dt {
  color: var(--fg-mute);
  font-size: 11px;
  padding-top: 2px;
}
.done__detail dd {
  margin: 0;
  color: var(--fg);
}

/* ---------- Panel note ---------- */
.panel__note {
  margin: 0 0 12px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--fg-sub);
  background: var(--bg-sub);
  border-left: 2px solid var(--fg);
  border-radius: 4px;
  line-height: 1.7;
}

/* ---------- Field error block ---------- */
.field__error--block { margin-top: 10px; }
.field__req--inline { margin-left: 6px; vertical-align: middle; }

/* ---------- Kosodate banner ---------- */
.price-card__kosodate {
  padding: 12px 20px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(90deg, oklch(0.96 0.04 75) 0%, oklch(0.98 0.02 75) 100%);
  font-size: 12px;
  color: oklch(0.32 0.06 60);
  display: flex; align-items: center; gap: 8px;
}
.price-card__kosodate strong { font-weight: 600; }
.price-card__kosodate-mark {
  color: oklch(0.55 0.15 60);
  font-size: 14px;
}

/* ---------- Server Grid ---------- */

.server-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 760px) { .server-grid { grid-template-columns: repeat(2, 1fr); } }

.server-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 0;
  background: var(--bg-sub);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.server-card:hover {
  border-color: color-mix(in oklab, var(--fg) 35%, var(--line));
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.server-card.is-selected {
  border-color: var(--fg);
  box-shadow: 0 0 0 2px var(--fg) inset, var(--shadow-2);
}
.server-card__thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 20px 16px;
}
.server-card__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform .4s;
}
.server-card:hover .server-card__img { transform: scale(1.04); }
.server-card__img--compact {
  max-height: 65%;
  max-width: 65%;
  align-self: flex-end;
  margin-bottom: 8%;
}
.server-card__q {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--fg-mute);
}
.server-card__check {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 50%;
  display: grid; place-items: center;
}
.server-card__body {
  padding: 12px 14px 14px;
  background: var(--bg-sub);
  border-top: 1px solid var(--line-soft);
}
.server-card__name {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.server-card__desc {
  margin: 0;
  font-size: 11px;
  color: var(--fg-mute);
  line-height: 1.5;
}

/* ---------- Option Pills (Bottles / Plans) ---------- */

.option-grid { display: grid; gap: 10px; }
.option-grid--3 { grid-template-columns: repeat(3, 1fr); }
.option-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) {
  .option-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .option-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.option-pill {
  position: relative;
  padding: 18px 16px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 4px;
}
.option-pill:hover {
  border-color: color-mix(in oklab, var(--fg) 35%, var(--line));
  transform: translateY(-1px);
}
.option-pill.is-selected {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
  box-shadow: var(--shadow-2);
}
.option-pill__badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  width: fit-content;
  margin-bottom: 2px;
}
.option-pill.is-selected .option-pill__badge {
  background: var(--bg);
  color: var(--fg);
}
.option-pill__name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.option-pill__desc {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--fg-mute);
}
.option-pill.is-selected .option-pill__desc {
  color: color-mix(in oklab, var(--bg) 65%, transparent);
}
.option-pill__check {
  position: absolute; top: 10px; right: 10px;
  width: 18px; height: 18px;
  background: var(--bg);
  color: var(--fg);
  border-radius: 50%;
  display: grid; place-items: center;
}

/* ---------- Price Card ---------- */

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
}
.price-card__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.price-card__cell {
  padding: 20px 20px;
  border-right: 1px solid var(--line-soft);
}
.price-card__cell:last-child { border-right: 0; }
.price-card__cell--hi {
  background: linear-gradient(180deg, var(--bg-sub) 0%, transparent 100%);
}
.price-card__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.price-card__tiny {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 6px;
}
.price-card__value {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--fg);
  display: flex; align-items: baseline; gap: 6px;
}
.price-card__value span { font-variant-numeric: tabular-nums; }
.price-card__value em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
}
.price-card__empty { color: var(--fg-mute); font-size: 22px; }
.price-card__note {
  margin: 6px 0 0;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.05em;
}
.price-card__hint {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-sub);
  color: var(--fg-mute);
  font-size: 11px;
}
@media (max-width: 680px) {
  .price-card__row { grid-template-columns: 1fr; }
  .price-card__cell { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .price-card__cell:last-child { border-bottom: 0; }
}

/* ---------- Step nav ---------- */

.step__nav {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.step__nav-hint {
  margin: 0;
  font-size: 11px;
  color: var(--fg-mute);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all .2s;
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
  min-width: 280px;
}
.btn--primary:hover:not(:disabled) {
  background: color-mix(in oklab, var(--fg) 85%, #000);
  transform: translateY(-1px);
}
.btn--primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.btn--lg { padding: 16px 32px; min-width: 320px; }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--fg); }

/* ---------- Back link ---------- */

.back-link {
  background: none; border: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0;
  color: var(--fg-mute);
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  width: fit-content;
  transition: color .2s;
}
.back-link:hover { color: var(--fg); }

/* ---------- Summary (Step 2) ---------- */

.summary {
  position: sticky;
  top: 76px;
  z-index: 10;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
}
.summary__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.summary__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.summary__edit {
  background: none; border: 0;
  font-size: 11px;
  color: var(--fg-sub);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
}
.summary__edit:hover { color: var(--fg); }

.summary__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  background: var(--bg-sub);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--fg);
}

.summary__prices {
  display: flex; flex-wrap: wrap; gap: 22px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.summary__label {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.summary__value {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.summary__value--accent { color: var(--accent-ink); }

/* ---------- Form ---------- */

.form { display: flex; flex-direction: column; gap: 44px; }
.form__grid { display: grid; gap: 18px; }
.form__grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 680px) { .form__grid--2 { grid-template-columns: 1fr; } }

.field { }
.field__label {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.field__req {
  display: inline-block;
  padding: 2px 6px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--fg);
  border-radius: 3px;
}
.field__opt {
  display: inline-block;
  padding: 2px 6px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.field__hint {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.02em;
}
.field__error {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--danger);
  letter-spacing: 0.02em;
}
.field__error--agree { padding-left: 32px; }

.input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: color-mix(in oklab, var(--fg-mute) 70%, transparent); }
.input:focus {
  outline: none;
  border-color: var(--fg);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--fg) 8%, transparent);
}
.input.is-error { border-color: var(--danger); }
.input--zip { width: 180px; letter-spacing: 0.12em; font-family: var(--font-mono); }
.input--area { resize: vertical; min-height: 100px; line-height: 1.7; }

.zip-row { display: flex; align-items: center; gap: 10px; }
.zip-row__loader {
  width: 14px; height: 14px;
  border: 1.5px solid var(--line);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ---------- Radio chips ---------- */

.radio-row { display: flex; gap: 8px; }
.radio-row--wrap { flex-wrap: wrap; }

.radio-chip {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.04em;
  background: var(--card);
  transition: all .2s;
  user-select: none;
}
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip:hover { border-color: color-mix(in oklab, var(--fg) 35%, var(--line)); }
.radio-chip.is-selected {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

/* ---------- Agreement ---------- */

.agree { padding-top: 24px; border-top: 1px solid var(--line-soft); }
.agree__label {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer;
  padding: 2px 0;
}
.agree__label input { position: absolute; opacity: 0; pointer-events: none; }
.agree__box {
  width: 20px; height: 20px;
  flex: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: grid; place-items: center;
  background: var(--card);
  transition: all .2s;
}
.agree__label:hover .agree__box { border-color: var(--fg); }
.agree__label input:checked + .agree__box {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}
.agree__label.is-error .agree__box { border-color: var(--danger); }
.agree__text {
  font-size: 13px;
  color: var(--fg-sub);
  line-height: 1.6;
  padding-top: 1px;
}
.agree__text a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ---------- Submit ---------- */

.submit-row {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding-top: 8px;
}
.submit-row__note {
  margin: 0;
  text-align: center;
  font-size: 11px;
  color: var(--fg-mute);
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.submit-row__note strong { color: var(--fg); font-weight: 500; }
.submit-row__note a { color: var(--fg); font-family: var(--font-mono); }

.spinner {
  width: 14px; height: 14px;
  border: 1.5px solid color-mix(in oklab, var(--bg) 30%, transparent);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ---------- Done ---------- */

.done {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 60px 20px 40px;
  gap: 8px;
}
.done__ring {
  width: 72px; height: 72px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 24px;
  animation: doneIn .8s cubic-bezier(.16,1,.3,1);
}
@keyframes doneIn {
  from { transform: scale(.6); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}
.done__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.done__title {
  margin: 6px 0 14px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: 0.04em;
  text-wrap: balance;
}
.done__lede {
  margin: 0 0 36px;
  color: var(--fg-sub);
  font-size: 14px;
  line-height: 1.9;
  max-width: 480px;
}
.done__card {
  padding: 22px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  margin-bottom: 32px;
}
.done__card-label {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.done__card-tel {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--fg);
}
.done__card-hours {
  margin: 0;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.05em;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
  padding: 48px 28px 24px;
}
.site-footer__inner {
  max-width: 1000px;
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer__brand {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.08em;
}
.site-footer__sub {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.site-footer__contact { text-align: right; }
.site-footer__label {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--fg-mute);
}
.site-footer__tel {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.08em;
}
.site-footer__hours {
  margin: 0;
  font-size: 11px;
  color: var(--fg-mute);
}
.site-footer__bar {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
}
.site-footer__bar p { margin: 0; }
.site-footer__links { display: flex; gap: 18px; }
.site-footer__links a {
  color: var(--fg-mute);
  text-decoration: none;
}
.site-footer__links a:hover { color: var(--fg); }
@media (max-width: 600px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .site-footer__contact { text-align: center; }
}

/* ---------- Tweaks panel ---------- */

.tweaks {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 280px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  z-index: 100;
  font-size: 12px;
  display: none;
}
.tweaks.is-open { display: block; }
.tweaks__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.tweaks__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}
.tweaks__row:last-child { border: 0; }
.tweaks__row label { color: var(--fg-sub); }
.tweaks__row select, .tweaks__row input[type="color"] {
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  background: var(--card);
}
