/* Accondit Branding 1.0 — self-contained website reference. */
@import url("./tokens.css");
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --font-brand: "Manrope", "Segoe UI", Arial, sans-serif;
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-12: 3rem; --space-16: 4rem; --space-24: 6rem;
  --radius-control: .5rem; --radius-card: 1rem; --radius-panel: 1.5rem;
  --container: 76rem;
  --shadow-panel: 0 24px 70px rgb(15 51 74 / 12%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--text); background: var(--canvas); font: 400 1rem/1.65 var(--font-brand); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: var(--primary); text-underline-offset: .22em; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(2.65rem, 5.8vw, 5.25rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); letter-spacing: -.045em; }
h3 { font-size: 1.3rem; letter-spacing: -.025em; }
p + p { margin-top: 1rem; }
::selection { background: var(--primary); color: var(--on-primary); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 4rem)); margin-inline: auto; }
.muted { color: var(--text-muted); }
.eyebrow { color: var(--primary); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.small { font-size: .8rem; }
.skip-link { position: fixed; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--surface); z-index: 100; }
.skip-link:focus { top: 1rem; }
.brand { display: block; width: 180px; flex-shrink: 0; }
.brand-on-light, .brand-on-dark { width: 100%; height: auto; }
.brand-on-dark { display: none; }
[data-theme="dark"] .brand-on-light { display: none; }
[data-theme="dark"] .brand-on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .brand-on-light { display: none; }
  :root:not([data-theme]) .brand-on-dark { display: block; }
}
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 2rem; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.site-nav a { font-size: .85rem; font-weight: 600; color: var(--text-muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--primary); }
.header-tools { display: flex; align-items: center; gap: .75rem; }
.theme-toggle, .menu-toggle { background: var(--surface); color: var(--text); border: 1px solid var(--border); min-width: 44px; min-height: 44px; border-radius: var(--radius-control); padding: .5rem .75rem; }
.theme-toggle { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; }
.theme-toggle svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .75rem 1.3rem; border: 1px solid transparent; border-radius: var(--radius-control); font-size: .88rem; font-weight: 700; text-decoration: none; line-height: 1.4; }
.button svg { width: 18px; height: 18px; }
.button-primary { background: var(--primary); color: var(--on-primary); }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { color: var(--text); border-color: var(--border); background: var(--surface); }
.button-secondary:hover { background: var(--surface-subtle); }
.button:disabled { cursor: default; color: var(--text-muted); background: var(--surface-subtle); border-color: var(--border); }
.hero { overflow: hidden; position: relative; padding: 6rem 0 4.5rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { max-width: 620px; margin: 1.5rem 0; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-lead { max-width: 470px; color: var(--text-muted); font-size: 1.06rem; line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-footnote { margin-top: 1.5rem; color: var(--text-muted); font-size: .77rem; display: flex; align-items: center; gap: .6rem; }
.hero-footnote::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.product-stage { position: relative; padding: 1.25rem 0 1.25rem 1rem; }
.product-stage::before { content: ""; position: absolute; inset: -1rem -3rem 0 2.5rem; border-radius: 3rem 3rem 8rem 3rem; background: var(--primary-soft); transform: rotate(-5deg); }
.product-window { position: relative; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-panel); border-radius: var(--radius-card); overflow: hidden; }
.product-bar { display: flex; justify-content: space-between; align-items: center; background: #0F334A; color: #F3F8FA; padding: 1rem 1.25rem; font-size: .75rem; font-weight: 600; }
.product-bar img { width: 118px; }
.product-body { display: grid; grid-template-columns: 54px 1fr; min-height: 365px; }
.product-rail { padding: 1rem .5rem; background: var(--nav); display: flex; align-items: center; flex-direction: column; gap: .75rem; }
.product-rail span { width: 32px; height: 32px; display: grid; place-items: center; color: var(--nav-text); font-size: .63rem; border-radius: 6px; }
.product-rail span:first-child { background: var(--primary); color: var(--on-primary); }
.product-content { padding: 1.5rem; }
.product-content h3 { font-size: 1.35rem; margin-top: .5rem; }
.product-content .small { margin-top: .5rem; }
.product-summary { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.4rem; }
.product-summary > div { padding: .85rem; background: var(--surface-subtle); border-radius: var(--radius-control); }
.product-summary strong { display: block; font-size: 1.5rem; line-height: 1.3; letter-spacing: -.04em; }
.product-summary span { font-size: .7rem; color: var(--text-muted); }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: .78rem; }
.product-row:last-child { border: 0; }
.badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--primary-soft); color: var(--primary); padding: .22rem .65rem; border-radius: 100px; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-error { background: var(--error-soft); color: var(--error); }
.product-caption { position: relative; text-align: right; margin-top: 1rem; font-size: .67rem; color: var(--text-muted); }
.principles-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.principles-inner { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.4rem; }
.principles-inner span { display: flex; align-items: center; gap: .75rem; font-size: .8rem; font-weight: 600; }
.principles-inner svg { color: var(--primary); width: 20px; height: 20px; }
.section { padding: 6rem 0; }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 4rem; margin-bottom: 3rem; }
.section-head h2 { margin-top: 1rem; max-width: 620px; }
.section-head > p { color: var(--text-muted); max-width: 420px; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.module-card { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-card); padding: 1.8rem; min-height: 255px; display: flex; align-items: flex-start; flex-direction: column; }
.module-id { min-width: 48px; height: 48px; border-radius: .75rem; display: grid; place-items: center; padding: .4rem; color: var(--primary); background: var(--primary-soft); font-weight: 800; font-size: .88rem; letter-spacing: -.02em; margin-bottom: 1.8rem; }
.module-card h3 { margin-bottom: .7rem; }
.module-card p { color: var(--text-muted); font-size: .88rem; }
.module-card-feature { background: var(--nav); color: var(--nav-text); position: relative; overflow: hidden; justify-content: center; }
.module-card-feature p { color: var(--nav-text); opacity: .85; }
.module-card-feature img { width: 58px; margin-bottom: 1.5rem; }
.workflow { background: var(--surface); border-block: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; }
.step-number { color: var(--primary); font-size: .8rem; font-weight: 800; letter-spacing: .1em; padding-bottom: 1.2rem; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; }
.step h3 { margin-bottom: 1rem; }
.step p { font-size: .91rem; color: var(--text-muted); }
.statement { display: grid; grid-template-columns: .65fr 1fr; gap: 6rem; align-items: center; }
.statement-art { background: var(--primary-soft); border-radius: var(--radius-panel); padding: 3rem; position: relative; min-height: 350px; display: grid; place-items: center; }
.statement-art img { width: 200px; }
.statement h2 { margin-block: 1rem 1.5rem; }
.statement p { color: var(--text-muted); }
.contact-panel { background: #0F334A; color: #F3F8FA; border-radius: var(--radius-panel); padding: 3.5rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.contact-panel .eyebrow { color: var(--brand-accent); }
.contact-panel h2 { margin-block: 1rem; max-width: 600px; }
.contact-panel p { max-width: 560px; font-size: .9rem; }
.contact-panel .button { background: #49C7CF; color: #071B1D; }
.site-footer { margin-top: 4rem; padding: 2rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-size: .76rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: var(--text-muted); }
.template-note { border-left: 3px solid var(--primary); padding-left: 1rem; font-size: .8rem; color: var(--text-muted); margin-top: 2rem; }
/* Brand guide and reusable components. */
.guide-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--border); }
.guide-hero h1 { margin-block: 1rem; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.guide-hero p { max-width: 670px; color: var(--text-muted); }
.guide-section { padding-block: 3.5rem; border-bottom: 1px solid var(--border); }
.guide-section h2 { font-size: 2.1rem; margin-bottom: 1rem; }
.guide-section > p { max-width: 760px; color: var(--text-muted); margin-bottom: 2rem; }
.specimen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.specimen { padding: 2.5rem; border: 1px solid #C6D2DA; border-radius: var(--radius-card); background: #FFFFFF; color: #17233C; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 210px; }
.specimen img { width: 280px; margin: auto; }
.specimen-dark { background: #111A21; color: #F2F6F8; border-color: #4C626F; }
.specimen-petrol { background: #006B73; color: #FFFFFF; border-color: #006B73; }
.specimen a { color: inherit; font-size: .8rem; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.swatch { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.swatch-color { min-height: 100px; background: var(--swatch); }
.swatch p { padding: .9rem 1rem; font-size: .83rem; line-height: 1.7; }
.swatch code { color: var(--text-muted); }
.type-sample { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.type-sample .alphabet { font-size: clamp(1.4rem, 3vw, 2.6rem); letter-spacing: -.04em; overflow-wrap: anywhere; }
.type-sample .weights { display: flex; gap: 2rem; flex-wrap: wrap; margin-block: 2rem; }
.component-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; }
.guide-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.icon-sizes { display: flex; align-items: end; gap: 2rem; flex-wrap: wrap; }
.icon-sizes figure { margin: 0; display: grid; justify-items: center; gap: 1rem; }
.icon-sizes figcaption { color: var(--text-muted); font-size: .75rem; }
input, textarea, select { color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-control); padding: .75rem 1rem; }
.field { display: grid; gap: .5rem; max-width: 400px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input { width: 100%; }
@media (max-width: 1000px) {
  .hero { padding-top: 4rem; }
  .hero-grid { gap: 2rem; }
  .site-nav { gap: 1.2rem; }
  .product-content { padding: 1rem; }
  .statement { gap: 3rem; }
  .contact-panel { padding: 2.5rem; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 2rem); }
  .header-inner { min-height: 76px; gap: 1rem; flex-wrap: wrap; }
  .brand { width: 154px; }
  .header-tools { margin-left: auto; }
  .theme-label { display: none; }
  .js .menu-toggle { display: block; }
  .site-nav { display: flex; order: 3; width: 100%; margin: 0; padding-bottom: 1.2rem; gap: 1rem; }
  .js .site-nav { display: none; }
  .site-nav { flex-wrap: wrap; }
  .js .site-nav.is-open { display: flex; }
  .hero { padding-block: 3.5rem 2.5rem; }
  .hero-grid, .section-head, .statement, .contact-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 3rem; }
  .hero-lead { max-width: 100%; }
  .product-stage { padding: 0; }
  .product-stage::before { inset: -1rem; }
  .product-content { padding: 1.25rem; }
  .product-body { min-height: 335px; }
  .product-caption { text-align: center; }
  .principles-inner { flex-wrap: wrap; gap: 1rem; }
  .section { padding-block: 4rem; }
  .section-head { gap: 1.5rem; margin-bottom: 2rem; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .module-card { padding: 1.3rem; min-height: 240px; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .statement-art { min-height: 260px; padding: 2rem; }
  .statement-art img { width: 150px; }
  .contact-panel { padding: 2rem; }
  .contact-panel .button { justify-self: start; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .specimen-grid { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .module-grid { grid-template-columns: 1fr; }
  .module-card { min-height: 210px; }
  .product-rail { display: none; }
  .product-body { grid-template-columns: 1fr; }
  .product-bar { padding: .85rem 1rem; }
  .actions .button { width: 100%; }
  .specimen { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) {
  .button, .badge, .module-id, .product-window, .theme-toggle { border: 1px solid ButtonText; }
  .product-stage::before { display: none; }
  .brand-on-light { display: block !important; }
  .brand-on-dark { display: none !important; }
  .site-header, .product-bar, .product-rail, .contact-panel, .module-card-feature { background: Canvas; color: CanvasText; }
}
@media print {
  .site-header { position: static; }
  .header-tools, .skip-link { display: none; }
  .section { padding-block: 2rem; }
  .module-card, .product-window, .specimen { break-inside: avoid; box-shadow: none; }
}
