/* AI Protect marketing site, styled to match essentialtech.com.au (redesigned 02/12/2026). Uses tokens.css.
   Mobile first; checked at 360, 390, 414, 768 and 1440 px. No inline styles anywhere (strict CSP).
   The portal (portal/base_portal.html) also loads this file: keep .topbar, .brand, .btn and the base rules working. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.25rem + 3.2vw, 3.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.375rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
p, ul, ol, dl, table { margin: 0 0 1rem; }
p { text-wrap: pretty; }
small, .small { font-size: .9rem; }
.muted { color: var(--text-muted); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--bg); color: var(--text); padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-section) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.section-head p { color: var(--text-muted); font-size: 1.0625rem; max-width: 60ch; }
.section-head p:last-child { margin-bottom: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }
/* ET's eyebrow: small, uppercase, letter-spaced, dark green */
.eyebrow { display: block; margin: 0 0 12px; font: 600 .75rem/1.3 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.lede { font-size: clamp(1.07rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--text-muted); max-width: 52ch; }

/* Buttons: lime with ink text (primary) and dark green with white text (secondary), as on ET's site */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 26px; border-radius: var(--radius); border: 0;
  font: 600 1rem/1.1 var(--font-head); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); box-shadow: 0 6px 18px rgba(136, 197, 84, .35); }
.btn-primary:hover { background: var(--btn-primary-hover); color: var(--btn-primary-text); text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(136, 197, 84, .42); }
.btn-secondary { background: var(--btn-secondary-bg); color: var(--btn-secondary-text); }
.btn-secondary:hover { background: var(--btn-secondary-hover); color: var(--btn-secondary-text); text-decoration: none; }
.btn-dark { background: #1a1a1a; color: #ffffff; }
.btn-dark:hover { background: #333333; color: #ffffff; text-decoration: none; }
.btn-ms { background: var(--surface); color: var(--text); border: 1.5px solid var(--border-strong); width: 100%; min-height: 52px; }
.btn-ms:hover { border-color: var(--text); color: var(--text); text-decoration: none; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 1.05rem; }
.btn-arrow::after { content: "\2192"; font-weight: 700; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font: 600 1rem/1.3 var(--font-head); }
.link-arrow::after { content: "\2192"; margin-left: .4em; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 28px 0 0; }

/* Utility bar (lime, as on ET's site). On the marketing site it shows from 1041px; below that the lime moves to the
   header's top edge and the phone/email/portal links move into the menu sheet (tap targets stay 44px+). */
.topbar { background: var(--topbar-bg); color: var(--topbar-text); font-size: .875rem; line-height: 1.3; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; padding-top: 4px; padding-bottom: 4px; }
.topbar p { margin: 0; display: flex; flex-wrap: wrap; gap: 0 6px; }
.topbar a { color: inherit; text-decoration: none; padding: 4px 0; }
.topbar a:hover { color: inherit; text-decoration: underline; }
.topbar .sep::before { content: "\2014"; }
@media (max-width: 520px) { .topbar .sep, .topbar .topbar-email { display: none; } }
@media (max-width: 1040px) { .topbar-site { display: none; } .site-header { border-top: 4px solid var(--accent); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 14px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand img { height: 56px; width: auto; }
.brand .logo-on-light { display: var(--logo-light); }
.brand .logo-on-dark { display: var(--logo-dark); }
.brand-product { font: 600 1.1rem/1 var(--font-head); padding-left: 14px; border-left: 2px solid var(--border-strong); white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { background: var(--bg-soft); color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--brand); font-weight: 700; box-shadow: inset 0 -3px 0 var(--accent); border-radius: 6px 6px 0 0; }
.nav-signin { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; color: var(--text); font-size: .95rem; text-decoration: none; }
.nav .btn-header { margin-left: 12px; }

/* Menu: a <details> that opens a full-height sheet under the header (works without JavaScript; site.js adds Escape,
   close-on-link and scroll lock) */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; min-height: 46px; min-width: 46px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius); color: var(--text); background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu .icon-close { display: none; }
.menu[open] .icon-open { display: none; }
.menu[open] .icon-close { display: block; }
.menu[open] summary { background: var(--bg-soft); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 68px); height: calc(100dvh - 68px);
  overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-top: 1px solid var(--border);
  padding: 12px var(--gutter) 32px; display: flex; flex-direction: column; gap: 18px; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 4px;
  border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font: 600 1.25rem/1.2 var(--font-head); }
.menu-links a::after { content: "\2192"; color: var(--brand); font-size: 1.1rem; }
.menu-links a[aria-current="page"] { color: var(--brand); }
.menu-links a:hover { color: var(--brand); }
.menu-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu-contact a { display: flex; align-items: center; min-height: 44px; color: var(--text-muted); text-decoration: none; overflow-wrap: anywhere; }
.menu-contact a:hover { color: var(--brand); text-decoration: underline; }
html.menu-open, html:has(.menu[open]) { overflow: hidden; }
@media (max-width: 1040px) {
  .nav-links, .nav-signin { display: none; }
  .menu { display: block; }
  .header-inner { min-height: 68px; }
  .brand img { height: 46px; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 64px; gap: 10px; }
  .nav .btn-header { display: none; }
  .brand { gap: 10px; }
  .brand img { height: 40px; }
  .brand-product { font-size: .98rem; padding-left: 10px; }
  .menu-panel { height: calc(100vh - 64px); height: calc(100dvh - 64px); }
}

/* Home hero: ET's charcoal hero with the curved bottom-right corner. Copy left, product preview right; on desktop
   the team photo sits behind the preview. Phones get the preview only (headline and CTA fit the first screen). */
.hero { background: var(--hero-bg); color: var(--hero-text); padding: clamp(32px, 6vw, 88px) 0 clamp(44px, 7vw, 104px);
  border-bottom-right-radius: clamp(48px, 10vw, 150px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero h1 { color: var(--hero-text); max-width: 14ch; }
.hero .eyebrow { color: var(--hero-accent); font-size: .8rem; letter-spacing: .12em; }
.hero .lede { color: var(--hero-muted); }
.hero .cta-row { margin-top: 26px; }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--hero-text); font: 600 1rem/1.2 var(--font-head); text-decoration: underline; text-decoration-color: var(--hero-accent); text-decoration-thickness: 2px; text-underline-offset: .4em; }
.hero-link:hover { color: var(--hero-text); text-decoration-thickness: 3px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 24px 0 0; font-weight: 700; font-size: .92rem; color: var(--hero-text); }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.trust-list li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.works-with { margin: 16px 0 0; font-size: .92rem; color: var(--hero-muted); }
.works-with strong { color: var(--hero-text); }
.hero-visual { position: relative; }
.hero-photo { display: none; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--photo-shadow); }
.mock-hero { max-width: 440px; }
@media (max-width: 959px) { .mock-hero { margin: 0 auto; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1.08fr; }
  .hero-photo { display: block; width: 80%; margin-left: auto; }
  .mock-hero { position: absolute; left: 0; bottom: 0; width: 350px; }
  .hero-visual { padding-bottom: 120px; }
}

/* Credentials: one compact row (Essential Tech's, labelled as such) */
.creds { background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 0; }
.creds-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.creds-caption { margin: 0; font: 600 .7rem/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.creds-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font: 600 .88rem/1.3 var(--font-head); color: var(--text); }
.creds-list li { display: inline-flex; align-items: center; gap: 8px; }
.creds-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #ffffff; border: 1px solid var(--border); display: grid; place-items: center; }
.creds-icon img { width: 18px; height: 18px; }
.creds-list .sub { font-weight: 400; color: var(--text-muted); }
@media (max-width: 640px) { .creds-list .sub { display: none; } .creds-list { gap: 6px 16px; font-size: .82rem; } .creds-inner { gap: 8px; } }
@media (min-width: 1080px) { .creds-inner { justify-content: space-between; } }

/* Page header for inner pages: same charcoal as the home hero */
.page-hero { padding: clamp(28px, 5vw, 72px) 0 clamp(32px, 5vw, 64px); background: var(--hero-bg); color: var(--hero-text); border-bottom-right-radius: clamp(40px, 7vw, 100px); }
.page-hero h1 { color: var(--hero-text); max-width: 22ch; font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem); }
.page-hero .eyebrow { color: var(--hero-accent); }
.page-hero .lede { color: var(--hero-muted); }
.page-hero .lede:last-child { margin-bottom: 0; }
.page-hero a:not(.btn) { color: var(--hero-text); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .85rem; color: var(--hero-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--hero-muted); }
.breadcrumb a { color: var(--hero-muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--hero-text); font-weight: 700; }

/* Big-number proof tiles */
.stat-tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stat-tiles { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.stat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: clamp(16px, 2.4vw, 26px); display: flex; flex-direction: column; }
.tile-num { margin: 0 0 6px; font: 700 clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem)/1 var(--font-head); color: var(--text); letter-spacing: -.02em; white-space: nowrap; }
.tile-label { margin: 0 0 14px; flex: 1; font-size: clamp(.88rem, .84rem + .2vw, 1rem); line-height: 1.4; color: var(--text-muted); }
.tiles-caption { margin: 18px 0 0; max-width: 70ch; font-size: .9rem; color: var(--text-muted); }
.bar { height: 10px; background: var(--bar-track); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.bar > span { display: block; height: 100%; width: var(--w, 50%); background: var(--accent); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.bar.dark > span { background: var(--bar-dark); }
.w-3 { --w: 3%; } .w-7 { --w: 7.3%; } .w-28 { --w: 28%; } .w-92 { --w: 92.4%; }

/* Grids and cards: white, rounded, light border and a soft shadow (ET's cards) */
.grid { display: grid; gap: clamp(14px, 2.2vw, 22px); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--card-top); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: clamp(18px, 2.4vw, 26px); }
.card h3 { margin-bottom: .4em; font-size: 1.1rem; }
.card p { color: var(--text-muted); font-size: .97rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .num { font: 700 2.1rem/1 var(--font-head); color: var(--text); margin: 0 0 10px; letter-spacing: -.01em; }
.card-hover { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
@media (hover: hover) {
  .card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-top-color: var(--accent); }
}
.card-icon { flex: none; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px; background: var(--tile-bg); display: grid; place-items: center; }
.card-icon img { width: 26px; height: 26px; }
@media (max-width: 719px) {
  .problem-cards .card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
  .problem-cards .card-icon { margin: 0; }
  .problem-cards h3 { font-size: 1.05rem; }
}
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* The one dark band (home "How it works") */
.section-dark { background: var(--dark-band-bg); color: var(--dark-band-text); }
.section-dark h2, .section-dark h3 { color: var(--dark-band-text); }
.section-dark .section-head p { color: var(--dark-band-muted); }
.section-dark .eyebrow { color: var(--hero-accent); }
.section-dark a { color: var(--dark-band-text); text-decoration-color: var(--accent); }
.section-dark a:hover { color: var(--dark-band-text); }
.step-tiles { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 12px; }
@media (min-width: 720px) { .step-tiles { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1080px) { .step-tiles { grid-template-columns: repeat(4, 1fr); } }
.step-tiles > li { counter-increment: step; position: relative; padding: 20px 20px 20px 72px; border: 1px solid var(--dark-band-line); border-radius: var(--radius-lg); background: var(--dark-band-card); transition: border-color .18s, transform .18s; }
@media (min-width: 720px) { .step-tiles > li { padding: 24px; } }
@media (hover: hover) { .step-tiles > li:hover { border-color: var(--accent); transform: translateY(-3px); } }
.step-tiles > li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--accent); color: #1a1a1a; font: 700 1.05rem/1 var(--font-head); border-radius: 10px; }
@media (min-width: 720px) { .step-tiles > li::before { position: static; margin-bottom: 16px; } }
.step-tiles h3 { margin-bottom: .3em; }
.step-tiles p { color: var(--dark-band-muted); font-size: .96rem; margin: 0; }
.step-tiles .step-price { margin: 0 0 4px; font: 600 .72rem/1.3 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--hero-accent); }

/* Feature rows: copy + product preview, alternating sides on desktop */
.feature { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 104px); }
@media (min-width: 960px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature-reverse .feature-visual { order: -1; }
}
.feature-copy > p:not(.eyebrow):not(.small) { color: var(--text-muted); font-size: 1.0625rem; max-width: 52ch; }
.feature-visual { display: flex; justify-content: center; }
.feature-head { margin-bottom: clamp(28px, 4vw, 48px); }
.feature-head .section-head { margin-bottom: 0; }
.price-vcio { max-width: 900px; }
.feature-visual .mock { width: 100%; max-width: 460px; }
.audience { list-style: none; padding: 0; margin: clamp(56px, 8vw, 96px) 0 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .audience { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.audience li { border-left: 4px solid var(--accent); padding: 4px 0 4px 16px; }
.audience h3 { font-size: 1.02rem; margin-bottom: .25em; }
.audience p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.who { margin: 0 0 14px; }
.who dt { font: 600 1rem/1.3 var(--font-head); margin-top: 12px; }
.who dt:first-child { margin-top: 0; }
.who dd { margin: 4px 0 0; color: var(--text-muted); }
.price-mini .num { color: var(--brand); }

/* Product previews (marketing/_product.html): made-up example data in an app-window frame */
.mock { margin: 0; background: var(--mock-bg); color: var(--mock-text); border: 1px solid var(--mock-line); border-radius: 16px; box-shadow: var(--mock-shadow); overflow: hidden; text-align: left; font-size: .9rem; line-height: 1.4; }
.mock p { margin: 0; }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--mock-top); border-bottom: 1px solid var(--mock-line); }
.mock-dots { display: inline-flex; gap: 5px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--mock-line); }
.mock-dots i:first-child { background: var(--accent); }
.mock-app { flex: 1; min-width: 0; font: 600 .74rem/1.2 var(--font-head); color: var(--mock-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-chip { flex: none; font: 700 .64rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--warn-text); background: var(--warn-bg); border: 1px solid var(--warn-border); padding: 4px 7px; border-radius: 999px; }
.mock-body { padding: 16px; }
.mock-caption { padding: 8px 16px 12px; font-size: .74rem; color: var(--mock-muted); border-top: 1px dashed var(--mock-line); }
.mock-label { font: 600 .72rem/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--mock-muted); }
.mock-big { font: 700 1.3rem/1.2 var(--font-head); margin: 4px 0 2px !important; }
.mock-sub { color: var(--mock-muted); font-size: .82rem; }
.mock-h { margin: 16px 0 8px !important; font: 600 .82rem/1.2 var(--font-head); }
.mock-more { font: 400 .74rem/1 var(--font-body); color: var(--mock-muted); margin-left: 6px; }
.score-row { display: flex; align-items: center; gap: 16px; }
.ring { flex: none; width: 96px; height: 96px; }
.ring-track { stroke: var(--bar-track); }
.ring-value { stroke: var(--accent); }
.ring-num { font: 700 34px/1 var(--font-head); fill: var(--mock-text); }
.ring-of { font: 600 12px/1 var(--font-body); fill: var(--mock-muted); }
.mock-problems { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mock-problems li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--mock-line); border-radius: 10px; background: var(--mock-row); font-size: .84rem; }
.sev { flex: none; min-width: 58px; text-align: center; font: 700 .64rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; border-radius: 6px; }
.sev-high { color: var(--sev-high-text); background: var(--sev-high-bg); }
.sev-med { color: var(--sev-med-text); background: var(--sev-med-bg); }
.sev-low { color: var(--sev-low-text); background: var(--sev-low-bg); }
.mock-kpi { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font: 600 1rem/1.2 var(--font-head); }
.mock-kpi-num { font: 700 2.6rem/1 var(--font-head); color: var(--sev-high-text); letter-spacing: -.02em; }
.mock-files { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 6px; }
.mock-files li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--mock-line); border-radius: 10px; background: var(--mock-row); }
.ftype { flex: none; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font: 700 .7rem/1 var(--font-head); color: #ffffff; }
.ftype-xls { background: #1d6f42; }
.ftype-doc { background: #2b579a; }
.ftype-dir { background: #d9a520; clip-path: polygon(0 18%, 40% 18%, 50% 30%, 100% 30%, 100% 88%, 0 88%); border-radius: 2px; }
.mock-file { flex: 1; min-width: 0; font-weight: 700; font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-perm { flex: none; font-size: .74rem; font-weight: 700; color: var(--sev-high-text); background: var(--sev-high-bg); padding: 3px 7px; border-radius: 6px; }
.mock-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.mock-btn { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--mock-line); font: 600 .8rem/1 var(--font-head); color: var(--mock-text); background: var(--mock-bg); }
.mock-btn-primary { background: var(--accent); border-color: var(--accent); color: #1a1a1a; }
.mock-note { font-size: .76rem; color: var(--mock-muted); }
.mock-group { padding: 12px; border: 1px solid var(--mock-line); border-radius: 12px; background: var(--mock-row); }
.mock-group + .mock-group { margin-top: 8px; }
.mock-group-title { font: 600 .92rem/1.3 var(--font-head); margin-bottom: 2px !important; }
.mock-group-muted { opacity: .7; }
.mock-state { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; font: 700 .76rem/1 var(--font-head); color: var(--sev-low-text); background: var(--sev-low-bg); }
.mock-foot { margin-top: 12px !important; font: 600 .82rem/1.3 var(--font-head); color: var(--brand); }
.mock-foot::before { content: "\2193  "; }
/* Subtle entrance on load only. The resting style is the final look (no delay, no fill-mode), so screenshots and
   no-animation browsers show the finished card. */
@media (prefers-reduced-motion: no-preference) {
  .mock-hero { animation: mock-rise .7s cubic-bezier(.2, .7, .2, 1); }
  .mock-hero .ring-value { animation: ring-draw 1.3s cubic-bezier(.3, .7, .2, 1); }
}
@keyframes mock-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes ring-draw { from { stroke-dashoffset: 326.7; } }

/* Steps (how it works, free scan) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; }
.steps > li { counter-increment: step; position: relative; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--card-top); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); }
.steps > li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; background: var(--accent); color: #1a1a1a; font: 700 1.05rem/1 var(--font-head); border-radius: 10px; }
@media (min-width: 720px) {
  .steps > li { padding: 26px 26px 26px 86px; }
  .steps > li::before { position: absolute; left: 24px; top: 24px; margin: 0; }
}
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--text-muted); max-width: 72ch; }
.steps p:last-child { margin-bottom: 0; }
.step-meta { display: inline-block; margin-left: 6px; font: 600 .72rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--brand); background: var(--brand-soft); padding: 5px 8px; border-radius: 6px; vertical-align: middle; white-space: nowrap; }
.steps-compact > li { padding: 18px 18px 18px 70px; }
.steps-compact > li::before { position: absolute; left: 18px; top: 18px; margin: 0; width: 36px; height: 36px; }
.step-split { display: grid; gap: 20px; }
@media (min-width: 960px) { .step-split { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; } }
.step-split .mock { width: 100%; max-width: 440px; }

/* Two-column text + aside */
.split { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .split { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.prose { max-width: var(--prose); }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .4em; }

/* Callouts */
.callout { border-left: 6px solid var(--accent); background: var(--surface-2); padding: 20px 22px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.section-soft .callout { background: var(--surface); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout p > a:only-child, .callout li > a:only-child { display: inline-flex; align-items: center; min-height: 44px; }
.draft-banner { background: var(--warn-bg); color: var(--warn-text); border-bottom: 1px solid var(--warn-border); padding: 12px 0; font-weight: 700; }
.placeholder { background: var(--warn-bg); color: var(--warn-text); padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* Pricing */
.includes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.includes li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--text); font-size: .9rem; font-weight: 700; }
.includes li::before { content: "\2713"; color: var(--brand); }
@media (max-width: 719px) {
  .includes { display: grid; gap: 2px 12px; grid-template-columns: 1fr; }
  .includes li { background: none; padding: 4px 0; border-radius: 0; font-size: .95rem; }
}
.price-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1080px) { .price-grid.tiers { grid-template-columns: repeat(4, 1fr); } .price-grid.three { grid-template-columns: repeat(3, 1fr); } }
/* Phones and tablets: the recommended tier first */
@media (max-width: 1079px) { .price-grid.tiers .featured { order: -1; } }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--card-top); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: clamp(20px, 2.4vw, 26px); transition: transform .18s, box-shadow .18s; }
@media (hover: hover) { .price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.price-card.featured { border: 2px solid var(--accent); border-top-width: 6px; box-shadow: var(--shadow); }
.price-card .tag { align-self: flex-start; font: 600 .7rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand); padding: 6px 10px; border-radius: 6px; margin-bottom: 14px; }
.price-card .tag-popular { background: var(--accent); color: #1a1a1a; }
.price-card h3 { font-size: 1.12rem; }
.price { font: 700 2.4rem/1 var(--font-head); margin: 6px 0 6px; color: var(--text); letter-spacing: -.01em; }
.price small { font: 400 1rem/1.3 var(--font-body); color: var(--text-muted); letter-spacing: 0; }
.price-note { color: var(--text-muted); font-size: .95rem; margin-bottom: 16px; }
.price-card .ticks { flex: 1; font-size: .97rem; }
.price-card .btn { margin-top: auto; }
.price-card .price-note + .btn, .price-card .allow + .btn { margin-top: auto; }
.allow { flex: 1; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: .94rem; }
.allow strong { display: block; font: 700 1.12rem/1.25 var(--font-head); color: var(--text); }
.price-row { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .price-row { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

/* Tables. .table-stack turns each row into a card on phones (td data-label gives the column name). */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .98rem; margin: 0; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-family: var(--font-head); font-weight: 600; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
code { font-family: var(--font-mono); font-size: .92em; background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
@media (max-width: 719px) {
  .table-stack { overflow: visible; }
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack table, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack td { padding: 0; border: 0; color: var(--text-muted); font-size: .95rem; }
  .table-stack td:first-child { color: var(--text); font: 600 1.02rem/1.3 var(--font-head); margin-bottom: 4px; }
  .table-stack td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-top: 8px; font: 600 .68rem/1.3 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
  .table-stack td.num { display: flex; justify-content: space-between; align-items: baseline; text-align: right; color: var(--text); }
  .table-stack td.num[data-label]::before { margin-top: 6px; }
}

/* FAQ: accessible accordions (<details>) */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); transition: border-color .15s; }
.faq-list details[open] { border-color: var(--border-strong); }
.faq-list summary { cursor: pointer; list-style: none; min-height: 56px; padding: 16px 56px 16px 20px; position: relative; font: 600 1.02rem/1.4 var(--font-head); border-radius: var(--radius-lg); }
.faq-list summary:hover { color: var(--brand); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list .answer { padding: 0 20px 18px; color: var(--text-muted); max-width: 68ch; }
.faq-q { display: inline; font: inherit; margin: 0; color: inherit; }
.faq-list .answer p:last-child { margin-bottom: 0; }

/* Forms */
.signup { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 960px) { .signup { grid-template-columns: 1.05fr .95fr; align-items: start; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--text-muted); font-size: .92rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
label { display: block; font-weight: 700; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--text-muted); }
input[type="email"], input[type="text"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: max(1rem, 16px); color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
input:hover, select:hover, textarea:hover { border-color: var(--text-muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field { margin-bottom: 16px; }
.field input, .field select, .field textarea { margin: 0; }
.field-error { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; color: var(--error); font-size: .9rem; font-weight: 700; }
.field-error::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--error); color: var(--bg); display: grid; place-items: center; font-size: .72rem; }
.form-card form > input, .form-card form > select, .form-card form > textarea { margin-bottom: 14px; }
.form-error { background: var(--warn-bg); color: var(--warn-text); border: 1px solid var(--warn-border); border-radius: var(--radius); padding: 12px 14px; font-weight: 700; }
.form-success { text-align: left; }
.form-success .success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.form-success .success-icon svg { width: 28px; height: 28px; }
.form-success .ticks { margin-top: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hint { font-size: .9rem; color: var(--text-muted); margin: 6px 0 16px; }
.ms-logo { width: 20px; height: 20px; }
.form-card form label.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 12px 14px; margin: 4px 0 0; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--surface-2); font-weight: 600; cursor: pointer; }
.form-card form label.check:hover { border-color: var(--border-strong); }
.form-card form label.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.form-card form .btn[type="submit"] { min-height: 54px; font-size: 1.05rem; }
.form-card form .btn[disabled] { opacity: .7; cursor: progress; }
.form-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.form-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* CTA band: lime, like the contact band above ET's footer */
.cta-band { background: var(--cta-bg); color: var(--cta-text); padding: clamp(48px, 7vw, 80px) 0; }
.cta-band h2 { color: var(--cta-text); max-width: 22ch; }
.cta-band p { color: var(--cta-text); max-width: 56ch; }
.cta-band .btn-primary { background: #1a1a1a; color: #ffffff; box-shadow: none; }
.cta-band .btn-primary:hover { background: #333333; color: #ffffff; }

/* Sticky bottom CTA on phones. Visible by default (no JavaScript needed); site.js hides it while a page CTA or the
   footer is on screen. Not rendered on the form page. */
.mobile-cta { display: none; }
@media (max-width: 719px) {
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--header-bg); border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .12); transition: transform .25s ease, visibility .25s; }
  .mobile-cta.is-hidden { transform: translateY(110%); visibility: hidden; }
  .mobile-cta-text { margin: 0; display: flex; flex-direction: column; line-height: 1.25; font-size: .82rem; color: var(--text-muted); min-width: 0; }
  .mobile-cta-text strong { color: var(--text); font: 600 .92rem/1.25 var(--font-head); }
  .mobile-cta .btn { flex: none; }
  .site-footer { padding-bottom: 96px; }
  html:has(.menu[open]) .mobile-cta { display: none; }
}

/* Footer: ET's charcoal footer */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 56px; font-size: .95rem; }
.site-footer > .container { padding-bottom: 28px; }
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: var(--footer-text); text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font: 600 .8rem/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--footer-text); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 2px; color: var(--footer-muted); }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 1080px) { .site-footer li a { min-height: 36px; } }
.site-footer li:has(> a + a) a { display: inline; min-height: 0; }
.site-footer .brand { color: var(--footer-text); }
.site-footer .brand img { height: 48px; }
.site-footer .brand-product { border-left-color: var(--footer-line); }
.footer-about { margin-top: 16px; max-width: 42ch; color: var(--footer-muted); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--footer-line); color: var(--footer-muted); font-size: .88rem; }
.footer-base p { margin: 0; }
.footer-base a { text-decoration: underline; }
.theme-toggle { font: inherit; color: var(--footer-text); background: transparent; border: 1px solid var(--footer-line); border-radius: 8px; padding: 8px 14px; cursor: pointer; min-height: 44px; }
.theme-toggle:hover { border-color: var(--footer-text); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .site-footer, .cta-band, .mobile-cta { display: none; } }
.mt { margin-top: 16px; }
.table-wrap + p { margin-top: 12px; }
