/* security.duxels.com landing (copied from ai.duxels.com's), on top of the stylesheet of duxels-shared's common header and footer (chrome.css, from this origin: /shared/<version>/chrome/chrome.css, put in the page by
   the Worker; it brings the header, the language menu, the footer and the tokens --bg, --bg2, --fg, --mut, --line, --ia, --xr, --bc, --font). The few page-level rules the landing
   used to take from duxels.com's whole stylesheet (the page background, the body, the skip link, the solid header bar of a content page, the closing call to action) are written below: nothing is loaded from
   duxels.com. Only the landing's sections live after them. Dark only, like all of Duxels. Mobile first (16px gutters, fine down to 320px). */
html { background: var(--bg); color-scheme: dark; scroll-behavior: auto; -webkit-tap-highlight-color: transparent; }
body { margin: 0; color: var(--fg); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h4 { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; }
.skip:focus, .skip:focus-visible { left: 12px; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
/* a content page: the same header with a solid bar and a border (not the floating gradient of duxels.com's home), on the page gradient */
.privacy-page { background: radial-gradient(ellipse at 70% 0%, var(--bg2), var(--bg) 42%) fixed; }
.privacy-page .top::before { bottom: 0; background: rgba(11, 16, 32, .94); -webkit-mask-image: none; mask-image: none; border-bottom: 1px solid var(--line); }
.privacy-page .top .ico { width: auto; padding: 0 14px; height: 40px; }
.privacy-page .top .ico .lbl { display: inline; }
main { position: relative; z-index: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* the closing call to action: centred, with a rule above it (the landing's own .cta rules below add the box) */
.cta h2 { font-size: clamp(1.9rem, 5.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 14px; }
.cta .actions { justify-content: center; }
.cta { text-align: center; padding: 56px 0 20px; border-top: 1px solid var(--line); }
.cta p { color: var(--mut); max-width: 48ch; margin: 0 auto; }
:root {
  --card: #121a33;
  --gut: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; font-size: 1rem; overflow-wrap: break-word; hyphens: auto; }
/* room under the fixed header; the sections bring their own width */
.sec-main { flex: 1; width: 100%; padding: max(64px, calc(48px + env(safe-area-inset-top))) 0 0; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
.wrap { width: 100%; max-width: 1040px; margin-inline: auto; padding-inline: var(--gut); }

/* focus */
main a:focus-visible, main [tabindex="-1"]:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
.services[tabindex="-1"]:focus { outline: none; }

/* hero */
.hero { padding-block: 40px 32px; background: radial-gradient(70% 90% at 80% 0%, var(--bg2), transparent 70%); }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ia); margin-bottom: 10px; }
h1 { font-size: clamp(1.75rem, 7.2vw, 3rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; max-width: 20ch; }
.lead { margin-top: 16px; max-width: 56ch; font-size: clamp(1.05rem, 3.6vw, 1.25rem); color: var(--mut); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font-weight: 700; text-decoration: none;
  color: var(--bg); background: var(--fg); border: 1px solid var(--fg); border-radius: 999px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn.alt { color: var(--fg); background: transparent; }

/* services */
.services { padding-block: 32px; }
h2 { font-size: clamp(1.5rem, 5.6vw, 2.2rem); line-height: 1.15; font-weight: 800; }
.intro { margin-top: 10px; max-width: 60ch; color: var(--mut); }
.cards { list-style: none; padding: 0; margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { --c: var(--ia); padding: 20px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 14px; }
.card:nth-child(3n + 2) { --c: var(--xr); }
.card:nth-child(3n) { --c: var(--bc); }
.card h3 { font-size: 1.15rem; line-height: 1.25; font-weight: 700; }
.card p { margin-top: 10px; }
.card .inc { font-size: 0.92rem; color: var(--mut); }
.card .inc strong { color: var(--fg); }

/* closing call to action */
.cta { margin-block: 16px 40px; }
.cta .wrap { padding-block: 32px; background: var(--bg2); border-radius: 18px; width: calc(100% - 2 * var(--gut)); max-width: calc(1040px - 2 * var(--gut)); padding-inline: 20px; }
.cta p:not(.actions) { margin-top: 10px; max-width: 56ch; color: var(--mut); }

@media (min-width: 640px) {
  :root { --gut: 24px; }
  .hero { padding-block: 64px 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cta .wrap { padding-inline: 32px; }
}
@media (min-width: 960px) {
  .hero { padding-block: 96px 64px; }
  .services { padding-block: 48px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .card, .btn { border: 1px solid CanvasText; }
}

/* what Duxels does on its own sites: a plain list with a check mark drawn in CSS (no image, no inline style) */
.practice { padding-block: 32px; }
.checks { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 14px; }
.checks li { position: relative; padding: 14px 16px 14px 48px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.checks li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 14px; height: 8px; border-left: 3px solid var(--ia); border-bottom: 3px solid var(--ia); transform: rotate(-45deg); }
.checks strong { display: block; }
.checks span { display: block; margin-top: 4px; color: var(--mut); font-size: 0.95rem; }
.hero-mark { width: 88px; height: 88px; margin-bottom: 18px; }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(2, 1fr); } }
