/* DriveNexus brand identity applied to the sign-in page only.
   Source: "DriveNexus Brand Identity" (Fleet Green, Ink, Brass; Archivo, Source Sans 3, IBM Plex Mono; flat colour, square corners,
   one diagonal "cut" per layout). Loaded after the page's own <style>, so it overrides it. Nothing else in Office loads this file.
   Brass is a graphic colour: it is never used for text on light grounds (2.4:1 on white). Status is never colour alone. */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root,
:root[data-theme="light"] {
  --bg: #F5F4EF;            /* Paper */
  --bg-2: #ECEFEE;          /* Grey 100 */
  --panel: #FFFFFF;
  --panel-2: #F5F4EF;
  --panel-3: #DFE8E5;       /* Mist */
  --line: #D5DADA;          /* Grey 200 */
  --line-soft: #ECEFEE;
  --ink: #0B1719;           /* Ink */
  --ink-2: #3C4749;         /* Grey 700 */
  --ink-3: #667173;         /* Grey 500, 5.0:1 on white */
  --accent: #0B4A43;        /* Fleet Green */
  --accent-deep: #0B4A43;
  --accent-light: #DFE8E5;
  --green: #1B7A3E;         /* Success */
  --red: #B42318;           /* Error */
  --radius: 0;
  --radius-sm: 0;
  --display: "Archivo", "Arial", sans-serif;
  --sans: "Source Sans 3", "Calibri", sans-serif;
  --mono: "IBM Plex Mono", "Consolas", monospace;
  --bn-ground: #0B4A43;     /* the green brand panel */
  --bn-focus: #0B4A43;
  --bn-btn: #0B4A43;
  --bn-btn-hover: #2E6F66;
  --bn-btn-edge: #0B4A43;
}

:root[data-theme="dark"] {
  --bg: #0B1719;            /* Ink */
  --bg-2: #0B1719;
  --panel: #1F2A2C;         /* Grey 900 */
  --panel-2: #172123;
  --panel-3: #3C4749;
  --line: #3C4749;          /* Grey 700 */
  --line-soft: #2A3638;
  --ink: #F5F4EF;
  --ink-2: #D5DADA;
  --ink-3: #A9B2B3;         /* Grey 300 */
  --accent: #DFE8E5;        /* Mist: links and marks read on dark */
  --accent-deep: #DFE8E5;
  --accent-light: #2A3638;
  --green: #5CBF84;
  --red: #F08A80;
  --bn-ground: #0B4A43;
  --bn-focus: #C9A13B;      /* Brass on Ink 7.5:1 */
  --bn-btn: #0B4A43;
  --bn-btn-hover: #2E6F66;
  --bn-btn-edge: #2E6F66;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
html { -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.005em; }
:focus-visible { outline: 3px solid var(--bn-focus); outline-offset: 2px; }
a { text-underline-offset: 3px; }

/* ── Logos ──────────────────────────────────────────────────────────────── */
.brand-logo { display: block; height: 30px; width: auto; }
.logo-on-dark { display: none; }
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }
.site-nav-brand { gap: 0; }
.auth-info-brand { margin-bottom: auto; padding-bottom: 48px; }


/* ── Top bar ────────────────────────────────────────────────────────────── */
.site-nav { background: var(--panel); border-bottom: 1px solid var(--line); padding: 14px 40px; }
.site-nav-links a { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.site-nav-links a:hover { color: var(--accent); text-decoration: underline; }
.site-nav-links .btn-signin {
  background: var(--bn-btn); color: #FFFFFF !important; border: 1px solid var(--bn-btn-edge);
  border-radius: 0; padding: 9px 18px; font-family: var(--display); font-weight: 600; text-decoration: none;
}
.site-nav-links .btn-signin:hover { background: var(--bn-btn-hover); text-decoration: none; }

/* ── Left: the green brand panel ────────────────────────────────────────── */
.auth-info { background: var(--bn-ground); color: #FFFFFF; padding: 48px 64px; }
.auth-info::before { display: none; }                      /* no grid texture, no glow: flat colour only */

/* The one diagonal "cut" in this layout: a brass strip at the logo angle, with a constant Ink gap either side. */
.brand-cut { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
@media (max-width: 1180px) { .brand-cut { display: none; } }   /* below this the strip would cross the text */

.auth-info-headline { max-width: 480px; }
.brand-bar { display: block; width: 56px; height: 6px; background: #C9A13B; margin-bottom: 22px; }   /* the page's one brass accent bar */
.auth-info-headline .eyebrow {
  display: block; padding: 0; margin: 0 0 14px; border: 0; border-radius: 0; background: none;
  font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #DFE8E5;
}
.auth-info-headline .eyebrow::before { display: none; }
.auth-info-headline h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.1;
  letter-spacing: -0.015em; color: #FFFFFF; margin: 0 0 16px;
}
.auth-info-headline p { font-size: 17px; line-height: 1.55; color: #DFE8E5; }

.auth-info-features { gap: 18px; margin-top: 36px; }
.auth-info-features .icon {
  width: 28px; height: 28px; border-radius: 0; background: none; border: 1px solid rgba(223, 232, 229, .55);
  color: #FFFFFF; font-size: 14px;
}
.auth-info-features strong { font-family: var(--sans); font-size: 16px; font-weight: 600; color: #FFFFFF; }
.auth-info-features small { font-size: 14px; line-height: 1.5; color: #DFE8E5; }

.auth-info-foot {
  border-top: 1px solid rgba(223, 232, 229, .3); font-family: var(--mono); font-size: 12px; line-height: 16px;
  letter-spacing: .06em; text-transform: uppercase; color: #DFE8E5;
}
.auth-info-foot .dot { border-radius: 0; background: #C9A13B; width: 6px; height: 6px; }

/* ── Right: the sign-in form ────────────────────────────────────────────── */
.auth-form-panel { background: var(--panel); padding: 40px 56px; }
.auth-theme-toggle {
  border-radius: 0; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2);
  font-family: var(--sans); font-size: 14px; min-height: 40px; padding: 7px 12px;
}
#theme-icon { display: none; }                           /* text only: no emoji in the brand system */
.auth-theme-toggle:hover { border-color: var(--ink-2); color: var(--ink); }
.auth-form-body { max-width: 360px; }
.auth-form-body h2 { font-family: var(--display); font-size: 32px; line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.auth-form-body .sub { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin: 0 0 28px; }

.form-field label { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field input {
  font-family: var(--sans); font-size: 16px; min-height: 46px; padding: 10px 12px; border: 1px solid #667173; border-radius: 0;
  background: var(--panel); color: var(--ink);
}
:root[data-theme="dark"] .form-field input { border-color: #A9B2B3; background: var(--bg); }
.form-field input, .auth-card input {
  background-color: var(--panel) !important; background-image: none !important; color: var(--ink) !important; border-color: #667173 !important;
}
:root[data-theme="dark"] .form-field input { background-color: var(--bg) !important; border-color: #A9B2B3 !important; }
.form-field input:focus { border-color: var(--ink) !important; }
.form-field input:focus { outline: 3px solid var(--bn-focus); outline-offset: 2px; border-color: var(--ink); box-shadow: none; }
.form-field a { font-size: 14px !important; font-weight: 600; color: var(--accent) !important; text-decoration: underline; }

.checkbox-row { font-size: 15px; color: var(--ink-2); }
.checkbox-row input { width: 20px; height: 20px; accent-color: #0B4A43; border-radius: 0; margin: 0; }

.submit-btn {
  min-height: 48px; background: var(--bn-btn); color: #FFFFFF; border: 1px solid var(--bn-btn-edge); border-radius: 0;
  font-family: var(--display); font-size: 16px; font-weight: 600; box-shadow: none; transform: none; filter: none;
}
.submit-btn:hover { background: var(--bn-btn-hover); filter: none; transform: none; }
.submit-btn { background: var(--bn-btn) !important; background-image: none !important; color: #FFFFFF !important; }
.submit-btn:hover { background: var(--bn-btn-hover) !important; }
.submit-btn:active { transform: none; }

.auth-form-foot { font-size: 15px; }
.auth-form-foot a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.auth-form-foot .sep { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .04em; color: var(--ink-3); }

/* Messages carry an icon and a word-bearing message, never colour alone. */
.alert { border-radius: 0; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.alert::before {
  flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; color: #FFFFFF;
  font-family: var(--mono); font-weight: 600; font-size: 13px; line-height: 1;
}
.alert-error { background: rgba(180, 35, 24, .08); color: var(--red); border: 1px solid var(--red); }
.alert-error::before { content: "!"; background: var(--red); }
:root[data-theme="dark"] .alert-error::before { color: #0B1719; }
.alert-success { background: rgba(27, 122, 62, .08); color: var(--green); border: 1px solid var(--green); }
.alert-success::before { content: "\2713"; background: var(--green); }
:root[data-theme="dark"] .alert-success::before { color: #0B1719; }

/* ── Sections below ─────────────────────────────────────────────────────── */
.site-section-head .eyebrow, .hub-eyebrow {
  font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.site-section-head h2, .desk-copy h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.site-section-head h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.12; }
.desk-copy h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; }
.site-section-head p, .desk-copy > p, .about-body p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.catalog-chip h4 { font-family: var(--display); font-size: 14px; font-weight: 600; }
.catalog-chip p { font-size: 14px; line-height: 1.5; }
.desk-copy li, .pricing-card li, .nfc-demo-copy li, .nfc-demo-copy p, .feature-card p { font-size: 15px; }
.pricing-card li, .feature-card p { line-height: 1.55; }

.feature-card, .pricing-card, .catalog-chip, .kanban-mock-job, .desk-rag, .desk-mock { border-radius: 0; border: 1px solid var(--line); }
.desk-mock { box-shadow: none; }
.desk-mock-bar .dot { border-radius: 0; }
.desk-mock-bar .dot.on { background: #C9A13B; }
.feature-card .icon { border-radius: 0; background: var(--accent-light); color: var(--accent); }
.feature-card .icon svg { stroke-width: 1.75; stroke-linecap: butt; stroke-linejoin: miter; }
.feature-card h3, .pricing-card h3 { font-family: var(--display); font-weight: 600; }
.pricing-card .price { font-family: var(--display); font-weight: 700; }
.pricing-card li::before, .desk-copy li::before { color: var(--accent); }
.pricing-card .plan-cta { border-radius: 0; background: var(--panel); border: 1px solid var(--ink-2); color: var(--ink); font-family: var(--display); font-weight: 600; }
.pricing-card.featured { border: 2px solid var(--accent); box-shadow: none; }
.pricing-card.featured .plan-cta { background: var(--bn-btn); color: #FFFFFF; border: 1px solid var(--bn-btn-edge); }
.desk-section { background: var(--panel-2); }
.about-section, .app-gallery-section { background: var(--bg); }

/* Status chips: functional colours, always with their text label, square and outlined. */
.desk-pill { border-radius: 0; font-family: var(--sans); font-size: 12px; font-weight: 600; background: var(--panel); border: 1px solid currentColor; }
.desk-pill.g { color: var(--green); background: var(--panel); }
.desk-pill.a { color: #B45309; background: var(--panel); }
.desk-pill.r { color: var(--red); background: var(--panel); }
:root[data-theme="dark"] .desk-pill.a { color: #F0A35E; }
.desk-rag strong { font-family: var(--mono); font-weight: 600; }
.desk-rag.a strong { color: #B45309; }
:root[data-theme="dark"] .desk-rag.a strong { color: #F0A35E; }
.desk-mock-table th, .matrix-mock th { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.matrix-dot { border-radius: 0; }

/* Device screenshots keep their phone-shaped corners and the NFC bullet becomes a square. */
.nfc-demo-copy li::before { border-radius: 0; background: #C9A13B; width: 8px; height: 8px; }
.nfc-demo-copy h3 { font-family: var(--display); font-weight: 700; }
.nfc-demo video, .app-gallery img { box-shadow: none; }

.site-footer { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; background: var(--panel); border-top: 1px solid var(--line); color: var(--ink-3); }
.site-footer a { color: var(--ink-3); text-decoration: underline; }

@media (max-width: 880px) { .auth-form-panel { padding: 24px 20px; } .site-nav { padding: 12px 18px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.desk-mock-shot { display: block; width: 100%; height: auto; }

/* ── Plans without prices, and the Request a quote form ─────────────────────── */
.price-quote { font-family: var(--display); font-size: 17px !important; font-weight: 700; line-height: 1.3; margin: 10px 0 4px; }
.pricing-card .plan-cta-quote { background: var(--accent-fill, #0B4A43); color: #FFFFFF; border: 1px solid var(--accent-fill, #0B4A43); }
.pricing-card.featured .plan-cta-quote { background: #0B4A43; border: 1px solid #0B4A43; }
.pricing-card .plan-trial { display: block; text-align: center; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.quote-box { max-width: 880px; margin: 36px auto 0; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid #C9A13B; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; }
.quote-copy h3, .quote-done h3 { font-family: var(--display); font-size: 20px; margin: 0 0 8px; }
.quote-copy p, .quote-done p, .quote-fine { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.quote-fine { font-size: 12px; color: var(--ink-3); margin-top: 12px; }
.quote-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.quote-form .form-field textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--ink-3); background: var(--panel); color: var(--ink); padding: 10px 12px; font: inherit; font-size: 14px; border-radius: 0; resize: vertical; }
.quote-form .form-field textarea:focus { outline: 3px solid var(--bn-focus, #0B4A43); outline-offset: 2px; }
.quote-form .opt { font-weight: 400; color: var(--ink-3); }
.quote-error { color: var(--red); font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.quote-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .quote-box { grid-template-columns: minmax(0, 1fr); padding: 20px; } .quote-row { grid-template-columns: minmax(0, 1fr); } }
.quote-copy a, .quote-done a, .quote-fine a { color: #0B4A43; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .quote-copy a, [data-theme="dark"] .quote-done a, [data-theme="dark"] .quote-fine a { color: #7FC4B8; }
