/* simpleisgood.ca -- 2026 refresh. Shares the SimpleUP design language: #ff5900 orange, #26004d plum, Lato + Instrument Serif. */
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/lato-900.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/instrument-serif-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/instrument-serif-400-italic.woff2") format("woff2"); }

:root {
  --orange: #ff5900;
  --orange-ink: #c24300;
  --plum: #26004d;
  --bg: #faf7f2;
  --bg-2: #f3eee6;
  --surface: #ffffff;
  --ink: #1b0b30;
  --muted: #5d5070;
  --line: rgba(38, 0, 77, .12);
  --line-strong: rgba(38, 0, 77, .22);
  --shadow: 0 1px 2px rgba(38,0,77,.06), 0 12px 32px -12px rgba(38,0,77,.22);
  --shadow-lg: 0 2px 4px rgba(38,0,77,.06), 0 40px 80px -30px rgba(38,0,77,.35);
  --c-leads: #ff5900; --c-found: #0f9488; --c-money: #2b8a3e; --c-run: #3355d6; --c-people: #d6336c; --c-plum: #7a3fc0;
  --radius: 18px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --font: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  /* legacy names still used inside older page bodies (support form, support tiles) */
  --sig-orange: #ff5900; --sig-violet: #26004d; --primary-color: var(--muted); --white: #fff; --a-focus: #005dab;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0718; --bg-2: #150c22; --surface: #1b1229;
    --ink: #f6f1fb; --muted: #b6a9c8; --line: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.2);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.7);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 40px 80px -30px rgba(0,0,0,.85);
    --orange-ink: #ff8a4c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0718; --bg-2: #150c22; --surface: #1b1229;
  --ink: #f6f1fb; --muted: #b6a9c8; --line: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.2);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.7);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 40px 80px -30px rgba(0,0,0,.85);
  --orange-ink: #ff8a4c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 900; }
p { margin: 0 0 1em; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; display: inline-flex; gap: 8px; align-items: center; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; position: relative; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 170px; height: auto; display: block; }
.logo-dark { display: none !important; }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-dark { display: block !important; }
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 10px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.tools { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.nav .nav-m { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 16px/1 var(--font); padding: 15px 22px; border-radius: 14px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(255,89,0,.7); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(255,89,0,.8); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-light { background: #fff; color: var(--plum); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-sm { padding: 10px 14px; font-size: 14px; border-radius: 11px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero::before { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(255,89,0,.45), transparent 65%); }
.hero::after { width: 560px; height: 560px; left: -220px; bottom: -260px; background: radial-gradient(circle, rgba(122,63,192,.35), transparent 65%); animation-delay: -6s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); max-width: 14ch; }
.hero h1 .serif { color: var(--orange-ink); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 54ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; font-size: 14px; color: var(--muted); font-weight: 700; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--c-money); }

/* floating brand stack */
.orbit { position: relative; height: 420px; }
.chip { position: absolute; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg); border: 1px solid rgba(38,0,77,.08); animation: float 7s ease-in-out infinite; }
.chip img { display: block; width: 100%; height: auto; }
.chip.c1 { width: 250px; left: 2%; top: 8%; rotate: -5deg; animation-delay: 0s; }
.chip.c2 { width: 200px; right: 0; top: 34%; rotate: 4deg; animation-delay: -2s; }
.chip.c3 { width: 210px; left: 10%; bottom: 8%; rotate: 3deg; animation-delay: -4s; }
.chip.c4 { width: 160px; right: 10%; top: 0; rotate: 6deg; animation-delay: -1s; padding: 12px 14px; }
.chip.c5 { width: 170px; right: 4%; bottom: 0; rotate: -4deg; animation-delay: -3s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.orbit .ring { position: absolute; inset: 10% 8%; border: 1.5px dashed var(--line-strong); border-radius: 50%; animation: spin 60s linear infinite; }
.orbit .ring::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); top: -7px; left: 50%; box-shadow: 0 0 0 6px rgba(255,89,0,.18); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 820px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); }
.section-head p { color: var(--muted); font-size: 18px; }

/* products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { --c: var(--orange); position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); transform: scaleX(.2); transform-origin: left; transition: transform .5s var(--ease); }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.product:hover::before { transform: scaleX(1); }
.plate { background: #fff; border-radius: 12px; height: 104px; display: grid; place-items: center; padding: 14px 22px; border: 1px solid rgba(38,0,77,.06); }
.plate img { max-height: 70px; width: auto; max-width: 100%; display: block; }
.product h3 { font-size: 20px; margin: 4px 0 0; }
.product p { color: var(--muted); margin: 0; flex: 1; }
.product .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--c); }
.product .go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.product:hover .go svg { transform: translateX(4px); }
.product.featured { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; padding: 28px; background: linear-gradient(135deg, var(--surface) 0%, color-mix(in srgb, var(--orange) 9%, var(--surface)) 100%); }
.product.featured .plate { flex: 0 0 42%; height: 170px; }
.product.featured .plate img { max-height: 96px; }
.product.featured h3 { font-size: 28px; }
.product.featured .body { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1021px) {
  .product.wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; }
  .product.wide .plate { flex: 0 0 46%; }
  .product.wide .body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
}
.product .body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tag { display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }

/* client tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { --c: var(--orange); display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.tile .ico svg { width: 24px; height: 24px; }
.tile strong { font-size: 18px; }
.tile span { color: var(--muted); font-size: 15px; }

/* cta band */
.band { position: relative; overflow: hidden; background: var(--plum); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; isolation: isolate; }
.band::after { content: ""; position: absolute; z-index: -1; width: 480px; height: 480px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,89,0,.55), transparent 65%); }
.band h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 10px; }
.band h2 .serif { color: #ffb088; }
.band p { color: rgba(255,255,255,.8); margin: 0; font-size: 18px; }
.band .hero-cta { justify-content: flex-end; }

/* ---------- inner pages (legacy bodies kept as-is) ---------- */
.main-page { padding: clamp(40px, 6vw, 72px) 0 80px; position: relative; overflow: hidden; isolation: isolate; }
.main-page::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -140px; top: -200px; border-radius: 50%; filter: blur(60px); opacity: .5; background: radial-gradient(circle, rgba(255,89,0,.4), transparent 65%); }
.main-page > .container { width: min(900px, 100% - 32px); margin-inline: auto; }
.main-page .site-title, .main-page h1 { font-size: clamp(36px, 5vw, 58px); margin: 0 0 24px; }
.main-page h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 1.8em 0 .5em; }
.main-page h3 { font-size: 20px; margin: 1.5em 0 .4em; }
.main-page a:not(.btn) { color: var(--orange-ink); text-underline-offset: 3px; }
.main-page ul, .main-page ol { padding-left: 1.3em; }
.main-page li { margin-bottom: .4em; }
.main-page table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.main-page th, .main-page td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.main-page .align-center { text-align: center; }
.main-page .form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.main-page .form-wrap iframe { min-height: 748px; }
.min-height-60 { min-height: 60vh; }
/* support form: its own inline styles hard-code plum text and fonts that are no longer loaded */
.main-page .support-page-wrap { padding-top: 0; }
.main-page .support-page-wrap h1 { font-family: var(--font); font-weight: 900; color: var(--ink); font-size: clamp(36px, 5vw, 58px); }
.main-page .support-page-wrap .support-subtitle { font-family: var(--font); color: var(--muted); }
.main-page .sig-form label { font-family: var(--font); color: var(--ink); }
.main-page .sig-form input, .main-page .sig-form select, .main-page .sig-form textarea, .main-page .sig-form button { font-family: var(--font); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; }
.fcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.fbrand img { width: 170px; height: auto; margin-bottom: 14px; }
.fbrand p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.fh { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 900; }
.site-footer nav a { display: block; text-decoration: none; padding: 5px 0; font-size: 15px; font-weight: 700; }
.site-footer nav a:hover { color: var(--orange-ink); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .25s var(--ease), color .2s; }
.socials a:hover { transform: translateY(-2px); color: var(--orange-ink); }
.socials svg { width: 18px; height: 18px; }
.fbase { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: 14px; color: var(--muted); }
.fbase a { text-decoration: none; font-weight: 700; color: var(--ink); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .fcols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .orbit { height: 300px; max-width: 460px; width: 100%; }
  .chip.c1 { width: 190px; } .chip.c2 { width: 150px; } .chip.c3 { width: 160px; } .chip.c4 { width: 120px; } .chip.c5 { width: 130px; }
  .band { grid-template-columns: 1fr; }
  .band .hero-cta { justify-content: flex-start; }
  .menu-btn { display: inline-grid; }
  .nav { display: none; position: absolute; left: -16px; right: -16px; top: 100%; flex-direction: column; padding: 12px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 17px; }
  .tools { margin-left: auto; }
  .tools .btn-ghost { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .products, .tiles { grid-template-columns: 1fr; }
  .product.featured { grid-column: auto; flex-direction: column; align-items: stretch; padding: 22px; }
  .product.featured .plate { flex: none; height: 120px; }
  .fcols { grid-template-columns: 1fr; }
  .brand img { width: 136px; }
  .tools .btn-primary { padding: 9px 11px; font-size: 13px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .nav .nav-m { display: block; }
  .tools .btn-primary { display: none; }
  .orbit { height: 260px; }
  .chip.c1 { width: 160px; } .chip.c2 { width: 120px; } .chip.c3 { width: 130px; } .chip.c4 { width: 100px; } .chip.c5 { width: 110px; }
}
