.wt-form {
  --paper: #fffdf6;
  --card: #ffffff;
  --field: #fbf8ec;
  --ink: #191712;
  --ink-2: #4a463a;
  --ink-3: #807a66;
  --line: #e4deca;
  --line-2: #cfc7ac;
  --accent: #f2ce20;
  --accent-deep: #c9a400;
  --accent-soft: #fdf3c4;
  --danger: #a8321c;
  --danger-soft: #fbeae5;
  --ok: #2f6b41;
  --radius: 4px;
  --shadow: 0 1px 0 rgba(25, 23, 18, 0.04), 0 8px 24px -18px rgba(25, 23, 18, 0.35);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
  margin: 0 -12px;
  color-scheme: light;
  position: relative;
}
.wt-form,
.wt-form * { box-sizing: border-box; }
.wt-form img { max-width: 100%; height: auto; }
.wt-form [hidden] { display: none !important; }
.wt-form h1,
.wt-form h2,
.wt-form h3,
.wt-form legend {
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
.wt-form .mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

.wt-form .rail {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.wt-form .rail-in {
  max-width: 820px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.wt-form .rail-brand {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wt-form .rail-brand em {
  font-style: normal;
  background: var(--accent);
  color: #191712;
  padding: 2px 6px;
  border-radius: 2px;
}
.wt-form .rail-steps { display: flex; gap: 6px; flex: 1; min-width: 0; }
.wt-form .rail-step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.25s;
}
.wt-form .rail-step.on { background: var(--accent); }
.wt-form .rail-count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wt-form .wrap { max-width: 820px; margin: 0 auto; padding: 36px 24px 96px; }
.wt-form .masthead { border-bottom: 3px solid var(--accent); padding-bottom: 22px; margin-bottom: 32px; }
.wt-form .eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.wt-form h1 {
  font-size: clamp(30px, 5.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 10px 0 8px;
}
.wt-form .lede { color: var(--ink-2); max-width: 60ch; font-size: 16.5px; }
.wt-form .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.wt-form .chip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-2);
}
.wt-form .chip.hi { background: var(--accent); border-color: var(--accent); color: #191712; font-weight: 600; }

.wt-form fieldset { border: 0; margin: 0 0 40px; padding: 0; }
.wt-form legend { width: 100%; padding: 0; }
.wt-form .sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 24px;
}
.wt-form .sec-num {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 13px;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
}
.wt-form .sec-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.wt-form .sec-note { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }

.wt-form .grid { display: grid; gap: 18px; }
@media (min-width: 620px) {
  .wt-form .grid.two { grid-template-columns: 1fr 1fr; }
}

.wt-form .f { display: flex; flex-direction: column; gap: 7px; }
.wt-form .f > label,
.wt-form .grp-label { font-weight: 600; font-size: 14.5px; letter-spacing: 0.005em; color: var(--ink); }
.wt-form .req { color: var(--accent-deep); font-weight: 700; }
.wt-form .hint { font-size: 13px; color: var(--ink-3); line-height: 1.45; }

.wt-form input[type="text"],
.wt-form input[type="email"],
.wt-form input[type="tel"],
.wt-form select,
.wt-form textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 11px 13px;
  height: auto;
  box-shadow: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.wt-form textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.wt-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.wt-form input:focus-visible,
.wt-form select:focus-visible,
.wt-form textarea:focus-visible {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--card);
}
.wt-form ::placeholder { color: var(--ink-3); opacity: 0.75; }

.wt-form .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.wt-form .opt { position: relative; }
.wt-form .opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  width: 100%;
  height: 100%;
}
.wt-form .opt span {
  display: block;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-2);
  background: var(--card);
  cursor: pointer;
  transition: all 0.14s;
  user-select: none;
}
.wt-form .opt input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #191712;
  font-weight: 600;
}
.wt-form .opt input:focus-visible + span {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}
.wt-form .opt:hover span { border-color: var(--ink-3); }
.wt-form .opts.ages .opt span {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.wt-form .checks { display: grid; gap: 8px; }
@media (min-width: 620px) {
  .wt-form .checks { grid-template-columns: 1fr 1fr; }
}
.wt-form .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
  font-size: 14.5px;
  transition: border-color 0.14s, background 0.14s;
}
.wt-form .check:hover { border-color: var(--line-2); }
.wt-form .check input {
  margin: 3px 0 0;
  accent-color: var(--accent-deep);
  width: 16px;
  height: 16px;
  flex: none;
  position: static;
  opacity: 1;
}
.wt-form .check:has(input:checked) {
  border-color: var(--accent-deep);
  background: var(--accent-soft);
}

.wt-form .cnt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wt-form .cnt-n {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.wt-form .cnt-n.warn { color: var(--danger); }

.wt-form #wt-ideaDetail {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-2);
}
.wt-form #wt-ideaDetail[hidden] { display: none !important; }
.wt-form .skip-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.wt-form .skip-note[hidden] { display: none !important; }

.wt-form .decl {
  display: grid;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.wt-form .decl-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}
.wt-form .decl-row:first-child { border-top: 0; }
.wt-form .decl-row.invalid { background: var(--danger-soft); }
.wt-form .decl-txt { font-size: 14.8px; line-height: 1.5; }
.wt-form .decl-txt b { font-weight: 600; }
.wt-form .decl-tag {
  display: inline-block;
  margin-top: 5px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.wt-form .decl-tag.must { color: var(--accent-deep); }
.wt-form .yn {
  display: flex;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.wt-form .yn .opt span {
  border: 0;
  border-radius: 0;
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: transparent;
}
.wt-form .yn .opt + .opt span { border-left: 1px solid var(--line-2); }
.wt-form .yn .opt input:checked + span { background: var(--accent); color: #191712; }

.wt-form .err { font-size: 13px; color: var(--danger); display: none; gap: 6px; align-items: center; }
.wt-form .err::before { content: "▲"; font-size: 9px; }
.wt-form .f.invalid .err,
.wt-form .decl-row.invalid .err { display: flex; }
.wt-form .f.invalid input,
.wt-form .f.invalid select,
.wt-form .f.invalid textarea {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.wt-form .submit-bar {
  margin-top: 8px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.wt-form .btn {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  background: var(--accent);
  color: #191712;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 30px;
  cursor: pointer;
  height: auto;
  line-height: 1.2;
  transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
}
.wt-form .btn:hover {
  background: var(--accent-deep);
  box-shadow: 0 4px 14px -6px rgba(201, 164, 0, 0.7);
  color: #191712;
}
.wt-form .btn:active { transform: translateY(1px); }
.wt-form .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wt-form .btn:disabled { opacity: 0.7; cursor: wait; }
.wt-form .submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.wt-form .submit-msg { font-size: 13.5px; color: var(--ink-3); max-width: 44ch; margin: 0; }
.wt-form .form-error {
  display: none;
  margin-bottom: 16px;
  padding: 12px 15px;
  background: var(--danger-soft);
  border-left: 3px solid var(--danger);
  color: var(--danger);
  font-size: 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.wt-form .form-error.show { display: block; }

.wt-form .rodo { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.wt-form .rodo h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.wt-form .rodo dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.wt-form .rodo dt { font-weight: 600; font-size: 13.5px; padding: 12px 0 3px; border-top: 1px solid var(--line); }
.wt-form .rodo dt:first-of-type { border-top: 0; }
.wt-form .rodo dd { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; max-width: 78ch; }
.wt-form .footnote { margin-top: 32px; font-size: 12.5px; color: var(--ink-3); line-height: 1.55; max-width: 70ch; }

.wt-form #wt-done { display: none; padding: 40px 0 0; }
.wt-form #wt-done.show { display: block; }
.wt-form #wt-done .tick {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #191712;
  margin-bottom: 20px;
}
.wt-form #wt-done h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.wt-form #wt-done p { color: var(--ink-2); max-width: 56ch; }

@media (prefers-reduced-motion: reduce) {
  .wt-form * { transition: none !important; animation: none !important; }
}
