/* The public pages: the website, the privacy policy, the terms and the page for a missing address.
   Builds on tokens.css and the components in app.css. No coloured edges on cards, callouts or panels. */

.site { background: var(--surface); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow-wrap { max-width: 780px; }

.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 66px; display: flex; align-items: center; gap: 24px; }
.site-links { display: flex; gap: 4px; flex: 1 1 auto; }
.site-links a { font-size: 14.5px; font-weight: 500; color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.site-links a:hover { color: var(--ink); background: var(--panel); }
.site-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
/* On a narrow screen the links and the language leave the bar for the menu behind the button, drawn by site.js.
   On a phone the sign in and start buttons go there too, since the hero starts with the same buttons right below. */
.nav-burger { display: none; width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-burger:hover { background: var(--panel); }
.nav-burger:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); }
.nav-burger span { display: none; line-height: 0; }
.nav-burger .ic-open, .nav-burger.open .ic-close { display: block; }
.nav-burger.open .ic-open { display: none; }
.site-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-3); padding: 4px 24px 22px; max-height: calc(100vh - 66px); overflow-y: auto; animation: rise 0.16s var(--ease) both; }
.site-menu-links { display: grid; }
.site-menu-links a { font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.site-menu-actions { display: grid; gap: 8px; padding: 18px 0 2px; }
.site-menu-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.site-menu-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.site-menu-langs button { border: 1px solid var(--line-strong); background: none; color: var(--text-2); border-radius: 999px; padding: 7px 13px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.site-menu-langs button:hover { color: var(--ink); background: var(--panel); }
.site-menu-langs button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); }
.site-menu-langs button[aria-pressed='true'] { background: var(--ink); color: var(--surface); border-color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .site-links, .site-actions .lang-wrap { display: none; } .nav-burger { display: inline-flex; } .site-nav-in { justify-content: space-between; } }
@media (min-width: 901px) { .site-menu { display: none; } }
@media (min-width: 481px) { .site-menu-actions { display: none; } }
@media (max-width: 480px) { .site-actions .ghost, .site-actions .btn.primary { display: none; } .hero-ctas .btn { flex: 1 1 100%; white-space: normal; text-align: center; line-height: 1.3; } }

/* Hero */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.hero-title { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 20px; text-wrap: balance; }
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 560px; margin: 0 0 30px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.hero-visual { position: relative; height: 540px; }
.hv-fan { position: absolute; left: 50%; top: 0; width: 0; height: 0; }
.hv-fan .vc { --w: 150px; position: absolute; left: -75px; top: 0; transform-origin: 50% 140%; animation: fanIn 0.9s var(--ease-spring) both; }
@keyframes fanIn { from { opacity: 0; transform: translateY(40px) rotate(0); } }
.hv-card { position: absolute; z-index: 12; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-3); padding: 16px 18px; }
.hv-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hv-map { left: 50%; margin-left: -175px; bottom: 0; width: 350px; animation: rise 0.7s 0.5s var(--ease) both; }
.hv-rows { display: grid; gap: 8px; }
.hv-row { display: flex; align-items: center; gap: 8px; }
.hv-row .vc { --w: 34px; border-radius: 4px; }
.hv-row .vc .nm, .hv-row .vc::before { display: none; }
.hv-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.hv-tag { font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-wash); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { height: 460px; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .hero { padding-top: 36px; }
  .hero-visual { height: 420px; }
  .hv-fan .vc { --w: 112px; left: -56px; }
  .hv-map { width: min(300px, 100%); margin-left: 0; left: 0; right: 0; margin-inline: auto; }
  .hv-tag { white-space: normal; }
}
.sbs.teaser .sbs-row { grid-template-columns: 110px minmax(0, 1fr); }
@media (max-width: 560px) { .sbs.teaser .sbs-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 0; } }
/* Five cards always share one row in the teaser, shrinking evenly when the panel is narrow, as in the team map on a phone. */
.sbs.teaser .sbs-row .vc-row { flex-wrap: nowrap; }
.sbs.teaser .sbs-row .vc-row .vc.w-sm { --w: calc((100% - 32px) / 5); flex: 1 1 0; max-width: 92px; }

/* Proof */
.quotes { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); padding: 30px 0; }
.proof-line { margin: 0 0 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.quote-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.quote-row figure { margin: 0; }
.quote-row blockquote { margin: 0 0 6px; font-family: var(--font-display); font-size: 19px; line-height: 1.4; }
.quote-row figcaption { font-size: 13px; color: var(--muted); }
.reference { margin: 28px auto 0; max-width: 720px; text-align: center; }
.reference blockquote { margin: 0 0 8px; font-family: var(--font-display); font-size: 22px; line-height: 1.35; }
.reference figcaption { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .quote-row { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* Sections */
.sec { padding: 96px 0; }
.sec.tint { background: var(--bg); }
.sec-head { margin-bottom: 44px; max-width: 680px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-title { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin-top: 12px; text-wrap: balance; }
@media (max-width: 640px) { .sec { padding: 64px 0; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps li { background: var(--bg); border-radius: var(--r-lg); padding: 24px; }
.steps .sn { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 17px; margin-bottom: 16px; }
.steps h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--text-2); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; margin-bottom: 72px; }
.feature.rev .f-copy { order: 2; }
.f-copy h3 { font-family: var(--font-display); font-size: 28px; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 12px; }
.f-copy p { font-size: 17px; line-height: 1.6; color: var(--text-2); margin: 0; max-width: 420px; }
.f-visual .panel { box-shadow: var(--shadow-2); }
.f-tension { display: flex; gap: 22px; align-items: center; }
.ft-cards { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ft-cards .vc { --w: 96px; }
.ft-cards .meets { font-family: var(--font-display); font-style: italic; color: var(--muted); }
.ft-text { min-width: 0; }
.ft-quote { font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.45; margin: 0 0 12px; }
.ft-verdict { font-size: 14px; color: var(--text-2); background: #eef0f4; border-radius: 10px; padding: 12px 14px; line-height: 1.5; }
.ft-verdict b { color: var(--ink); }
.f-hidden { display: grid; gap: 14px; }
.fh-stat { display: flex; align-items: baseline; gap: 12px; }
.fh-stat b { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.fh-stat span { color: var(--text-2); font-size: 14px; }
.fh-row { display: flex; gap: 12px; }
.fh-row .vc { --w: 96px; }
@media (max-width: 900px) {
  .feature, .feature.rev { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 56px; }
  .feature.rev .f-copy { order: 0; }
  .f-tension { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) { .ft-cards .vc, .fh-row .vc { --w: 80px; } }

.pull { max-width: 820px; margin: 30px auto 0; text-align: center; }
.pull p { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.3; letter-spacing: -0.015em; margin: 0 0 16px; text-wrap: balance; }
.pull cite { font-style: normal; font-size: 14px; color: var(--muted); }

/* What the manager gets */
.manager-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.manager-grid .three-points { grid-template-columns: minmax(0, 1fr); }
.sample { background: var(--bg); box-shadow: none; }
.sample-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.sample p { margin: 0; font-family: var(--font-display); font-size: 18px; line-height: 1.5; color: var(--ink); }
@media (max-width: 860px) { .manager-grid { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; font-size: 16px; color: var(--text-2); line-height: 1.5; }
.ticks li::before { content: '\2713'; color: var(--accent); font-weight: 700; }
.coach-visual { background: var(--bg); border-radius: var(--r-xl); padding: 28px; }
.cv-when { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.cv-row { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.cv-row .vc { --w: 78px; }
.cv-diff { display: flex; gap: 8px; flex-wrap: wrap; }
.cv-diff .in { background: var(--good-soft); color: var(--good); }
.cv-diff .out { background: var(--bad-soft); color: var(--bad); text-decoration: line-through; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 30px; } }

/* For HR: several teams, one invoice */
.hr-visual { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-2); }
.hr-team { padding: 12px 0; border-top: 1px solid var(--line); }
.hr-team:first-of-type { border-top: 0; }
.hr-team-name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.hr-team-name b { font-size: 15px; }
.hr-bar { height: 8px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.hr-bar span { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.hr-invoice { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

.three-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.three-points > div { background: var(--surface); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); }
.three-points h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.three-points p { font-size: 14.5px; color: var(--text-2); margin: 0; line-height: 1.55; }
@media (max-width: 860px) { .three-points { grid-template-columns: minmax(0, 1fr); } }

.privacy-more { max-width: 780px; margin-top: 32px; }
.privacy-more p { font-size: 15.5px; line-height: 1.65; color: var(--text-2); margin: 0 0 14px; }

/* Try it on your own first */
.try { padding: 56px 0; border-top: 1px solid var(--line); }
.try-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.try .sec-title { font-size: clamp(24px, 2.6vw, 32px); margin: 8px 0 10px; }
.try-sub { font-size: 16px; color: var(--text-2); margin: 0 0 8px; max-width: 560px; line-height: 1.6; }
.try-unlock { margin: 0; }
.try-in > .btn { flex: 0 0 auto; }
@media (max-width: 760px) { .try-in { flex-direction: column; align-items: flex-start; } }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 22px; display: flex; flex-direction: column; position: relative; }
.price.featured { border: 2px solid var(--ink); box-shadow: var(--shadow-3); }
.p-tag { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.p-name { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-2); }
.p-amount { font-family: var(--font-display); font-size: 38px; letter-spacing: -0.02em; margin: 8px 0 6px; line-height: 1.1; }
.p-amount small { font-family: var(--font-body); font-size: 14px; color: var(--muted); letter-spacing: 0; }
.p-about { font-size: 14px; color: var(--text-2); line-height: 1.5; min-height: 42px; }
.price ul { list-style: none; padding: 0; margin: 10px 0 22px; display: grid; gap: 8px; flex: 1 1 auto; }
.price li { font-size: 14px; color: var(--text-2); display: flex; gap: 10px; line-height: 1.45; }
.price li::before { content: '\2713'; color: var(--accent); font-weight: 700; }
.p-again { margin: -8px 0 16px; line-height: 1.45; }
.printed { text-align: center; margin: 30px auto 0; color: var(--text-2); font-size: 15px; max-width: 720px; }
.printed + .printed { margin-top: 10px; }
@media (max-width: 1040px) { .prices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) { .prices { grid-template-columns: minmax(0, 1fr); } .price.featured { order: -1; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 15.5px; color: var(--text-2); line-height: 1.65; margin: 0 0 18px; max-width: 680px; }

/* The contact form's honeypot, out of sight and out of the tab order */
.talk-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.foot-in { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.foot-brand { display: grid; gap: 6px; }
.foot-links { display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; }
.foot-links a { color: var(--text-2); }
.foot-links a:hover { color: var(--ink); }

/* The legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 96px; }
.legal .kicker { margin-bottom: 10px; }
.legal h1 { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 12px; text-wrap: balance; }
.legal .updated { font-size: 14px; color: var(--muted); margin: 0 0 36px; }
.legal h2 { font-family: var(--font-display); font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; margin: 44px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }
.legal .draft { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; font-size: 14px; color: var(--text-2); margin: 0 0 32px; }
.legal .toc { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legal .toc li { margin: 0; font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); line-height: 1.5; }
.legal th { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } .legal td { border-bottom: 0; padding: 4px 0; } .legal tr { border-bottom: 1px solid var(--line); padding: 10px 0; } .legal td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); } }

/* The page for a missing address */
.missing { max-width: 640px; margin: 0 auto; padding: 96px 24px 120px; text-align: center; }
.missing h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0 0 12px; }
.missing p { font-size: 17px; color: var(--text-2); margin: 0 auto 24px; max-width: 460px; }
.missing .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Sources and method */
.legal ol.sources { padding-left: 20px; margin: 0 0 16px; }
.legal ol.sources li { margin-bottom: 14px; }
.legal ol.sources .takes { display: block; margin-top: 4px; color: var(--ink); font-size: 15px; }
