/* =====================================================================
   Contact, Thank-you, Privacy policy and 404 — Shared Development
   Shared page styles (prefixes: ct- contact/thank-you, pp- privacy,
   nf- not found). Built on css/site.css tokens; logical properties only.
   ===================================================================== */

/* ---------------------------------------------------------------------
   01 · Compact page hero (contact, privacy)
   --------------------------------------------------------------------- */
.ct-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.ct-hero .hero-inner { max-width: 900px; }
.ct-hero h1 { margin-bottom: 20px; }
.ct-hero .eyebrow { margin-bottom: 22px; }
.ct-hero .lead { max-width: 720px; }
html[lang="ar"] .ct-hero h1.h1 { font-size: clamp(2.1rem, 1.1rem + 3.6vw, 3.8rem); }

.ct-build {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}
.ct-build li.ct-build-label {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-inline-end: 4px;
}
html[lang="ar"] .ct-build li.ct-build-label { font-family: var(--font-ar); font-size: .85rem; text-transform: none; }
.ct-build li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 82%, transparent);
  box-shadow: var(--shadow-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-2);
}
html[lang="ar"] .ct-build li { font-size: .92rem; }
.ct-build li .i { width: 15px; height: 15px; color: var(--accent-text); }

/* ---------------------------------------------------------------------
   02 · Contact layout: info column + form card
   --------------------------------------------------------------------- */
.ct-main { padding-top: 0; }
.ct-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-areas: "info form";
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.ct-form-wrap { grid-area: form; }
.ct-info { grid-area: info; display: grid; gap: 18px; }
@media (max-width: 960px) {
  .ct-layout { grid-template-columns: 1fr; grid-template-areas: "form" "info"; }
}

/* Form card */
.ct-form-card {
  position: relative;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(140deg, var(--accent-border), var(--border) 38%, var(--border) 62%, color-mix(in oklab, var(--cyan) 45%, transparent)) border-box;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.ct-form-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(70% 50% at 100% 0%, var(--accent-glow), transparent 70%);
  opacity: .55;
  pointer-events: none;
}
[dir="rtl"] .ct-form-card::before { background: radial-gradient(70% 50% at 0% 0%, var(--accent-glow), transparent 70%); }
.ct-form-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 20px; margin-bottom: 26px; }
.ct-form-head h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); letter-spacing: -0.025em; }
.ct-form-head p { margin-top: 8px; color: var(--text-2); font-size: .97rem; max-width: 46ch; }
.ct-req-note { font-size: .8rem; color: var(--text-muted); white-space: nowrap; padding-top: 6px; }

.ct-form .field label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
html[lang="ar"] .ct-form .field label { font-size: .95rem; }
.ct-form .req { color: var(--accent-text); margin-inline-start: 2px; }
.ct-form .opt { font-size: .75rem; font-weight: 500; color: var(--text-muted); }
html[lang="ar"] .ct-form .opt { font-size: .82rem; }
.ct-form .field select { cursor: pointer; font-weight: 500; }
.ct-form .field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .ct-form .field input[dir="ltr"] { text-align: right; }
.ct-form .field textarea { min-height: 160px; }
.ct-form .field input:user-invalid,
.ct-form .field textarea:user-invalid { border-color: var(--danger); }
.ct-form .field input:user-invalid:focus,
.ct-form .field textarea:user-invalid:focus { box-shadow: 0 0 0 4px color-mix(in oklab, var(--danger) 22%, transparent); }

.ct-interest {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.ct-interest select { background-color: var(--surface); }
.ct-interest .hint { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; line-height: 1.55; color: var(--text-2); }
html[lang="ar"] .ct-interest .hint { font-size: .9rem; line-height: 1.75; }
.ct-interest .hint .i { width: 15px; height: 15px; margin-top: 2px; color: var(--accent-text); flex-shrink: 0; }
html[lang="ar"] .ct-interest .hint .i { margin-top: 5px; }

.ct-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--text-muted);
}
html[lang="ar"] .ct-privacy { font-size: .9rem; line-height: 1.75; }
.ct-privacy .i { width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; }
html[lang="ar"] .ct-privacy .i { margin-top: 5px; }
.ct-privacy a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

.ct-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.ct-submit .btn { min-width: 200px; }
.ct-submit .btn[disabled] { opacity: .75; cursor: progress; }
.ct-submit small { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; color: var(--text-muted); }
html[lang="ar"] .ct-submit small { font-size: .9rem; }
.ct-submit small .i { width: 15px; height: 15px; color: var(--accent-text); }
@media (max-width: 600px) { .ct-submit .btn { width: 100%; } }

/* Info column */
.ct-info-head h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); letter-spacing: -0.025em; }
.ct-info-head p { margin-top: 8px; color: var(--text-2); font-size: .97rem; }

.ct-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .ct-channels { grid-template-columns: 1fr; } }
.ct-channel {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .2s, transform .25s var(--ease-out), box-shadow .25s;
}
.ct-channel:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: var(--shadow); }
.ct-channel-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.ct-channel-icon .i { width: 18px; height: 18px; }
.ct-channel-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); }
html[lang="ar"] .ct-channel-label { font-size: .88rem; }
.ct-channel-value { font-size: 1rem; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.ct-channel-note { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
html[lang="ar"] .ct-channel-note { font-size: .88rem; line-height: 1.7; }
.ct-channel .ct-go {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform .2s var(--ease-out), color .2s;
}
.ct-channel:hover .ct-go { color: var(--accent-text); transform: translate(calc(2px * var(--dir)), -2px) scaleX(var(--dir)); }

.ct-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .ct-offices { grid-template-columns: 1fr; } }
.ct-office {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}
.ct-office::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--grid-line) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(80% 90% at 100% 0%, #000, transparent 70%);
  mask-image: radial-gradient(80% 90% at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}
[dir="rtl"] .ct-office::after {
  -webkit-mask-image: radial-gradient(80% 90% at 0% 0%, #000, transparent 70%);
  mask-image: radial-gradient(80% 90% at 0% 0%, #000, transparent 70%);
}
.ct-office-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ct-office h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.ct-office h3 .i { width: 17px; height: 17px; color: var(--accent-text); }
.ct-office address { font-style: normal; font-size: .9rem; line-height: 1.6; color: var(--text-2); }
html[lang="ar"] .ct-office address { font-size: .96rem; line-height: 1.8; }
.ct-office .link-arrow { margin-top: auto; font-size: .86rem; }
.ct-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-muted);
  white-space: nowrap;
  direction: ltr;
}
.ct-time[hidden] { display: none; }
.ct-time .pulse-dot { width: 6px; height: 6px; }

.ct-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.ct-panel h3 { font-size: 1.05rem; margin-bottom: 18px; }
.ct-panel .timeline { gap: 20px; }
.ct-panel .timeline-item h4 { font-size: .98rem; margin-bottom: 3px; }
.ct-panel .timeline-item p { color: var(--text-2); font-size: .9rem; }
html[lang="ar"] .ct-panel .timeline-item p { font-size: .96rem; }

.ct-social-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.ct-social-row p { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-2); max-width: 44ch; }
html[lang="ar"] .ct-social-row p { font-size: .96rem; }
.ct-social-row p .i { width: 17px; height: 17px; margin-top: 3px; color: var(--success); flex-shrink: 0; }
html[lang="ar"] .ct-social-row p .i { margin-top: 6px; }
.ct-social { display: flex; gap: 8px; list-style: none; padding: 0; }
.ct-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding-inline: 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color .15s, border-color .15s, background-color .15s;
}
.ct-social a:hover { color: var(--text); border-color: var(--text-muted); background: var(--surface-2); }
.ct-social .i { width: 16px; height: 16px; }

/* Explore strip under the contact layout */
.ct-explore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  background: var(--bg-2);
}
.ct-explore p { font-weight: 600; }
.ct-explore ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; }
.ct-explore .link-arrow { font-size: .92rem; }

/* ---------------------------------------------------------------------
   03 · Thank-you page
   --------------------------------------------------------------------- */
.ct-done { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 72px); }
.ct-done .hero-inner { max-width: 780px; }
.ct-check {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--accent), var(--brand), var(--cyan), var(--accent));
  box-shadow: 0 18px 50px -14px var(--accent-glow);
}
.ct-check::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--surface);
}
.ct-check::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  opacity: .7;
}
.ct-check .i { position: relative; width: 40px; height: 40px; color: var(--accent-text); stroke-width: 2.2; }
@media (prefers-reduced-motion: no-preference) {
  .ct-check { animation: ct-pop .7s var(--ease-out) both; }
  .ct-check .i { stroke-dasharray: 30; stroke-dashoffset: 30; animation: ct-draw .6s .35s var(--ease-out) forwards; }
  .ct-check::after { animation: ct-ring 2.4s .6s var(--ease-out) infinite; }
}
@keyframes ct-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes ct-draw { to { stroke-dashoffset: 0; } }
@keyframes ct-ring { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }

.ct-next { --cols: 3; }
.ct-next .step h3 { font-size: 1.05rem; }

.ct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .ct-cards { grid-template-columns: 1fr; } }
.ct-card { display: flex; flex-direction: column; gap: 6px; }
.ct-card .product-tag { margin-bottom: 8px; }
.ct-card h3 { font-size: 1.2rem; }
.ct-card p { flex: 1; font-size: .95rem; }
.ct-card .link-arrow { margin-top: 14px; font-size: .92rem; }
.ct-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 80%;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 100%, color-mix(in oklab, var(--pa, var(--accent)) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.ct-card .card-icon.pa { background: var(--pa-soft, var(--accent-soft)); color: var(--pa-ink, var(--accent-ink)); }

/* ---------------------------------------------------------------------
   04 · Privacy policy
   --------------------------------------------------------------------- */
.pp-hero { padding-bottom: clamp(32px, 4vw, 48px); }
.pp-hero .hero-inner { max-width: 820px; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pp-meta .chip { font-size: .8rem; }
html[lang="ar"] .pp-meta .chip { font-size: .88rem; }

.pp-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  max-width: 1100px;
  margin-inline: auto;
}
@media (max-width: 960px) { .pp-layout { grid-template-columns: 1fr; } }

.pp-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
@media (max-width: 960px) { .pp-toc { position: static; } }
.pp-toc h2 {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
html[lang="ar"] .pp-toc h2 { font-family: var(--font-ar); font-size: .9rem; text-transform: none; font-weight: 600; }
.pp-toc ol { list-style: none; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.pp-toc li { counter-increment: toc; }
.pp-toc a {
  display: flex;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  line-height: 1.45;
  color: var(--text-2);
  transition: background-color .15s, color .15s;
}
html[lang="ar"] .pp-toc a { font-size: .95rem; line-height: 1.6; }
.pp-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .72rem;
  padding-top: 2px;
  color: var(--text-muted);
}
.pp-toc a:hover { background: var(--surface-2); color: var(--text); }
.pp-toc a[aria-current="true"] { background: var(--accent-soft); color: var(--accent-ink); }
.pp-toc a[aria-current="true"]::before { color: var(--accent-ink); }

.pp-article { max-width: 72ch; color: var(--text-2); }
html[lang="ar"] .pp-article { max-width: 66ch; }
.pp-article .pp-intro { font-size: 1.1rem; color: var(--text); }
.pp-article section { scroll-margin-top: calc(var(--nav-h) + 24px); }
.pp-article section + section { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.prose.pp-article h2 { display: flex; align-items: baseline; gap: 12px; margin: 1.6em 0 .6em; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); color: var(--text); }
.pp-article h2 .pp-n {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  color: var(--accent-text);
  flex-shrink: 0;
}
.prose.pp-article h3 { font-size: 1.08rem; color: var(--text); }
.pp-article strong { color: var(--text); font-weight: 600; }
.pp-article code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: .85em;
  color: var(--text);
  direction: ltr;
  unicode-bidi: isolate;
}
.pp-article address {
  font-style: normal;
  margin-top: 1em;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  line-height: 1.75;
  color: var(--text);
}
.pp-update {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--text);
  font-size: .95rem;
}
.pp-update .i { width: 20px; height: 20px; margin-top: 3px; color: var(--accent-ink); flex-shrink: 0; }
.pp-update p + p { margin-top: .4em; }
.pp-update strong { color: var(--accent-ink); }
.pp-dates { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-muted); }
.pp-dates strong { color: var(--text); }

/* ---------------------------------------------------------------------
   05 · 404
   --------------------------------------------------------------------- */
.nf-hero { min-height: min(calc(100vh - var(--nav-h) - 120px), 820px); display: grid; align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.nf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 960px) { .nf-grid { grid-template-columns: 1fr; } .nf-hero { min-height: 0; } }
.nf-code {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(5.5rem, 3rem + 11vw, 11rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.06em;
  direction: ltr;
  text-align: start;
  margin-bottom: 18px;
}
html[lang="ar"] .nf-code { letter-spacing: -0.06em !important; text-align: right; }
.nf-copy h1 { margin-bottom: 18px; }
.nf-copy .lead { max-width: 560px; }
.nf-copy .hero-actions { justify-content: flex-start; margin-top: 30px; }

.nf-console { max-width: 520px; width: 100%; margin-inline: auto; }
.nf-console .mock-main { padding: 18px; display: grid; gap: 12px; }
.nf-console .code { font-size: 12px; padding: 14px 16px; }
.nf-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed var(--border-strong);
  font-size: 12px;
  color: var(--text-muted);
}
.nf-result b { color: var(--warning); font-family: var(--font-mono); font-weight: 600; direction: ltr; }
.nf-suggest { display: grid; gap: 6px; }
.nf-suggest > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12px;
}
.nf-suggest .i { width: 14px; height: 14px; color: var(--accent-text); }
.nf-suggest em { margin-inline-start: auto; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); direction: ltr; }

.nf-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1024px) { .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .nf-links { grid-template-columns: 1fr; } }
.nf-links .card { padding: 22px; }
.nf-links .card-icon { margin-bottom: 14px; }
.nf-links h3 { font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nf-links h3 .i { width: 16px; height: 16px; color: var(--text-muted); transition: transform .2s var(--ease-out), color .2s; }
.nf-links .card:hover h3 .i { color: var(--accent-text); }
.nf-links p { font-size: .9rem; }
.nf-links a::after { content: ""; position: absolute; inset: 0; }

/* list resets for ordered step lists */
.ct-next, .ct-panel .timeline { list-style: none; padding-block: 0; }
.ct-next { padding-inline: 0; }

/* Channels: one per row, icon at the start (keeps long email on one line) */
.ct-channels { grid-template-columns: 1fr; gap: 12px; }
.ct-channel {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon label" "icon value" "icon note";
  column-gap: 16px;
  row-gap: 2px;
  align-items: center;
  padding-block: 18px;
  padding-inline: 18px 52px;
}
.ct-channel-icon { grid-area: icon; margin: 0; width: 46px; height: 46px; border-radius: 13px; align-self: center; }
.ct-channel-icon .i { width: 20px; height: 20px; }
.ct-channel-label { grid-area: label; }
.ct-channel-value { grid-area: value; font-size: 1.06rem; }
.ct-channel-note { grid-area: note; }
.ct-channel .ct-go { top: 50%; margin-top: -8px; }
/* Primary channel (email is the single direct channel): full-width, accent hairline */
.ct-channel-primary {
  padding-block: 22px;
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(120deg, var(--accent-border), var(--border) 45%, color-mix(in oklab, var(--cyan) 40%, transparent)) border-box;
}
.ct-channel-primary:hover { border-color: transparent; }
.ct-channel-primary .ct-channel-icon { width: 52px; height: 52px; border-radius: 15px; background: var(--accent); color: var(--accent-contrast); box-shadow: 0 10px 24px -10px var(--accent-glow); }
.ct-channel-primary .ct-channel-value { font-size: clamp(1.06rem, 1rem + .4vw, 1.25rem); letter-spacing: -0.01em; }
.ct-channel-primary .ct-go { width: 18px; height: 18px; margin-top: -9px; color: var(--accent-text); }
.ct-channel:hover .ct-go { transform: translate(calc(2px * var(--dir)), -2px) scaleX(var(--dir)); }

/* Office footer: maps link + local time */
.ct-office h3 { white-space: nowrap; }
.ct-office-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; padding-top: 4px; }
.ct-office-foot .link-arrow { margin-top: 0; }
.ct-channel-value { justify-self: start; }
.ct-panel .timeline[role="list"] { padding-inline-start: 36px; }

@media (max-width: 480px) {
  .ct-build { gap: 6px; }
  .ct-build li { padding: 5px 10px; font-size: .8rem; gap: 6px; }
  html[lang="ar"] .ct-build li { font-size: .86rem; }
  .ct-build li .i { width: 13px; height: 13px; }
  .ct-build li.ct-build-label { display: none; }
  .ct-channel { padding: 16px; column-gap: 14px; }
  .ct-channel .ct-go { display: none; }
  .ct-channel-icon { width: 40px; height: 40px; }
  .ct-channel-value { font-size: 1rem; }
  /* stack the primary card so the email address keeps one line at 375px */
  .ct-channel-primary { grid-template-columns: minmax(0, 1fr); grid-template-areas: "icon" "label" "value" "note"; }
  .ct-channel-primary .ct-channel-icon { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 10px; }
  .ct-channel-primary .ct-channel-value { font-size: 1.02rem; overflow-wrap: normal; }
}

.ct-done .hero-meta > span { flex-wrap: wrap; justify-content: center; text-align: center; }
.ct-done .hero-meta a { white-space: nowrap; color: var(--accent-text); font-weight: 600; }
.ct-done .hero-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
html[lang="ar"] .nf-copy .h1 { font-size: clamp(2rem, 1rem + 3vw, 3.3rem); }

/* Form head: let the title block take the row; small-screen interest box */
.ct-form-head > div { flex: 1 1 280px; min-width: 0; }
@media (max-width: 480px) {
  .ct-interest { padding: 12px; margin-inline: -12px; }
}
