/* OneGo Corporate 1.5: widescreen, graphite and orange, light and dark mode.
 * Loaded after every other stylesheet. No blue anywhere. */

/* ---------- Colours: light (default) ---------- */
html:root,
html:root .ogpb {
	--paper: #ffffff;
	--surface: #ffffff;
	--surface-2: #fbfaf8;
	--mist: #f6f5f2;
	--ink: #141518;
	--ink-2: #2a2c31;
	--slate: #4b4d55;
	--muted: #6f7178;
	--line: #e6e4df;
	--line-strong: #cfccc5;
	--signal: #d83d1b;
	--signal-dark: #b5321a;
	--signal-soft: #fbece6;
	--gold: #b8892b;
	--band: #111214;
	--band-2: #1b1c20;
	--band-text: #c9c7c1;
	--btn: #141518;
	--btn-text: #ffffff;
	--graphite: #141518;
	--graphite-2: #2a2c31;
	--wrap: 1440px;
	--gutter: clamp(20px, 4.2vw, 72px);
	--r-s: 10px;
	--r-m: 14px;
	--r-l: 22px;
	--lift: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 1px 2px rgba(12, 12, 14, .06), 0 18px 40px -22px rgba(12, 12, 14, .28), 0 40px 80px -48px rgba(12, 12, 14, .22);
	--lift-hover: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 4px rgba(12, 12, 14, .06), 0 28px 60px -26px rgba(12, 12, 14, .34), 0 60px 110px -60px rgba(12, 12, 14, .3);
	--shadow-window: 0 1px 2px rgba(12, 12, 14, .08), 0 34px 80px -30px rgba(12, 12, 14, .45);
	color-scheme: light;
}

/* ---------- Colours: dark ---------- */
html[data-theme="dark"]:root,
html[data-theme="dark"]:root .ogpb {
	--paper: #0c0d0f;
	--surface: #15161a;
	--surface-2: #1a1b20;
	--mist: #111215;
	--ink: #f3f1ec;
	--ink-2: #e2dfd8;
	--slate: #bebbb3;
	--muted: #8f8c85;
	--line: #26282d;
	--line-strong: #3a3c42;
	--signal: #ee5a34;
	--signal-dark: #ff7a52;
	--signal-soft: #2a1611;
	--gold: #d6a548;
	--band: #060607;
	--band-2: #121316;
	--band-text: #b7b4ad;
	--btn: #f3f1ec;
	--btn-text: #111214;
	--graphite: #f3f1ec;
	--graphite-2: #e2dfd8;
	--lift: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 0 0 1px rgba(255, 255, 255, .04), 0 18px 40px -20px rgba(0, 0, 0, .7), 0 40px 90px -50px rgba(0, 0, 0, .8);
	--lift-hover: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 0 0 1px rgba(255, 255, 255, .06), 0 28px 60px -24px rgba(0, 0, 0, .8), 0 60px 120px -60px rgba(0, 0, 0, .9);
	--shadow-window: 0 0 0 1px rgba(255, 255, 255, .06), 0 34px 80px -30px rgba(0, 0, 0, .85);
	color-scheme: dark;
}

body { background: var(--paper); color: var(--slate); transition: background-color .25s ease, color .25s ease; }
::selection { background: color-mix(in srgb, var(--signal) 30%, transparent); }
:focus-visible { outline-color: var(--signal); }
a { color: var(--ink); }
a:hover { color: var(--signal-dark); }
h1, h2, h3, h4 { color: var(--ink); }

/* ---------- Widescreen everywhere ---------- */
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: clamp(72px, 9vw, 136px) 0; }
.section-head { max-width: 880px; }
.section-title { font-size: clamp(2rem, 3.4vw, 3.1rem); letter-spacing: -0.03em; }
.section-lead { font-size: clamp(18px, 1.35vw, 21px); max-width: 64ch; }

/* ---------- Buttons: solid, softly raised ---------- */
.button, .onego-lm-form button, .onego-lm-pay {
	border-radius: 999px;
	padding-left: 24px; padding-right: 24px;
	background: var(--btn); border-color: var(--btn); color: var(--btn-text);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 24px -14px rgba(12, 12, 14, .6);
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.button:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--btn-text); transform: translateY(-1px); }
.button--signal, .onego-lm-form button, .onego-lm-pay {
	background: linear-gradient(180deg, color-mix(in srgb, var(--signal) 88%, #fff) 0%, var(--signal) 55%, color-mix(in srgb, var(--signal) 86%, #000) 100%);
	border-color: color-mix(in srgb, var(--signal) 86%, #000); color: #fff;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset, 0 14px 28px -14px color-mix(in srgb, var(--signal) 80%, #000);
}
.button--signal:hover, .onego-lm-form button:hover, .onego-lm-pay:hover { background: var(--signal-dark); border-color: var(--signal-dark); color: #fff; transform: translateY(-1px); }
html[data-theme="dark"] .button--signal:hover { background: color-mix(in srgb, var(--signal) 85%, #fff); border-color: transparent; }
.button--quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.button--quiet:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }

/* ---------- Header: glass bar, full width ---------- */
.site-header { background: color-mix(in srgb, var(--paper) 82%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); }
.site-header__inner { min-height: 74px; }
.wordmark, .nav__list a, .nav__drop-toggle { color: var(--ink); }
.nav__drop-inner, .nav__list .sub-menu, .account__menu { background: var(--surface); border-color: var(--line); box-shadow: var(--lift); }
@media (max-width: 860px) { .nav { background: var(--surface); border-color: var(--line); } }
.account-link { border-color: var(--line-strong); }
.account__avatar { box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line); }

/* Light / dark switch */
.theme-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--lift); transition: transform .2s ease; }
.theme-toggle:hover { transform: rotate(-12deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .theme-toggle__moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: block; }
@media (max-width: 860px) { .theme-toggle { order: 1; width: 36px; height: 36px; } }

/* ---------- Surfaces in both modes ---------- */
.section--mist, .ogpb .section--mist { background: var(--mist); }
.window { border-color: var(--line); box-shadow: var(--shadow-window); }
.window__bar { background: var(--mist); border-bottom-color: var(--line); }
.facts, .ogpb .facts { background: var(--band); color: var(--band-text); }
.site-footer { background: var(--band); color: var(--band-text); }
.badge { background: var(--mist); color: var(--slate); }
input, select, textarea { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
html[data-theme="dark"] img.custom-logo { filter: none; }

/* 3D panels: any card-like block gets the same raised look */
.panel-3d,
.price-panel,
.onego-lm-request,
.ogpb-gallery__item,
.app-card,
.faq details {
	background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
	border: 1px solid var(--line);
	border-radius: var(--r-l);
	box-shadow: var(--lift);
}
.app-card { transition: transform .25s ease, box-shadow .25s ease; }
.app-card:hover { transform: translateY(-4px); box-shadow: var(--lift-hover); }

/* Sales pages: graphite, warm, wide */
.ogpb-sale { background: radial-gradient(1200px 600px at 85% 10%, color-mix(in srgb, var(--signal) 10%, transparent), transparent 70%), linear-gradient(180deg, var(--paper) 0%, var(--surface-2) 100%); }
.ogpb-sale__label { background: var(--signal-soft); color: var(--signal-dark); }
.ogpb-buyband { background: var(--band); }
.ogpb-buyband--light { background: var(--signal-soft); }
body:has(.ogpb-sale) .ogpb { --ink: var(--graphite); --ink-2: var(--graphite-2); }
body:has(.ogpb-sale) .ogpb-gallery__item { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.ogpb-phone img { background: var(--surface); }

/* Dark mode: the few light-only tints */
html[data-theme="dark"] .notice-ok, html[data-theme="dark"] [class*="--ok"] { background: #10241a; }
html[data-theme="dark"] .onego-lm-notice--success { background: #10241a; color: #b9e3c8; }
html[data-theme="dark"] .onego-lm-notice--error { background: #2a1611; color: #ffc4b0; }
html[data-theme="dark"] .paper { background: #fff; } /* printed invoices stay white paper */
html[data-theme="dark"] .ogpb-phone .ogpb-image-empty { background: var(--surface-2); }

/* An order form inside a price panel: one raised panel, not two. */
.price-panel .onego-lm-request { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; }
/* Questions as raised panels */
.faq details { padding: 0 22px; margin-bottom: 10px; }
.faq details > summary { padding-top: 16px; padding-bottom: 16px; }
.faq details[open] { padding-bottom: 6px; }

/* ---------- Edition badges: Office Edition (bright burnt orange) and Pocket Edition (brass and copper) ---------- */
.edition {
	display: inline-flex; align-items: center; gap: .4em; vertical-align: middle; position: relative; top: -.08em;
	margin-left: .35em; padding: .38em .78em .36em; border-radius: 999px;
	font-size: max(10px, .56em); font-weight: 800; line-height: 1; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
	color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .28);
}
.edition::before { content: ""; width: .62em; height: .62em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 22%, rgba(255, 255, 255, .55) 23% 45%, transparent 46%), rgba(255, 255, 255, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.edition--office {
	background: linear-gradient(180deg, #ff8a52 0%, #f0561f 48%, #cf3c10 100%);
	border: 1px solid #b8340d;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 10px -3px rgba(207, 60, 16, .7);
}
.edition--pocket {
	background: linear-gradient(180deg, #f6d9a4 0%, #d29a57 30%, #b06a33 52%, #e2ab70 74%, #8c4b20 100%);
	border: 1px solid #7d4119;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(0, 0, 0, .2), 0 3px 10px -3px rgba(125, 65, 25, .75);
}
/* Inside the hero's label pill and small menu text */
.ogpb-lux__label .edition { margin-left: .6em; font-size: max(10px, .92em); }
.nav__tool-name .edition, .site-footer .edition { font-size: 10px; padding: .32em .6em; }
.nav__tool-name .edition { display: flex; width: max-content; margin: 5px 0 2px; top: 0; }
.site-footer .edition::before { display: none; }
.price-panel__name .edition, .app-row__name .edition, .app-hero__name .edition { font-size: max(10px, .5em); }
/* "Office Edition" inside a sentence or heading: the same badge, sized to the text. Inside a button it stays plain. */
.edition--inline { font-size: max(10px, .62em); margin: 0 .1em; padding: .34em .66em .32em; top: -.12em; }
.edition--inline::before { display: none; }
.button .edition, a.button .edition, .ogpb-lux__tag .edition {
	all: unset; display: inline; font: inherit; letter-spacing: inherit; color: inherit;
}
.button .edition::before, a.button .edition::before, .ogpb-lux__tag .edition::before { display: none; }
/* Pocket Edition badge in orange brass (owner, 14 Nov 2026): between gold and red brass, closer to orange, never brown. */
.edition--pocket {
	background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 48%, rgba(255,255,255,0) 52%), linear-gradient(180deg, #ffd29c 0%, #f0a24f 34%, #df8633 54%, #f2ad63 76%, #c46b22 100%);
	border-color: #b0611f;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(150, 70, 0, .25), 0 3px 10px -3px rgba(170, 85, 10, .7);
	text-shadow: 0 1px 1px rgba(120, 52, 0, .55);
}
/* Pocket Edition badge, rich orange brass (round 3): deep and saturated with a glassy shine; white text reads clearly. */
.edition--pocket {
	background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.18) 45%, rgba(255,255,255,0) 48%), linear-gradient(180deg, #f99a35 0%, #e8740f 30%, #d26004 54%, #dd6a08 76%, #b84e00 100%);
	border-color: #9c4200;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(120, 45, 0, .3), 0 3px 10px -3px rgba(190, 80, 0, .75);
	text-shadow: 0 1px 2px rgba(90, 35, 0, .7);
}
