/* DOCUGULF, the company setup calculator page. Site tokens only, so it follows the
   light/dark switch like every other page. Markup is drawn by assets/js/dg-calc.js. */

.calc-hero{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,520px); gap:56px; align-items:start; padding:34px 0 72px; }
.calc-pill{ display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:999px;
  background:var(--mist-2); border:1px solid var(--line); color:var(--brand-ink); font-size:13px; font-weight:700; margin:0 0 18px; }
.calc-pill::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--gold); }
.calc-hero h1{ font-size:clamp(32px,4.6vw,48px); font-weight:800; line-height:1.1; margin:0 0 18px; }
.calc-hero h1 em{ font-style:normal; color:var(--gold-ink); }
.calc-hero .lede{ font-size:17px; color:var(--ink-2); margin:0 0 24px; max-width:520px; }
.calc-ticks{ list-style:none; margin:0 0 30px; padding:0; display:grid; gap:12px; }
.calc-ticks li{ display:flex; gap:12px; align-items:flex-start; font-size:15.5px; color:var(--ink); }
.calc-ticks svg{ flex:none; width:22px; height:22px; color:var(--ok); margin-top:1px; }
.calc-next-steps{ background:var(--mist-2); border:1px solid var(--line); border-radius:16px; padding:20px 22px; max-width:520px; }
.calc-next-steps h2{ font-size:15px; font-weight:800; margin:0 0 12px; }
.calc-next-steps ol{ margin:0; padding:0; list-style:none; counter-reset:s; display:grid; gap:10px; }
.calc-next-steps li{ counter-increment:s; display:flex; gap:12px; font-size:14.5px; color:var(--ink-2); }
.calc-next-steps li::before{ content:counter(s); flex:none; width:24px; height:24px; border-radius:50%; display:grid; place-items:center;
  background:var(--paper); border:1px solid var(--line); color:var(--brand-ink); font-weight:800; font-size:12.5px; }
.calc-alt{ margin:18px 0 0; font-size:14px; color:var(--muted); }
.calc-alt a{ color:var(--teal); font-weight:600; text-decoration:underline; text-underline-offset:3px; }

.calc-card{ background:var(--paper); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); padding:28px; min-height:420px; }
.calc-trust{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px 20px; margin:16px 0 0; padding:0; list-style:none; font-size:13px; color:var(--muted); }
.calc-trust li{ display:flex; align-items:center; gap:6px; }
.calc-trust svg{ width:15px; height:15px; }

.calc-bar{ display:grid; grid-auto-flow:column; grid-auto-columns:1fr; gap:5px; }
.calc-bar span{ height:5px; border-radius:99px; background:var(--line); transition:background .2s; }
.calc-bar span.on{ background:linear-gradient(90deg,var(--petrol),var(--teal)); }
.calc-bar.done span.on{ background:var(--ok); }
.calc-meta{ display:flex; justify-content:space-between; font-size:12.5px; color:var(--muted); margin:10px 0 18px; font-weight:600; }
.calc-meta span:last-child{ text-transform:uppercase; letter-spacing:1.5px; color:var(--gold-ink); font-weight:800; }
.calc-title{ font-size:22px; font-weight:800; margin:0 0 6px; outline:none; }
.calc-help{ font-size:14.5px; color:var(--muted); margin:0 0 6px; }
.calc-body{ margin-top:18px; display:grid; gap:22px; }

.cq-label{ display:block; font-size:14px; font-weight:700; color:var(--ink); margin:0 0 10px; }
.cq-err{ font-size:13px; color:var(--warn); margin:6px 0 0; min-height:0; }
.cq-err:empty{ display:none; }

.cq-opt{ font-family:var(--font-body); font-size:15px; color:var(--ink); background:var(--paper); cursor:pointer;
  border:1.5px solid var(--line); border-radius:12px; text-align:left; transition:border-color .12s, background .12s, box-shadow .12s; }
.cq-opt:hover{ border-color:var(--teal); }
.cq-opt:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(22,117,202,.18); border-color:var(--teal); }
.cq-opt[aria-checked=true]{ border-color:var(--teal); background:rgba(22,117,202,.07); color:var(--brand-ink); font-weight:700; }
.cq.bad .cq-opt{ border-color:rgba(192,101,59,.55); }

.cq-cards{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.cq-cards .cq-opt{ padding:13px 14px; display:flex; flex-direction:column; gap:3px; }
.cq-cards .cq-main{ font-weight:700; font-size:14.5px; }
.cq-hint{ font-size:12.5px; font-weight:400; color:var(--muted); line-height:1.35; }
.cq-rows{ display:grid; gap:8px; }
.cq-rows .cq-opt{ padding:12px 16px; }
.cq-pills{ display:flex; flex-wrap:wrap; gap:6px; }
.cq-pills .cq-opt{ padding:9px 13px; min-width:44px; font-size:14.5px; text-align:center; border-radius:999px; font-weight:600; }
.cq-two{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.cq-two .cq-opt{ padding:12px; text-align:center; font-weight:600; }

.cq-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.cq-input, .calc-card input[type=text], .calc-card input[type=email], .calc-card input[type=tel]{
  width:100%; box-sizing:border-box; padding:13px 15px; font-size:15.5px; font-family:var(--font-body);
  color:var(--ink); background:var(--paper); border:1.5px solid var(--line); border-radius:12px; }
.calc-card input:focus{ outline:none; border-color:var(--teal); box-shadow:0 0 0 3px rgba(22,117,202,.14); }
.cq.bad input{ border-color:rgba(192,101,59,.7); }
.cq-field .cq-label, .calc-body.contact .cq-label{ font-size:12.5px; text-transform:uppercase; letter-spacing:1px; color:var(--muted); margin-bottom:7px; }
.cq-consent{ display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:var(--muted); cursor:pointer; }
.cq-consent input{ margin-top:3px; width:16px; height:16px; flex:none; accent-color:var(--petrol); }

.calc-err{ color:var(--warn); font-size:14px; margin:14px 0 0; }
.calc-err:empty{ display:none; }
.calc-err a{ color:inherit; font-weight:700; text-decoration:underline; }
.calc-nav{ display:flex; gap:10px; margin-top:24px; }
.calc-nav.center{ justify-content:center; flex-wrap:wrap; }
.calc-nav .btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.calc-nav svg{ width:17px; height:17px; }
.calc-next{ flex:1; background:var(--btn-primary); color:var(--on-primary); border:0; box-shadow:0 8px 20px rgba(0,40,98,.24); }
.calc-next:disabled{ opacity:.7; cursor:progress; }
.calc-back{ flex:none; }
.calc-fine{ font-size:12.5px; color:var(--muted); text-align:center; margin:14px 0 0; }
.calc-fine a{ color:var(--teal); text-decoration:underline; }
.calc-done{ text-align:center; padding:18px 0 6px; }
.calc-done .calc-help{ max-width:420px; margin:0 auto 10px; }
.calc-tick{ width:60px; height:60px; border-radius:50%; background:rgba(63,191,106,.14); color:var(--ok); display:grid; place-items:center; margin:12px auto 16px; }
.calc-tick svg{ width:30px; height:30px; }

/* ---------- after the order: the booking screen ----------
   Left: the personal note, the adviser card and what the call covers. Right: the
   Calendly booking. Grid areas so a phone gets the booking straight after the
   adviser card rather than below both info cards. */
.calc-hero.calc-booked{ grid-template-columns:minmax(0,1fr) minmax(0,480px); gap:22px 48px;
  grid-template-areas:"head book" "adviser book" "cards book"; align-items:start; }
.cb-head{ grid-area:head; }
.cb-adviser{ grid-area:adviser; }
.cb-cards{ grid-area:cards; }
.cb-book{ grid-area:book; position:sticky; top:96px; }
.cb-head h1{ font-size:clamp(30px,4vw,44px); font-weight:800; line-height:1.12; margin:0 0 14px; outline:none; }
.cb-head h1 em{ font-style:normal; color:var(--gold-ink); }
.cb-head .lede{ font-size:17px; color:var(--ink-2); margin:0; max-width:560px; }

.cb-adviser{ background:var(--paper); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); padding:24px; }
.cb-who{ display:flex; align-items:center; gap:14px; margin:0 0 16px; }
.cb-mark{ flex:none; width:48px; height:48px; border-radius:14px; display:grid; place-items:center;
  background:var(--mist-2); border:1px solid var(--line); color:var(--brand-ink); }
.cb-mark svg{ width:24px; height:24px; }
.cb-name{ margin:0; font-weight:800; font-size:17px; color:var(--ink); }
.cb-role{ margin:2px 0 0; font-size:14px; color:var(--muted); }
.cb-quote{ margin:0 0 16px; padding:14px 16px; border-radius:14px; background:var(--mist-2);
  border:1px solid var(--line); border-left:3px solid var(--gold); font-size:15px; line-height:1.55; color:var(--ink-2); font-style:italic; }
.cb-actions{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.cb-actions .btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 14px; font-size:14.5px; }
.cb-actions svg{ width:17px; height:17px; flex:none; }
.cb-mail{ display:flex; align-items:center; justify-content:center; gap:6px; margin:14px 0 0; font-size:13.5px; color:var(--muted); }
.cb-mail svg{ width:15px; height:15px; }
.cb-mail a{ color:var(--teal); }

.cb-cards{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.cb-card{ background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:20px; }
.cb-card h2{ display:flex; align-items:center; gap:8px; font-size:16px; font-weight:800; margin:0 0 14px; }
.cb-card h2 svg{ width:19px; height:19px; color:var(--gold-ink); flex:none; }
.cb-list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.cb-list li{ position:relative; padding-left:22px; font-size:14px; line-height:1.45; color:var(--ink-2); }
.cb-list li::before{ content:""; position:absolute; left:2px; top:6px; width:9px; height:9px; border-radius:50%;
  background:var(--ok); box-shadow:0 0 0 3px rgba(63,191,106,.16); }
.cb-steps{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.cb-steps li{ position:relative; padding-left:22px; font-size:14px; line-height:1.45; }
.cb-steps li::before{ content:""; position:absolute; left:2px; top:6px; width:9px; height:9px; border-radius:50%; background:var(--gold); }
.cb-steps li:nth-child(2)::before{ background:var(--teal); }
.cb-steps li:nth-child(3)::before{ background:var(--ok); }
.cb-steps b{ display:block; color:var(--ink); font-size:14.5px; }
.cb-steps span{ color:var(--muted); }

.cb-tip{ display:flex; gap:10px; align-items:flex-start; margin:0 0 14px; padding:13px 16px; border-radius:14px;
  background:rgba(201,151,47,.10); border:1px solid rgba(201,151,47,.35); font-size:14px; line-height:1.5; color:var(--ink-2); }
.cb-tip svg{ width:18px; height:18px; flex:none; color:var(--gold-ink); margin-top:2px; }
.cb-tip b{ color:var(--ink); }
.cb-frame{ background:var(--paper); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); overflow:hidden; }
.cb-frame-h{ display:flex; align-items:center; justify-content:center; gap:8px; margin:0; padding:14px;
  background:var(--mist-2); border-bottom:1px solid var(--line); font-size:13px; font-weight:800;
  text-transform:uppercase; letter-spacing:1.4px; color:var(--brand-ink); }
.cb-frame-h svg{ width:17px; height:17px; }
/* Calendly's own page is white whatever our theme says, so the frame sits on white. */
.cb-frame iframe{ display:block; width:100%; height:720px; border:0; background:#fff; }
.cb-fall{ margin:10px 0 0; text-align:center; font-size:13px; color:var(--muted); }
.cb-fall a{ color:var(--teal); text-decoration:underline; text-underline-offset:3px; }

@media (max-width:980px){
  .calc-hero.calc-booked{ grid-template-columns:1fr; grid-template-areas:"head" "adviser" "book" "cards"; }
  .cb-book{ position:static; }
}
@media (max-width:620px){
  .cb-cards, .cb-actions{ grid-template-columns:1fr; }
  .cb-frame iframe{ height:760px; }
}

@media (max-width:980px){
  .calc-hero{ grid-template-columns:1fr; gap:30px; padding-bottom:48px; }
  .calc-next-steps{ display:none; }
}
@media (max-width:520px){
  .calc-card{ padding:20px 16px; border-radius:16px; }
  .cq-cards, .cq-row{ grid-template-columns:1fr; }
  .calc-hero .lede{ font-size:16px; }
}
