/* Contact us (/contact/): the same look as Common questions (/support/): solid black, true greys, white hairlines at 10 % (25 % under
   the mouse), Geist, white is the only bright element (and a green tick on "Copied"). Same gap under the header (72 px, 48 on a phone)
   and headline size. Two option boxes (Email us, Send a message); the chosen one is a lighter grey with a thin white outline.
   Spacing steps: 8, 16, 24, 32. Everything is scoped to .ctp. */
html:has(main.ctp), body:has(main.ctp) { background: #000000; }
body:has(main.ctp)::before, body:has(main.ctp)::after { display: none !important; }   /* the old stripe overlay of style.css */
body:has(main.ctp) { overflow-x: clip; }
body:has(main.ctp) .home-footer { background: #000; border-top: 1px solid rgba(255,255,255,.1); }

.ctp { --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace;
  --card: #0A0A0A; --line: rgba(255,255,255,.10); --line2: rgba(255,255,255,.25); --ink: #F5F5F5; --ink2: #A3A3A3; --ink3: #8A8A8A; --red: #E8212A; --green: #34C759;
  display: block; width: 100%; max-width: 768px; margin: 0 auto; padding: 0 24px 112px; font-family: var(--sans); color: var(--ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.ctp *, .ctp *::before, .ctp *::after { box-sizing: border-box; }
.ctp [hidden] { display: none !important; }
.ctp section { padding: 0; }   /* style.css gives every <section> 100 px of padding (the old pages); a section with its own padding needs .ctp in front */
.ctp p { margin: 0; }
.ctp a { color: #FFFFFF; }
.ctp :focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }   /* the ring follows each element's own corners */
.ctp .ctp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the headline ---- */
.ctp-hero { padding: 72px 0 0; text-align: center; }
.ctp-hero h1 { margin: 0; font: 500 clamp(44px, 4.4vw, 60px)/1.04 var(--sans); letter-spacing: -.035em; color: #FFFFFF; }
.ctp .ctp-lead { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--ink2); }

/* ---- the two option boxes: the chosen one a lighter grey with a thin white outline ---- */
.ctp-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 48px; }
.ctp-opts button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px 18px; border: 0; border-radius: 12px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: left; font: 500 15px/1.3 var(--sans); color: var(--ink); cursor: pointer;
  transition: box-shadow .15s ease, background .15s ease, color .15s ease; }
.ctp-opts button span { font-size: 13px; font-weight: 400; color: var(--ink3); }
.ctp-opts button:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.ctp-opts button[aria-selected="true"] { background: #1C1C1C; color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255,255,255,.85); }
.ctp-opts button[aria-selected="true"] span { color: var(--ink2); }

/* ---- the panel under them ---- */
.ctp .ctp-panel { margin-top: 24px; padding: 32px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.ctp .ctp-panel.is-drag { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }   /* a picture dragged over the page: where it will land */

/* the form */
.ctp-form { display: grid; gap: 24px; }
.ctp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ctp-l { display: block; margin-bottom: 8px; font-size: 14px; color: var(--ink2); }
.ctp-l i { font-style: normal; color: var(--ink3); }
.ctp-l-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.ctp-l-row .ctp-l { margin-bottom: 0; }
.ctp-count { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink3); }   /* from 4,000 characters */
.ctp-count.is-over { color: #FF6B6B; }
.ctp-in { display: block; width: 100%; margin: 0; padding: 14px 16px; border: 0; border-radius: 10px; background: #000000; box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink); font: 400 16px/1.5 var(--sans); outline: 0; transition: box-shadow .15s ease; }   /* 16 px: an iPhone zooms the page in under 16 */
input.ctp-in { height: 52px; }
textarea.ctp-in { height: 280px; min-height: 160px; resize: vertical; }
.ctp-in:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.ctp .ctp-in:focus { box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.ctp .ctp-in:focus-visible { outline: 0; }   /* the box itself lights up instead */
.ctp-in::placeholder { color: var(--ink3); }
.ctp-sel { position: relative; }
.ctp-sel select { -webkit-appearance: none; appearance: none; height: 52px; padding: 0 44px 0 16px; cursor: pointer; }
.ctp-sel select:has(option[value=""]:checked) { color: var(--ink3); }
.ctp-sel option, .ctp-sel optgroup { background: #111111; color: #F5F5F5; }
.ctp-sel svg { position: absolute; right: 16px; top: 18px; color: var(--ink3); pointer-events: none; }
.ctp-add { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ctp-add span { font-size: 14px; color: var(--ink3); }
.ctp-files { display: grid; gap: 8px; }
.ctp-files:not(:empty) { margin-top: 8px; }
.ctp-files div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.ctp-files button { flex: none; border: 0; background: none; color: var(--ink3); font-size: 18px; line-height: 1; cursor: pointer; }
.ctp-files button:hover { color: #FFFFFF; }
.ctp-err { display: none; margin-top: 8px !important; font-size: 14px; line-height: 1.5; color: var(--ink); }
.ctp-err::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--red); }
.ctp-q.is-bad .ctp-err:not(:empty) { display: block; }
.ctp .ctp-q.is-bad .ctp-in { box-shadow: inset 0 0 0 1px var(--red); }
.ctp .ctp-q.is-bad .ctp-in:focus { box-shadow: inset 0 0 0 2px var(--red); }   /* the field you are in, among fields in error */
.ctp-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ctp-fail { font-size: 15px; line-height: 1.6; color: var(--ink); text-align: center; }
.ctp-fail a { color: #FFFFFF; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }

/* buttons */
.ctp-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border: 0; border-radius: 10px; background: #FFFFFF;
  color: #000000 !important; font: 500 15px var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s ease; }
.ctp-btn:hover { background: #E6E6E6; }
.ctp-btn[disabled] { opacity: .6; cursor: default; }
.ctp .ctp-send { width: 100%; height: 52px; font-size: 16px; }
.ctp-ghost { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border: 0; border-radius: 10px; background: none;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 500 15px var(--sans); white-space: nowrap; cursor: pointer; transition: box-shadow .15s ease; }
.ctp-ghost:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.ctp-add .ctp-ghost { height: 40px; padding: 0 14px; font-size: 14px; }

/* after Send */
.ctp-done { padding: 24px 8px; text-align: center; outline: 0; }
.ctp-done svg { color: #FFFFFF; }
.ctp-done b { display: block; margin-top: 16px; font: 500 24px/1.3 var(--sans); letter-spacing: -.015em; color: #FFFFFF; }
.ctp-done p { margin-top: 8px !important; font-size: 16px; line-height: 1.6; color: var(--ink2); }
.ctp-done #ctp-done-note { max-width: 460px; margin: 16px auto 0 !important; color: var(--ink); }

/* Email us */
.ctp-mail { padding: 16px 0; text-align: center; }   /* 48 px above the address and below the hint, with the card's 32 */
.ctp .ctp-addr { display: inline-block; font: 500 clamp(22px, 2.2vw, 28px)/1.25 var(--sans); letter-spacing: -.015em; color: #FFFFFF;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color .15s ease; }
.ctp .ctp-addr:hover { text-decoration-color: rgba(255,255,255,.35); }   /* it opens the email program: show that it is a link */
.ctp-btns { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.ctp-hint { max-width: 560px; margin: 24px auto 0 !important; font-size: 15px; line-height: 1.6; color: var(--ink3); }
.ctp-copy { gap: 8px; min-width: 156px; }   /* the same width with "Copied", so nothing moves */
.ctp-copy svg { color: var(--green); }
.ctp-copy.is-done { color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(52,199,89,.55); }

/* ---- a phone ---- */
@media (max-width: 640px) {
  .ctp { padding-left: 16px; padding-right: 16px; padding-bottom: 72px; }
  .ctp-hero { padding-top: 48px; }
  .ctp .ctp-lead { font-size: 16px; }
  .ctp-opts { gap: 8px; margin-top: 32px; }
  .ctp-opts button { padding: 12px 14px; font-size: 14px; }
  .ctp-opts button span { font-size: 13px; }
  .ctp .ctp-panel { padding: 24px 20px; }
  .ctp-row { grid-template-columns: 1fr; gap: 24px; }
  textarea.ctp-in { height: 220px; }
  .ctp .ctp-addr { font-size: 22px; }
  .ctp-btns { flex-direction: column; }
}
@media (max-width: 380px) { .ctp .ctp-addr { font-size: 20px; } }   /* the address stays on one line on the narrowest phones */
@media (prefers-reduced-motion: reduce) { .ctp * { transition: none !important; } }
