/* Staffkin styles — shared by the website, the app and the public forms */
:root {
  --indigo: #2E2A6B;
  --indigo-2: #3A3584;
  --peri: #7B8CF5;
  --peri-soft: #E3E7FE;
  --mist: #EEF0FD;
  --paper: #F5F6FC;
  --white: #FFFFFF;
  --ink: #23213F;
  --muted: #5F5C85;
  --faint: #8C89B0;
  --line: #E1E3F2;
  --line-2: #CDD1EA;
  --good: #1D6F4C; --good-bg: #E1F3EA;
  --warn: #8F4410; --warn-bg: #FCEBDD;
  --bad: #A8261B;  --bad-bg: #FDECEA;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(35, 33, 63, .06), 0 4px 16px rgba(35, 33, 63, .05);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--indigo-2); text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; color: var(--indigo); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); letter-spacing: -.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--peri); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--indigo); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--peri); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 500; font-size: .98rem; line-height: 1; padding: 12px 18px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--white); color: var(--indigo); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; min-height: 44px; }
.btn:hover { background: var(--paper); color: var(--indigo); border-color: var(--peri); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-2); border-color: var(--indigo-2); color: #fff; }
.btn-soft { background: var(--peri-soft); border-color: transparent; }
.btn-soft:hover { background: #D4DAFD; border-color: transparent; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--mist); border-color: transparent; }
.btn-danger { color: var(--bad); }
.btn-danger:hover { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }
.btn-lg { padding: 15px 24px; font-size: 1.05rem; min-height: 52px; }
.btn-sm { padding: 8px 12px; font-size: .88rem; min-height: 36px; border-radius: 8px; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.ico { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.badge .ico { width: 13px; height: 13px; vertical-align: -2px; }
.btn .ico { width: 18px; height: 18px; flex: none; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--indigo); font-weight: 500; font-size: 1.45rem; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; }
.logo:hover { color: var(--indigo); }

/* Site header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .96rem; padding: 8px 10px; white-space: nowrap; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mist); color: var(--indigo); }
.header-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--indigo); }
.mobile-nav { display: none; }
@media (max-width: 1120px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav.open { display: block; border-top: 1px solid var(--line); padding: 8px 20px 18px; background: #fff; }
  .mobile-nav a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { width: 100%; margin-top: 12px; }
}

/* Sections */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-paper { background: var(--paper); }
.bg-indigo { background: var(--indigo); color: #E9EAFB; }
.bg-indigo h2, .bg-indigo h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { section { padding: 60px 0; } }

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--peri); }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Home hero backdrop: faded photo on the left edge, big rings peeking from the right edge behind the preview */
.hero-home { position: relative; isolation: isolate; }
.hero-home > .wrap { position: relative; z-index: 1; }
.hero-rings { position: absolute; z-index: 0; right: -400px; top: 50%; width: 1000px; height: auto; transform: translateY(-50%); opacity: .2; pointer-events: none; } /* 60% shows, 40% past the right edge */
.hero-photo { position: absolute; z-index: 0; top: 0; left: 0; bottom: 0; width: 50%; opacity: .3; pointer-events: none;
  background: url("https://images.unsplash.com/photo-1579389248774-07907f421a6b?auto=format&fit=crop&w=1400&q=70") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.55) 30%, transparent 75%); mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.55) 30%, transparent 75%); }
.hero-home .lead { color: var(--ink); }
.hero-home .hero-note { color: var(--ink); opacity: .8; }
@media (max-width: 960px) {
  .hero-rings { width: 640px; right: -256px; top: auto; bottom: 40px; transform: none; }
  .hero-photo { width: 100%; top: 0; bottom: auto; height: 45%; -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 100%); mask-image: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 100%); }
}

/* Product preview (pure HTML so it stays sharp) */
.preview { position: relative; padding-bottom: 205px; }
.pv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 50px -20px rgba(46,42,107,.28), var(--shadow); padding: 20px; }
.pv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pv-title { font-weight: 600; color: var(--indigo); }
.pv-q { font-weight: 500; margin: 6px 0 10px; line-height: 1.4; }
.pv-tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--peri); }
.pv-anchors { background: var(--mist); border-radius: 10px; padding: 10px 12px; font-size: .84rem; display: grid; gap: 4px; }
.pv-anchors b { color: var(--indigo); font-weight: 600; display: inline-block; width: 62px; }
.pv-scores { display: flex; gap: 8px; margin-top: 12px; }
.pv-scores span { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: .9rem; color: var(--muted); }
.pv-scores span.on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.pv-float { position: absolute; right: -16px; bottom: 0; width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px -18px rgba(46,42,107,.35); padding: 14px; font-size: .88rem; }
.pv-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.pv-row:last-child { border-bottom: 0; }
.pv-av { width: 30px; height: 30px; border-radius: 50%; background: var(--peri-soft); color: var(--indigo); display: grid; place-items: center; font-weight: 600; font-size: .78rem; flex: none; }
.pv-row .n { flex: 1; min-width: 0; }
.pv-row .s { font-weight: 600; color: var(--indigo); }
@media (max-width: 600px) { .preview { padding-bottom: 0; } .pv-float { position: static; width: auto; margin-top: 14px; } }
@media (min-width: 961px) { .hero-grid { align-items: start; } .hero-grid > div:first-child { padding-top: 20px; } }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .ico-wrap { width: 44px; height: 44px; border-radius: 12px; background: var(--peri-soft); color: var(--indigo); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico-wrap svg { width: 22px; height: 22px; }
.steps { counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-check li { position: relative; padding-left: 30px; }
.list-check li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--peri-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232E2A6B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.list-x li::before { background: var(--bad-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23A8261B' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Pricing */
.billing-toggle { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 32px; }
.billing-toggle button { border: 0; background: transparent; font: inherit; font-size: .95rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--indigo); font-weight: 500; box-shadow: var(--shadow); }
.billing-toggle .save { color: var(--good); font-weight: 600; font-size: .8rem; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; }
.plan.featured { border: 2px solid var(--indigo); box-shadow: 0 18px 40px -22px rgba(46,42,107,.45); }
.plan .ribbon { position: absolute; top: -13px; left: 22px; background: var(--indigo); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; margin-bottom: 4px; }
.plan .for { color: var(--muted); font-size: .92rem; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 2px; }
.price .amt { font-size: 2.5rem; font-weight: 600; color: var(--indigo); letter-spacing: -.03em; line-height: 1; }
.price .per { color: var(--muted); font-size: .92rem; }
.price-note { font-size: .82rem; color: var(--muted); min-height: 1.4em; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; font-size: .94rem; }
.plan li { position: relative; padding-left: 24px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237B8CF5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 3.8L16 6'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan li.no { color: var(--faint); }
.plan li.no::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23B9B7D3' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 10h10'/%3E%3C/svg%3E"); }
.plan .btn { width: 100%; margin-top: auto; }
.plan .plan-body { flex: 1; margin-bottom: 22px; }
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .addons { grid-template-columns: 1fr; } }
.addon { border: 1px dashed var(--line-2); border-radius: var(--radius-lg); padding: 22px; background: #fff; }
.addon .amt { font-size: 1.6rem; font-weight: 600; color: var(--indigo); }

table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
table.compare th:first-child, table.compare td:first-child { text-align: left; }
table.compare thead th { background: var(--mist); color: var(--indigo); font-weight: 600; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* Integrations */
.logos-text { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--ink); }
.bg-indigo .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; color: var(--indigo); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--peri); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Articles (SEO pages) */
.article { padding: 56px 0 80px; }
.article h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
.article h2 { font-size: 1.55rem; margin-top: 1.9em; }
.article h3 { font-size: 1.12rem; margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .45em; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.qcard { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 14px 0; background: #fff; }
.qcard .q { font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.qcard .probe { color: var(--muted); font-size: .92rem; font-style: italic; margin-bottom: 10px; }
.qcard .anch { display: grid; gap: 3px; background: var(--mist); border-radius: 10px; padding: 10px 12px; font-size: .88rem; }
.qcard .anch b { color: var(--indigo); font-weight: 600; display: inline-block; min-width: 64px; }
.qcard .tag { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--peri); }
.callout { background: var(--mist); border-radius: var(--radius-lg); padding: 22px 24px; margin: 26px 0; }
.callout h3 { margin-top: 0; }
.cta-box { background: var(--indigo); color: #E6E7FA; border-radius: var(--radius-lg); padding: 30px; margin: 40px 0 0; }
.cta-box h2, .cta-box h3 { color: #fff; margin-top: 0; }
.cta-box .btn { background: #fff; color: var(--indigo); border-color: #fff; }
.cta-box .btn:hover { background: var(--peri-soft); }
.role-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .role-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .role-list { grid-template-columns: 1fr; } }
.role-list a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff; }
.role-list a:hover { border-color: var(--peri); background: var(--paper); }
.role-list a span { display: block; font-size: .85rem; color: var(--muted); }
.toc { font-size: .95rem; background: var(--paper); border-radius: 12px; padding: 16px 20px; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--indigo); text-decoration: underline; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: .86rem; }

/* ---------- Forms (app + public forms) ---------- */
label.field, .field { display: block; margin-bottom: 16px; }
.field > span, .label { display: block; font-size: .9rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field .hint { display: block; font-size: .82rem; color: var(--muted); margin-top: 5px; font-weight: 400; }
input:not([type]), input[type=text], input[type=search], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=number], input[type=url], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; min-height: 46px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--peri); box-shadow: 0 0 0 3px rgba(123,140,245,.25); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
.err { color: var(--bad); font-size: .88rem; margin-top: 6px; }
.form-error { background: var(--bad-bg); color: var(--bad); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: .95rem; }
.form-ok { background: var(--good-bg); color: var(--good); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: .95rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; cursor: pointer; background: #fff; min-height: 44px; }
.choice-row input { accent-color: var(--indigo); width: 18px; height: 18px; margin: 0; }
.choice-row label:has(input:checked) { border-color: var(--indigo); background: var(--mist); color: var(--indigo); font-weight: 500; }
.score-row { display: flex; gap: 8px; flex-wrap: wrap; }
.score-row label { position: relative; }
.score-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.score-row span { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-weight: 500; color: var(--muted); background: #fff; cursor: pointer; transition: all .12s; }
.score-row input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.score-row input:focus-visible + span { box-shadow: 0 0 0 3px rgba(123,140,245,.45); }

/* Public form pages */
.form-page { background: var(--paper); min-height: 100vh; padding: 28px 16px 60px; }
.form-shell { max-width: 680px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
@media (max-width: 520px) { .form-card { padding: 20px 16px; } }
.form-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 600; color: var(--muted); }
.form-brand img { max-height: 44px; max-width: 180px; }
.made-full { margin-top: 18px; background: var(--indigo); color: #fff; border-radius: 12px; padding: 14px 16px; font-size: .9rem; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.made-full a { color: #fff; font-weight: 600; }
.made-small { margin-top: 18px; text-align: center; font-size: .78rem; color: var(--faint); }
.made-small a { color: var(--faint); }
.q-block { padding: 18px 0; border-top: 1px solid var(--line); }
.q-block:first-of-type { border-top: 0; }
.q-block .qt { font-weight: 500; margin-bottom: 10px; }
.consent-box { background: var(--mist); border-radius: 12px; padding: 16px; margin: 18px 0; font-size: .95rem; }

.spinner { width: 22px; height: 22px; border: 3px solid var(--peri-soft); border-top-color: var(--indigo); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Job description and template documents */
.ph { background: #FFF3B0; color: #5A4A00; border-radius: 4px; padding: 0 3px; font-size: .92em; white-space: nowrap; }
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 22px; }
.doc { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px 28px 24px; background: #fff; margin: 26px 0; }
.doc h2 { font-size: 1.3rem; margin-top: 1.6em; }
.doc h3 { font-size: 1.05rem; }
.doc p, .doc li { font-size: .98rem; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.doc blockquote.callout { margin: 18px 0; padding: 14px 18px; font-size: .95rem; }
.doc blockquote.callout p { margin: .3em 0; }
.table-wrap { overflow-x: auto; margin: 14px 0 20px; border: 1px solid var(--line); border-radius: 10px; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--paper); color: var(--indigo); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }
.callout.warn { background: #FFF6E0; border: 1px solid #F3D48A; }
.src-list li { font-size: .95rem; }
@media (max-width: 600px) { .doc { padding: 4px 16px 18px; } }
@media print {
  .site-header, .site-footer, .crumbs, .doc-actions, .callout, .cta-box, .role-list, .faq, .article > .narrow > h2, .lead, .src-list, .skip { display: none !important; }
  .doc { border: 0; padding: 0; margin: 0; }
  .ph { background: none; border-bottom: 1px dotted #999; }
}
.doc pre { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: .8rem; line-height: 1.45; }
.doc pre .ph { white-space: pre; }
.table-wrap .ph { white-space: normal; overflow-wrap: anywhere; }
