/* WA Productions x Nado partner program
   Palette matched to wa-productions.com: near-black surface, white, single
   red accent. Sourced from the live site's stylesheet:
   - dark surface:  #1a1a1a (.contact-us.bg--dark, header dropdown bg)
   - body/heading ink on light bg: #181212 (body.wp-front)
   - accent (links, buttons, borders): #bc2c2c (.button--primary, a, h2 span)
   - light section bg: #f8f8f8 (.uk-navbar-container)
   On dark surfaces the accent's contrast against #1a1a1a is too low for
   text (~2.9:1), so dark-surface foregrounds use white/light gray instead,
   matching how wa-productions.com itself treats its own dark sections. */

:root {
  --navy: #1a1a1a;
  --navy-soft: #242424;
  --ink: #181212;
  --muted: #5c5c5c;
  --line: #e4e4e4;
  --line-strong: #cfcfcf;
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --accent: #bc2c2c;
  --accent-dark: #9c2323;
  --accent-fg: #ffffff;
  --danger: #b3261e;
  --radius: 14px;
  --wrap: 980px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 7.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4.6vw, 2.05rem); font-weight: 700; }
h3 { font-size: 1.075rem; font-weight: 650; }
p { margin: 0 0 1rem; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap-narrow { max-width: 640px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 10px 16px;
  z-index: 20;
}
.skip:focus { left: 8px; top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(26, 26, 26, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.logo-img {
  display: block;
  height: 26px;
  width: auto;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 12px 20px;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn-sm { padding: 8px 14px; min-height: 38px; font-size: 0.9rem; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; min-height: 50px; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(900px 380px at 15% -10%, #2b2b2b, transparent),
    linear-gradient(180deg, #202020 0%, var(--navy) 100%);
  color: #fff;
  padding: 56px 0 60px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(188, 44, 44, 0.18);
  border: 1px solid rgba(188, 44, 44, 0.55);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 0 0 20px;
}
.hero h1 { max-width: 15ch; }
.lede {
  font-size: clamp(1.02rem, 2.6vw, 1.16rem);
  color: #d6d6d6;
  max-width: 58ch;
  margin-bottom: 28px;
}
.hero-points {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
}
.hero-points li {
  position: relative;
  padding-left: 22px;
  color: #d6d6d6;
  font-size: 0.94rem;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
}

/* ---------- sections ---------- */

.section { padding: 52px 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section h2 { margin-bottom: 24px; }
.section-note { color: var(--muted); margin-top: -14px; margin-bottom: 26px; }

.section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 0; }
.nado-mark { height: 24px; width: auto; display: block; border-radius: 4px; }

.cards { display: grid; gap: 16px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { color: var(--ink); margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding: 14px 16px 14px 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 8px;
  height: 14px;
  margin-top: -9px;
  border: solid var(--accent-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(42deg);
}

/* How it works: a single visual+accessible step number. Not a <ol>/<ul> -
   the numbered badge below is the only source of the ordinal, so no
   assistive-tech list numbering can stack on top of it. */
.steps { display: grid; gap: 4px; }
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 2px;
}
.step-body { flex: 1; }

/* ---------- form ---------- */

.section-apply { background: var(--bg-soft); border-top: 1px solid var(--line); }
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.field { margin-bottom: 18px; border: 0; padding: 0; }
fieldset.field { margin-inline: 0; }
.field > label,
.field legend {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 7px;
  padding: 0;
}
.req { color: var(--accent-dark); }

input[type="text"],
input[type="number"],
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 13px;
  min-height: 46px;
}
textarea { min-height: 88px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #97a0a6; }
input:focus, textarea:focus {
  outline: 0;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(188, 44, 44, 0.22);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }

.grid-2 { display: grid; gap: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 42px;
  cursor: pointer;
  user-select: none;
  font-size: 0.93rem;
}
.chip input { accent-color: var(--navy); width: 16px; height: 16px; margin: 0; }
.chip:has(input:checked) { border-color: var(--navy); background: #f2f2f2; font-weight: 600; }
.chip:focus-within { box-shadow: 0 0 0 3px rgba(188, 44, 44, 0.22); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); }
.consent { padding: 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; }

.err { color: var(--danger); font-size: 0.85rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }

.form-status { margin: 14px 0 0; font-size: 0.92rem; color: var(--muted); text-align: center; }
.form-status.is-error { color: var(--danger); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thanks {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
}
.thanks h3 { margin: 0; font-size: 1.12rem; color: var(--ink); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: #c7c7c7;
  padding: 34px 0 40px;
  font-size: 0.9rem;
}
.footer-brand { color: #fff; font-weight: 650; margin-bottom: 10px; }
.footer-tagline { margin: 0 0 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
.footer-links a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-links a:hover { color: #fff; text-decoration-color: var(--accent); }
.footer-legal { margin: 0; color: #9a9a9a; font-size: 0.84rem; }

/* ---------- wider screens ---------- */

@media (min-width: 720px) {
  .hero { padding: 84px 0 88px; }
  .section { padding: 72px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .hero-points { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .form { padding: 32px; }
  .site-footer { padding: 44px 0 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
