/* CTC Support page — public help + contact.
   Matches the shipping site: Oswald headings, Europa body, #fc2d55 accent. */
@import url('../_shared/ctc-base.css');

.ctc-support {
  --navy: #223759;
  --ink: #2a2f38;
  --muted: #5c6472;
  --accent: #fc2d55;
  --accent-dark: #d91a40;
  --cream: #fff8e7;
  --rule: #e7e2d6;
  --field: #fdfcf9;
  color: var(--ink);
}

.ctc-support h1,
.ctc-support h2,
.ctc-support h3 {
  color: var(--navy);
}

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

.sup-hero {
  background: var(--cream);
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}

.sup-eyebrow {
  font-family: Oswald, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.sup-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  max-width: 16ch;
  margin: 0 0 20px;
}

.sup-lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
  margin: 0;
}

/* --- Reach + form (asymmetric split) ------------------------------------- */

.sup-main {
  background: #fff;
  padding: clamp(48px, 7vw, 88px) 0;
}

.sup-split {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .sup-split {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.sup-reach h2,
.sup-form-wrap h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin: 0 0 20px;
}

.sup-email {
  display: inline-block;
  font-family: Oswald, sans-serif;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid rgba(252, 45, 85, 0.35);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
  word-break: break-word;
}

.sup-email:hover,
.sup-email:focus-visible {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

.sup-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34ch;
}

.sup-detail {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.sup-detail h3 {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}

.sup-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 42ch;
}

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

/* `display: grid` below outranks the UA's `[hidden] { display: none }`, so the
   form would stay on screen after a successful send. Restore it explicitly. */
.ctc-support [hidden] {
  display: none !important;
}

.sup-form {
  display: grid;
  gap: 22px;
}

.sup-field {
  display: grid;
  gap: 7px;
}

.sup-label {
  font-family: Oswald, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.sup-form input,
.sup-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 13px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.sup-form textarea {
  resize: vertical;
  min-height: 150px;
}

.sup-form input:focus,
.sup-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(34, 55, 89, 0.14);
}

.sup-form input[aria-invalid="true"],
.sup-form textarea[aria-invalid="true"] {
  border-color: var(--accent);
}

.sup-hint {
  font-size: 0.86rem;
  color: var(--muted);
}

.sup-error {
  margin: 0;
  font-size: 0.94rem;
  color: var(--accent-dark);
}

.sup-submit {
  justify-self: start;
  font-family: Oswald, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 15px 38px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.sup-submit:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.sup-submit:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.sup-fineprint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.sup-fineprint a,
.sup-legal a {
  color: var(--accent);
  text-decoration: underline;
}

.sup-fineprint a:hover,
.sup-legal a:hover {
  color: var(--accent-dark);
}

.sup-sent {
  background: var(--cream);
  border-radius: 12px;
  padding: 32px;
  animation: sup-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sup-sent h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.sup-sent p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 46ch;
}

@keyframes sup-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sup-sent { animation: none; }
  .sup-submit:hover:not(:disabled) { transform: none; }
}

/* --- Quick answers ------------------------------------------------------- */

.sup-answers {
  background: var(--cream);
  padding: clamp(48px, 7vw, 88px) 0;
}

.sup-answers h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 clamp(24px, 4vw, 40px);
}

.sup-list {
  margin: 0;
  max-width: 68ch;
}

.sup-list dt {
  font-family: Oswald, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.sup-list dt:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.sup-list dd {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

/* --- Who ----------------------------------------------------------------- */

.sup-who {
  background: #fff;
  padding: clamp(44px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}

.sup-who h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.6rem);
  margin: 0 0 14px;
}

.sup-who p {
  color: var(--muted);
  max-width: 56ch;
}

.sup-address {
  font-style: normal;
  line-height: 1.9;
  color: var(--muted);
  margin: 18px 0 22px;
}

.sup-address a {
  color: var(--accent);
  text-decoration: underline;
}

.sup-legal {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.sup-legal span {
  margin: 0 8px;
  color: var(--rule);
}
