/* NIMDEE app pages (download, pricing, sign-in, account, admin, products, legal): the landing page's look on top of
   the licence-server stylesheet (app.css), which keeps styling every form, licence card and admin table.
   Load order: app.css, then this file. Light theme only, to match the landing page. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Regular.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/Inter-Medium.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/Inter-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 700 800; font-display: swap; src: url("../fonts/Inter-Bold.ttf") format("truetype"); }

/* ---------- tokens: navy + gold, flat (the same values in dark mode: light theme only) ---------- */
:root, :root:not([data-theme]) {
  --navy-950: #071D1D; --navy-900: #0D2B2B; --navy-800: #185959; --navy-700: #1F6B6B;
  --gold-500: #F37B44; --gold-600: #DB6F3D;
  --bg: #F3F5F7; --surface: #FFFFFF; --surface-2: #EDF0F2; --surface-3: #F8FAFB;
  --text: #2D3A43; --heading: #0E1B25; --muted: #5C6870;
  --border: #D9DFE3; --border-soft: #E6EBEE;
  --accent: #185959; --accent-hover: #1F6B6B; --accent-soft: #E4F0F0;
  --gold: #DB6F3D; --gold-2: #F37B44;
  --badge: #172026; --badge-text: #EF956C;
  --hero-text: #FFFFFF; --hero-muted: #BFD0D0;
  --ok: #1C7C47; --ok-soft: #E6F4EC; --warn: #A6600B; --warn-soft: #FFF4DF; --bad: #C62828; --bad-soft: #FDECEC;
  --hover-tint: rgba(24, 89, 89, .04);
  --radius: 8px;
  --shadow: 0 1px 2px rgba(14, 27, 37, .05);
  --shadow-lg: 0 12px 32px rgba(7, 29, 29, .14);
  --focus-ring: 0 0 0 3px rgba(243, 123, 68, .35);
  --hero-bg: #071D1D;
  --media-bg: #0D2B2B; --media-grid: #1E4242; --media-text: #F4F4F5; --media-muted: #BFD0D0; --media-accent: #F37B44;
  --action-text: #FFFFFF; --eyebrow-text: #B5531F;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #F3F5F7; --surface: #FFFFFF; --surface-2: #EDF0F2; --surface-3: #F8FAFB;
    --text: #2D3A43; --heading: #0E1B25; --muted: #5C6870; --border: #D9DFE3; --border-soft: #E6EBEE;
    --accent: #185959; --accent-hover: #1F6B6B; --accent-soft: #E4F0F0; --badge: #172026; --badge-text: #EF956C;
    --ok: #1C7C47; --ok-soft: #E6F4EC; --warn: #A6600B; --warn-soft: #FFF4DF; --bad: #C62828; --bad-soft: #FDECEC;
    --hover-tint: rgba(24, 89, 89, .04); --shadow: 0 1px 2px rgba(14, 27, 37, .05); --shadow-lg: 0 12px 32px rgba(7, 29, 29, .14);
    --focus-ring: 0 0 0 3px rgba(243, 123, 68, .35);
    --media-bg: #0D2B2B; --media-grid: #1E4242; --media-text: #F4F4F5; --media-muted: #BFD0D0; --media-accent: #F37B44;
    --action-text: #FFFFFF; --eyebrow-text: #B5531F;
    color-scheme: light;
  }
}

body { font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; font-size: 16px; font-feature-settings: normal; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Inter", "Segoe UI", Arial, sans-serif; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
h1 { font-weight: 800; letter-spacing: -.04em; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3 { letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.wrap { max-width: 1180px; padding-left: clamp(16px, 4vw, 32px); padding-right: clamp(16px, 4vw, 32px); }
.wrap.mid { max-width: 860px; }
.site-header .wrap, .site-footer .wrap { max-width: 1180px; padding-left: clamp(16px, 4vw, 32px); padding-right: clamp(16px, 4vw, 32px); }
.wrap.narrow { max-width: 520px; }

/* ---------- small parts: flat, square-ish ---------- */
.eyebrow { color: var(--navy-800); font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: .14em; font-size: .8rem; }
.eyebrow::before { display: block; width: 26px; height: 3px; border-radius: 0; background: var(--gold-500); box-shadow: none; }
.badge { border-radius: 4px; background: var(--badge); color: var(--badge-text); font-weight: 700; letter-spacing: .04em; }
.card { border-radius: var(--radius); box-shadow: none; }
.card:hover, .grid > .card:hover { transform: none; box-shadow: none; }
.btn { border-radius: 4px; box-shadow: none; font-family: "Inter", sans-serif; font-weight: 600; font-size: .95rem; letter-spacing: -.005em; }
.btn:hover { transform: none; box-shadow: none; }
.btn:not(.secondary):not(.danger):not(.light):not(.ghost-light):not(.google):not(.btn-clear):not(.btn-line) { background: var(--navy-800); border-color: var(--navy-800); }
.btn:not(.secondary):not(.danger):not(.light):not(.ghost-light):not(.google):not(.btn-clear):not(.btn-line):hover { background: var(--navy-700); border-color: var(--navy-700); }
.btn.secondary:hover { border-color: var(--navy-700); }
.btn.btn-gold, .btn.btn-gold:hover { color: var(--navy-950) !important; }
.btn.btn-gold { background: var(--gold-500) !important; border-color: var(--gold-500) !important; }
.btn.btn-gold:hover { background: var(--gold-600) !important; border-color: var(--gold-600) !important; }
.pill { border-radius: 4px; }
mark.todo { border-radius: 3px; }
.hero::after { display: none; }
.hero { background: var(--navy-950); }

/* ---------- products overview: two cards with a real screen each ---------- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.product-grid > .card + .card { margin-top: 0; }
.product-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.product-card > :not(.product-preview) { margin-left: 24px; margin-right: 24px; }
.product-preview { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.product-preview picture, .product-preview img { display: block; width: 100%; height: 100%; }
.product-preview img { object-fit: cover; object-position: 50% 30%; }
.product-card + .product-card .product-preview img { object-position: 0 0; }
.product-card .card-head { margin-top: 20px; }
.product-card h2 { margin-top: 10px; }
.product-card .actions { margin-top: auto; padding: 18px 0 24px; align-items: center; }
@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- sign-in, register, password pages: navy band, white card ---------- */
body.auth main { background: var(--navy-950); }
body.auth .form-page .card { border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); animation: none; }
body.auth .form-page > p a { color: var(--gold-500); }

/* ---------- header (same as the landing page) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .nav { display: flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; height: 76px; min-height: 0; gap: 28px; margin: 0 auto; }
.site-header .brand, .site-footer .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; letter-spacing: 0; font-size: inherit; }
.site-header .brand img, .site-footer .brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 800 21px/1 "Inter", sans-serif; letter-spacing: .14em; color: #fff; }
.brand-tag { margin-top: 6px; font: 600 9.5px/1.4 "Inter", sans-serif; letter-spacing: .18em; color: #C8D8D8; opacity: .75; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0 0 0 18px; padding: 0; }
.site-header .nav-links a { display: block; min-height: 0; padding: 10px 12px; border-radius: 0; color: rgba(255,255,255,.8); background: none; text-decoration: none; font-weight: 500; font-size: 15.5px; }
.site-header .nav-links a:hover { color: #fff; background: none; }
.site-header .nav-links a[aria-current="page"] { color: #fff; background: none; box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-header .nav-cta .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.site-header .nav-cta a.nav-signin { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; min-height: 0; }
.site-header .nav-cta a.nav-signin:hover { color: #fff; background: none; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

/* ---------- footer (same as the landing page) ---------- */
.site-footer { margin-top: clamp(64px, 9vw, 112px); padding: 0; border-top: 0; background: var(--navy-950); color: #9DB4B4; font-size: 15px; }
body.auth .site-footer { margin-top: 0; }
.site-footer .wrap { display: grid; justify-content: initial; }
.site-footer .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h4 { margin: 0 0 16px; color: #fff; font: 600 13px/1 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #B8CBCB; text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer .brand { color: #fff; }
.footer-about p { margin: 16px 0 0; max-width: 340px; font-size: 14.5px; color: #9DB4B4; }
.site-footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }

@media (max-width: 1040px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .site-header .nav-links, .site-header .nav-cta a.nav-signin { display: none; }
  .menu-btn { display: grid; }
  .site-header.open .nav-links { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px clamp(16px, 4vw, 32px) 18px; background: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-header.open .nav-links a { padding: 14px 12px; font-size: 16px; }
}
@media (max-width: 640px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .site-header .nav-cta .btn-gold { display: none; }
}

/* ---------- product icons (3D renders, assets/brand/products) ---------- */
.product-icon { display: block; width: 56px; height: 56px; flex: none; border-radius: 12px; box-shadow: 0 8px 18px rgba(7, 29, 29, .22); }
.product-icon.lg { width: 84px; height: 84px; border-radius: 19px; }
.hero-product { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.hero-product .eyebrow { margin: 0; }
.hero-product.center { flex-direction: column; gap: 14px; }

/* ==========================================================================
   Marketing pages (pricing, download, products): the home page's look.
   pg-hero: dark hero, photo or app shot; pg-section: big headings; pg-cta: orange band.
   ========================================================================== */
.pg { --pg-night: #071D1D; --pg-deep: #0D2B2B; --pg-teal: #185959; --pg-orange: #F37B44; --pg-ink: #0E1B25; --pg-paper: #F3F5F7; --pg-muted: #5C6870; --pg-line: #D9DFE3; background: #fff; }
.pg h1, .pg h2, .pg h3 { color: var(--pg-ink); }
.pg-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

/* buttons, as on the home page */
.pg .btn { height: 52px; padding: 0 26px; font-size: 16px; border-width: 1.5px; text-decoration: none; }
.pg .btn svg { width: 18px; height: 18px; }
.pg .btn.btn-clear { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.pg .btn.btn-clear:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
.pg .btn.btn-line { background: transparent; color: var(--pg-ink) !important; border-color: var(--pg-ink); }
.pg .btn.btn-line:hover { background: var(--pg-ink); color: #fff !important; }
.pg .btn.btn-ink { background: var(--pg-ink) !important; border-color: var(--pg-ink) !important; color: #fff; }
.pg .btn.btn-ink:hover { background: var(--pg-teal) !important; border-color: var(--pg-teal) !important; color: #fff; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.pg-label { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 13px/1 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--pg-teal); }
.pg-label::before { content: ""; width: 26px; height: 3px; background: var(--pg-orange); }

/* hero */
.pg-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--pg-night); color: #fff; }
.pg-hero-bg, .pg-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg-hero-bg { z-index: -2; }
.pg-hero-bg img { object-fit: cover; object-position: 70% 50%; }
.pg-hero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 29, 29, .96) 0%, rgba(7, 29, 29, .88) 38%, rgba(7, 29, 29, .5) 70%, rgba(7, 29, 29, .3) 100%), linear-gradient(0deg, rgba(7, 29, 29, .85), transparent 40%); }
.pg-hero.has-glow::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(46, 138, 133, .35), transparent); }
.pg-hero-inner { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.pg-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.pg-kicker { display: flex; align-items: center; gap: 14px; margin: 0; font: 600 14px/1.2 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--pg-orange); }
.pg-kicker span { color: rgba(255, 255, 255, .6); }
.pg-kicker img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.pg-hero h1 { margin: 26px 0 0; max-width: 860px; color: #fff; font-weight: 800; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -.045em; }
.pg-hero h1 em { font-style: normal; color: var(--pg-orange); }
.pg-lead { margin: 24px 0 0; max-width: 580px; color: rgba(255, 255, 255, .82); font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.6; }
.pg-note { margin: 22px 0 0; max-width: 560px; color: rgba(255, 255, 255, .6); font-size: 15px; line-height: 1.55; }
.pg-note:empty { display: none; }
.pg-hero-grid.wide-shot { grid-template-columns: .85fr 1.3fr; }
.pg-hero-grid h1 { font-size: clamp(40px, 4.6vw, 66px); }
.pg-caption:empty { display: none; }
.pg-shot { margin: 0; }
.pg-shot img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12); }
.pg-shot figcaption { margin-top: 14px; color: rgba(255, 255, 255, .55); font-size: 13.5px; }
.pg-credit { position: absolute; right: 0; bottom: 0; margin: 0; padding: 6px 12px; background: rgba(7, 29, 29, .7); color: rgba(255, 255, 255, .75); font-size: 13px; }
.pg-credit a { color: inherit; }

/* sections */
.pg-section { padding: clamp(72px, 9vw, 120px) 0; }
.pg-section.paper { background: var(--pg-paper); }
.pg-section.dark { background: var(--pg-night); color: rgba(255, 255, 255, .8); }
.pg-section.teal { background: var(--pg-teal); color: rgba(255, 255, 255, .82); }
.pg-section.dark h2, .pg-section.dark h3, .pg-section.teal h2, .pg-section.teal h3 { color: #fff; }
.pg-section.dark .pg-label, .pg-section.teal .pg-label { color: var(--pg-orange); }
.pg-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 56px); }
.pg-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.pg-head.center .pg-label { justify-content: center; }
.pg-head h2 { margin: 18px 0 0; font-weight: 800; font-size: clamp(32px, 4vw, 54px); line-height: 1.06; letter-spacing: -.04em; }
.pg-sub { margin: 18px 0 0; max-width: 640px; color: var(--pg-muted); font-size: 18px; line-height: 1.6; }
.pg-head.center .pg-sub { margin-left: auto; margin-right: auto; }
.pg-section.dark .pg-sub, .pg-section.teal .pg-sub { color: rgba(255, 255, 255, .7); }

/* numbered steps */
.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.pg-steps li { position: relative; padding: 30px 28px 32px; background: #fff; border-top: 4px solid var(--pg-orange); box-shadow: 0 24px 48px -36px rgba(13, 43, 43, .5); }
.pg-steps li:nth-child(2) { border-top-color: var(--pg-teal); }
.pg-steps li:nth-child(3) { border-top-color: var(--pg-ink); }
.pg-steps .badge { min-width: 40px; height: 30px; font-size: 14px; }
.pg-steps h3 { margin: 22px 0 0; font-weight: 700; font-size: 22px; letter-spacing: -.025em; }
.pg-steps p { margin: 10px 0 0; color: var(--pg-muted); font-size: 16.5px; line-height: 1.6; }

/* tabs with a screenshot (as the suite tabs on the home page) */
.pg-tab-list { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--pg-line); margin-bottom: 44px; }
.pg-tab { position: relative; padding: 14px 20px 16px; border: 0; background: none; cursor: pointer; color: var(--pg-muted); font: 600 16.5px/1 "Inter", sans-serif; letter-spacing: -.01em; }
.pg-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--pg-orange); transform: scaleX(0); transition: transform .2s; }
.pg-tab:hover, .pg-tab[aria-selected="true"] { color: var(--pg-ink); }
.pg-tab[aria-selected="true"]::after { transform: scaleX(1); }
.pg-panel { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pg-panel[hidden] { display: none; }
html:not(.js) .pg-panel[hidden] { display: grid; margin-top: 48px; }
.pg-panel img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 40px 70px -40px rgba(13, 43, 43, .55), 0 0 0 1px rgba(13, 43, 43, .1); }
.pg-tool { display: inline-flex; align-items: center; gap: 10px; color: var(--pg-teal); font: 600 13px/1 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.pg-tool::before { content: ""; width: 10px; height: 10px; background: var(--pg-orange); }
.pg-panel h3 { margin: 16px 0 0; font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
.pg-panel p { margin: 16px 0 0; color: var(--pg-muted); font-size: 17.5px; line-height: 1.6; }
.pg-caption { margin: 18px 0 0; color: var(--pg-muted); font-size: 14px; }

/* facts on a dark band */
.pg-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 0; }
.pg-facts div { padding-top: 18px; border-top: 2px solid var(--pg-orange); }
.pg-facts dt { color: var(--pg-orange); font: 600 13px/1 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.pg-facts dd { margin: 14px 0 0; color: #fff; font-size: 17px; font-weight: 500; line-height: 1.5; }
.pg-facts dd a { color: #fff; }

/* checklist */
.pg-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 2px solid var(--pg-ink); }
.pg-checks li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--pg-line); color: var(--pg-ink); font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
.pg-checks li::before { content: ""; flex: none; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%; background: var(--pg-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1B25' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.pg-checks small { display: block; margin-top: 4px; color: var(--pg-muted); font-size: 15.5px; font-weight: 400; letter-spacing: 0; }

/* FAQ (as on the home page) */
.pg-faq-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.pg-faq-grid .pg-head { margin-bottom: 0; }
.pg-faq { border-top: 2px solid var(--pg-ink); }
.pg-faq details { border-bottom: 1px solid var(--pg-line); }
.pg-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; cursor: pointer; list-style: none; color: var(--pg-ink); font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--pg-paper); color: var(--pg-teal); font: 600 20px/1 "Inter", sans-serif; transition: transform .2s; }
.pg-faq details[open] summary::after { transform: rotate(45deg); background: var(--pg-orange); color: var(--pg-ink); }
.pg-faq details p { margin: 0; padding: 0 48px 24px 0; color: var(--pg-muted); font-size: 16.5px; line-height: 1.65; }
.pg-faq a { color: var(--pg-teal); font-weight: 600; }

/* product rows (products page) */
.pg-product { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.pg-product.flip { grid-template-columns: 1.25fr 1fr; }
.pg-product.flip .pg-product-copy { order: 2; }
.pg-product-head { display: flex; align-items: center; gap: 16px; }
.pg-product-head img { width: 72px; height: 72px; border-radius: 16px; box-shadow: 0 10px 24px rgba(7, 29, 29, .3); }
.pg-product h2 { margin: 22px 0 0; font-weight: 800; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.06; letter-spacing: -.04em; }
.pg-product .pg-sub { margin-top: 16px; }
.pg-product ul { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--pg-line); }
.pg-product li { padding: 13px 0 13px 26px; position: relative; border-bottom: 1px solid var(--pg-line); color: var(--pg-ink); font-weight: 500; }
.pg-product li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 10px; background: var(--pg-orange); }
.pg-section.dark .pg-product ul, .pg-section.dark .pg-product li { border-color: rgba(255, 255, 255, .12); }
.pg-section.dark .pg-product li { color: rgba(255, 255, 255, .9); }
.pg-product-media { margin: 0; }
.pg-product-media img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 50px 90px -45px rgba(13, 43, 43, .6), 0 0 0 1px rgba(13, 43, 43, .1); }
.pg-section.dark .pg-product-media img { box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); }
.pg-product-media figcaption { margin-top: 14px; color: var(--pg-muted); font-size: 14px; }
.pg-section.dark .pg-product-media figcaption { color: rgba(255, 255, 255, .55); }
.pg-pending { margin: 18px 0 0; color: rgba(255, 255, 255, .6); font-size: 15px; }

/* side note strip (Site Desk on the pricing and download pages) */
.pg-aside { display: flex; align-items: center; gap: 22px; padding: 26px 30px; background: #fff; border-left: 5px solid var(--pg-teal); box-shadow: 0 20px 40px -32px rgba(13, 43, 43, .5); }
.pg-aside img { width: 60px; height: 60px; flex: none; border-radius: 14px; box-shadow: 0 8px 18px rgba(7, 29, 29, .22); }
.pg-aside h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.pg-aside p { margin: 4px 0 0; color: var(--pg-muted); font-size: 16px; }
.pg-aside a { margin-left: auto; flex: none; color: var(--pg-teal); font-weight: 600; text-decoration: none; }
.pg-aside a:hover { color: var(--pg-ink); }

/* closing orange band */
.pg-cta { background: var(--pg-orange); }
.pg-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 72px; padding-bottom: 72px; }
.pg-cta h2 { max-width: 760px; margin: 0; color: var(--pg-ink); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -.04em; }
.pg-cta .pg-actions { margin-top: 0; }
.pg-cta .btn.btn-line:hover { background: rgba(14, 27, 37, .08); color: var(--pg-ink) !important; }
body:has(main.pg) .site-footer { margin-top: 0; }

/* reveal on scroll (only when pages.js runs) */
.js .pg .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .pg .reveal.in { opacity: 1; transform: none; }

/* ---------- pricing: the plan cards app.js builds ---------- */
body[data-page="pricing"] .pg .period { margin: 0 0 40px; gap: 12px; }
body[data-page="pricing"] .pg .segmented { padding: 5px; border-radius: 6px; background: #fff; border-color: var(--pg-line); }
body[data-page="pricing"] .pg .segmented button { padding: 10px 20px; border-radius: 4px; font-size: 15.5px; }
body[data-page="pricing"] .pg .segmented.small button { padding: 8px 16px; font-size: 14.5px; }
body[data-page="pricing"] .pg .segmented button[aria-pressed="true"] { background: var(--pg-ink); color: var(--pg-orange); }
body[data-page="pricing"] .pg .pay-note { max-width: 620px; color: var(--pg-muted); font-size: 15px; }
body[data-page="pricing"] .pg .plans { max-width: 980px; gap: 24px; }
body[data-page="pricing"] .pg .plan { padding: 36px 36px 34px; border: 0; border-radius: 0; border-top: 5px solid var(--pg-teal); background: #fff; box-shadow: 0 30px 60px -40px rgba(13, 43, 43, .55); }
body[data-page="pricing"] .pg .plan .card-head { margin-bottom: 8px; }
body[data-page="pricing"] .pg .plan h2 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; }
body[data-page="pricing"] .pg .plan > p.muted { margin: 0; font-size: 16.5px; color: var(--pg-muted); }
body[data-page="pricing"] .pg .price { margin: 22px 0 4px; font-size: clamp(40px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.04em; color: var(--pg-ink); }
body[data-page="pricing"] .pg .price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--pg-muted); }
body[data-page="pricing"] .pg .plan ul { margin: 18px 0 28px; border-top: 1px solid var(--pg-line); }
body[data-page="pricing"] .pg .plan li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--pg-line); font-size: 16px; }
body[data-page="pricing"] .pg .plan li::before { left: 4px; top: 18px; border-color: var(--pg-orange); }
body[data-page="pricing"] .pg .plan .btn.block { height: 54px; font-size: 16px; }
body[data-page="pricing"] .pg .plan.featured { background: var(--pg-night); border-top-color: var(--pg-orange); box-shadow: 0 40px 80px -40px rgba(7, 29, 29, .8); color: rgba(255, 255, 255, .82); }
body[data-page="pricing"] .pg .plan.featured h2, body[data-page="pricing"] .pg .plan.featured .price { color: #fff; }
body[data-page="pricing"] .pg .plan.featured > p.muted, body[data-page="pricing"] .pg .plan.featured .price small, body[data-page="pricing"] .pg .plan.featured .seat-row .muted { color: rgba(255, 255, 255, .65); }
body[data-page="pricing"] .pg .plan.featured ul, body[data-page="pricing"] .pg .plan.featured li { border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .9); }
body[data-page="pricing"] .pg .plan.featured .pill { background: rgba(243, 123, 68, .16); color: var(--pg-orange); }
body[data-page="pricing"] .pg .plan.featured .segmented { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
body[data-page="pricing"] .pg .plan.featured .segmented button { color: rgba(255, 255, 255, .8); }
body[data-page="pricing"] .pg .plan.featured .segmented button[aria-pressed="true"] { background: var(--pg-orange); color: var(--pg-ink); }
body[data-page="pricing"] .pg .plan.featured .btn.block:not(:disabled) { background: var(--pg-orange) !important; border-color: var(--pg-orange) !important; color: var(--pg-ink); }
body[data-page="pricing"] .pg .plan.featured .btn.block:not(:disabled):hover { background: #F59569 !important; border-color: #F59569 !important; }
body[data-page="pricing"] .pg .plan .badge { display: none; }

@media (max-width: 1000px) {
  .pg-hero-grid, .pg-hero-grid.wide-shot, .pg-panel, .pg-product, .pg-product.flip, .pg-faq-grid { grid-template-columns: 1fr; }
  .pg-product.flip .pg-product-copy { order: 0; }
  .pg-steps { grid-template-columns: 1fr; }
  .pg-facts { grid-template-columns: repeat(2, 1fr); }
  .pg-hero.has-photo::after { background: linear-gradient(90deg, rgba(7, 29, 29, .93), rgba(7, 29, 29, .7)), linear-gradient(0deg, rgba(7, 29, 29, .85), transparent 40%); }
}
@media (max-width: 640px) {
  .pg-actions .btn { flex: 1 1 100%; }
  .pg-kicker { display: block; line-height: 1.6; font-size: 13px; }
  .pg-kicker img { display: inline-block; vertical-align: middle; margin-right: 12px; }
  .pg-facts, .pg-checks { grid-template-columns: 1fr; }
  .pg-tab-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pg-tab { white-space: nowrap; padding: 12px 14px 14px; font-size: 15.5px; }
  .pg-aside { flex-wrap: wrap; }
  .pg-aside a { margin-left: 0; }
  body[data-page="pricing"] .pg .plan { padding: 28px 22px; }
  .pg-faq details p { padding-right: 0; }
}

/* ---------- Site Desk page ---------- */
.pg-anchors { position: sticky; top: 76px; z-index: 20; background: #fff; border-bottom: 1px solid var(--pg-line); scroll-margin-top: 76px; }
.pg-anchors-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pg-anchors a { flex: none; display: flex; align-items: center; gap: 10px; padding: 18px 16px; color: var(--pg-muted); font-weight: 600; font-size: 15.5px; text-decoration: none; border-bottom: 3px solid transparent; }
.pg-anchors a b { color: var(--pg-orange); font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.pg-anchors a:hover { color: var(--pg-ink); border-bottom-color: var(--pg-orange); }
.pg [id] { scroll-margin-top: 140px; }
.pg-hero .pg-shot a, .pg-panel > a, .pg-wide a { display: block; }
.pg-wide { margin: 0; }
.pg-wide img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 40px 70px -40px rgba(13, 43, 43, .55), 0 0 0 1px rgba(13, 43, 43, .1); }
.pg-wide figcaption { margin-top: 18px; max-width: 760px; color: var(--pg-muted); font-size: 16px; line-height: 1.6; }
.pg-wide figcaption b { color: var(--pg-ink); }
.pg-proof { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--pg-line); max-width: 860px; color: var(--pg-muted); font-size: 14px; line-height: 1.6; }
.pg-panel ul { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--pg-line); }
.pg-panel li { position: relative; padding: 11px 0 11px 24px; border-bottom: 1px solid var(--pg-line); color: var(--pg-ink); font-weight: 500; font-size: 16px; }
.pg-panel li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 10px; background: var(--pg-orange); }
.pg-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.pg-grid4 div { padding-top: 18px; border-top: 2px solid var(--pg-orange); }
.pg-grid4 h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.pg-grid4 p { margin: 10px 0 0; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.6; }
.pg-access { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; padding: clamp(32px, 4vw, 48px); background: var(--pg-paper); border-left: 5px solid var(--pg-orange); }
.pg-access h2 { margin: 18px 0 0; font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.pg-access p { margin: 0; color: var(--pg-ink); font-size: 18px; line-height: 1.6; }
.pg-pending-pill { margin-top: 16px !important; padding: 12px 16px; background: #FFF4DF; border-left: 3px solid #A6600B; color: #7A4708 !important; font-size: 15.5px !important; }
@media (max-width: 1000px) {
  .pg-grid4 { grid-template-columns: repeat(2, 1fr); }
  .pg-access { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pg-grid4 { grid-template-columns: 1fr; }
  .pg-anchors a { padding: 15px 12px; font-size: 14.5px; }
}
.pg-stack .pg-panel { grid-template-columns: 1fr; gap: 30px; }
.pg-stack .pg-panel > div { order: -1; max-width: 780px; }
.pg-stack .pg-panel > div ul { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; border-top: 0; }
.pg-stack .pg-panel > div li { border-bottom: 0; padding-top: 4px; padding-bottom: 4px; }
.pg-stack .pg-panel > div li::before { top: 12px; }
@media (max-width: 760px) { .pg-stack .pg-panel > div ul { grid-template-columns: 1fr; } }

/* ---------- sign-in, create account and password pages: photo panel beside the form ---------- */
body.auth main.auth-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 76px); background: #F3F5F7; }
.auth-side { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; background: #071D1D; color: #fff; }
.auth-bg, .auth-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-bg { z-index: -2; }
.auth-bg img { object-fit: cover; object-position: 50% 40%; }
.auth-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 29, 29, .97) 0%, rgba(7, 29, 29, .82) 45%, rgba(7, 29, 29, .35) 100%); }
.auth-side-inner { padding: clamp(40px, 5vw, 72px); max-width: 640px; }
.auth-kicker { display: flex; align-items: center; gap: 12px; margin: 0; color: #fff; font: 800 19px/1 "Inter", sans-serif; letter-spacing: .14em; }
.auth-kicker img { width: 40px; height: 40px; }
.auth-side h2 { margin: 28px 0 0; color: #fff; font-weight: 800; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.04em; }
.auth-side h2 em { font-style: normal; color: #F37B44; }
.auth-points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 14px; align-items: center; color: rgba(255, 255, 255, .88); font-size: 17px; font-weight: 500; }
.auth-points li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #F37B44 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1B25' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.auth-credit { position: absolute; top: 0; right: 0; margin: 0; padding: 6px 12px; background: rgba(7, 29, 29, .7); color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.auth-credit a { color: inherit; }
body.auth .auth-split .form-page { align-self: center; justify-self: center; width: 100%; max-width: 520px; padding: clamp(40px, 6vw, 80px) clamp(18px, 4vw, 40px); }
body.auth .auth-split .form-page > h1 { color: #0E1B25; font-weight: 800; font-size: clamp(32px, 3vw, 42px); letter-spacing: -.04em; }
body.auth .auth-split .form-page > p, body.auth .auth-split .form-page > .muted { margin-top: 10px; color: #5C6870; font-size: 16.5px; }
body.auth .auth-split .form-page > p a { color: #185959; font-weight: 600; }
body.auth .auth-split .form-page .card { margin-top: 26px; padding: 30px; border: 1px solid #D9DFE3; border-radius: 6px; border-top: 4px solid #F37B44; box-shadow: 0 30px 60px -40px rgba(13, 43, 43, .45); animation: none; }
body.auth .auth-split label { color: #0E1B25; font-weight: 600; font-size: 14px; }
body.auth .auth-split input[type="email"], body.auth .auth-split input[type="password"], body.auth .auth-split input[type="text"] { height: 50px; padding: 0 14px; border-radius: 4px; border-color: #C9D2D7; font-size: 16px; }
body.auth .auth-split input:focus { border-color: #185959; box-shadow: 0 0 0 3px rgba(24, 89, 89, .15); outline: none; }
body.auth .auth-split .btn.block:not(.google):not(.secondary) { height: 52px; background: #F37B44 !important; border-color: #F37B44 !important; color: #0E1B25 !important; font-size: 16px; }
body.auth .auth-split .btn.block:not(.google):not(.secondary):hover { background: #F59569 !important; border-color: #F59569 !important; }
body.auth .auth-split .btn.google { height: 50px; border-radius: 4px; }
body.auth .auth-split .links a, body.auth .auth-split .agree a { color: #185959; }
@media (max-width: 900px) {
  body.auth main.auth-split { grid-template-columns: 1fr; min-height: 0; }
  .auth-side { min-height: 0; }
  .auth-side-inner { padding: 36px clamp(18px, 4vw, 40px) 32px; }
  .auth-side h2 { margin-top: 18px; font-size: 30px; }
  .auth-points { display: none; }
  .auth-credit { display: none; }
  .auth-kicker { display: none; }
}

/* ---------- account and billing pages: dark heading band, numbered white cards ---------- */
body[data-page="account"] main, body[data-page="billingDone"] main { background: linear-gradient(#071D1D 0, #0D2B2B 250px, #F3F5F7 250px); padding-bottom: clamp(56px, 8vw, 96px); }
body[data-page="billingDone"] .form-page { padding-top: clamp(56px, 7vw, 80px); }
body[data-page="billingDone"] .form-page > h1 { color: #fff; font-weight: 800; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.04em; }
body[data-page="billingDone"] .form-page .card { margin-top: 28px; padding: 30px; border: 0; border-top: 4px solid #F37B44; border-radius: 0; box-shadow: 0 30px 60px -40px rgba(13, 43, 43, .5); }
body[data-page="account"] .account-head { padding: clamp(48px, 6vw, 72px) 0 40px; min-height: 250px; align-items: center; }
body[data-page="account"] .account-head h1 { margin-top: 14px; color: #fff; font-weight: 800; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.04em; }
body[data-page="account"] .account-head .eyebrow { color: #F37B44; }
body[data-page="account"] .account-head .btn.secondary { height: 44px; padding: 0 18px; background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 4px; }
body[data-page="account"] .account-head .btn.secondary:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
body[data-page="account"] #account > .card, body[data-page="account"] #account > section.card { margin-top: 20px; padding: 30px 32px; border: 0; border-top: 4px solid #F37B44; border-radius: 0; background: #fff; box-shadow: 0 30px 60px -42px rgba(13, 43, 43, .5); }
body[data-page="account"] #account > .card:nth-of-type(2) { border-top-color: #185959; }
body[data-page="account"] #account > .card:nth-of-type(3) { border-top-color: #0E1B25; }
body[data-page="account"] #account .card-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
body[data-page="account"] .licence-title h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
body[data-page="account"] #account .btn.small { height: 40px; padding: 0 16px; border-radius: 4px; }
body[data-page="account"] #account .btn.small:not(.secondary):not(.danger) { background: #F37B44 !important; border-color: #F37B44 !important; color: #0E1B25 !important; }
body[data-page="account"] #account .btn.small:not(.secondary):not(.danger):hover { background: #F59569 !important; border-color: #F59569 !important; }
body[data-page="account"] #account .notice { border-radius: 0; }
body[data-page="account"] #account > p.loading { color: rgba(255, 255, 255, .8); }
@media (max-width: 640px) {
  body[data-page="account"] #account > .card { padding: 24px 20px; }
}

/* ---------- terms, privacy, refunds: dark heading band, readable text ---------- */
main.legal-page { background: #fff; }
.legal-band { background: linear-gradient(160deg, #071D1D 0%, #0D2B2B 100%); color: #fff; padding: clamp(56px, 7vw, 88px) 0 0; }
.legal-band .eyebrow { color: #F37B44; }
.legal-band h1 { margin: 16px 0 0; color: #fff; font-weight: 800; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.04em; }
.legal-band .muted { margin-top: 12px; color: rgba(255, 255, 255, .65); }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 36px; }
.legal-links a { padding: 14px 16px 16px; color: rgba(255, 255, 255, .7); font-weight: 600; font-size: 15.5px; text-decoration: none; border-bottom: 3px solid transparent; }
.legal-links a:hover { color: #fff; }
.legal-links a[aria-current="page"] { color: #fff; border-bottom-color: #F37B44; }
main.legal-page .legal { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); font-size: 17px; line-height: 1.7; color: #2D3A43; }
main.legal-page .legal h2 { margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid #E6EBEE; color: #0E1B25; font-size: 24px; font-weight: 800; letter-spacing: -.025em; }
main.legal-page .legal a { color: #185959; font-weight: 600; }
main.legal-page .legal li::marker { color: #F37B44; }

/* ---------- admin dashboard: dark heading band, flat cards, the person's account actions ---------- */
body[data-page="admin"] main { background: linear-gradient(#071D1D 0, #0D2B2B 220px, #F3F5F7 220px); padding-bottom: clamp(56px, 8vw, 96px); }
body[data-page="admin"] .admin-head { min-height: 220px; padding: clamp(44px, 5vw, 60px) 0 32px; }
body[data-page="admin"] .admin-head .eyebrow { color: #F37B44; }
body[data-page="admin"] .admin-head h1 { margin-top: 14px; color: #fff; font-weight: 800; font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.04em; }
body[data-page="admin"] .admin-head p { color: rgba(255, 255, 255, .65); }
body[data-page="admin"] .kpis { gap: 14px; margin-bottom: 22px; }
body[data-page="admin"] .kpi { border: 0; border-radius: 0; border-top: 4px solid #185959; background: #fff; box-shadow: 0 24px 48px -36px rgba(13, 43, 43, .5); padding: 18px 18px 16px; text-align: left; }
body[data-page="admin"] .kpi.good { border-top-color: #1C7C47; }
body[data-page="admin"] .kpi.gold { border-top-color: #F37B44; }
body[data-page="admin"] .kpi.warn { border-top-color: #A6600B; }
body[data-page="admin"] .kpi.bad { border-top-color: #C62828; }
body[data-page="admin"] .kpi .metric { font-size: 2rem; }
body[data-page="admin"] button.kpi { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; font: inherit; cursor: pointer; }
body[data-page="admin"] .avatar { background: #185959; color: #fff; }
body[data-page="admin"] button.kpi[aria-pressed="true"] { outline: 2px solid #F37B44; outline-offset: -2px; }
body[data-page="admin"] #admin > .card, body[data-page="admin"] #admin > section.card { margin-top: 20px; padding: 28px 30px; border: 0; border-top: 4px solid #F37B44; border-radius: 0; background: #fff; box-shadow: 0 30px 60px -42px rgba(13, 43, 43, .5); }
body[data-page="admin"] #admin .card-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
body[data-page="admin"] .data-table { border-radius: 4px; }
body[data-page="admin"] .data-table th { background: #EDF0F2; }
body[data-page="admin"] .btn.small { border-radius: 4px; }
body[data-page="admin"] #admin .btn:not(.secondary):not(.danger):not(.small) { background: #F37B44 !important; border-color: #F37B44 !important; color: #0E1B25 !important; }
body[data-page="admin"] #admin .btn:not(.secondary):not(.danger):not(.small):hover { background: #F59569 !important; border-color: #F59569 !important; }
body[data-page="admin"] .drawer { border-radius: 0; border-left: 4px solid #F37B44; }
.admin-person { margin-top: 22px; padding-top: 18px; border-top: 2px solid #0E1B25; }
.admin-person h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.admin-person .note { margin-top: 6px; }

/* Site Desk: construction photo under a see-through dark overlay, blended into the page under the hero. The photo runs
   the full width; the overlay is darkest behind the text on the left and fades out towards the right. */
.pg-photo-band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(440px, 50vw, 780px); background: var(--pg-night); }
.pg-photo-band-media { position: absolute; z-index: -1; inset: 0; }
.pg-photo-band-media picture, .pg-photo-band-media img { display: block; width: 100%; height: 100%; }
.pg-photo-band-media img { object-fit: cover; object-position: 50% 8%; }
.pg-photo-band-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 29, 29, .85) 0%, rgba(7, 29, 29, .74) 30%, rgba(7, 29, 29, .42) 55%, rgba(7, 29, 29, .14) 85%), linear-gradient(0deg, rgba(7, 29, 29, .6), transparent 30%), linear-gradient(180deg, rgba(7, 29, 29, .5), transparent 18%); }
.pg-photo-band-text { padding-top: 64px; padding-bottom: 64px; }
.pg-photo-band .pg-label { color: var(--pg-orange); }
.pg-photo-band h2 { margin: 18px 0 0; max-width: 520px; color: #fff; font-weight: 800; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -.04em; text-shadow: 0 2px 20px rgba(7, 29, 29, .75); }
.pg-photo-band h2 em { font-style: normal; color: var(--pg-orange); }
.pg-photo-band-text p:not(.pg-label) { margin: 20px 0 0; max-width: 430px; color: rgba(255, 255, 255, .86); font-size: 17.5px; line-height: 1.6; text-shadow: 0 1px 14px rgba(7, 29, 29, .85); }
@media (max-width: 760px) {
  .pg-photo-band { display: block; min-height: 0; padding-top: 56vw; }
  .pg-photo-band-media { bottom: auto; aspect-ratio: 3 / 2; }
  .pg-photo-band-media::after { background: linear-gradient(0deg, var(--pg-night) 0%, rgba(7, 29, 29, .7) 18%, transparent 46%), linear-gradient(180deg, rgba(7, 29, 29, .5), transparent 22%); }
  .pg-photo-band-text { padding-top: 0; padding-bottom: 72px; }
  .pg-photo-band .pg-credit { font-size: 12px; }
}

/* Page not found: the dark hero with a large faint 404 and links back into the site */
.pg-notfound { min-height: calc(100vh - 76px); display: flex; align-items: center; }
.pg-notfound > .pg-wrap { position: relative; }
.pg-notfound::after { content: "404"; position: absolute; z-index: -1; right: 3%; top: 16%; font: 800 clamp(160px, 21vw, 330px)/1 "Inter", sans-serif; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(243, 123, 68, .22); pointer-events: none; }
.pg-notfound-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 880px; margin-top: 56px; }
.pg-notfound-links a { display: block; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .14); border-top: 3px solid #F37B44; background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; transition: background-color .2s, border-color .2s; }
.pg-notfound-links a:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); border-top-color: #F37B44; }
.pg-notfound-links b { display: block; font-size: 17px; }
.pg-notfound-links span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .62); font-size: 14.5px; }
@media (max-width: 900px) { .pg-notfound-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pg-notfound::after { display: none; } }
@media (max-width: 420px) { .pg-notfound-links { grid-template-columns: 1fr; } }
