/* SlashCouponCode — contact page (/contact-us/).
 *
 * Self-contained, like blog.css. store.css is 70KB of coupon cards and reveal
 * modals; none of it applies to a form.
 *
 * Typeface, colours and the reading measure come from type.css, which loads
 * first and is shared by every page this plugin renders.
 */

.scc-contact-page{
  --purple:#746093; --magenta:#A24592;
  --gold:#FFD84D;
  --purple-bg:#f0ebf5;
  --ink:#1f2026; --muted:#6b6c76; --line:#e9e7ef; --bg:#f4f2f8;
  --ok:#1a7f37; --bad:#c0392f;
  color:var(--ink);
}

.scc-page,
.scc-contact-page{ max-width:1250px; margin-left:auto; margin-right:auto; margin-top:0;
  padding-top:8px !important; padding-left:0 !important; padding-right:0 !important; }

.scc-contact-page .scc-crumb{ font-size:12.5px; color:var(--muted); margin:0 0 10px; }
.scc-contact-page .scc-crumb a{ color:var(--purple); text-decoration:none; }
.scc-contact-page .scc-crumb span{ margin:0 2px; }

/* ---- Header ----
   Centred, and the intro centred as a BLOCK rather than just centre-aligned
   text: the measure cap stays, so the lines keep a comfortable length instead of
   running the full 1250px, and the block sits on the page's centre line with the
   heading above it and the send button below. */
.scc-c-head{ margin:0 0 30px; text-align:center; }
.scc-c-h1{ margin:0; font-size:clamp(28px,3.1vw,38px); line-height:1.14; font-weight:800;
  letter-spacing:-.02em; color:var(--ink); text-wrap:balance; }
.scc-c-sub{ margin:14px auto 0; max-width:62ch; font-size:16px; line-height:1.65;
  color:var(--muted); text-wrap:pretty; }

/* ---- Layout: form leads, cards support ----
   The form is the reason the page exists, so it takes the wide column. The rail
   stacks UNDER the form on a phone rather than above it — 70% of this site's
   traffic is mobile, and pushing the form below three cards would mean
   scrolling past the answer to reach the question. */
.scc-c-wrap{ display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  gap:24px; align-items:start; }

/* ---- The form card ---- */
.scc-c-formcard{ position:relative; background:#fff; border:1px solid var(--line);
  border-radius:18px; padding:28px; }

.scc-c-field{ margin:0 0 18px; }
.scc-c-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.scc-c-field label{ display:block; margin:0 0 7px; font-size:13.5px; font-weight:700;
  color:var(--ink); letter-spacing:-.005em; }
.scc-c-req{ color:var(--magenta); margin-left:2px; }

/* One control style for every input, so the form reads as one object.
   16px is deliberate: iOS Safari zooms the whole page in when a focused input
   is smaller than that, which on a phone throws the layout sideways. */
.scc-c-field input,
.scc-c-field textarea{
  width:100%; box-sizing:border-box; font:inherit; font-size:16px; line-height:1.5;
  color:var(--ink); background:#fff; border:1.5px solid var(--line); border-radius:11px;
  padding:12px 14px; -webkit-appearance:none; appearance:none;
  transition:border-color .15s, box-shadow .15s, background-color .15s;
}
.scc-c-field textarea{ resize:vertical; min-height:132px; }
.scc-c-field input::placeholder,
.scc-c-field textarea::placeholder{ color:#a9a8b4; }

.scc-c-field input:hover,
.scc-c-field textarea:hover{ border-color:#d5cfe2; }

/* A focus ring that is visible for everyone, not only keyboard users — this is a
   form, and knowing which box you are typing in is not a niche need. */
.scc-c-field input:focus,
.scc-c-field textarea:focus{
  outline:none; border-color:var(--purple);
  box-shadow:0 0 0 4px rgba(116,96,147,.14);
}

.scc-c-hint{ margin:6px 0 0; font-size:12.5px; line-height:1.5; color:var(--muted); }

/* ---- Errors ----
   Announced by role/aria in the markup and marked with more than colour: the
   border changes, the text appears, and the message says what to do. */
.scc-c-err{ margin:7px 0 0; font-size:12.5px; line-height:1.45; font-weight:600; color:var(--bad); }
.scc-c-field.is-bad input,
.scc-c-field.is-bad textarea{ border-color:var(--bad); background:#fffafa; }
.scc-c-field.is-bad input:focus,
.scc-c-field.is-bad textarea:focus{ box-shadow:0 0 0 4px rgba(192,57,47,.13); }

.scc-c-under{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.scc-c-under .scc-c-err{ flex:1 1 auto; }
/* margin-left:auto, not justify-content on the row: the error beside it is
   `hidden` until something is wrong, and a flex row with one visible child has
   nothing to space apart, which left the count stranded on the left. */
.scc-c-count{ flex:none; margin-top:7px; margin-left:auto; font-size:12px; color:var(--muted);
  font-variant-numeric:tabular-nums; }
.scc-c-count.is-near{ color:var(--bad); font-weight:700; }

/* ---- Send ---- */
.scc-c-actions{ display:flex; align-items:center; justify-content:center; gap:14px;
  flex-wrap:wrap; margin-top:24px; }
.scc-c-send{ position:relative; display:inline-flex; align-items:center; justify-content:center;
  gap:10px; min-height:50px; padding:0 30px; border:0; border-radius:12px; cursor:pointer;
  background:var(--purple); color:#fff; font:inherit; font-size:15.5px; font-weight:800;
  letter-spacing:-.005em; transition:background-color .15s, transform .12s, box-shadow .15s; }
.scc-c-send:hover{ background:#63527f; }
.scc-c-send:active{ transform:translateY(1px); }
.scc-c-send:focus-visible{ outline:3px solid var(--gold); outline-offset:2px; }
.scc-c-send[disabled]{ opacity:.72; cursor:default; transform:none; }

/* The spinner exists only while sending. */
.scc-c-spin{ display:none; width:17px; height:17px; border-radius:50%;
  border:2.5px solid rgba(255,255,255,.4); border-top-color:#fff;
  animation:scc-c-rot .7s linear infinite; }
.scc-c-send.is-busy .scc-c-spin{ display:block; }
@keyframes scc-c-rot{ to{ transform:rotate(360deg); } }

.scc-c-alert{ margin:16px 0 0; padding:12px 14px; border-radius:11px; font-size:13.5px;
  line-height:1.5; font-weight:600; color:var(--bad);
  background:#fdf1f0; border:1px solid #f3d3d0; }

/* The honeypot: gone for people, still a real field for a bot. Not display:none —
   some bots skip hidden inputs, and this way they do not. */
.scc-c-hp{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

/* ---- Success ---- */
.scc-c-done{ text-align:center; padding:30px 10px 26px; }
.scc-c-tick{ display:inline-block; color:var(--ok); }
.scc-c-tick-o{ stroke-dasharray:151; stroke-dashoffset:151; animation:scc-c-draw .5s ease-out forwards; }
.scc-c-tick-p{ stroke-dasharray:36; stroke-dashoffset:36; animation:scc-c-draw .3s .42s ease-out forwards; }
@keyframes scc-c-draw{ to{ stroke-dashoffset:0; } }
.scc-c-doneh{ margin:16px 0 0; font-size:22px; font-weight:800; letter-spacing:-.015em; color:var(--ink); }
.scc-c-donep{ margin:9px auto 0; max-width:42ch; font-size:15px; line-height:1.6; color:var(--muted); }
.scc-c-again{ margin:20px 0 0; padding:10px 20px; min-height:44px; border-radius:11px;
  border:1.5px solid var(--line); background:#fff; color:var(--ink); font:inherit;
  font-size:14px; font-weight:700; cursor:pointer; transition:border-color .15s, background-color .15s; }
.scc-c-again:hover{ border-color:var(--purple); background:var(--purple-bg); }
.scc-c-again:focus-visible{ outline:2px solid var(--purple); outline-offset:2px; }

/* ---- Side cards ---- */
.scc-c-aside{ display:flex; flex-direction:column; gap:16px; }
.scc-c-card{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; }
.scc-c-ico{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px;
  border-radius:11px; background:var(--purple-bg); color:var(--purple); margin-bottom:12px; }
.scc-c-ch{ margin:0; font-size:15px; font-weight:800; letter-spacing:-.01em; color:var(--ink); }
.scc-c-cp{ margin:7px 0 0; font-size:13.5px; line-height:1.6; color:var(--muted); }
.scc-c-mail{ display:inline-block; margin:12px 0 0; font-size:14px; font-weight:700;
  color:var(--purple); text-decoration:none; word-break:break-word; }
.scc-c-mail:hover{ text-decoration:underline; }
.scc-c-mail:focus-visible{ outline:2px solid var(--purple); outline-offset:2px; }
.scc-c-list{ list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:9px; }
.scc-c-list a{ font-size:13.5px; font-weight:700; color:var(--purple); text-decoration:none; }
.scc-c-list a:hover{ text-decoration:underline; }

/* ---- The page's own content, kept ---- */
.scc-c-extra{ margin:40px 0 0; padding-top:30px; border-top:1px solid var(--line);
  font-size:15.5px; line-height:1.75; color:#3f4048; }
.scc-c-extra > *{ max-width:var(--scc-measure,68ch); }
.scc-c-extra h2{ font-size:1.35em; font-weight:800; letter-spacing:-.015em; color:var(--ink);
  margin:1.7em 0 .4em; }
.scc-c-extra h3{ font-size:1.12em; font-weight:700; color:var(--ink); margin:1.5em 0 .35em; }
.scc-c-extra h2:first-child,
.scc-c-extra h3:first-child{ margin-top:0; }
.scc-c-extra a{ color:var(--purple); text-decoration:underline; text-underline-offset:2px; }
.scc-c-extra ul,
.scc-c-extra ol{ padding-left:1.3em; }
.scc-c-extra li + li{ margin-top:.35em; }

/* ---- Tablet ---- */
@media (max-width:991px){
  .scc-c-wrap{ grid-template-columns:1fr; gap:20px; }
  .scc-c-aside{ flex-direction:row; flex-wrap:wrap; }
  .scc-c-card{ flex:1 1 260px; }
}

/* ---- Phone ---- */
@media (max-width:782px){
  .scc-c-formcard{ padding:20px 16px; border-radius:14px; }
  .scc-c-row{ grid-template-columns:1fr; gap:0; }
  .scc-c-sub{ font-size:15px; }
  .scc-c-actions{ gap:10px; }
  .scc-c-send{ width:100%; }
  .scc-c-aside{ flex-direction:column; }
  .scc-c-card{ flex:1 1 auto; padding:17px; }
  .scc-c-extra{ margin-top:32px; padding-top:24px; font-size:15px; }
}

/* Motion is decoration here; the states are all readable without it. */
@media (prefers-reduced-motion:reduce){
  .scc-c-send,
  .scc-c-field input,
  .scc-c-field textarea,
  .scc-c-again{ transition:none; }
  .scc-c-spin{ animation-duration:1.6s; }
  .scc-c-tick-o,
  .scc-c-tick-p{ animation:none; stroke-dashoffset:0; }
}
