/* PHVA v4, group 2: about, security, policies, privacy, rubrics.
   The written record of the company, laid out as papers on the same desk: a printed document column,
   canary notes for promises and forms, ballpoint blue for marks. Loaded after v4.css on these pages only.
   Every class here is g2- prefixed or scoped under body.g2. Never touches [hidden]. */

.g2 main { overflow-x: clip; }
.g2 main section { padding: clamp(56px, 7vw, 104px) 0; }
.g2 main section.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
.g2 .g2-ground-2 { background: var(--paper-2); }
.g2 main h2 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 22ch; }
.g2 main h3 { font-size: 1.22rem; line-height: 1.2; letter-spacing: -.01em; }
.g2 main p { line-height: 1.6; }
.g2 main p + p { margin-top: 14px; }
.g2 .g2-lede { margin-top: 16px; font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.g2 .g2-head { margin-bottom: clamp(28px, 4vw, 44px); }
.g2 .g2-note, .g2 .g2-after, .g2 .g2-where, .g2 .g2-small, .g2 .g2-fine, .g2 .g2-final-alt {
  margin-top: 24px; max-width: 66ch; color: var(--ink-2); font-size: .98rem;
}
.g2 .g2-note, .g2 .g2-after, .g2 .g2-where { padding-left: 18px; border-left: 2px solid var(--margin); }
.g2 .g2-small, .g2 .g2-fine { font-size: .88rem; color: var(--ink-3); }

/* hero: printed headline left, the promise note right */
.g2 .hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.g2 .hero .wrap:not(.g2-hero-grid) { grid-template-columns: minmax(0, 1fr); }
.g2 .hero h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.045em; max-width: 14ch; }
.g2 .hero .g2-lede { font-size: clamp(1.08rem, 1.4vw, 1.24rem); max-width: 40ch; margin-top: 22px; }
.g2 .g2-go { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.g2 .g2-go .link, .g2 .g2-more { display: inline-flex; align-items: center; min-height: 44px; }

/* boards become canary notes with a strip of tape */
.g2 .g2-board {
  position: relative; background: var(--note); color: #16181b; border-radius: var(--r);
  padding: 34px clamp(20px, 3vw, 34px) 26px; box-shadow: var(--shadow);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--note-rule) 31px 32px);
  transform: rotate(-.6deg);
}
.g2 .g2-board::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px;
  background: rgba(255,255,255,.55); box-shadow: 0 1px 2px rgba(22,24,27,.12); transform: rotate(2deg);
}
.g2 .g2-board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.g2 .g2-board-title { font: 400 2rem/1 var(--pen-font); color: #2340c8; }
.g2 .g2-lamp-tag { font: 700 .7rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #2340c8; border: 1.5px solid #2340c8; border-radius: var(--r); padding: 4px 6px; transform: rotate(-2deg); white-space: nowrap; }
.g2 .g2-board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.g2 .g2-cell { display: grid; gap: 2px; align-content: start; }
.g2 .g2-k { font: 700 .74rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #4a4317; }
.g2 .g2-v { font: 800 2.4rem/1 var(--display); letter-spacing: -.03em; color: #16181b; }
.g2 .g2-lamp { font-variant-numeric: tabular-nums; }
.g2 .g2-c { font-size: .92rem; line-height: 1.4; color: #2c2a1c; }
.g2 .g2-src { font-size: .78rem; color: #4a4317; }
.g2 .g2-sponsor { margin-top: 18px; padding-top: 12px; border-top: 1px dashed rgba(22,24,27,.3); font-size: .9rem; color: #2c2a1c; }
.g2 .g2-sponsor b { display: block; font: 400 1.5rem/1 var(--pen-font); color: #2340c8; }
.g2 .g2-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.g2 .g2-ladder li { display: grid; grid-template-columns: 5.4em 1fr; gap: 12px; align-items: baseline; }
.g2 .g2-ladder .g2-lamp { font: 800 1.15rem/1.1 var(--display); color: #2340c8; }

/* the proof band and trust words */
.g2 .g2-band-proof { padding: 0 0 clamp(48px, 6vw, 80px) !important; }
.g2 .g2-band-proof .g2-board { transform: none; background-image: none; }
.g2 .g2-band-proof .g2-board::before { display: none; }
.g2 .g2-band-proof .g2-board-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g2 .g2-terms { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 10px; font-size: .88rem; color: var(--ink-2); }
.g2 .g2-terms span { border: 1px solid var(--rule); border-radius: var(--r); padding: 6px 10px; background: var(--card); color: #3c4148; }
.g2 .g2-board .g2-terms span { border-color: rgba(22,24,27,.2); background: rgba(255,255,255,.45); color: #2c2a1c; }
.g2 .g2-cap-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-2); }
.g2 .g2-cap-proof b { font: 800 1.6rem/1 var(--display); color: var(--ink); margin-right: 4px; }

/* contents list: an index card of links */
.g2 .g2-toc { padding: 0 0 8px; }
.g2 .g2-toc .wrap { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-top: 18px; padding-bottom: 18px; }
.g2 .g2-toc-h, .g2 .g2-pol-nav::before { font: 400 1.6rem/1 var(--pen-font); color: var(--pen); margin: 0 0 8px; }
.g2 .g2-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 26px; counter-reset: t; }
.g2 .g2-toc li { counter-increment: t; }
.g2 .g2-toc a, .g2 .g2-pol-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; }
.g2 .g2-toc a::before { content: counter(t); font: 700 .8rem/1 var(--body); color: var(--pen); }
.g2 .g2-toc a:hover, .g2 .g2-pol-nav a:hover { color: var(--pen); text-decoration: underline; }

/* capture: every form sits on a canary note, as on how-it-works */
.g2 form.capture {
  background: var(--note); color: #16181b; padding: 30px clamp(20px, 3vw, 34px) 26px; border-radius: var(--r);
  box-shadow: var(--shadow); transform: rotate(.5deg); max-width: 520px; width: 100%;
}
.g2 .g2-cap-band .wrap, .g2 .g2-ask, .g2 .g2-on-board .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.g2 .g2-cap-band .g2-cap-trust, .g2 .g2-ask-alt { grid-column: 1; }
.g2 .g2-ask .capture { grid-column: 2; grid-row: 1 / span 2; }
.g2 .g2-on-board.g2-final .wrap, .g2 .g2-on-board:not(:has(.g2-ask)) .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.g2 .g2-on-board.g2-final .wrap > h2, .g2 .g2-on-board.g2-final .wrap > .g2-lede, .g2 .g2-on-board.g2-final .wrap > .g2-final-alt { grid-column: 1; }
.g2 .g2-on-board.g2-final .wrap > .capture { grid-column: 2; grid-row: 1 / span 3; }
.g2 .g2-cap-band { border-top: 1px solid var(--rule); }

/* rows: a printed ledger, three columns */
.g2 .g2-rows-head { display: grid; grid-template-columns: 1fr 1.5fr 1.3fr; gap: 28px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 700 .74rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.g2 .g2-row { display: grid; grid-template-columns: 1fr 1.5fr 1.3fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.g2 .g2-row ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--ink-2); }
.g2 .g2-row .g2-note, .g2 .g2-friday { margin: 0; padding: 0; border: 0; font-size: .95rem; color: var(--ink-2); }
.g2 .g2-row .g2-note b, .g2 .g2-friday b { display: block; font: 400 1.4rem/1 var(--pen-font); color: var(--pen); margin-bottom: 4px; }
.g2 .g2-price-tag, .g2 .g2-sub, .g2 .g2-who { margin-top: 6px; font-size: .9rem; color: var(--ink-3); }
.g2 .g2-how { margin: 0; color: var(--ink-2); }

/* rules: index cards on the desk */
.g2 .g2-rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.g2 .g2-rule { background: var(--card); color: #16181b; border-radius: var(--r); padding: 22px 22px 20px; box-shadow: 0 1px 0 rgba(22,24,27,.05), 0 10px 20px -16px rgba(22,24,27,.4); }
.g2 .g2-rule h3 { color: #16181b; }
.g2 .g2-rule p { margin-top: 8px; font-size: .96rem; color: #3c4148; }

/* facts, checks: a definition list like a printed spec sheet */
.g2 .g2-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.g2 dl { margin: 0; }
.g2 dl > div { display: grid; grid-template-columns: 11em 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.g2 dt { font-weight: 700; }
.g2 dd { margin: 0; color: var(--ink-2); }

/* timeline: numbered stops along a pen line */
.g2 .g2-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 2px solid var(--pen); padding-top: 18px; }
.g2 .g2-timeline > div { position: relative; }
.g2 .g2-timeline > div::before { content: ""; position: absolute; top: -25px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--pen); }
.g2 .g2-when { display: block; font: 400 1.7rem/1 var(--pen-font); color: var(--pen); margin-bottom: 8px; }
.g2 .g2-timeline p { color: var(--ink-2); font-size: .96rem; }
.g2 .g2-steps-sticky { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.g2 .g2-steps-sticky ol { list-style: none; margin: 0; padding: 0; }
.g2 .g2-steps-sticky li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .g2 .g2-pin { position: sticky; top: 96px; align-self: start; } }

/* founder story */
.g2 .g2-byline { max-width: 66ch; }
.g2 .g2-story p { font-size: 1.12rem; }

/* tables: ledger paper */
.g2 main table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .95rem; background: var(--card); color: #16181b; }
.g2 main caption { caption-side: top; text-align: left; padding: 0 0 10px; color: var(--ink-2); font-size: .92rem; }
.g2 main th, .g2 main td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #e3e5df; }
.g2 main thead th { font: 700 .74rem/1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; color: #4a5058; border-bottom: 2px solid #16181b; }
.g2 main tbody th { font-weight: 700; }
.g2 main td { color: #3c4148; }
.g2 .g2-n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g2 .g2-lbl { display: none; }
.g2 .table-scroll { overflow-x: auto; }

/* questions: same accordion as .qs */
.g2 details { border-top: 1px solid var(--rule); }
.g2 details:last-of-type { border-bottom: 1px solid var(--rule); }
.g2 summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font: 700 1.12rem/1.3 var(--display); letter-spacing: -.01em; min-height: 44px; }
.g2 summary::-webkit-details-marker { display: none; }
.g2 summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border-right: 2px solid var(--pen); border-bottom: 2px solid var(--pen); transform: rotate(45deg); transition: transform .3s var(--ease); }
.g2 details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.g2 details > div, .g2 details > p { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }
.g2 details ol, .g2 details ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 12px 0; }
.g2 .g2-faq, .g2 .g2-sec-faq, .g2 .g2-pv-faq { max-width: 860px; }

/* policies: a document with a pinned contents column */
.g2 .g2-pol { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.g2 .g2-pol-pin { position: sticky; top: 92px; }
.g2 .g2-pol-nav::before { content: "On this page"; display: block; }
.g2 .g2-pol-nav ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.g2 .g2-pol-nav a { padding-left: 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: .95rem; }
.g2 .g2-pol-nav a[aria-current] { border-left-color: var(--pen); color: var(--pen); }
.g2 .g2-pol-pin .g2-more { margin-top: 8px; }
.g2 .g2-pol-group { padding-bottom: 48px; scroll-margin-top: 90px; }
.g2 .g2-pol-group + .g2-pol-group { padding-top: 40px; border-top: 2px solid var(--ink); }
.g2 .g2-pol-body { max-width: 820px; }

/* privacy and rubrics specifics */
.g2 .g2-measure { max-width: 66ch; }
.g2 .g2-rub-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.g2 .g2-rub-tab { min-height: 44px; display: grid; text-align: left; gap: 2px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); color: #16181b; font: 700 .95rem/1.2 var(--body); cursor: pointer; }
.g2 .g2-rub-tab small { font-weight: 500; font-size: .78rem; color: #575d65; }
.g2 .g2-rub-tab[aria-selected="true"] { background: var(--note); border-color: #2340c8; box-shadow: inset 0 -3px 0 #2340c8; }
.g2 .g2-rub:not(.is-tabs) .g2-rub-tabs { display: none; }
.g2 .g2-rub-panel { padding-bottom: 28px; }
.g2 .g2-rub-panel:focus-visible { outline-offset: 6px; }
.g2 .g2-checks { margin-top: 18px; }
.g2 .g2-feature blockquote { margin: 0; }
.g2 .g2-feature h2 { font: 400 clamp(2.4rem, 5vw, 3.8rem)/1 var(--pen-font); color: var(--pen); max-width: 24ch; letter-spacing: 0; }
.g2 .g2-feature figcaption { margin-top: 14px; color: var(--ink-2); }

@media (max-width: 900px) {
  .g2 .hero .wrap, .g2 .g2-split, .g2 .g2-steps-sticky, .g2 .g2-pol,
  .g2 .g2-cap-band .wrap, .g2 .g2-ask, .g2 .g2-on-board .wrap, .g2 .g2-on-board.g2-final .wrap { grid-template-columns: minmax(0, 1fr); }
  .g2 .g2-ask .capture, .g2 .g2-on-board.g2-final .wrap > .capture, .g2 .g2-cap-band .g2-cap-trust, .g2 .g2-ask-alt { grid-column: auto; grid-row: auto; }
  .g2 .g2-pol-pin { position: static; }
  .g2 .g2-band-proof .g2-board-grid { grid-template-columns: 1fr 1fr; }
  .g2 .g2-timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .g2 .g2-rows-head { display: none; }
  .g2 .g2-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 560px) {
  .g2 .g2-board-grid, .g2 .g2-band-proof .g2-board-grid, .g2 .g2-timeline { grid-template-columns: minmax(0, 1fr); }
  .g2 dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .g2 .g2-board, .g2 form.capture { transform: none; }
  .g2 .g2-toc ol { display: grid; }
  /* rubric tables stack into cards (each cell carries its own label); other tables scroll sideways inside themselves */
  .g2 main table:not(.g2-crit) { display: block; overflow-x: auto; }
  .g2 table.g2-crit, .g2 .g2-crit thead, .g2 .g2-crit tbody, .g2 .g2-crit tr, .g2 .g2-crit th, .g2 .g2-crit td { display: block; }
  .g2 .g2-crit thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .g2 .g2-crit tr { border-bottom: 2px solid var(--rule); padding: 6px 0; }
  .g2 .g2-crit th, .g2 .g2-crit td { border: 0; padding: 6px 14px; }
  .g2 .g2-lbl { display: block; font: 700 .72rem/1.4 var(--body); text-transform: uppercase; letter-spacing: .05em; color: #575d65; }
}

/* rubrics hero: the sample QA card, one criterion per ruled line with its score inked at the right */
.g2 .g2-qa-list { list-style: none; margin: 0 0 16px; padding: 0; }
.g2 .g2-qa-list li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgba(22,24,27,.14); }
.g2 .g2-qa-list b { display: block; color: #16181b; }
.g2 .g2-qa-list .g2-c { display: block; }
.g2 .g2-qa-list .g2-lamp { font: 400 2rem/1 var(--pen-font); color: #2340c8; }
