/* Denali POS sales site. One page, no build step, no outside fonts or scripts.
   Layout rules (same as the POS and console): nothing is wider than its container, grid and
   flex children may shrink, long words wrap, and the page never scrolls sideways. */
:root {
  --bg: #050816;
  --bg-2: #0a0f2c;
  --panel: rgba(255, 255, 255, .045);
  --panel-solid: #10163a;
  --line: rgba(255, 255, 255, .11);
  --text: #eef1ff;
  --muted: #a2abd0;
  --teal: #20f5c0;
  --blue: #4f8cff;
  --violet: #c26bff;
  --aurora: linear-gradient(90deg, var(--teal), var(--blue) 50%, var(--violet));
  --radius: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, p, li, summary { overflow-wrap: break-word; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }
.grad { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border-radius: 999px;
  background: var(--aurora); color: #050816; font: inherit; font-weight: 700; text-decoration: none; border: 0; text-align: center;
  box-shadow: 0 8px 30px rgba(79, 140, 255, .35); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(79, 140, 255, .45); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: rgba(255, 255, 255, .35); }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 15px; }

/* header: solid, so it never blends into the colorful hero behind it */
.top {
  position: sticky; top: 0; z-index: 20; background: #0b1131;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08); transition: box-shadow .2s;
}
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--aurora); opacity: .85; }
.top.scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 6px 14px rgba(0, 0, 0, .28); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 72px; padding-top: env(safe-area-inset-top); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; color: #fff; }
.logo img { width: 40px; height: 40px; border-radius: 11px; }
/* Solid color, not gradient-filled text: stays crisp at every size and on every screen. */
.logo b { color: #6ff0d2; font-weight: 800; }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { padding: 10px 14px; border-radius: 10px; color: #dbe1fa; text-decoration: none; font-weight: 600; font-size: 15.5px; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.top-actions { display: flex; align-items: center; gap: 10px; }
/* Pages with no section links (privacy, terms, demo, 404): the buttons still sit at the right edge. */
.logo + .top-actions { margin-left: auto; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: #fff; cursor: pointer; }
.menu-btn svg { display: block; margin: auto; }
.links .menu-demo { display: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 88px; }
.aurora { position: absolute; inset: -30% -10% auto; height: 620px; background:
  radial-gradient(40% 50% at 20% 40%, rgba(32, 245, 192, .22), transparent 70%),
  radial-gradient(40% 50% at 55% 30%, rgba(79, 140, 255, .28), transparent 70%),
  radial-gradient(35% 45% at 85% 45%, rgba(194, 107, 255, .25), transparent 70%); pointer-events: none; }
.aurora.soft { opacity: .6; top: -40%; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: #cfd6f5; font-size: 14px; font-weight: 600; }
.kicker i { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--aurora); color: #050816; font-style: normal; font-weight: 800; font-size: 12.5px; white-space: nowrap; }
h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 20px; }
.lede { color: var(--muted); font-size: 19px; line-height: 1.6; margin: 0 0 30px; max-width: 33em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: 15px; }
.ticks li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 7px; }

/* Screenshots of the real register (site/img), in a device frame. width/height on each img keep the
   page from jumping while it loads. */
.mock-wrap { position: relative; min-width: 0; }
.device { position: relative; margin: 0; padding: 10px; border-radius: 22px; background: #0b0f24; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(79, 140, 255, .12) inset; }
.device img { display: block; width: 100%; height: auto; border-radius: 13px; background: #0a0a0c; }
.device.phone { max-width: 300px; padding: 8px; border-radius: 34px; }
.device.phone img { border-radius: 27px; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; margin: 0; }
.shot { margin: 0; min-width: 0; }
.shot .device { padding: 6px; border-radius: 16px; box-shadow: 0 18px 44px rgba(0, 0, 0, .42); }
.shot .device img { border-radius: 10px; }
.shot .device.phone { padding: 6px; border-radius: 30px; }
.shot .device.phone img { border-radius: 24px; }
.shot figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.shot figcaption b { display: block; margin-bottom: 2px; color: var(--text); font-size: 16.5px; }
.shots-phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 48px; margin-top: 48px; }
.shots-phones .shot { width: 260px; }
.see-more { margin-top: 36px; }
.m-float {
  position: absolute; left: 28px; bottom: -40px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 16px; background: #141b45; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.m-float b { display: block; font-size: 14px; }
.m-float small { color: var(--muted); font-size: 12.5px; }
.m-check { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--aurora); color: #050816; font-weight: 900; }

/* "Built for" row */
.built { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.built-in { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.built-label { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.built ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.built li { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: #d5dbf7; font-size: 14.5px; font-weight: 600; }

/* sections and cards */
.section { position: relative; padding: 96px 0; overflow: hidden; }
.section.alt { background: var(--bg-2); }
.section-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 14px; }
.sub { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0 0 40px; max-width: 38em; }
.center .sub { margin-left: auto; margin-right: auto; }
.cards { display: grid; gap: 18px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; min-width: 0; padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(255, 255, 255, .2); }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
/* line icons in a tinted tile */
.ic { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; margin-bottom: 18px; border-radius: 13px;
  background: linear-gradient(150deg, rgba(32, 245, 192, .16), rgba(79, 140, 255, .16) 55%, rgba(194, 107, 255, .16)); border: 1px solid rgba(124, 160, 255, .28); color: #9fc1ff; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.big { width: 54px; height: 54px; margin: 0; border-radius: 15px; }
.ic.big svg { width: 26px; height: 26px; }
.p-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.p-head p { font-size: 15px; }
.list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 11px; }
.list li { position: relative; padding-left: 28px; line-height: 1.5; }
.list li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--aurora); }
.list.small { margin: 18px 0 0; gap: 8px; font-size: 15px; color: #d5dbf7; }
.more { color: var(--blue); font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }
/* getting started */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.steps h3 { margin: 14px 0 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--aurora); color: #050816; font-weight: 900; }
/* pricing */
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(79, 140, 255, .55); background: linear-gradient(160deg, rgba(79, 140, 255, .14), rgba(194, 107, 255, .08)); }
.plan-tag { align-self: flex-start; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px; background: var(--aurora); color: #050816; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.plan.soon { border-style: dashed; }
.plan .soon-tag { background: rgba(255, 255, 255, .08); color: #d5dbf7; border: 1px solid var(--line); }
#pricing .center { margin-top: 34px; }

/* support */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.console { min-width: 0; padding: 18px; border-radius: var(--radius); background: #0f1216; border: 1px solid #29313b; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); font-size: 14px; position: relative; }
.c-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.c-head b { font-size: 17px; }
.c-head span { display: inline-flex; align-items: center; gap: 6px; color: #8b95a1; font-size: 13px; }
.c-head i { width: 8px; height: 8px; border-radius: 50%; background: #2fb67c; box-shadow: 0 0 0 3px rgba(47, 182, 124, .25); }
.c-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.c-tiles div { padding: 10px; border-radius: 10px; background: #161b21; border: 1px solid #29313b; min-width: 0; }
.c-tiles b { display: block; font-size: 20px; }
.c-tiles .good b { color: #2fb67c; }
.c-tiles span { color: #8b95a1; font-size: 12px; }
.c-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 4px; border-top: 1px solid #29313b; }
.c-row small { display: block; color: #8b95a1; }
.c-row > span:last-child { color: #8b95a1; font-size: 13px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.good { background: #2fb67c; }
.c-toast { margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: #e6e9ed; color: #0f1216; font-weight: 700; font-size: 13px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* language switch */
.lang-btn { align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: #dbe1fa; font-family: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.lang-btn:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
/* ✕ on pages opened from the owners' portal (an invoice, the billing page): back to the portal. */
.page-x { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: #dbe1fa; text-decoration: none; }
.page-x:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.page-x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.links .menu-lang { display: none; }
.foot-lang { background: none; border: 0; padding: 0; color: #9fc1ff; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  /* The home page moves the switch into its phone menu; pages with no menu keep it in the header. */
  .links ~ .top-actions .lang-btn { display: none; }
  .links .menu-lang { display: block; margin-top: 8px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: #fff; font-family: inherit; font-size: 15.5px; font-weight: 600; line-height: 1; text-align: left; cursor: pointer; }
}
.start-page .top-actions .lang-btn { display: inline-flex; }
.start-page .top-actions { gap: 8px; }
/* why Denali */
.why .card { padding-top: 22px; }
.why-n { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: #6ff0d2; }
/* built to be trusted */
.trust-split { align-items: start; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trust li { display: grid; gap: 3px; padding: 15px 18px 15px 50px; position: relative; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.trust li::before { content: "✓"; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(32, 245, 192, .14); color: #6ff0d2; font-size: 13px; font-weight: 900; }
.trust b { font-size: 16.5px; }
.trust span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.steps-cta { margin-top: 30px; }
/* about */
.about-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about-p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: -18px 0 0; max-width: 40em; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: grid; gap: 3px; padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: rgba(79, 140, 255, .55); transform: translateY(-1px); }
.contact-card b { font-size: 17px; }
.contact-card span { color: var(--muted); font-size: 14.5px; }
.contact-card em { font-style: normal; color: #9fc1ff; font-weight: 700; font-size: 14.5px; overflow-wrap: anywhere; }

/* final call to action and footer */
.final { text-align: center; }
.final .cta { margin-top: 6px; }
.foot { border-top: 1px solid var(--line); padding: 46px 0 max(24px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 15px; background: #04060f; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand .logo { color: var(--text); font-size: 19px; }
.foot-brand .logo img { width: 34px; height: 34px; border-radius: 9px; }
.foot-brand p { margin: 14px 0 0; max-width: 30em; line-height: 1.6; font-size: 14.5px; }
.foot-small { font-size: 13.5px; color: #7f88b0; }
.foot-col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.foot-col b { color: var(--text); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.foot-col a { font-size: 14.5px; overflow-wrap: anywhere; }
/* The short footer (sign-up, your account): the logo on the left, the address and links spaced out after it */
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 14.5px; }
.foot-in > .logo { margin-right: auto; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: #7f88b0; }

/* tablets */
@media (max-width: 1100px) {
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-in, .split { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 52px; padding-bottom: 72px; }
  .mock-wrap { max-width: 640px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.three, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .trust li { padding-left: 46px; }
}
/* Talk to sales form */
body.modal-open { overflow: hidden; }
.sales {
  width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 22px;
  background: #0d1333; color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); overflow: hidden;
}
.sales[open] { display: flex; flex-direction: column; }
.sales::backdrop { background: rgba(3, 6, 20, .72); backdrop-filter: blur(4px); }
.sales-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.sales-form[hidden] { display: none; }
.sales-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 14px; border-bottom: 1px solid var(--line); position: relative; }
.sales-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--aurora); opacity: .7; }
.sales-head h2 { margin: 0 0 4px; font-size: 24px; letter-spacing: -.01em; }
.sales-head p { margin: 0; color: var(--muted); font-size: 15px; }
.sales-x { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.sales-x:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.sales-body { padding: 18px 24px 6px; overflow-y: auto; min-height: 0; }
.sales-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.sales-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: #d5dbf7; min-width: 0; }
.sales-grid label.full { grid-column: 1 / -1; }
.sales-grid .opt { margin-left: 4px; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.sales-grid input, .sales-grid select, .sales-grid textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid #2a3468; background: #121a42;
  color: var(--text); font-family: inherit; font-size: 16px; line-height: 1.3; transition: border-color .15s, box-shadow .15s;
}
.sales-grid textarea { resize: vertical; min-height: 84px; }
.sales-grid select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a2abd0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.sales-grid select option, .sales-grid select optgroup { background: #121a42; color: var(--text); }
.sales-grid input:focus, .sales-grid select:focus, .sales-grid textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79, 140, 255, .28); }
.sales-grid :is(input, select, textarea).bad { border-color: #ff6b8b; box-shadow: 0 0 0 3px rgba(255, 107, 139, .22); }
.sales-grid .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sales-error { min-height: 22px; margin: 10px 0 0; color: #ff8fa6; font-size: 14.5px; font-weight: 600; }
.sales-error:empty { min-height: 0; margin: 0; }
.sales-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 24px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sales-fine { color: var(--muted); font-size: 13.5px; }
.sales-foot .btn { min-width: 190px; }
.sales-foot .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.sales-done { padding: 40px 28px 32px; text-align: center; }
.sales-done[hidden] { display: none; }
.done-mark { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--aurora); color: #050816; font-size: 32px; font-weight: 800; }
.sales-done h2 { margin: 0 0 8px; font-size: 26px; }
.sales-done p { color: var(--muted); margin: 0 auto 22px; max-width: 420px; }
.sales-done b { color: var(--text); overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .sales { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .sales-head { padding: max(18px, calc(env(safe-area-inset-top) * 1.5)) max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left)); }
  .sales-body { padding: 16px max(18px, env(safe-area-inset-right)) 6px max(18px, env(safe-area-inset-left)); flex: 1; }
  .sales-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sales-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; gap: 8px; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .sales-foot .btn { width: 100%; }
  .sales-done { margin: auto 0; }
}

/* phones */
@media (max-width: 860px) {
  .top-in { gap: 10px; }
  .top-actions { margin-left: auto; }
  .menu-btn { display: block; }
  .links {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px; margin: 0;
    padding: 10px max(16px, env(safe-area-inset-left)) 16px; background: #0b1131; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 0, 0, .45);
  }
  .top.open .links { display: flex; }
  .links a { padding: 14px 12px; font-size: 17px; }
  .top-actions .btn { white-space: nowrap; }
  .top-actions .top-demo { display: none; } /* it's in the menu */
}
@media (max-width: 420px) {
  .top-in { min-height: 64px; }
  .logo { gap: 9px; font-size: 19px; }
  .logo img { width: 34px; height: 34px; border-radius: 9px; }
  .top-actions { gap: 8px; }
  .top-actions .btn.small { min-height: 40px; padding: 8px 13px; font-size: 14.5px; }
  .menu-btn { width: 40px; height: 40px; }
}
/* the smallest phones: the demo button moves into the menu so the logo has room */
@media (max-width: 360px) {
  .top-actions .btn { display: none; }
  .links .menu-demo { display: block; margin-top: 8px; border-radius: 999px; background: var(--aurora); color: #050816; font-weight: 700; text-align: center; }
}
@media (max-width: 760px) {
  .cards.two, .cards.three, .steps { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 64px 0; }
  .lede { font-size: 17px; }
  .card, .steps li { padding: 22px; }
  .cta .btn { flex: 1 1 220px; }
  .m-float { position: relative; left: auto; bottom: auto; display: inline-flex; margin-top: 14px; }
}
@media (max-width: 560px) {
  .cards.four { grid-template-columns: minmax(0, 1fr); }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .device { padding: 6px; border-radius: 16px; }
  .device img { border-radius: 10px; }
  .built-in { gap: 10px; }
  .built li { font-size: 13.5px; padding: 5px 11px; }
  .kicker { font-size: 13px; line-height: 1.35; border-radius: 18px; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Links in small print (privacy and terms) */
.sales-fine a, .foot-bottom a { color: #b9c2ea; text-decoration: underline; text-underline-offset: 3px; }

/* Phones: footer links far enough apart to tap the right one */
@media (max-width: 760px) {
  .foot-col { gap: 0; }
  .foot-col a { display: block; padding: 9px 0; }
}

/* The slimmer home page: six big features, an "also" line, a proof band */
.feat-big { margin-top: 40px; } /* the same 40px under the heading as the other sections have under their .sub line (it takes over the heading's 14px) */
.feat-big .card { padding: 26px 24px; }
.feat-big .card h3 { font-size: 20px; margin-top: 14px; }
.feat-big .card p { font-size: 16px; }
.also { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.also li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: #cfd6f5; font-size: 14px; font-weight: 600; }
.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.proof li { display: grid; gap: 6px; padding: 20px 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); position: relative; overflow: hidden; }
.proof li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--aurora, linear-gradient(180deg, #20f5c0, #4f8cff)); }
.proof b { font-size: 17px; }
.proof span { color: #9aa3c7; font-size: 15px; line-height: 1.5; }
.muted-line { color: #9aa3c7; font-size: 15px; margin: -6px 0 18px; }
@media (max-width: 900px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .proof { grid-template-columns: minmax(0, 1fr); } }
/* The owners' sign-in link in the header: in the menu on phones. */
@media (max-width: 760px) {
  .top-actions .acct-link { display: none; }
  .links .menu-demo[href="account/"] { display: block; }
}

/* The line under the plans (the add-ons), from Billing → Plans. */
.plans-note { margin: 20px auto 0; max-width: 46em; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Ask Denali: the AI assistant's button in the corner, and its chat in a panel above it (a full
   screen on phones). assistant.js draws the chat; the --as-* colors make it match this site. */
.ask-fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30;
  display: inline-flex; align-items: center; gap: 9px; min-height: 52px; max-width: calc(100vw - 32px); padding: 0 20px 0 16px; border-radius: 999px;
  border: 1.5px solid transparent; background: linear-gradient(#141b45, #141b45) padding-box, var(--aurora) border-box;
  color: #fff; font: inherit; font-size: 15.5px; font-weight: 700; line-height: 1.1; white-space: nowrap; cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5), 0 0 22px rgba(79, 140, 255, .18); transition: transform .15s, box-shadow .15s;
}
.ask-fab svg { flex: none; color: #6ff0d2; }
.ask-fab:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0, 0, 0, .55), 0 0 28px rgba(79, 140, 255, .32); }
.ask-fab:focus-visible { outline: 2px solid #9fc1ff; outline-offset: 3px; }
.ask-panel {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border: 1px solid var(--line);
  background: #0d1333; color: var(--text); font-size: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); overscroll-behavior: contain;
}
.ask-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--aurora); opacity: .8; pointer-events: none; z-index: 1; }
.ask-panel:focus { outline: none; }
.ask-fab[hidden], .ask-panel[hidden] { display: none; }
.ask-host { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 18px 16px 12px; }
#ask-host > * { flex: 1 1 auto; min-height: 0; }
#ask-host, #ask-host > * { --as-bg: #0d1333; --as-text: #eef1ff; --as-accent: #3d6df0; --as-accent-text: #fff; --as-line: rgba(255, 255, 255, .12); --as-muted: #a2abd0; }
.ask-missing { display: grid; gap: 14px; justify-items: start; padding: 28px 22px; }
.ask-missing p { margin: 0; color: var(--muted); }
/* Room at the end of the page, so the button never sits on the last links of the footer. */
.has-ask .foot { padding-bottom: max(96px, calc(env(safe-area-inset-bottom) + 84px)); }
@media (prefers-reduced-motion: no-preference) {
  .ask-panel:not([hidden]) { animation: ask-pop .2s ease-out; }
  @keyframes ask-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
}
@media (max-width: 560px) {
  .ask-fab { min-height: 48px; padding: 0 17px 0 13px; font-size: 15px; }
  .ask-panel { inset: 0; width: 100%; height: 100%; height: 100dvh; border: 0; border-radius: 0; box-shadow: none;
    padding: calc(env(safe-area-inset-top) * 1.5) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  body.ask-open { overflow: hidden; }
}

/* ---- Color themes and the light look --------------------------------------------------------------
   look.js puts two attributes on <html>: data-theme (any theme but Classic; it never writes "denali")
   and data-mode ("light" or "dark", the look in use). With nothing saved it puts neither, so nothing
   below applies and the site looks exactly as it always has: Classic, dark.
   Each rule below changes one rule above. Its start is wrapped in :where(), so it has the same weight
   as the rule it changes and wins only by coming later:
     any look but today's  :where(:root[data-mode="light"], :root[data-theme])
     the light look        :where(:root[data-mode="light"])
     a theme, dark         :where(:root[data-theme][data-mode="dark"])
   The sign-up and demo pages load their own stylesheet after this one; their rules (near the end) start
   with :root:where(...) instead, one step stronger than the rule they change.
   Colors: the theme designs in tools/check/themes.md (Sonoran Sunset nudged toward plum). */
:root[data-mode="light"] {
  --bg: #f5f7fc; --bg-2: #eaeef8; --panel: #ffffff; --panel-solid: #ffffff; --line: rgba(11, 17, 49, .13);
  --text: #0b1131; --muted: #4b5478; --teal: #0f766e; --blue: #1d4ed8; --violet: #6d28d9;
  --field-line: color-mix(in srgb, var(--text) 50%, transparent);
  color-scheme: light;
}
:root[data-theme][data-mode="dark"] { --field-line: color-mix(in srgb, var(--text) 38%, transparent); }
/* the themes' dark looks keep today's --panel and --line */
:root[data-theme="saguaro"][data-mode="light"] {
  --bg: #f3f5ee; --bg-2: #e8ecdf; --panel: #fdfefb; --panel-solid: #fdfefb; --line: rgba(22, 27, 22, .13);
  --text: #161b16; --muted: #4d574b; --teal: #2d6a3a; --blue: #0a6a78; --violet: #2b5fb0;
}
:root[data-theme="saguaro"][data-mode="dark"] {
  --bg: #050b08; --bg-2: #0b1611; --panel-solid: #11201a; --text: #eef5ef; --muted: #a6b8ab; --teal: #7fdc8f; --blue: #56c7d0; --violet: #f2c14e;
}
:root[data-theme="sonoran-sunset"][data-mode="light"] {
  --bg: #fbf3ee; --bg-2: #f4e6df; --panel: #fffbf9; --panel-solid: #fffbf9; --line: rgba(35, 25, 22, .13);
  --text: #231916; --muted: #63504a; --teal: #a6470d; --blue: #a0307e; --violet: #6a43c6;
}
:root[data-theme="sonoran-sunset"][data-mode="dark"] {
  --bg: #0c0710; --bg-2: #1a0f1f; --panel-solid: #22142a; --text: #fff0f4; --muted: #c9adbd; --teal: #ffc35c; --blue: #f692d3; --violet: #b78cff;
}
:root[data-theme="monsoon"][data-mode="light"] {
  --bg: #f4f3f9; --bg-2: #e9e7f3; --panel: #fdfcff; --panel-solid: #fdfcff; --line: rgba(24, 22, 42, .13);
  --text: #18162a; --muted: #54516b; --teal: #2b5c9a; --blue: #6438c4; --violet: #9a2f86;
}
:root[data-theme="monsoon"][data-mode="dark"] {
  --bg: #07070f; --bg-2: #10101f; --panel-solid: #191a30; --text: #f0efff; --muted: #afadd0; --teal: #8ab4ff; --blue: #b49cff; --violet: #ff8ad8;
}
:root[data-theme="bakery"][data-mode="light"] {
  --bg: #f8f2e8; --bg-2: #efe6d6; --panel: #fffdf8; --panel-solid: #fffdf8; --line: rgba(36, 28, 21, .13);
  --text: #241c15; --muted: #615548; --teal: #99501a; --blue: #a3355d; --violet: #1d5f87;
}
:root[data-theme="bakery"][data-mode="dark"] {
  --bg: #0c0907; --bg-2: #18120d; --panel-solid: #231b14; --text: #fbf3e9; --muted: #c6b6a4; --teal: #f5cf6b; --blue: #f6a5c0; --violet: #70c0ee;
}

/* Any look but today's: the dark-blue colors written into the rules above become the theme's own. */
:where(:root[data-mode="light"], :root[data-theme]) .top { background: var(--panel-solid); }
:where(:root[data-mode="light"], :root[data-theme]) .logo,
:where(:root[data-mode="light"], :root[data-theme]) .links a,
:where(:root[data-mode="light"], :root[data-theme]) .links a:hover,
:where(:root[data-mode="light"], :root[data-theme]) .menu-btn,
:where(:root[data-mode="light"], :root[data-theme]) .lang-btn,
:where(:root[data-mode="light"], :root[data-theme]) .lang-btn:hover,
:where(:root[data-mode="light"], :root[data-theme]) .kicker,
:where(:root[data-mode="light"], :root[data-theme]) .built li,
:where(:root[data-mode="light"], :root[data-theme]) .also li,
:where(:root[data-mode="light"], :root[data-theme]) .list.small,
:where(:root[data-mode="light"], :root[data-theme]) .plan .soon-tag,
:where(:root[data-mode="light"], :root[data-theme]) .sales-x:hover,
:where(:root[data-mode="light"], :root[data-theme]) .sales-grid label,
:where(:root[data-mode="light"], :root[data-theme]) .sales-fine a,
:where(:root[data-mode="light"], :root[data-theme]) .foot-bottom a { color: var(--text); }
:where(:root[data-mode="light"], :root[data-theme]) .logo b,
:where(:root[data-mode="light"], :root[data-theme]) .why-n,
:where(:root[data-mode="light"], :root[data-theme]) .ask-fab svg { color: var(--teal); }
:where(:root[data-mode="light"], :root[data-theme]) .foot-lang,
:where(:root[data-mode="light"], :root[data-theme]) .contact-card em { color: var(--blue); }
:where(:root[data-mode="light"], :root[data-theme]) .proof span,
:where(:root[data-mode="light"], :root[data-theme]) .muted-line,
:where(:root[data-mode="light"], :root[data-theme]) .foot-small,
:where(:root[data-mode="light"], :root[data-theme]) .foot-bottom { color: var(--muted); }
:where(:root[data-mode="light"], :root[data-theme]) .aurora { background:
  radial-gradient(40% 50% at 20% 40%, color-mix(in srgb, var(--teal) 22%, transparent), transparent 70%),
  radial-gradient(40% 50% at 55% 30%, color-mix(in srgb, var(--blue) 28%, transparent), transparent 70%),
  radial-gradient(35% 45% at 85% 45%, color-mix(in srgb, var(--violet) 25%, transparent), transparent 70%); }
:where(:root[data-mode="light"], :root[data-theme]) .btn { box-shadow: 0 8px 30px color-mix(in srgb, var(--blue) 35%, transparent); }
:where(:root[data-mode="light"], :root[data-theme]) .btn:hover:not(.ghost) { box-shadow: 0 12px 36px color-mix(in srgb, var(--blue) 45%, transparent); }
:where(:root[data-mode="light"], :root[data-theme]) .ic {
  background: linear-gradient(150deg, color-mix(in srgb, var(--teal) 16%, transparent), color-mix(in srgb, var(--blue) 16%, transparent) 55%, color-mix(in srgb, var(--violet) 16%, transparent));
  border-color: color-mix(in srgb, var(--blue) 28%, transparent); color: var(--blue);
}
:where(:root[data-mode="light"], :root[data-theme]) .plan.featured { border-color: color-mix(in srgb, var(--blue) 55%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 14%, transparent), color-mix(in srgb, var(--violet) 8%, transparent)); }
:where(:root[data-mode="light"], :root[data-theme]) .contact-card:hover { border-color: color-mix(in srgb, var(--blue) 55%, transparent); }
:where(:root[data-mode="light"], :root[data-theme]) .trust li::before { background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal); }
:where(:root[data-mode="light"], :root[data-theme]) .sales,
:where(:root[data-mode="light"], :root[data-theme]) .ask-panel { background: var(--panel-solid); }
:where(:root[data-mode="light"], :root[data-theme]) .sales-grid input,
:where(:root[data-mode="light"], :root[data-theme]) .sales-grid select,
:where(:root[data-mode="light"], :root[data-theme]) .sales-grid textarea { border-color: var(--field-line); background-color: var(--bg); }
:where(:root[data-mode="light"], :root[data-theme]) .sales-grid select option,
:where(:root[data-mode="light"], :root[data-theme]) .sales-grid select optgroup { background: var(--panel-solid); }
:where(:root[data-mode="light"], :root[data-theme]) .sales-grid input:focus,
:where(:root[data-mode="light"], :root[data-theme]) .sales-grid select:focus,
:where(:root[data-mode="light"], :root[data-theme]) .sales-grid textarea:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 28%, transparent); }
:where(:root[data-mode="light"], :root[data-theme]) .ask-fab { background: linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box, var(--aurora) border-box; color: var(--text); }
:where(:root[data-mode="light"], :root[data-theme]) .ask-fab:focus-visible { outline-color: var(--blue); }
/* Ask Denali's chat: words on its accent are near-black on the dark looks and white on the light look */
:where(:root[data-mode="light"], :root[data-theme]) #ask-host,
:where(:root[data-mode="light"], :root[data-theme]) #ask-host > * {
  --as-bg: var(--panel-solid); --as-text: var(--text); --as-accent: var(--blue); --as-accent-text: #050816; --as-line: var(--line); --as-muted: var(--muted);
}
:where(:root[data-mode="light"]) #ask-host,
:where(:root[data-mode="light"]) #ask-host > * { --as-accent-text: #fff; }
@media (max-width: 860px) {
  :where(:root[data-mode="light"], :root[data-theme]) .links { background: var(--panel-solid); }
  :where(:root[data-mode="light"], :root[data-theme]) .links .menu-lang { color: var(--text); }
  :where(:root[data-mode="light"]) .links { box-shadow: 0 16px 30px color-mix(in srgb, var(--text) 14%, transparent); }
}

/* The light look only */
:where(:root[data-mode="light"]) .btn,
:where(:root[data-mode="light"]) .kicker i,
:where(:root[data-mode="light"]) .step-n,
:where(:root[data-mode="light"]) .plan-tag,
:where(:root[data-mode="light"]) .done-mark,
:where(:root[data-mode="light"]) .m-check { color: #fff; }
@media (max-width: 360px) { :where(:root[data-mode="light"]) .links .menu-demo { color: #fff; } }
:where(:root[data-mode="light"]) .btn { box-shadow: 0 6px 20px color-mix(in srgb, var(--blue) 26%, transparent); }
:where(:root[data-mode="light"]) .btn:hover:not(.ghost) { box-shadow: 0 10px 26px color-mix(in srgb, var(--blue) 34%, transparent); }
:where(:root[data-mode="light"]) .btn.ghost,
:where(:root[data-mode="light"]) .lang-btn,
:where(:root[data-mode="light"]) .menu-btn { border-color: color-mix(in srgb, var(--text) 22%, transparent); }
:where(:root[data-mode="light"]) .btn.ghost:hover,
:where(:root[data-mode="light"]) .lang-btn:hover,
:where(:root[data-mode="light"]) .sales-x:hover { border-color: color-mix(in srgb, var(--text) 40%, transparent); }
:where(:root[data-mode="light"]) .top { box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 8%, transparent); }
:where(:root[data-mode="light"]) .top.scrolled { box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 8%, transparent), 0 6px 14px color-mix(in srgb, var(--text) 10%, transparent); }
:where(:root[data-mode="light"]) .aurora { opacity: .45; }
:where(:root[data-mode="light"]) .aurora.soft { opacity: .3; }
:where(:root[data-mode="light"]) .links a:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
:where(:root[data-mode="light"]) .card:hover { border-color: color-mix(in srgb, var(--text) 20%, transparent); }
:where(:root[data-mode="light"]) .kicker,
:where(:root[data-mode="light"]) .built li,
:where(:root[data-mode="light"]) .also li,
:where(:root[data-mode="light"]) .proof li { background: var(--panel); }
:where(:root[data-mode="light"]) .plan .soon-tag { background: var(--bg-2); }
:where(:root[data-mode="light"]) .foot { background: var(--bg-2); }
/* The screenshots' frames and the console picture keep their dark look (.device, .m-float and .c-* set their own colors). */
:where(:root[data-mode="light"]) .device { border-color: color-mix(in srgb, var(--text) 18%, transparent); box-shadow: 0 30px 70px color-mix(in srgb, var(--text) 26%, transparent); }
:where(:root[data-mode="light"]) .shot .device { box-shadow: 0 16px 36px color-mix(in srgb, var(--text) 20%, transparent); }
:where(:root[data-mode="light"]) .m-float { color: #eef1ff; box-shadow: 0 18px 40px color-mix(in srgb, var(--text) 25%, transparent); }
:where(:root[data-mode="light"]) .m-float small { color: #a2abd0; }
:where(:root[data-mode="light"]) .console { color: #e6e9ed; box-shadow: 0 24px 60px color-mix(in srgb, var(--text) 22%, transparent); }
/* Talk to sales and Ask Denali */
:where(:root[data-mode="light"]) .sales,
:where(:root[data-mode="light"]) .ask-panel { box-shadow: 0 30px 80px color-mix(in srgb, var(--text) 22%, transparent); }
:where(:root[data-mode="light"]) .sales::backdrop { background: rgba(16, 20, 36, .45); }
:where(:root[data-mode="light"]) .sales-error { color: #b4233c; }
:where(:root[data-mode="light"]) .sales-grid :is(input, select, textarea).bad { border-color: #c62828; box-shadow: 0 0 0 3px rgba(198, 40, 40, .16); }
:where(:root[data-mode="light"]) .sales-grid select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d6874' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
:where(:root[data-mode="light"]) .ask-fab { box-shadow: 0 10px 28px color-mix(in srgb, var(--text) 18%, transparent), 0 0 22px color-mix(in srgb, var(--blue) 14%, transparent); }
:where(:root[data-mode="light"]) .ask-fab:hover { box-shadow: 0 14px 34px color-mix(in srgb, var(--text) 22%, transparent), 0 0 28px color-mix(in srgb, var(--blue) 22%, transparent); }

/* A theme's dark look: the footer a step darker than the page, as today's is */
:where(:root[data-theme][data-mode="dark"]) .foot { background: color-mix(in srgb, var(--bg) 70%, #000); }

/* The sign-up page (start.css loads after this file) */
:root:where([data-mode="light"], [data-theme]) .start-page { background: radial-gradient(1100px 520px at 70% -10%, color-mix(in srgb, var(--blue) 18%, transparent), transparent 70%), radial-gradient(800px 420px at 0% 10%, color-mix(in srgb, var(--teal) 10%, transparent), transparent 70%), var(--bg); }
:root:where([data-mode="light"], [data-theme]) .su-card { background: var(--panel-solid); }
:root:where([data-mode="light"], [data-theme]) .su-x:hover,
:root:where([data-mode="light"], [data-theme]) .su-x:focus-visible,
:root:where([data-mode="light"], [data-theme]) .su-pick legend { color: var(--text); }
:root:where([data-mode="light"], [data-theme]) .su-pick .su-opt span { border-color: var(--field-line); background-color: var(--bg); }
:root:where([data-mode="light"], [data-theme]) .su-pick .su-opt input:checked + span { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 28%, transparent); background-color: color-mix(in srgb, var(--blue) 10%, var(--panel-solid)); }
:root:where([data-mode="light"], [data-theme]) .su-review:hover { border-color: color-mix(in srgb, var(--blue) 60%, transparent); }
@media (max-width: 640px) { :root:where([data-mode="light"], [data-theme]) .su-foot { background: var(--panel-solid); } }
:root:where([data-mode="light"]) .su-card { box-shadow: 0 24px 60px color-mix(in srgb, var(--text) 14%, transparent); }
:root:where([data-mode="light"]) .su-x:hover,
:root:where([data-mode="light"]) .su-x:focus-visible { border-color: color-mix(in srgb, var(--text) 40%, transparent); }
:root:where([data-mode="light"]) .su-steps li { border-top-color: color-mix(in srgb, var(--text) 12%, transparent); }
:root:where([data-mode="light"]) .su-steps li span { background: color-mix(in srgb, var(--text) 8%, transparent); }
:root:where([data-mode="light"]) .su-steps li.on { border-top-color: var(--blue); }
:root:where([data-mode="light"]) .su-steps li.done { border-top-color: var(--teal); }
:root:where([data-mode="light"]) .su-steps li.on span { background: var(--blue); color: #fff; }
:root:where([data-mode="light"]) .su-steps li.done span { background: var(--teal); color: #fff; }
:root:where([data-mode="light"]) .su-next li::before { color: #fff; }
:root:where([data-mode="light"]) .su-review,
:root:where([data-mode="light"]) .su-next li { background: var(--bg); }
:root:where([data-mode="light"]) .su-error { color: #b4233c; }
:root:where([data-mode="light"]) .su-grid label.bad input,
:root:where([data-mode="light"]) .su-grid label.bad select,
:root:where([data-mode="light"]) .su-grid label.bad textarea { border-color: #c62828; box-shadow: 0 0 0 3px rgba(198, 40, 40, .16); }
:root:where([data-mode="light"]) .su-pick.bad .su-opt span { border-color: #c62828; }

/* The demo video page (demo.css loads after this file); the player stays black */
:root:where([data-mode="light"], [data-theme]) .vid .sub { color: var(--text); }
:root:where([data-mode="light"], [data-theme]) .chapters button time,
:root:where([data-mode="light"], [data-theme]) .chapters button span { color: var(--muted); }
:root:where([data-mode="light"]) .chapters button { background: var(--panel); }
:root:where([data-mode="light"]) .chapters button:hover { border-color: color-mix(in srgb, var(--text) 35%, transparent); }
:root:where([data-mode="light"]) .player { box-shadow: 0 24px 60px color-mix(in srgb, var(--text) 22%, transparent); }

/* The Colors row, in the home page's footer and its phone menu (header.js draws it from look.js): five
   round theme swatches with their emoji, the current one ringed, then the switch between light and dark. */
.look-row { display: grid; gap: 6px; margin-top: 18px; }
.look-row[hidden], .menu-look[hidden] { display: none; }
.look-label { color: var(--text); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.look-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.look-dots { display: flex; flex-wrap: wrap; margin-left: -8px; }
.look-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.look-dot i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 16%, transparent);
  font-style: normal; font-size: 16px; line-height: 1; }
.look-dot[aria-pressed="true"] i { outline: 2px solid var(--text); outline-offset: 3px; }
.look-dot:focus-visible { outline: 2px solid var(--blue); outline-offset: -1px; }
.look-mode { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text); font: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.look-mode:hover { border-color: color-mix(in srgb, var(--text) 40%, transparent); }
:where(:root[data-mode="light"]) .look-mode:not(:hover) { border-color: color-mix(in srgb, var(--text) 22%, transparent); }
.look-mode svg { flex: none; }
.look-now { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.look-now b { color: var(--text); font-weight: 700; }
.links .menu-look { display: none; }
@media (max-width: 860px) {
  .links .menu-look:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; padding: 4px 4px 4px 12px; border-radius: 10px; border: 1px solid var(--line); }
  /* With the row the menu can be taller than a small phone: it scrolls, and covers the Ask Denali button */
  .top.open { z-index: 35; }
  .top.open .links { max-height: calc(100dvh - 72px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; }
}

/* The home page's footer has a fifth column, More (the comparisons, business types, Phoenix, hardware
   and partners pages): the brand, then four lists. Contact stays last and widest, for the two email
   addresses. These come after the rules above, so they repeat the phone size too. */
.foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .9fr)) minmax(0, 1.35fr); gap: 28px; }
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
