:root {
  --brand: #009DE0;
  --brand-dark: #0088c4;
  --brand-chrome: #4A4A4A;
  --brand-chrome-dark: #3a3a3a;
  --brand-deeper: #4A4A4A;
  --bg: #EDEDED;
  --muted: #6e6e6e;
  --line: #d6d6d6;
  --ink: #4A4A4A;
  --font-display: "Times New Roman", Times, serif;
  --font-ui: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand-deeper);
}
a { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.top {
  max-width: 660px;
  margin: 0 auto;
  padding: 22px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.brand img {
  height: 40px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}
@media (min-width: 768px) {
  .brand img { height: 44px; max-width: 180px; }
}
.top-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.top-link:hover { color: var(--brand); text-decoration: underline; }

.wrap { max-width: 660px; margin: 0 auto 60px; padding: 0 20px; }

.rail { display: flex; gap: 6px; margin: 0 0 26px; }
.rail i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); transition: background .25s; }
.rail i.on { background: var(--brand); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px;
  box-shadow: 0 10px 28px -20px rgba(74,74,74,.28);
}
.eyebrow {
  font-family: var(--font-ui);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 6px;
}
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 1.7rem);
  margin: 0 0 6px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--brand-deeper);
}
.sub { margin: 0 0 26px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.legend { font-size: 12.5px; color: var(--muted); margin: 0 0 20px; }
.req { color: #e74c3c; font-weight: 700; margin-left: 2px; }

.pane { display: none; }
.pane.on { display: block; }
.row { display: flex; gap: 14px; }
.row > * { flex: 1; min-width: 0; }
label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.opt { font-weight: 400; color: var(--muted); }
input:not([type="checkbox"]):not([type="radio"]), select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  color: var(--ink);
  margin: 0 0 16px;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6e6e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,157,224,.15);
}
input:not([type="checkbox"]):not([type="radio"]).bad, select.bad { border-color: #e74c3c; }
.err { display: block; color: #c0392b; font-size: 12px; margin: -12px 0 14px; }
.hint { font-size: 12px; color: var(--muted); margin: -12px 0 16px; }

.slug {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 0 6px;
  background: #fff;
}
.slug:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,157,224,.15);
}
.slug.bad { border-color: #e74c3c; }
.slug input { border: 0; margin: 0; border-radius: 0; text-align: right; box-shadow: none; }
.slug input:focus { box-shadow: none; }
.slug b {
  padding: 11px 13px 11px 0;
  background: #fff;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.avail { font-size: 12.5px; font-weight: 600; min-height: 18px; margin: 0 0 16px; }
.avail.ok { color: #12805c; }
.avail.no { color: #c0392b; }
.avail.wait { color: var(--muted); font-weight: 500; }

.plans { display: grid; gap: 10px; margin: 0 0 8px; }
.plan {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: #fff;
}
.plan:hover { border-color: var(--brand); }
.plan input { position: absolute; opacity: 0; }
.plan.sel {
  border-color: var(--brand);
  background: #d9f1fb;
  box-shadow: 0 0 0 2px rgba(0,157,224,.12);
}
.plan .nm { font-weight: 700; font-size: 15px; color: var(--brand-deeper); }
.plan .de { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }
.plan .pr { float: right; text-align: right; font-weight: 700; font-size: 15px; color: var(--brand-deeper); }
.plan .pr small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
.tag {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 7px;
  vertical-align: 1px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.rev { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px; margin: 0 0 18px; }
.rev dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; margin: 0; font-size: 14px; }
.rev dt { color: var(--muted); font-size: 12.5px; }
.rev dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; color: var(--ink); }
.terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 18px;
  cursor: pointer;
}
.terms span { font-weight: 500; }
/* Restore native checkbox chrome — the global input rule used appearance:none,
   which left this control looking blank and “dead” when toggled. */
.terms input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 1.1em;
  height: 1.1em;
  min-width: 1.1em;
  margin: 0.2em 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--brand);
}
.terms.bad {
  color: #991b1b;
}
.terms.bad input[type="checkbox"] {
  outline: 2px solid #e74c3c;
  outline-offset: 2px;
}

.nav { display: flex; gap: 10px; margin: 22px 0 0; align-items: center; }
button, a.back {
  font: inherit;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14.5px;
  border: 0;
  border-radius: 4px;
  padding: 12px 26px;
  cursor: pointer;
  text-decoration: none;
}
.go {
  background: var(--brand-chrome);
  color: #fff;
  flex: 1;
  border: 1.5px solid var(--brand-chrome);
  transition: background .15s, border-color .15s;
}
.go:hover {
  background: var(--brand-chrome-dark);
  border-color: var(--brand-chrome-dark);
}
.go:disabled { opacity: .5; cursor: not-allowed; }
.back, a.back {
  background: #fff;
  color: var(--muted);
  border: 1.5px solid var(--line);
  display: inline-flex;
  align-items: center;
}
.back:hover, a.back:hover { border-color: var(--muted); color: var(--brand-deeper); }

.alert {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 13.5px;
  margin: 0 0 20px;
}
.hp { position: absolute; left: -9999px; }

.done { text-align: center; padding: 14px 0; }
.done .ic {
  width: 56px; height: 56px;
  border-radius: 4px;
  background: #d9f1fb;
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
  border: 1px solid var(--line);
}
@media (max-width: 560px) {
  .row { flex-direction: column; gap: 0; }
  .card { padding: 26px 22px; }
  .brand img { height: 36px; }
}
