/* WFO's shared public and workspace layout. */
/* One content edge for every public page: the header, each section, the hero, the bands and
   the footer all line up on --edge, so nothing starts at a different left margin. */
:root { --ink:#172e29; --muted:#667873; --paper:#fff; --line:#e0e8e3; --accent:#17654e; --tint:#edf5ee; --deep:#103c32; --lime:#d9e6b9; --page:1200px; --gutter:clamp(16px,4vw,40px); --edge:max(var(--gutter),calc((100vw - var(--page)) / 2)); font-family:'DM Sans',sans-serif; }
body { background:#fff; }
#header { height:72px; padding:0 var(--edge); gap:24px; position:relative; z-index:5; }
.brand { gap:10px; font-size:19px; letter-spacing:-.6px; line-height:1; color:var(--ink); }
.brand:hover { text-decoration:none; }
.brand-mark { width:34px; height:34px; }
.brand b { font-weight:500; }
.nav { gap:26px; font-size:14px; }
.nav a:not(.button) { color:#3f524c; }
.nav a[aria-current="page"] { color:var(--accent); }
.menu-toggle { display:none; }
button,a.button { border-radius:24px; padding:12px 21px; }
.nav .button,.nav button { padding:10px 18px; }
h1,h2,h3 { font-family:'Manrope',sans-serif; letter-spacing:-1.3px; }
h2 { font-size:clamp(28px,3vw,36px); }
h3 { letter-spacing:-.5px; }
.section { max-width:none; padding:64px var(--edge); }
.section-top { align-items:flex-end; margin-bottom:28px; }
.section-top h2 { margin:0; }
.section-top>a { font-weight:600; color:var(--accent); white-space:nowrap; }
.section-top .muted { margin-top:10px; }
.eyebrow { font-size:11px; letter-spacing:1.6px; margin-bottom:18px; }
.notice { border-left:0; border-radius:12px; }
.home-hero { margin:24px var(--edge) 0; display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:24px; border-radius:24px; background:var(--deep); color:#fff; }
.hero-copy { padding:64px 0 64px 56px; position:relative; z-index:1; }
.hero-copy .eyebrow { color:#b9d5c6; }
.hero-copy .dot { background:#d5e8b3; }
.hero-copy h1 { font-size:clamp(40px,4.4vw,62px); line-height:1.06; letter-spacing:-2.6px; max-width:640px; margin:22px 0; }
.hero-copy h1 em { color:var(--lime); font-style:normal; }
.hero-copy>p { color:#c7d7ce; max-width:540px; font-size:16px; line-height:1.75; margin-bottom:32px; }
.hero-mode { display:inline-flex; background:#082d25; border:1px solid #527268; padding:4px; border-radius:30px; margin-bottom:16px; }
.hero-mode button { padding:9px 22px; font-size:13px; background:transparent; color:#c7d7ce; }
.hero-mode button[aria-pressed="true"] { background:var(--lime); color:#143b2e; }
.hero-copy .searchbar { width:100%; max-width:600px; padding:6px; border:0; border-radius:32px; gap:4px; flex-direction:row; }
.hero-copy .searchbar input { min-width:0; padding-left:18px; font-size:15px; color:var(--ink); }
.hero-copy .searchbar button { border-radius:26px; font-size:14px; }
.hero-popular { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:22px; font-size:13px; }
.hero-popular>span { width:100%; color:#a8c3b5; margin-bottom:2px; }
.hero-popular a { border:1px solid #5d796d; color:#e7eee9; padding:8px 14px; border-radius:24px; }
.hero-popular a:hover { background:#1b4d40; text-decoration:none; }
/* A small, honest picture of the product: a profile, its assessment and where an application is up to. */
.hero-preview { align-self:center; margin:28px 28px 28px 0; padding:28px; border-radius:20px; background:var(--lime); color:var(--ink); display:grid; gap:14px; }
.pv-card { background:#fffef8; border-radius:14px; padding:18px; box-shadow:0 1px 2px #103c3214,0 8px 24px #103c3212; }
.pv-person { display:flex; align-items:center; gap:12px; }
.pv-person .avatar { width:44px; height:44px; font-size:13px; background:#e3eedb; }
.pv-person strong { display:block; font:700 15px 'Manrope',sans-serif; letter-spacing:-.3px; }
.pv-person small { display:block; color:var(--muted); font-size:12px; margin-top:3px; }
.pv-tags { display:flex; flex-wrap:wrap; gap:6px; margin:14px 0 16px; }
.pv-tags span { font-size:11px; padding:5px 10px; border-radius:20px; background:#f0f5ec; color:#3e5a4b; }
.pv-score { display:grid; grid-template-columns:1fr auto; gap:8px; font-size:12px; color:var(--muted); }
.pv-score b { color:var(--ink); }
.pv-bar { grid-column:1/-1; height:6px; border-radius:6px; background:#e6eee3; overflow:hidden; }
.pv-bar i { display:block; height:100%; width:86%; background:var(--accent); border-radius:6px; }
.pv-label { font-size:12px; color:var(--muted); margin-bottom:12px; }
.pv-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; list-style:none; margin:0; padding:0; }
.pv-steps li { font-size:11px; text-align:center; padding:8px 4px; border-radius:8px; background:#f0f5ec; color:#5b6f66; }
.pv-steps .done { background:#dcebd8; color:#244b3b; }
.pv-steps .now { background:var(--accent); color:#fff; font-weight:600; }
.pv-message { display:flex; gap:10px; align-items:flex-start; font-size:13px; line-height:1.5; }
.pv-message .avatar { width:30px; height:30px; font-size:10px; background:#103c32; color:var(--lime); }
.pv-message small { display:block; color:var(--muted); font-size:11px; margin-bottom:2px; }
.home-opportunities .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.card { border-radius:16px; padding:26px; box-shadow:0 2px 4px #173b2e03; }
.job-card { gap:16px; min-height:238px; }
.job-card h3 { font-size:21px; line-height:1.4; }
.job-card .salary { justify-content:flex-start; gap:7px; font-size:16px; }
.company { font-size:12px; }
.avatar { border-radius:50%; background:#eef2e6; }
.chip { border-radius:20px; background:#f4f7f3; border:1px solid #e4ebe3; padding:6px 11px; font-size:11px; }
.badge { border-radius:6px; }
.discovery { padding-top:0; }
.discovery-intro { position:relative; text-align:center; padding:68px 20px 55px; margin-bottom:24px; background:radial-gradient(ellipse at center,#eff6eb 0,transparent 70%); }
.discovery-intro .eyebrow { justify-content:center; margin-bottom:18px; color:var(--accent); }
.discovery-intro h1 { font-size:clamp(36px,4vw,58px); max-width:850px; margin:0 auto 20px; line-height:1.1; letter-spacing:-2px; }
.discovery-intro p { font-size:16px; margin-bottom:22px; }
.discovery-note { display:inline-flex; align-items:center; gap:8px; border:1px solid #dce7d5; border-radius:24px; padding:9px 15px; font-size:11px; color:#45634e; background:#f9fbf5; }
.discovery .filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; gap:14px; margin:0 0 22px; }
.discovery-search { grid-column:1/-1; display:flex; align-items:center; border:1px solid #d5e0d7; border-radius:34px; padding:6px; gap:8px; margin-bottom:4px; background:#fff; }
.discovery-search>label { flex:1; min-width:0; font-size:0; gap:0; }
.discovery-search input { border:0; padding:12px 18px; border-radius:24px; background:transparent; font-size:14px; }
.discovery-search>button { flex-shrink:0; font-size:12px; }
.discovery .filters>label { font-size:11px; color:var(--muted); gap:7px; }
.discovery .filters>label input,.discovery .filters>label select { border-radius:24px; font-size:12px; padding:11px 14px; }
.discovery .advanced-filters { grid-column:1/-1; order:4; border-top:1px solid var(--line); padding-top:4px; }
.advanced-filters>summary { font-size:12px; color:var(--accent); }
.advanced-filters .form-grid { margin-top:15px; }
.browse-roles { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:34px; }
.browse-roles a { font-size:11px; border:1px solid var(--line); border-radius:24px; padding:9px 15px; }
.browse-roles a:hover,.browse-roles a[aria-current] { background:var(--tint); border-color:#92b4a1; text-decoration:none; }
.job-discovery>.grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.talent-discovery>.grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.talent-heading { display:flex; gap:12px; align-items:center; }
.talent-heading h3 { font-size:17px; margin:0 0 5px; letter-spacing:-.4px; }
.talent-heading small { color:var(--muted); font-size:11px; }
.talent-heading .avatar { width:46px; height:46px; font-size:13px; }
.talent-meta { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:25px 0 20px; }
.talent-meta dt { text-transform:uppercase; letter-spacing:.8px; font-size:9px; color:#718777; margin-bottom:7px; }
.talent-meta dd { margin:0; font-size:12px; }
.talent-headline { font-size:13px; line-height:1.7; }
.discovery>.help { max-width:900px; margin-bottom:30px; }
.workspace-page { background:#f6f8f7; }
.workspace-page #header { padding:0 28px; height:72px; }
.workspace { grid-template-columns:244px minmax(0,1fr); }
.workspace-menu { display:none; }
.sidebar { position:sticky; top:0; height:calc(100vh - 10px); overflow-y:auto; padding:22px 15px; scrollbar-width:thin; }
.workspace-identity { display:flex; align-items:center; gap:10px; padding:0 8px 20px; border-bottom:1px solid var(--line); }
.workspace-identity>div { min-width:0; }
.workspace-identity strong { font-size:12px; display:block; overflow-wrap:anywhere; }
.workspace-identity small { display:block; color:var(--muted); font-size:10px; margin-top:4px; }
.workspace-identity .avatar { width:34px; height:34px; font-size:10px; }
.sidebar .label { font-size:9px; letter-spacing:1.3px; margin:25px 12px 10px; }
.sidebar a { display:flex; align-items:center; gap:10px; padding:10px 12px; margin-bottom:3px; border-radius:7px; font-size:12px; line-height:1.4; color:#566a61; }
.sidebar a:hover { background:#f4f7f4; text-decoration:none; }
.sidebar a.active { background:#e8f1e6; color:#18583f; }
.sidebar-note { margin:26px 8px 0; padding:17px 12px; border-radius:12px; background:#f3f5e9; font-size:10px; color:#61715c; line-height:1.8; }
.organization-switch { margin:20px 8px 0; font-size:10px; }
.organization-switch select { font-size:12px; }
.workspace-content { padding:38px; max-width:1480px; width:100%; }
.workspace-content h1 { font-size:30px; letter-spacing:-1.2px; }
.workspace-content>.eyebrow { margin-bottom:12px; }
.workspace-content>.muted { font-size:14px; }
.workspace-content .stat-grid { gap:18px; }
.workspace-content .stat { font-size:12px; color:var(--muted); border-radius:12px; }
.workspace-content .stat strong { color:var(--ink); }
.workspace-content .card h3 { font-size:17px; }
.workspace-content .discovery-search { margin-top:12px; }
.workspace-content.talent-discovery>.grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
/* The app moves focus to each new page's heading for screen readers; that is not a control, so no
   focus ring (Safari drew a grey box around "Welcome in."). Links, buttons and fields keep theirs. */
[tabindex="-1"]:focus,main:focus { outline:none; }
[data-employer-fields] { border:0; padding:0; margin:0; min-width:0; }
label.check a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
/* Legal pages read at a comfortable measure, on the same left edge as everything else. */
.legal>* { max-width:760px; }
.legal h3 { margin-top:32px; }
/* The site footer: what the site is, where to go next, and the trademark notice. */
.site-footer { display:grid; grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(0,1fr)); gap:40px; padding:56px var(--edge) 0; margin-top:24px; border-top:1px solid var(--line); background:#f7f9f6; font-size:14px; color:var(--muted); }
.site-footer .brand { font-size:18px; }
.site-footer p { margin:16px 0 0; max-width:320px; line-height:1.6; }
.site-footer nav { display:flex; flex-direction:column; gap:12px; }
.site-footer h2 { font:600 13px 'DM Sans',sans-serif; letter-spacing:0; color:var(--ink); margin:4px 0 6px; }
.site-footer nav a { color:#4c5f58; }
.site-footer nav a:hover { color:var(--accent); }
/* The OnlyStack sites (SEO Wins #150): the same short list on every sister site. */
.site-footer .footer-network { grid-column:1/-1; display:flex; flex-direction:row; flex-wrap:wrap; gap:8px 20px; align-items:baseline; }
.site-footer .footer-network span { font-weight:600; color:var(--ink); }
.site-footer .footer-network a { color:#4c5f58; }
.site-footer .footer-network a:hover { color:var(--accent); }
.footer-base { grid-column:1/-1; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding:22px 0 28px; border-top:1px solid var(--line); font-size:12px; }
.workspace-page .site-footer { margin-top:0; }
@media(max-width:1100px){
 .hero-copy { padding:48px 0 48px 40px; }
 .hero-preview { margin:24px 24px 24px 0; padding:22px; }
 .nav { gap:18px; }
 .workspace-content { padding:28px; }
 .workspace-content .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:860px){
 #header { flex-wrap:wrap; height:auto; min-height:64px; padding-block:12px; gap:12px; }
 .workspace-page #header { padding:12px 16px; }
 .brand { font-size:17px; }
 .brand-mark { width:30px; height:30px; }
 .menu-toggle { display:inline-flex; margin-left:auto; padding:9px; border-radius:12px; background:#fff; color:var(--ink); border:1px solid var(--line); }
 .nav { display:none; width:100%; flex-direction:column; align-items:stretch; gap:0; padding:4px 0 8px; font-size:16px; }
 #header.menu-open .nav { display:flex; }
 .nav>a:not(.button) { padding:13px 2px; border-top:1px solid var(--line); }
 .nav .button,.nav button { margin-top:10px; padding:13px 18px; font-size:15px; }
 .home-hero { grid-template-columns:1fr; gap:0; border-radius:20px; margin-top:16px; }
 .hero-copy { padding:36px 24px 28px; }
 .hero-copy h1 { font-size:clamp(36px,9vw,52px); letter-spacing:-1.8px; }
 .hero-copy>p { font-size:15px; }
 .hero-preview { margin:0 16px 16px; padding:18px; }
 .section { padding-block:48px; }
 .discovery { padding-top:0; }
 .discovery-intro { padding:40px 0 32px; margin-bottom:14px; }
 .discovery-intro h1 { font-size:38px; letter-spacing:-1.5px; }
 .discovery-intro p { font-size:15px; }
 .discovery .filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .discovery-search input { font-size:14px; padding:12px; }
 .discovery-search button { font-size:13px; padding:12px 15px; }
 .job-discovery>.grid,.talent-discovery>.grid,.home-opportunities .grid { grid-template-columns:1fr; }
 .workspace { display:block; }
 .workspace-menu { display:flex; justify-content:space-between; width:calc(100% - 32px); margin:16px; border-radius:9px; font-size:13px; }
 .sidebar { display:none; position:static; height:auto; max-height:60vh; margin:0 16px; padding:16px; border:1px solid var(--line); border-radius:12px; }
 .workspace.nav-open .sidebar { display:block; }
 .sidebar .label { display:block; }
 .sidebar a { white-space:normal; }
 .workspace-content { padding:24px 20px; }
 .workspace-content h1 { font-size:29px; }
 .workspace-content .grid,.workspace-content.talent-discovery>.grid { grid-template-columns:1fr; }
 .section-top { flex-wrap:wrap; align-items:flex-end; }
 .site-footer { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 24px; padding-top:40px; }
 .footer-brand { grid-column:1/-1; }
}
@media(max-width:480px){
 .hero-copy { padding:32px 20px 24px; }
 .hero-copy .searchbar { flex-direction:column; border-radius:20px; }
 .hero-copy .searchbar input { padding:12px 14px; }
 .hero-copy .searchbar button { width:100%; }
 .hero-mode { display:flex; }
 .hero-mode button { flex:1; }
 .pv-steps li { font-size:10px; padding:7px 2px; }
 .pv-message { display:none; }
 .discovery-intro h1 { font-size:34px; }
 .discovery-note { font-size:11px; padding:9px 11px; }
 .browse-roles { gap:7px; }
 .browse-roles a { padding:8px 12px; font-size:12px; }
 .workspace-content .stat.card { padding:16px 12px; font-size:11px; }
 .footer-base { flex-direction:column; }
}

/* Home: product mock-ups. A white app window on a tinted stage, like a screenshot that moves. */
.mock-window { background:#fff; border-radius:16px; padding:18px; box-shadow:0 1px 2px #103c3214,0 18px 40px -12px #103c3229; font-size:14px; color:var(--ink); }
.mock-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:14px; margin-bottom:14px; border-bottom:1px solid var(--line); }
.mock-head small { color:var(--muted); font-size:12px; }
.mock-title { font:700 15px 'Manrope',sans-serif; letter-spacing:-.3px; }
.mock-field { display:grid; gap:4px; margin-bottom:12px; }
.mock-field small { color:var(--muted); font-size:12px; }
.mock-field b { font-weight:600; }
.mock-pair { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.mock-chips { display:flex; flex-wrap:wrap; gap:6px; margin:4px 0 14px; }
.mock-chips span { font-size:12px; padding:5px 10px; border-radius:20px; background:#f0f5ec; color:#3e5a4b; }
.mock-note { display:flex; align-items:center; gap:8px; font-size:12px; color:#3e5a4b; padding:10px 12px; border-radius:10px; background:var(--tint); }
.mock-note .icon { color:var(--accent); width:15px; height:15px; }
.mock-status { position:relative; display:inline-grid; font-size:12px; font-weight:600; }
.mock-status>span { grid-area:1/1; display:inline-flex; align-items:center; gap:5px; padding:5px 10px; border-radius:20px; justify-self:end; }
.st-review { background:#fff0d7; color:#865b10; }
.st-live { background:#dff3e7; color:#1d684a; }
.st-live .icon { width:13px; height:13px; }
.mock-pass { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:600; color:#1d684a; background:#dff3e7; padding:5px 10px; border-radius:20px; }
.mock-pass .icon { width:14px; height:14px; }
.mock-score { display:grid; grid-template-columns:1fr auto; gap:6px 12px; margin-bottom:14px; font-size:13px; color:var(--muted); }
.mock-score b { color:var(--ink); }
.mock-bar { grid-column:1/-1; height:7px; border-radius:7px; background:#e9efe6; overflow:hidden; }
.mock-bar i { display:block; height:100%; width:100%; border-radius:7px; background:var(--accent); transform-origin:left; transform:scaleX(var(--w,1)); }
.mock-chat { display:grid; gap:10px; }
.msg { margin:0; padding:10px 13px; border-radius:14px; max-width:85%; line-height:1.45; font-size:13px; }
.msg.them { background:#f0f5ec; border-bottom-left-radius:4px; justify-self:start; }
.msg.me { background:var(--accent); color:#fff; border-bottom-right-radius:4px; justify-self:end; }
.mock-typing { display:inline-flex; gap:4px; margin:0; padding:12px 14px; border-radius:14px; background:#f0f5ec; justify-self:start; }
.mock-typing i { width:6px; height:6px; border-radius:50%; background:#8aa596; }
.mock-swap { display:grid; justify-items:start; }
.mock-swap>* { grid-area:1/1; }
.mock-invite { display:flex; align-items:center; gap:8px; max-width:100%; background:#fff !important; border:1px solid var(--line); }
.mock-invite .icon { color:var(--accent); }
.mock-invite b { margin-left:auto; font-size:11px; color:#1d684a; background:#dff3e7; padding:3px 8px; border-radius:12px; }
.mock-hired { display:grid; justify-items:center; text-align:center; gap:4px; padding:10px 0 18px; border-bottom:1px solid var(--line); margin-bottom:14px; }
.mock-hired b { font:700 18px 'Manrope',sans-serif; margin-top:10px; }
.mock-hired small { color:var(--muted); }
.mock-tick { width:56px; height:56px; fill:none; stroke:var(--accent); stroke-width:3.5; stroke-linecap:round; stroke-linejoin:round; }
.mock-todo { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.mock-todo li { display:flex; align-items:center; gap:10px; font-size:13px; }
.mock-todo .icon { color:var(--accent); width:18px; height:18px; }

/* How hiring works: four steps around one live mock-up; the lit step drives the screen. */
.flow-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr); grid-template-areas:"a stage c" "b stage d"; gap:28px 48px; align-items:start; }
.flow-item:nth-child(1) { grid-area:a; } .flow-item:nth-child(2) { grid-area:b; } .flow-item:nth-child(3) { grid-area:c; } .flow-item:nth-child(4) { grid-area:d; }
.flow-item { display:grid; gap:10px; justify-items:start; text-align:left; padding:6px 0 18px; background:none; color:var(--ink); border-radius:0; font-weight:400; cursor:pointer; }
.flow-item:hover { filter:none; }
.flow-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:var(--tint); color:var(--accent); }
.flow-icon .icon { width:20px; height:20px; }
.flow-item strong { font:700 20px 'Manrope',sans-serif; letter-spacing:-.4px; }
.flow-copy { font-size:15px; line-height:1.6; color:var(--muted); }
.flow-progress { width:100%; height:2px; border-radius:2px; background:var(--line); overflow:hidden; }
.flow-progress i { display:block; height:100%; background:var(--accent); transform-origin:left; transform:scaleX(0); }
.flow-stage { grid-area:stage; position:relative; display:grid; padding:28px; min-height:420px; border-radius:24px; background:#edf3df; align-items:center; }
.flow-stage>.mock-window { grid-area:1/1; }

/* Roles: an accordion on the left, a day in the open role on the right. */
.roles { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; align-items:center; }
.roles-copy>h2 { margin-bottom:10px; }
.roles-copy>.muted { margin-bottom:24px; }
.roles-stage { display:grid; padding:32px; border-radius:24px; background:#edf3df; min-height:380px; align-items:center; }
.roles-stage>.role-card { grid-area:1/1; }
.role-card-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:var(--tint); color:var(--accent); }
.role-card-icon .icon { width:18px; height:18px; }
.role-card .mock-head { justify-content:flex-start; }
.role-card .mock-todo { margin-bottom:16px; }

.accordion { border-top:1px solid var(--line); }
.acc-item { position:relative; border-bottom:1px solid var(--line); }
.acc-heading { margin:0; font-size:inherit; letter-spacing:0; }
.acc-trigger { display:flex; align-items:center; gap:14px; width:100%; padding:18px 2px; background:none; color:var(--muted); border-radius:0; font:600 18px 'Manrope',sans-serif; letter-spacing:-.3px; text-align:left; }
.acc-trigger:hover { filter:none; color:var(--ink); }
.acc-item.is-open .acc-trigger { color:var(--ink); }
.acc-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; background:var(--tint); color:var(--accent); flex-shrink:0; }
.acc-icon .icon { width:18px; height:18px; }
.acc-label { flex:1; }
.acc-plus { position:relative; width:14px; height:14px; flex-shrink:0; }
.acc-plus::before,.acc-plus::after { content:''; position:absolute; left:0; top:6px; width:14px; height:2px; border-radius:2px; background:currentColor; }
.acc-plus::after { transform:rotate(90deg); }
.acc-panel { display:grid; grid-template-rows:0fr; }
.acc-item.is-open .acc-panel { grid-template-rows:1fr; }
.acc-inner { overflow:hidden; min-height:0; }
.acc-inner p { margin:0 0 12px; font-size:15px; color:var(--muted); max-width:56ch; }
.acc-inner>:last-child { margin-bottom:20px; }
.acc-link { display:inline-flex; align-items:center; gap:6px; font-weight:600; color:var(--accent); }
.acc-progress { position:absolute; left:0; right:0; bottom:-1px; height:2px; overflow:hidden; pointer-events:none; }
.acc-progress i { display:block; height:100%; background:var(--accent); transform-origin:left; transform:scaleX(0); }
[data-accordion="toggle"] .acc-progress { display:none; }
[data-accordion="toggle"] .acc-trigger { color:var(--ink); font-size:17px; }

.faq-section { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:56px; align-items:start; }
.faq-head a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }

/* Closing call to action: the mark draws itself in (motion.css). */
.cta { display:grid; justify-items:center; text-align:center; gap:6px; margin:24px var(--edge) 72px; padding:64px 32px; border-radius:28px; background:var(--deep); color:#fff; }
.cta h2 { color:#fff; margin:18px 0 6px; }
.cta p { color:#c7d7ce; margin:0 0 22px; max-width:46ch; }
.cta-mark { width:72px; height:72px; }
.cta-mark rect { fill:#1b4d40; }
.cta-mark path { fill:none; stroke:var(--lime); stroke-width:10; stroke-linecap:round; stroke-linejoin:round; }
.cta-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.cta .button { background:var(--lime); color:var(--deep); }
.cta .button.secondary { background:transparent; color:#fff; border:1px solid #6c8b7e; }

@media(max-width:1100px){
 .flow-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"stage stage" "a c" "b d"; }
 .flow-stage { min-height:380px; }
}
@media(max-width:860px){
 .roles,.faq-section { grid-template-columns:1fr; gap:28px; }
 .roles-stage { order:-1; min-height:0; padding:20px; }
 .flow-stage { padding:18px; min-height:360px; }
 .cta { margin-bottom:48px; padding:48px 24px; border-radius:22px; }
}
@media(max-width:560px){
 .flow-grid { grid-template-columns:1fr; grid-template-areas:"stage" "a" "b" "c" "d"; gap:18px; }
 .flow-copy { font-size:14px; }
 .flow-item { padding-bottom:12px; }
 .flow-item:not([aria-pressed="true"]) .flow-copy { display:none; }
 .flow-item strong { font-size:18px; }
}
