/* /tech/why-work-with-us — page styles.
   Colours come from the --pp-* tokens in app.css; no new hex values for brand
   colours. Everything is visible without JS: js/why-work-with-us.js animates
   FROM hidden states it sets itself, so a failed script never hides content. */

.wwu { --wwu-line: rgba(255,255,255,0.08); --wwu-card: rgba(255,255,255,0.03); color: #fff; background: var(--pp-dark); }
.wwu-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.wwu-section { padding: 120px 0; border-top: 1px solid var(--wwu-line); }
.wwu-eyebrow { color: var(--pp-blue-light); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
.wwu-h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; max-width: 14ch; margin-bottom: 28px; }
.wwu-h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; max-width: 20ch; margin-bottom: 48px; }
.wwu-h3 { font-size: 1.4rem; font-weight: 700; margin: 72px 0 24px; }
.wwu-lede { color: rgba(255,255,255,0.68); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 60ch; margin-bottom: 36px; }
.wwu-link { color: var(--pp-blue-light); font-weight: 600; font-size: 15px; text-decoration: none; }
.wwu-link:hover, .wwu-link:focus-visible { color: #fff; }
.wwu-showcase-nudge { color: rgba(255,255,255,0.55); font-size: 15px; line-height: 1.6; max-width: 60ch; margin: -20px 0 32px; }
.wwu-showcase-nudge .wwu-link { white-space: nowrap; }
.wwu-proof .wwu-link { display: inline-block; margin: 0 24px 12px 0; }
.wwu-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--pp-blue); color: #fff; font-weight: 700; padding: 16px 30px; border-radius: 999px; text-decoration: none; transition: background .2s, transform .2s; }
.wwu-btn:hover, .wwu-btn:focus-visible { background: var(--pp-blue-light); transform: translateY(-2px); }
.wwu a:focus-visible, .wwu button:focus-visible, .wwu summary:focus-visible { outline: 2px solid var(--pp-orange); outline-offset: 3px; }

/* 1 hero */
.wwu-hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; }
.wwu-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 18% 20%, rgba(0,85,255,0.16), transparent 45%), radial-gradient(circle at 85% 70%, rgba(255,107,0,0.12), transparent 45%); }
.wwu-crumb { font-family: ui-monospace, monospace; font-size: 12px; color: rgba(255,255,255,0.35); margin-bottom: 32px; }
.wwu-crumb a { color: inherit; text-decoration: none; } .wwu-crumb span { margin: 0 8px; }
.wwu-h1 .word { display: inline-block; }
.wwu-cue { margin-top: 64px; width: 1px; height: 64px; background: rgba(255,255,255,0.12); position: relative; overflow: hidden; }
.wwu-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: wwu-cue 1.8s ease-in-out infinite; }
@keyframes wwu-cue { to { top: 100%; } }

/* 2 problems */
.wwu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wwu-card { position: relative; background: var(--wwu-card); border: 1px solid var(--wwu-line); border-radius: 20px; padding: 32px 28px; overflow: hidden; }
.wwu-card h3 { font-size: 1.3rem; font-weight: 700; margin: 14px 0 10px; }
.wwu-card p { color: rgba(255,255,255,0.62); line-height: 1.6; margin-bottom: 18px; }
.wwu-num { font-family: ui-monospace, monospace; color: var(--pp-orange); font-size: 13px; }

/* 3 pillars */
.wwu-pillar-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.wwu-pillar { display: flex; gap: 28px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--wwu-line); }
.wwu-pillar h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.wwu-pillar p { color: rgba(255,255,255,0.62); line-height: 1.6; max-width: 56ch; }
.wwu-pillar-num { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: var(--pp-blue); line-height: 1; min-width: 2.2ch; }

/* 4 evaluation (quiz) */
/* Anchors land below the fixed site header, not under it. */
#evaluation, #evaluation-result { scroll-margin-top: 110px; }
.wwu-quiz-form { margin-top: 8px; max-width: 860px; }
.wwu-progress { height: 4px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 32px; display: none; }
.wwu-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pp-blue), var(--pp-orange)); transition: width .35s ease; }
.wwu-q { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.wwu-q-title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px; padding: 0; }
.wwu-q-num { display: block; font-family: ui-monospace, monospace; font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--pp-blue-light); margin-bottom: 8px; }
.wwu-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.wwu-option { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 16px; cursor: pointer;
  background: var(--wwu-card); border: 1px solid rgba(255,255,255,0.12); transition: border-color .2s, background .2s, transform .2s; }
.wwu-option:hover { border-color: rgba(255,255,255,0.35); transform: translateY(-2px); }
.wwu-option input { position: absolute; opacity: 0; pointer-events: none; }
.wwu-option span::before { content: ''; display: inline-block; width: 16px; height: 16px; margin-right: 12px; vertical-align: -2px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); transition: border-color .2s, background .2s; }
.wwu-option:has(input:checked) { border-color: var(--pp-blue); background: rgba(0,85,255,0.14); }
.wwu-option:has(input:checked) span::before { border-color: var(--pp-blue); background: var(--pp-blue); box-shadow: inset 0 0 0 3px var(--pp-dark); }
.wwu-option:has(input:focus-visible) { outline: 2px solid var(--pp-orange); outline-offset: 3px; }

.wwu-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.wwu-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: rgba(255,255,255,0.85); }
.wwu-field label span { color: rgba(255,255,255,0.4); font-weight: 400; }
.wwu-field input { width: 100%; font: inherit; font-size: 16px; color: #fff; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); transition: border-color .2s; }
.wwu-field input:focus { outline: none; border-color: var(--pp-blue); }
.wwu-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wwu-fine { color: rgba(255,255,255,0.45); font-size: 13px; margin: 8px 0 20px; }
.wwu-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.wwu-error { margin-top: 14px; color: var(--pp-orange-light); font-weight: 600; }
.wwu-error[hidden] { display: none; }
.wwu-quiz-nav { margin-top: -16px; }
.wwu-back { font: inherit; background: none; border: 0; color: rgba(255,255,255,0.6); cursor: pointer; padding: 8px 0; }
.wwu-back:hover { color: #fff; }
.wwu-back[hidden] { display: none; }

/* stepped mode (JS on): one question at a time */
.wwu-quiz-form.is-stepped .wwu-progress { display: block; }
.wwu-q-branch { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.45); letter-spacing: 0; }
.wwu-quiz-form.is-stepped .wwu-q-branch { display: none; }
.wwu-quiz-form.is-stepped .wwu-q { display: none; }
.wwu-quiz-form.is-stepped .wwu-q.is-active { display: block; }
.wwu-quiz-form[hidden] { display: none; }

/* result */
.wwu-result { margin: 8px 0 0; padding: 40px; border-radius: 24px; border: 1px solid rgba(0,85,255,0.5);
  background: linear-gradient(135deg, rgba(0,85,255,0.16), rgba(255,107,0,0.06)); max-width: 860px; }
.wwu-result-kicker { color: var(--pp-blue-light); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.wwu-result-name { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 4px; }
.wwu-result-meta { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 16px; }
.wwu-result-meta span { color: #fff; font-weight: 700; }
.wwu-result-fit { color: rgba(255,255,255,0.82); line-height: 1.6; max-width: 60ch; margin-bottom: 18px; }
.wwu-result-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.wwu-result-features li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.07); }
.wwu-result-sub { margin: 32px 0 12px; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 600; }
.wwu-result-alts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.wwu-result-alt { padding: 18px 20px; border-radius: 14px; background: rgba(0,0,0,0.25); border: 1px solid var(--wwu-line); }
.wwu-result-alt span { color: var(--pp-orange-light); font-weight: 700; margin-left: 6px; }
.wwu-result-alt p { color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.55; margin-top: 6px; }
.wwu-result-notes { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.wwu-result-notes li { padding: 12px 16px; border-left: 3px solid var(--pp-orange); background: rgba(0,0,0,0.2); border-radius: 0 10px 10px 0; color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.55; }
.wwu-result-sent { margin-top: 24px; color: rgba(255,255,255,0.6); font-size: 14px; }

.wwu-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.wwu-package { background: var(--wwu-card); border: 1px solid var(--wwu-line); border-radius: 18px; padding: 24px; transition: border-color .3s; }
.wwu-package.is-match { border-color: var(--pp-blue); }
.wwu-package h4 { font-weight: 700; margin-bottom: 6px; }
.wwu-package-price { font-size: 1.5rem; font-weight: 800; color: var(--pp-orange-light); }
.wwu-package-time { color: rgba(255,255,255,0.45); font-size: 13px; margin-bottom: 12px; }
.wwu-package-fit { color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.55; margin-bottom: 14px; }

/* 5 evaluation */
.wwu-timeline { position: relative; padding-left: 64px; }
.wwu-timeline ol { list-style: none; padding: 0; margin: 0; }
.wwu-timeline-line { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,0.08); }
.wwu-timeline-line span { position: absolute; inset: 0; background: linear-gradient(var(--pp-blue), var(--pp-orange)); transform-origin: top; }
.wwu-tl { position: relative; padding-bottom: 44px; }
.wwu-tl:last-child { padding-bottom: 0; }
.wwu-tl-dot { position: absolute; left: -64px; top: -4px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--pp-dark); border: 2px solid var(--pp-blue); }
.wwu-tl h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.wwu-tl p { color: rgba(255,255,255,0.62); line-height: 1.6; max-width: 56ch; }

/* 6 proof */
.wwu-stat { font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 40ch; }
.wwu-stat span { color: var(--pp-orange); font-weight: 800; font-size: 1.6em; }
.wwu-icons { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 18px; }
.wwu-icons li { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 96px; text-align: center; }
.wwu-icons img { width: 84px; height: 84px; border-radius: 20px; display: block; box-shadow: 0 18px 40px rgba(0,0,0,0.5); }
.wwu-icons span { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.3; }

/* 7 read */
.wwu-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.wwu-post { display: block; text-decoration: none; color: #fff; background: var(--wwu-card); border: 1px solid var(--wwu-line); border-radius: 18px; padding: 28px; transition: border-color .25s, transform .25s; }
.wwu-post:hover, .wwu-post:focus-visible { border-color: rgba(0,85,255,0.6); transform: translateY(-4px); }
.wwu-post h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.wwu-post p { color: rgba(255,255,255,0.58); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }

/* 8 faq + final */
.wwu-qa { border-bottom: 1px solid var(--wwu-line); padding: 22px 0; max-width: 820px; }
.wwu-qa summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wwu-qa summary::-webkit-details-marker { display: none; }
.wwu-qa summary::after { content: '+'; color: var(--pp-blue-light); font-weight: 400; transition: transform .2s; }
.wwu-qa[open] summary::after { transform: rotate(45deg); }
.wwu-qa p { color: rgba(255,255,255,0.65); line-height: 1.65; margin-top: 12px; max-width: 68ch; }
.wwu-final { padding: 140px 0; text-align: center; border-top: 1px solid var(--wwu-line);
  background: radial-gradient(circle at 50% 100%, rgba(0,85,255,0.22), transparent 60%); }
.wwu-final .wwu-h2, .wwu-final .wwu-lede { margin-left: auto; margin-right: auto; }
.wwu-btn-glow { box-shadow: 0 0 0 0 rgba(0,85,255,0.6); animation: wwu-glow 2.4s ease-out infinite; }
@keyframes wwu-glow { 70% { box-shadow: 0 0 0 18px rgba(0,85,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,85,255,0); } }

/* mobile */
@media (max-width: 860px) {
  .wwu-section { padding: 84px 0; }
  .wwu-cards { grid-template-columns: 1fr; }
  .wwu-fields { grid-template-columns: 1fr; }
  .wwu-options { grid-template-columns: 1fr; }
  .wwu-result { padding: 28px 22px; }
  .wwu-pillar { gap: 18px; }
  .wwu-icons li { width: 76px; }
  .wwu-icons img { width: 64px; height: 64px; border-radius: 15px; }
}

/* Reduced motion: no looping animations; JS also skips every tween. */
@media (prefers-reduced-motion: reduce) {
  .wwu-cue span, .wwu-btn-glow { animation: none; }
  .wwu-option, .wwu-post, .wwu-btn, .wwu-progress span { transition: none; }
}
