/* The public website. Tokens and components come from the portal's theme.css, which holds the light and the dark scheme of every
   shared token (docs/brand.md, "Light and dark"); this file adds the site's layout and the few tokens only the site has, with their
   dark values in the same two blocks as theme.css: the system's dark when no choice was made, and the switch's dark. */
:root{--shot-line:#D9D2C4;--soon-bg:#FAF3DE;--soon:#795A12}
/* The dark cards of the two example illustrations on the home page (.ill-*). They are dark in both schemes; in the dark scheme they are a
   lighter surface with a border, so that they stand out from the dark page. The tag colors are the same in both. */
:root{--ill-bg:#0E1B1F;--ill-line:#0E1B1F;--ill-row:#152A30;--ill-row-line:#22383F;--ill-on-bg:#14302F;--ill-on-line:#2F6F62;--ill-box-line:#6F8E97;
  --ill-go:#2A8070;--ill-warn:#E9CD84;--ill-warn-bg:#332A12;--ill-bad:#F0A3AE;--ill-bad-bg:#3A1D23}
@media screen and (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ill-bg:#162A30;--ill-line:#3A5760;--ill-row:#1E383F;--ill-row-line:#30505A;--ill-on-bg:#1B4040;--ill-on-line:#3C8575;--ill-box-line:#8AA7AF;
    --shot-line:#2A434B;--soon-bg:#332A12;--soon:#E9CD84;
  }
}
@media screen{
  :root[data-theme="dark"]{
    --ill-bg:#162A30;--ill-line:#3A5760;--ill-row:#1E383F;--ill-row-line:#30505A;--ill-on-bg:#1B4040;--ill-on-line:#3C8575;--ill-box-line:#8AA7AF;
    --shot-line:#2A434B;--soon-bg:#332A12;--soon:#E9CD84;
  }
}

/* ---------- Base overrides for the site ---------- */
body{background:var(--paper)}
a{color:var(--link)}
a:hover{color:var(--link-hover)}
em{color:var(--link)}
.dark{background:var(--band);color:var(--on-dark-strong)}
.dark a{color:var(--on-dark-strong)}
.dark em{color:var(--sand)}
.btn-primary,.btn-primary:hover:not(:disabled){color:var(--on-accent)}
.btn-on-dark,.btn-on-dark:hover:not(:disabled){color:var(--on-light)}
.btn-secondary:hover:not(:disabled){border-color:var(--text);color:var(--text)}
code{background:var(--tint)}
main{display:block}
.prose-width{max-width:760px}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:20;background:var(--paper);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:14px;padding-bottom:14px}
.site-header .brand-sub{display:none}
.site-nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:500}
.site-nav a{color:var(--text)}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--link)}
.site-nav a[aria-current="page"]{font-weight:700}
.site-actions{display:flex;align-items:center;gap:10px}
.site-actions .signin{font-size:14px;font-weight:600;color:var(--text);padding:8px 6px}
.menu-button{display:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--r);border:1px solid var(--line-2);background:var(--card);color:var(--text)}
.site-menu{display:none}
.site-menu .theme-row{padding:4px 4px;border-bottom:1px solid var(--line);font-size:var(--fs-lg);font-weight:600;color:var(--text)}

/* ---------- Footer ---------- */
.site-footer{margin-top:96px;border-top:1px solid var(--line);background:var(--paper-2)}
.site-footer .wrap{padding-top:48px;padding-bottom:40px;display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:32px}
.footer-about p{margin-top:14px;font-size:var(--fs-md);color:var(--muted);line-height:1.6;max-width:320px}
/* The footer is the same static block on every page (docs/website.md, "The footer"); its headings are paragraphs, so a page's h2s are its content. */
.footer-heading{margin:0;font-family:var(--font-body);font-size:var(--fs-xs);letter-spacing:1.4px;text-transform:uppercase;font-weight:700;color:var(--label)}
.footer-col ul{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:14px}
.footer-col a{color:var(--text)}
.footer-col a:hover{color:var(--link)}
/* The family's products (the master block of the six sites): the name as the link, its one line muted under it, then the company. */
.footer-products{grid-column:1/-1}
.footer-products ul{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 32px}
.footer-products li{display:flex;flex-direction:column;gap:2px;min-width:0}
.footer-products li a{font-size:14px;font-weight:600;color:var(--text)}
.footer-products li span{font-size:var(--fs-md);color:var(--muted);line-height:1.5}
.footer-products > p{margin:16px 0 0;font-size:var(--fs-md)}
.footer-products > p a{font-weight:600;color:var(--text)}
.footer-products a:hover{color:var(--link)}
.footer-base{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:var(--fs-md);color:var(--muted)}

/* ---------- Sections ---------- */
.section{padding:96px var(--gutter) 0}
.section-tight{padding-top:64px}
.lead-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
.lead-head h2{font-size:var(--fs-h1);letter-spacing:-1px;line-height:1.1;margin-top:14px;max-width:720px}
.lead-head p{max-width:440px;font-size:var(--fs-base);line-height:1.65;color:var(--muted)}
.page-hero{padding:72px var(--gutter) 8px;max-width:1248px;margin:0 auto}
.page-hero h1{font-size:54px;line-height:1.06;letter-spacing:-1.4px;margin-top:16px;max-width:880px}
.page-hero .lede{margin-top:20px;max-width:720px}
.version-banner{max-width:1248px;margin:16px auto 0;padding:10px var(--gutter);background:var(--teal-tint);border-bottom:1px solid var(--teal-line);font-size:var(--fs-md)}
.page-hero .article-date{margin-top:14px;font-size:var(--fs-md);color:var(--muted)}
.eyebrow{color:var(--link)}
.dark .eyebrow{color:var(--sand)}

/* ---------- Landing hero ---------- */
/* One column, kept short: the headline, the first paragraph, the buttons, the requirement line and the reassurance line fit together in a
   1366 x 768 window. The demonstration follows at once (.hero-show: a gallery of three steps, Compare, Preview, Roll back), then the
   "What you need" strip (#need) that the requirement line links to. */
.hero{padding:40px var(--gutter) 28px}
.hero-copy{display:flex;flex-direction:column;gap:16px;max-width:1000px}
.hero-copy .pill{align-self:flex-start}
.hero h1{font-size:52px;line-height:1.05;letter-spacing:-1.4px}
.hero .lede{max-width:880px;font-size:18px;line-height:1.55}
.hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:4px}
.hero-proof{display:flex;gap:10px 26px;flex-wrap:wrap;font-size:var(--fs-md);color:var(--muted)}
.hero-proof span{display:inline-flex;align-items:center;gap:8px}
.hero-proof svg{color:var(--teal)}
.hero-need{font-size:var(--fs-md);color:var(--muted)}
.hero-need a{font-weight:600}
.hero-show{padding-top:32px}

/* ---------- The demonstration: three steps as tabs the visitor clicks, never turning by themselves (gallery.js) ----------
   The panels share one grid cell: an inactive panel is hidden (the hidden attribute) but keeps its place, so the stage is as tall as
   the tallest step from the first paint and switching never moves the page. Without JavaScript the three steps stand one below the
   other, without the tabs. A picture opens at full size in the lightbox (its natural size, as wide as the window allows). */
.gallery{display:flex;flex-direction:column;align-items:center;gap:24px}
.gallery-tabs{display:inline-flex;gap:4px;max-width:100%;padding:4px;border-radius:var(--r-pill);border:1px solid var(--line-2);background:var(--card);box-shadow:var(--shadow-sm)}
.gallery-tab{display:inline-flex;align-items:center;gap:10px;padding:10px 20px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--muted);font:inherit;font-size:var(--fs-base);font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background-color var(--ease),color var(--ease)}
.gallery-tab:hover{color:var(--text)}
.gallery-tab[aria-selected="true"]{background:var(--accent);color:var(--on-accent)}
.gallery-num{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:1px solid currentColor;font-size:var(--fs-sm);font-weight:700;line-height:1}
.gallery-stage{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:820px}
.gallery-panel{grid-area:1/1;min-width:0;border-radius:var(--r-lg)}
.gallery-panel[hidden]{display:block!important;visibility:hidden}
.gallery-figure{margin:0}
.gallery-figure .hero-art{max-width:780px;margin:0 auto}
.gallery-caption{margin-top:14px;text-align:center;font-size:var(--fs-md);color:var(--muted)}
.gallery-frame{position:relative;width:fit-content;max-width:100%;margin:0 auto}
.gallery-frame .shot{margin:0}
.gallery-enlarge{position:absolute;top:12px;right:12px;z-index:2;display:inline-flex;align-items:center;padding:8px 14px;border-radius:var(--r-pill);border:1px solid var(--border);background:var(--card);color:var(--text);font:inherit;font-size:var(--fs-md);font-weight:600;line-height:1.2;cursor:zoom-in;box-shadow:var(--shadow-md)}
.gallery-enlarge:hover{border-color:var(--ink);color:var(--ink)}
.gallery.can-enlarge .gallery-frame img{cursor:zoom-in}
.gallery-more{margin:0;font-size:var(--fs-base);font-weight:600}
@media (scripting:none){
  .gallery-tabs{display:none}
  .gallery-stage{display:flex;flex-direction:column;gap:40px}
  .gallery-panel[hidden]{visibility:visible}
}
/* The lightbox: a modal <dialog> over the page, the picture at its natural size up to the width of the window (a tall one scrolls). */
.lightbox{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:64px 24px 24px;box-sizing:border-box;border:0;background:var(--backdrop);overflow:auto}
.lightbox[open]{display:flex;flex-direction:column;align-items:center}
.lightbox::backdrop{background:transparent}
.lightbox-figure{flex:none;margin:auto 0;max-width:100%;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--shot-line);background:var(--card);box-shadow:var(--shadow-dark)}
.lightbox-picture img{display:block;max-width:100%;height:auto}
.lightbox-figure figcaption{padding:12px 16px;font-size:var(--fs-md);color:var(--muted);border-top:1px solid var(--line)}
.lightbox-close{position:fixed;top:12px;right:16px;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;border:1px solid var(--border);background:var(--card);color:var(--text);cursor:pointer;box-shadow:var(--shadow-md)}
.lightbox-close:hover{border-color:var(--ink);color:var(--ink)}
body.has-lightbox{overflow:hidden}

/* ---------- What you need: a compact strip below the demonstration ---------- */
.need{padding-top:64px;padding-bottom:40px;scroll-margin-top:80px}
.need-strip{display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);gap:16px 28px;padding:22px 26px;border-radius:var(--r-lg);border:1px solid var(--line);background:var(--card)}
.need-title{font-family:var(--font-body);font-size:var(--fs-sm);letter-spacing:1.8px;font-weight:700;text-transform:uppercase;line-height:1.5;color:var(--link)}
.need-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 24px}
.need-list li{display:flex;flex-direction:column;gap:4px;font-size:var(--fs-md);line-height:1.5}
.need-list strong{font-size:var(--fs-base);color:var(--text)}
.need-list span{color:var(--muted)}
.need-list a{margin-top:2px;font-weight:600}

/* ---------- Example illustrations on the home page: real HTML, not pictures, each marked "Example" ---------- */
.hero-art{position:relative;min-width:0;padding:8px 26px 30px 6px}
.hero-art::before{content:"";position:absolute;inset:44px 0 0 60px;border-radius:var(--r-xl);background:var(--card);border:1px solid var(--line-2);transform:rotate(2.2deg);box-shadow:var(--shadow-lg)}
.ill-compare{position:relative;padding:34px 36px 30px;border-radius:22px;background:var(--ill-bg);border:1px solid var(--ill-line);color:var(--on-dark);transform:rotate(-1.4deg);box-shadow:var(--shadow-dark)}
.ill-top{display:flex;justify-content:space-between;align-items:baseline;gap:4px 16px;flex-wrap:wrap}
.ill-eyebrow{font-size:var(--fs-sm);letter-spacing:2px;text-transform:uppercase;font-weight:700;color:var(--sand)}
.ill-example{font-size:var(--fs-xs);letter-spacing:1.6px;text-transform:uppercase;font-weight:700;color:var(--on-dark-muted)}
.ill-title{margin-top:12px;font-family:var(--font-display);font-size:35px;line-height:1.12;letter-spacing:-.6px;color:var(--on-dark-strong)}
.ill-sub{margin-top:8px;font-size:var(--fs-base);color:var(--on-dark-muted);overflow-wrap:anywhere}
.ill-rows{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.ill-rows li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 18px;border-radius:14px;background:var(--ill-row);border:1px solid var(--ill-row-line)}
.ill-rows li.is-on{background:var(--ill-on-bg);border-color:var(--ill-on-line)}
.ill-box{display:block;position:relative;width:20px;height:20px;border-radius:6px;border:1.5px solid var(--ill-box-line)}
.is-on .ill-box{background:var(--ill-go);border-color:var(--ill-go)}
.is-on .ill-box::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #FFFFFF;border-width:0 2px 2px 0;transform:rotate(45deg)}
.ill-item{min-width:0}
.ill-where{font-size:var(--fs-xs);letter-spacing:1.4px;text-transform:uppercase;font-weight:700;color:var(--on-dark-muted)}
.ill-name{margin-top:3px;font-size:17px;font-weight:600;line-height:1.3;color:var(--on-dark-strong)}
.ill-diff{margin-top:8px;display:flex;flex-wrap:wrap;gap:2px 10px;align-items:center;font-family:var(--font-mono);font-size:var(--fs-md);color:var(--on-dark)}
.ill-was{color:var(--mint)}
.ill-now{color:var(--ill-bad)}
.ill-diff [aria-hidden]{color:var(--on-dark-muted)}
.ill-tag{white-space:nowrap;padding:5px 11px;border-radius:var(--r-pill);font-size:var(--fs-sm);font-weight:700}
.ill-tag.is-changed{background:var(--ill-warn-bg);color:var(--ill-warn)}
.ill-tag.is-removed{background:var(--ill-bad-bg);color:var(--ill-bad)}
.ill-foot{display:flex;justify-content:space-between;align-items:center;gap:12px 20px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid var(--ill-row-line)}
.ill-note{font-size:var(--fs-md);color:var(--on-dark-muted)}
.ill-go{display:inline-block;padding:12px 20px;border-radius:9px;background:var(--ill-go);color:#FFFFFF;font-size:var(--fs-base);font-weight:700;line-height:1.3}

.ill-flow{display:flex;flex-direction:column;gap:18px;min-width:0}
.ill-card{padding:22px 26px;border-radius:var(--r-xl);background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow-md)}
.ill-card.is-dark{background:var(--ill-bg);border-color:var(--ill-line);color:var(--on-dark);box-shadow:var(--shadow-dark)}
.ill-card-head{display:flex;justify-content:space-between;align-items:baseline;gap:6px 16px;flex-wrap:wrap}
.ill-step{font-family:var(--font-display);font-size:var(--fs-base);letter-spacing:.4px;text-transform:uppercase;color:var(--link)}
.is-dark .ill-step{color:var(--mint)}
.ill-card-title{margin-top:4px;font-size:var(--fs-xl);font-weight:700;line-height:1.3;color:var(--ink)}
.is-dark .ill-card-title{color:var(--on-dark-strong)}
.ill-aside{font-size:var(--fs-md);color:var(--muted)}
.ill-counts{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ill-counts li{padding:12px 16px;border-radius:12px;background:var(--paper-2);border:1px solid var(--line)}
.ill-counts strong{display:block;font-family:var(--font-display);font-weight:400;font-size:30px;line-height:1.1;color:var(--ink)}
.ill-counts span{font-size:var(--fs-md);color:var(--muted)}
.ill-pill{padding:4px 11px;border-radius:var(--r-pill);background:var(--review-bg);color:var(--review);font-size:var(--fs-sm);font-weight:700}
.ill-setting{margin-top:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.ill-setting-head{display:flex;justify-content:space-between;align-items:baseline;gap:2px 16px;flex-wrap:wrap;padding:11px 16px;background:var(--paper-2);border-bottom:1px solid var(--line);font-size:var(--fs-base);font-weight:700;color:var(--ink)}
.ill-setting-head span{font-size:var(--fs-md);font-weight:600;color:var(--muted)}
.ill-table{width:100%;table-layout:fixed;border-collapse:collapse}
.ill-table th,.ill-table td{padding:9px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.ill-table tbody tr:last-child>*{border-bottom:0}
.ill-table thead th{font-size:var(--fs-xs);letter-spacing:1.2px;text-transform:uppercase;font-weight:700;color:var(--label);background:var(--card)}
.ill-table tbody th{width:30%;font-size:var(--fs-md);font-weight:400;color:var(--muted)}
.ill-table td{font-family:var(--font-mono);font-size:var(--fs-md)}
.ill-table .is-now{background:var(--fail-bg);color:var(--fail)}
.ill-table .is-will{background:var(--pass-bg);color:var(--pass)}
.ill-btnrow{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;margin-top:16px}
.ill-btnrow .ill-go{padding:11px 18px}
.ill-checks{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 26px;font-size:var(--fs-base)}
.ill-checks li{display:inline-flex;align-items:center;gap:9px}
.ill-checks svg{color:var(--mint)}

/* ---------- Screenshots ---------- */
.shot{position:relative;z-index:1;margin:0 auto;width:fit-content;max-width:100%;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--shot-line);background:var(--card);box-shadow:var(--shadow-lg)}
/* Pictures are made at twice their size (192 dpi) and shown at their width attribute, never larger; narrower columns shrink them. */
.shot img{display:block;max-width:100%;height:auto}
.shot figcaption{padding:12px 16px;font-size:var(--fs-md);color:var(--muted);border-top:1px solid var(--line);background:var(--card)}

/* ---------- Fact band ---------- */
.fact-band{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.fact-band div{padding:28px 26px}
.fact-band div:first-child{padding-left:0}
.fact-band div+div{border-left:1px solid var(--line)}
.fact-band strong{display:block;font-family:var(--font-display);font-weight:400;font-size:38px;letter-spacing:-.6px;color:var(--ink);line-height:1.1}
.fact-band p{font-size:var(--fs-md);color:var(--muted);margin-top:6px;line-height:1.5}

/* ---------- Problem ---------- */
.problem{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:56px;align-items:start}
.problem h2{font-size:var(--fs-h1);letter-spacing:-1px;line-height:1.1;margin-top:14px}
.problem-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.problem-list li{padding:22px;border-radius:var(--r-lg);border:1px solid var(--line);background:var(--card)}
.problem-list strong{display:block;font-size:var(--fs-lg);color:var(--text)}
.problem-list span{display:block;margin-top:8px;font-size:14px;line-height:1.6;color:var(--muted)}

/* ---------- Steps with pictures ---------- */
.steps-list{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;counter-reset:step}
.steps-list li{padding:24px;border-radius:var(--r-lg);background:var(--card);border:1px solid var(--line);display:flex;flex-direction:column;gap:10px;counter-increment:step}
.steps-list li::before{content:"0" counter(step);font-family:var(--font-display);font-size:22px;color:var(--link)}
.steps-list h3{font-size:var(--fs-lg)}
.steps-list p{font-size:14px;line-height:1.6;color:var(--muted)}
.feature{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px;align-items:center;margin-top:88px}
.feature.flip{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.feature.flip .feature-copy{order:2}
.feature-copy{display:flex;flex-direction:column;gap:16px}
.feature-copy .num{font-family:var(--font-display);font-size:24px;color:var(--link)}
.feature-copy h2{font-size:38px;letter-spacing:-.9px;line-height:1.1}
.feature-copy p{color:var(--muted);line-height:1.7}
.feature-copy .check-list{margin-top:6px}

/* ---------- Coverage ---------- */
.center-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:48px}
.center-card{padding:22px;border-radius:var(--r-lg);background:var(--card);border:1px solid var(--line);border-top:3px solid var(--teal);display:flex;flex-direction:column;gap:12px}
.center-card h3{font-size:var(--fs-lg)}
.center-card .count{font-family:var(--font-display);font-size:34px;line-height:1;color:var(--ink)}
.center-card .count small{font-family:var(--font-body);font-size:var(--fs-md);color:var(--muted);margin-left:6px}
.split-bar{display:flex;height:8px;border-radius:var(--r-pill);overflow:hidden;background:var(--tint)}
.split-bar span{display:block;height:100%}
.split-bar .auto{background:var(--teal)}
.split-bar .guided{background:var(--line-2)}
.center-card dl{margin:0;display:grid;grid-template-columns:auto auto;gap:4px 12px;font-size:var(--fs-md)}
.center-card dt{color:var(--muted)}
.center-card dd{margin:0;text-align:right;font-weight:600;color:var(--text)}
.center-card details{font-size:var(--fs-md);color:var(--muted);border-top:1px solid var(--line);padding-top:10px}
.center-card summary{cursor:pointer;font-weight:600;color:var(--link)}
.center-card details ul{margin:10px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:4px;line-height:1.5;overflow-wrap:anywhere}
.key-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px;font-size:var(--fs-md);color:var(--muted)}
.key-row span{display:inline-flex;align-items:center;gap:8px}
.key-row i{display:inline-block;width:12px;height:12px;border-radius:3px}
.key-row .auto{background:var(--teal)}.key-row .guided{background:var(--line-2)}
.levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:40px}
.level{padding:24px;border-radius:var(--r-lg);border:1px solid var(--line);background:var(--paper-2)}
.level b{display:block;font-family:var(--font-display);font-weight:400;font-size:40px;line-height:1;color:var(--ink)}
.level strong{display:block;margin-top:12px;color:var(--text)}
.level p{margin-top:6px;font-size:14px;color:var(--muted);line-height:1.6}
.coverage-table{margin-top:24px}
.coverage-table td.num,.coverage-table th.num{text-align:right;white-space:nowrap}
.coverage-table tfoot td{font-weight:700;border-top:2px solid var(--line);background:var(--paper-2)}

/* ---------- Security ---------- */
.promise{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:64px;padding:64px;border-radius:var(--r-xl);margin-top:96px}
.promise h2{font-size:var(--fs-h1);letter-spacing:-1px;line-height:1.1}
.promise .check-list{font-size:var(--fs-base);gap:16px}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:40px}
.card-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.info-card{padding:24px;border-radius:var(--r-lg);border:1px solid var(--line);background:var(--card);display:flex;flex-direction:column;gap:10px}
.info-card h3{font-size:var(--fs-lg)}
.info-card p{font-size:14px;line-height:1.65;color:var(--muted)}
.never{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px}
.never li{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-top:1px solid var(--line);font-size:var(--fs-base);line-height:1.55}
.never svg{margin-top:3px;color:var(--fail)}

/* ---------- Pricing ---------- */
.plan-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:40px;align-items:stretch}
.plan-grid.summary{grid-template-columns:repeat(5,minmax(0,1fr))}
.plan-grid.two,.plan-grid.two.summary{grid-template-columns:repeat(2,minmax(0,1fr));max-width:920px}
.plan .route{margin-top:-6px;font-size:var(--fs-md);font-weight:600;line-height:1.45;color:var(--link)}
/* The pricing page: the Preview as the way to try, the two yearly plans, then the other routes, in one column. */
.pricing-col>*{max-width:920px}
.try{display:flex;justify-content:space-between;align-items:center;gap:18px 32px;flex-wrap:wrap;margin-top:40px;padding:24px 28px;border-radius:var(--r-lg);border:1px solid var(--line);border-left:4px solid var(--teal);background:var(--paper-2)}
.try>div{flex:1 1 420px}
.try h2{font-size:28px;letter-spacing:-.5px}
.try p{margin-top:8px;color:var(--muted);line-height:1.6}
.routes{padding-top:56px}
.routes-head h2{font-size:30px;letter-spacing:-.6px;line-height:1.15;margin-top:10px}
.routes .plan-grid{margin-top:28px}
.msp-examples{margin-top:28px;display:flex;flex-direction:column;gap:12px}
.msp-examples h3{font-size:var(--fs-lg)}
.msp-examples .table th[scope="row"]{font-size:var(--fs-base);letter-spacing:0;text-transform:none;font-weight:600;color:var(--text);background:var(--card)}
.msp-examples .table tbody th{padding:12px}
.msp-examples .table tbody tr:last-child th{border-bottom:0}
.msp-examples .table .total{font-weight:700;color:var(--ink)}
.msp-examples p{font-size:var(--fs-md);color:var(--muted);line-height:1.6}
.plan{position:relative;padding:24px 20px;border-radius:var(--r-lg);border:1px solid var(--line);background:var(--card);display:flex;flex-direction:column;gap:14px;min-width:0}
.plan.is-featured{border:2px solid var(--teal);box-shadow:var(--shadow-md)}
.plan .flag{position:absolute;top:-12px;left:20px;padding:4px 10px;border-radius:var(--r-pill);background:var(--accent);color:#FFFFFF;font-size:var(--fs-xs);letter-spacing:1px;font-weight:700;text-transform:uppercase}
.plan h3{font-size:var(--fs-lg)}
.plan .price{font-family:var(--font-display);font-size:40px;line-height:1;color:var(--ink);letter-spacing:-.8px}
.plan .price .per{font-family:var(--font-body);font-size:var(--fs-base);font-weight:600;letter-spacing:0;color:var(--muted);white-space:nowrap}
.plan .unit{font-size:var(--fs-md);color:var(--muted);line-height:1.45;min-height:2.9em}
.plan .pitch{font-size:14px;line-height:1.55;color:var(--text)}
.plan .check-list{font-size:var(--fs-md);gap:9px;flex:1}
.plan .check-list svg{margin-top:2px}
.plan .btn{width:100%;white-space:normal;text-align:center}
.soon{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:var(--r-xs);background:var(--soon-bg);color:var(--soon);font-size:var(--fs-xs);font-weight:700;letter-spacing:.4px;vertical-align:1px;white-space:nowrap}
.compare-table th:first-child,.compare-table td:first-child{min-width:200px}
.compare-table td{text-align:center}
.compare-table td:first-child{text-align:left;font-weight:600;color:var(--text)}
.compare-table th{text-align:center}
.compare-table th:first-child{text-align:left}
.compare-table thead th{vertical-align:top}
.compare-table .plan-billed{font-size:var(--fs-sm);font-weight:500;letter-spacing:0;text-transform:none;line-height:1.6}
.compare-table .yes{color:var(--teal);font-weight:700}
.compare-table .no{color:var(--muted)}
.table{color:var(--text)}
.table th{background:var(--paper-2)}
.table-wrap{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--card)}
.price-note{margin-top:18px;font-size:var(--fs-md);color:var(--muted);max-width:820px;line-height:1.6}

/* ---------- About GlacierPoint (the company's shared text, on the landing page) ---------- */
.about{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px 56px;align-items:start}
.about h2{font-size:var(--fs-h1);letter-spacing:-1px;line-height:1.1}
.about-lead{margin-top:16px;font-size:var(--fs-xl);line-height:1.5;color:var(--text)}
.about-text{font-size:var(--fs-lg);line-height:1.7;color:var(--muted)}

/* ---------- FAQ ---------- */
.faq{margin-top:32px;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;font-size:var(--fs-lg);font-weight:600;color:var(--text)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--font-display);font-size:26px;line-height:1;color:var(--link);flex-shrink:0}
.faq details[open] summary::after{content:"\2212"}
.faq details>div{padding:0 0 22px;color:var(--muted);line-height:1.7;max-width:820px;display:flex;flex-direction:column;gap:10px}
.faq-group{margin-top:56px}
.faq-group h2{font-size:28px}

/* ---------- Closing call to action ---------- */
.closing{margin-top:96px;padding:56px;border-radius:var(--r-xl);display:flex;justify-content:space-between;align-items:center;gap:28px;flex-wrap:wrap}
.closing h2{font-size:36px;letter-spacing:-.8px;max-width:640px}
.closing p{margin-top:10px;max-width:560px}
.closing .row{gap:12px}

/* ---------- Prose (legal, download, contact) ---------- */
.prose{max-width:760px;margin-top:40px;display:flex;flex-direction:column;gap:14px;line-height:1.75}
.prose h2{font-size:26px;margin-top:28px}
.prose h3{margin-top:12px}
.prose ul,.prose ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.prose pre{margin:0;padding:16px 18px;border-radius:var(--r-md);border:1px solid var(--line);background:var(--card);overflow-x:auto;font-size:13px;line-height:1.6}
.prose pre code{background:none;padding:0;font-size:inherit}
.prose .scope-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 24px;font-size:14px}
.prose .scope-list li{overflow-wrap:anywhere}
.page-hero .eyebrow a{color:inherit}
.draft{margin-top:24px;padding:16px 20px;border-radius:var(--r-md);border:1px dashed var(--soon);background:var(--soon-bg);color:var(--soon);font-weight:600;max-width:760px}
.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:40px}

/* ---------- Sign-up ---------- */
.signup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:64px;align-items:start;padding:64px var(--gutter) 0}
.signup-form{padding:32px;border-radius:var(--r-xl);border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow-md);display:flex;flex-direction:column;gap:22px}
.signup-form form{display:flex;flex-direction:column;gap:18px}
.signup-form h2{font-size:30px}
.field-error{font-size:var(--fs-md);color:var(--fail)}
.field-error:empty{display:none}
.page-title{font-size:48px;line-height:1.08;letter-spacing:-1.2px}
.h3-like{font-family:var(--font-body);font-size:var(--fs-lg);font-weight:600;margin-top:12px}
.steps-plain{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px;color:var(--muted);line-height:1.6}
.signup-form section{display:flex;flex-direction:column;gap:18px}
.auth-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;color:var(--muted)}

/* ---------- User guide (guide.html; the same page prints as the PDF, see the print rules at the end) ---------- */
:root{--mark:#2355D6}
.print-only{display:none}
.guide{display:grid;grid-template-columns:250px minmax(0,1fr);gap:56px;max-width:1248px;margin:48px auto 0;padding:0 var(--gutter)}
.guide-toc{position:sticky;top:96px;align-self:start;max-height:calc(100vh - 120px);overflow:auto;padding:20px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--card)}
.guide-toc h2{font-family:var(--font-body);font-size:var(--fs-xs);letter-spacing:1.4px;text-transform:uppercase;font-weight:700;color:var(--label)}
.guide-toc ol{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:1.4}
.guide-toc a{display:flex;justify-content:space-between;gap:12px;color:var(--text);text-decoration:none}
.guide-toc a:hover{color:var(--link)}
.toc-page{display:none}
.guide-body{max-width:860px;display:flex;flex-direction:column;gap:56px;line-height:1.75}
.guide-body section{display:flex;flex-direction:column;gap:14px;scroll-margin-top:88px}
.guide-body h2{font-size:32px;letter-spacing:-.6px;line-height:1.15}
.guide-body h3{font-size:20px;margin-top:14px;scroll-margin-top:88px}
.guide-body ul,.guide-body ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.guide-body code{font-size:.92em;padding:1px 5px;border-radius:4px}
.guide-note{padding:14px 18px;border-left:3px solid var(--link);border-radius:var(--r);background:var(--tint)}
.guide-shot{margin:8px 0 0;border:1px solid var(--shot-line);border-radius:var(--r-lg);overflow:hidden;background:var(--card);box-shadow:var(--shadow-md)}
.guide-shot img{display:block;max-width:100%;height:auto;margin:0 auto}
.guide-shot figcaption{padding:10px 16px;font-size:var(--fs-md);color:var(--muted);border-top:1px solid var(--line)}
.guide-shot-narrow{width:fit-content;max-width:100%}
.guide-body ol.marks{list-style:none;padding:0;gap:8px}
.marks li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start}
.mark{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-top:3px;border-radius:50%;background:var(--mark);color:#FFFFFF;font-size:13px;font-weight:700;line-height:1;box-shadow:0 0 0 2px var(--card)}

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  .need-strip{grid-template-columns:minmax(0,1fr)}
  .need-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .plan-grid,.plan-grid.summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .steps-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1080px){
  .site-nav{display:none}
  .menu-button{display:inline-flex}
  .site-menu.is-open{display:flex;flex-direction:column;gap:2px;padding:8px var(--gutter) 16px;border-top:1px solid var(--line)}
  .site-menu a{padding:12px 4px;font-size:var(--fs-lg);font-weight:600;color:var(--text);border-bottom:1px solid var(--line)}
  .site-menu a[aria-current="page"]{color:var(--link)}
  .hero{padding:36px var(--gutter) 28px}
  .hero h1{font-size:46px}
  .hero-art{padding:0}
  .hero-art::before{display:none}
  .ill-compare{transform:none}
  .problem,.promise,.signup,.about{grid-template-columns:minmax(0,1fr);gap:32px}
  .promise{padding:40px}
  .feature,.feature.flip{grid-template-columns:minmax(0,1fr);gap:28px;margin-top:64px}
  .feature.flip .feature-copy{order:0}
  .center-grid,.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fact-band{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fact-band div{padding:22px 20px}
  .fact-band div:nth-child(3){border-left:0;padding-left:0}
  .fact-band div:nth-child(n+3){border-top:1px solid var(--line)}
  .site-footer .wrap{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-about{grid-column:1/-1}
  .footer-products ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section{padding-top:72px}
  .page-hero h1{font-size:44px}
  .guide{grid-template-columns:minmax(0,1fr);gap:32px}
  .guide-toc{position:static;max-height:none}
}
@media (max-width:720px){
  .prose .scope-list{grid-template-columns:minmax(0,1fr)}
  .site-actions .signin,.site-actions .theme-switch{display:none}
  .hero h1{font-size:40px;letter-spacing:-1px}
  .hero .lede,.page-hero .lede{font-size:17px}
  .page-hero{padding-top:44px}
  .page-hero h1{font-size:34px;letter-spacing:-.8px}
  .lead-head h2,.problem h2,.promise h2,.about h2{font-size:32px}
  .feature-copy h2{font-size:30px}
  .hero-actions .btn{width:100%}
  .ill-compare{padding:22px 18px 20px;border-radius:var(--r-xl)}
  .ill-title{font-size:26px}
  .ill-rows li{grid-template-columns:22px minmax(0,1fr);gap:10px 12px;padding:14px}
  .ill-rows .ill-tag{grid-column:2;justify-self:start}
  .ill-name{font-size:var(--fs-lg)}
  .ill-card{padding:18px}
  .ill-counts{gap:8px}
  .ill-counts li{padding:10px 12px}
  .ill-counts strong{font-size:26px}
  .ill-table th,.ill-table td{padding:8px 10px}
  .ill-table thead th{letter-spacing:.6px}
  .ill-table td{font-size:var(--fs-sm)}
  .ill-setting-head{padding:10px 12px}
  .fact-band{grid-template-columns:minmax(0,1fr)}
  .fact-band div{padding:18px 0;border-left:0!important}
  .fact-band div+div{border-top:1px solid var(--line)}
  .problem-list,.steps-list,.center-grid,.card-grid,.card-grid.two,.levels,.never,.contact-grid{grid-template-columns:minmax(0,1fr)}
  .plan-grid,.plan-grid.summary,.plan-grid.two,.plan-grid.two.summary,.need-list{grid-template-columns:minmax(0,1fr)}
  .hero-show{padding-top:28px}
  .gallery{gap:20px}
  .gallery-tab{padding:9px 14px;gap:8px}
  .lightbox{padding:64px 12px 12px}
  .try{padding:20px}
  .promise{padding:28px 20px;border-radius:14px}
  .closing{padding:28px 20px;border-radius:14px;margin-top:64px}
  .closing h2{font-size:28px}
  .closing .btn{width:100%}
  .site-footer .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-products ul{grid-template-columns:minmax(0,1fr)}
  .signup{padding-top:40px}
  .signup-form{padding:22px}
  .page-title{font-size:34px;letter-spacing:-.8px}
  /* On a phone the picture keeps a readable size and the card scrolls sideways, instead of shrinking the text to a few pixels. */
  .shot{overflow-x:auto}
  .shot img{max-width:none;width:620px}
  .shot figcaption{position:sticky;left:0;box-sizing:border-box;width:100%}
}
@media (max-width:420px){
  .gallery-tabs{width:100%}
  .gallery-tab{flex:1 1 0;justify-content:center;padding:9px 8px}
  .gallery-num{display:none}
  .site-header .brand-name{font-size:18px}
  .site-header .brand-mark{width:30px;height:30px}
  .site-actions .btn{padding:9px 12px}
}

/* ---------- Print: the user guide as a PDF (tools/build_guide.ps1 prints /guide). A cover, the contents with page
   numbers (written into guide.html by the script), and every chapter on a new page. Other pages print plainly. ---------- */
@page{size:Letter;margin:14mm 14mm 16mm}
/* The cover is one dark page from edge to edge, in the website's own colors; the pages after it stay white. */
@page cover{size:Letter;margin:0}
@media print{
  :root{color-scheme:light}
  body{background:#FFFFFF;font-size:10.5pt}
  .site-header,.site-footer,.skip-link,.guide-hero{display:none}
  .print-only{display:block}
  .guide{display:block;margin:0;padding:0;max-width:none}
  .guide-cover{page:cover;height:279.4mm;box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:10px;break-after:page;padding:0 24mm 0 26mm;
    background:#0B1417;border-left:9mm solid #2A8070;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .guide-cover-brand{display:flex;align-items:center;gap:4mm;font-family:var(--font-display);font-size:22pt;font-weight:500;letter-spacing:-.2px;color:#F1EEE6;
    --mark-body:#F1EEE6;--mark-cap:#9BD5C2;--mark-point:#9BD5C2;--product:#86D1BD}
  .guide-cover-brand .gp-mark{width:15mm;height:15mm;flex-shrink:0}
  .guide-cover h2{font-size:44pt;line-height:1.05;letter-spacing:-1px;color:#F1EEE6}
  .guide-cover-sub{font-size:14pt;color:#E1E7E3;max-width:150mm}
  .guide-cover-meta{margin-top:18mm;font-size:11pt;color:#A4B5B2}
  .guide-cover-note{font-size:10pt;color:#A4B5B2}
  .guide-toc{position:static;max-height:none;overflow:visible;border:0;padding:0;background:none;break-after:page}
  .guide-toc h2{font-family:var(--font-display);font-size:26pt;letter-spacing:-.4px;text-transform:none;font-weight:400;color:var(--ink)}
  .guide-toc ol{margin-top:10mm;gap:5mm;font-size:12pt}
  .guide-toc a{border-bottom:1px dotted var(--line-2);padding-bottom:2mm}
  .toc-page{display:inline;color:var(--muted)}
  .guide-body{max-width:none;gap:0;line-height:1.55}
  .guide-body section{break-before:page;gap:9px}
  .guide-body section:first-child{break-before:auto}
  .guide-body h2{font-size:22pt}
  .guide-body h3{font-size:13pt;margin-top:8px}
  .guide-body h2,.guide-body h3{break-after:avoid}
  .guide-shot{box-shadow:none;break-inside:avoid;margin-top:4px}
  .guide-body ol.marks{break-before:avoid}
  .marks li{break-inside:avoid}
  .guide-note{break-inside:avoid}
  a{color:var(--link);text-decoration:none}
}
