/*
  EDOX public website.
  Styles reproduced from the approved design artifact (HwXUNYMRpiFhegSLpVaZ62).
  Only change from the artifact: the three-dot logo is replaced by the official
  application logo (assets/edox-logo.png). See "official logo" rules at the end.
*/
img { max-width: 100%; }
[hidden]:not([hidden=until-found i]) { display: none !important; }

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --fg: #3f5262;
  --muted: #566878;
  --line: #e0e5ec;
  --card: #ffffff;

  --blue: #1c75a3;          /* product, as a surface (white text sits on it) */
  --blue-text: #1c75a3;     /* product, as text on the page background */
  --action: #d4411a;        /* buttons: deepened brand orange so white text passes contrast */
  --orange: #ff6b3f;        /* brand orange, decoration only */
  --yellow: #ffe070;
  --on-yellow: #3f5262;
  --lav: #8c8fd1;           /* brand lavender, decoration only */
  --lav-tint: #ecedf8;      /* lavender as a surface */
  --live: #1f9d5c;

  --note-bg: #fff4d6;
  --note-fg: #5a4a10;
  --font: "Montserrat", Arial, sans-serif;
  color-scheme: light;
}
/*
  The site always uses the light look: index.html sets data-theme="light" on <html>,
  so the dark rules in this file stay switched off on every device. They are kept for a
  possible light/dark switch later; set data-theme="dark" to preview them.
*/
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17212a; --bg-alt: #1d2a35; --fg: #e8ecf1; --muted: #a5b4c2; --line: #2e3d4a; --card: #223240;
    --blue-text: #5fb3de; --lav-tint: #262b46; --note-bg: #3a3317; --note-fg: #f3e4a0; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17212a; --bg-alt: #1d2a35; --fg: #e8ecf1; --muted: #a5b4c2; --line: #2e3d4a; --card: #223240;
  --blue-text: #5fb3de; --lav-tint: #262b46; --note-bg: #3a3317; --note-fg: #f3e4a0; color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.6; margin: 0; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; font-weight: 700; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: 88px; }
.alt { background: var(--bg-alt); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 14px; }
h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; max-width: 820px; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.hl { background: var(--action); color: #fff; padding: 0 .25em; border-radius: 6px; }
.head { margin-bottom: 44px; }

.ribbon { background: var(--note-bg); color: var(--note-fg); font-size: 13px; text-align: center; padding: 8px 16px; }

/* nav */
nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.logo { font-weight: 700; font-size: 26px; letter-spacing: .04em; display: flex; align-items: center; }
.logo i { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); display: inline-block; box-shadow: 14px 4px 0 -2px var(--yellow), 6px 14px 0 -3px var(--lav); margin-right: 26px; }
.links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; flex-wrap: wrap; }
.links a { text-decoration: none; }
.links a:not(.btn):hover { color: var(--blue-text); }
.btn { display: inline-block; font-family: var(--font); font-weight: 700; font-size: 17px; text-decoration: none; padding: 14px 28px; border-radius: 999px; border: 2px solid var(--action); cursor: pointer; line-height: 1.3; }
.btn.primary { background: var(--action); color: #fff; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.sm { padding: 10px 20px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero */
.hero { padding-block: 80px 96px; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); max-width: 820px; margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; font-size: 21px; }
.dots { position: absolute; right: -20px; top: -10px; width: 300px; height: 260px; pointer-events: none; }
.pills { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 52px; }
.pill { font-weight: 700; font-size: 15px; letter-spacing: .06em; padding: 13px 26px; border-radius: 999px; }
.pill.product { background: var(--blue); color: #fff; } /* artifact used .pill.tool, which also picked up the .tool card styles */
.pill.next { background: var(--yellow); color: var(--on-yellow); }
.pill.input { background: var(--card); border: 1px solid var(--line); color: var(--fg); display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; font-size: 13px; }
.pill.input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--blue)); }
.pills-cap { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* why edox */
.why { background: var(--lav-tint); }
.why .statement { font-size: clamp(20px, 2.4vw, 25px); font-weight: 600; line-height: 1.5; max-width: 860px; margin-bottom: 44px; }
.why .statement span { color: var(--blue-text); }
.why .kicker { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; margin: -20px 0 44px; }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.proof div { background: var(--card); border-radius: 28px; padding: 30px; border-top: 6px solid var(--lav); }
.proof h3 { font-size: 19px; margin-bottom: 8px; }
.proof p { font-size: 16px; color: var(--muted); }

/* how */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.custom { margin-top: 22px; background: var(--lav-tint); border-radius: 36px; padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.custom h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.custom p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack span { display: block; font-weight: 700; padding: 20px 26px; border-radius: 24px; }
.stack .top { background: var(--yellow); color: var(--on-yellow); margin-inline: 22px; text-align: center; }
.stack .base { background: var(--blue); color: #fff; padding-block: 34px; text-align: center; }
.gives { margin-top: 22px; background: var(--bg-alt); border-radius: 36px; padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.gives h3 { font-size: 18px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.gives h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); flex: none; }
.gives p { color: var(--muted); font-size: 16px; padding-left: 22px; }
.gives-title { grid-column: 1 / -1; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-text); }

/* clarity band */
.clarity { background: var(--yellow); color: #3f5262; position: relative; overflow: hidden; padding-block: 72px; }
.clarity h2 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 14px; }
.clarity h2 .slate { background: #3f5262; color: var(--yellow); padding: 0 .25em; border-radius: 8px; }
.clarity .lead { color: #3f5262; margin-bottom: 28px; font-weight: 500; }
.clarity .dots { right: -10px; top: 0; }

/* tools (tabs) */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.tool { background: var(--blue); color: #fff; border-radius: 32px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; font: inherit; text-align: left; border: 0; cursor: pointer; width: 100%; box-shadow: 0 0 0 0 var(--yellow); }
.tool h3 { font-size: 21px; }
.tool p { font-weight: 500; font-size: 16px; }
.tool .more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; }
.tool .more::after { content: " ↓"; }
.tool[aria-selected="true"] { box-shadow: 0 0 0 5px var(--yellow); }
.tool[aria-selected="true"] .more::after { content: " ✓ Open"; }
.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: #fff; color: #3f5262; }
.tag.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
/* compact tool cards, four side by side (two by two on small screens) */
.tools { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool { padding: 20px 18px; gap: 8px; border-radius: 24px; }
.tool h3 { font-size: 17px; }
.tool p { font-size: 14px; line-height: 1.45; }
.tool .more { font-size: 14px; padding-top: 2px; }
.tool .tag { font-size: 11px; padding: 4px 10px; }
@media (max-width: 900px) { .tools { grid-template-columns: repeat(2, 1fr); } }
.open-card { margin-top: 22px; border: 2px dashed var(--lav); border-radius: 32px; padding: 24px 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.open-card .grow { flex: 1 1 280px; }
.open-card h3 { font-size: 21px; margin-bottom: 2px; }
.open-card .tag { background: var(--yellow); color: var(--on-yellow); }
.open-card a { margin-left: auto; font-weight: 700; font-size: 15px; color: var(--blue-text); }

/* panel (opens under the tools) */
.panel { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 36px; padding: 44px; }
.panel h3 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 14px; max-width: 760px; }
.panel .lead { margin-bottom: 26px; }
.panel .pills { margin: 0 0 8px; }
.panel .pills-cap { margin: 0 0 28px; }
.four { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-bottom: 28px; }
.feat { background: var(--bg-alt); border-radius: 24px; padding: 24px; }
.feat h4 { font-size: 18px; margin-bottom: 6px; }
.feat p { font-size: 15px; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-bottom: 28px; }
.shot { border: 2px dashed var(--lav); border-radius: 22px; min-height: 170px; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: 14px; }
.shot b { display: block; color: var(--fg); font-size: 16px; margin-bottom: 4px; }
.pending { border: 2px dashed var(--lav); border-radius: 22px; padding: 26px; margin-bottom: 28px; color: var(--muted); font-size: 15px; }
.pending b { color: var(--fg); }

/* connect */
.icons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.icons span { font-size: 15px; font-weight: 600; padding: 12px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }

/* pilot */
.pilot { background: var(--blue); color: #fff; border-radius: 40px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.pilot h2 { color: #fff; margin: 0 0 14px; }
.pilot p { font-size: 18px; }
.pilot .small { font-size: 14px; margin-top: 14px; }
.pilot .btn { background: var(--yellow); border-color: var(--yellow); color: #3f5262; }

/* clients */
.logos { display: flex; gap: 20px; flex-wrap: wrap; }
.quote { flex: 1 1 340px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px; min-width: 0; border-top: 6px solid var(--lav); }
.quote .brand { font-weight: 700; font-size: 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quote .logo-ph { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; border: 1px dashed var(--lav); color: var(--muted); }
.quote p { font-size: 18px; }
.quote .who { margin-top: 16px; font-size: 14px; color: var(--muted); }
.draft { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; background: var(--note-bg); color: var(--note-fg); border-radius: 6px; padding: 4px 10px; }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 36px; max-width: 760px; }
.person { text-align: left; }
.avatar { width: 112px; height: 112px; border-radius: 50%; background: var(--lav-tint); border: 2px solid var(--lav); margin-bottom: 12px; display: grid; place-items: center; color: var(--muted); font-weight: 600; font-size: 13px; }
.person b { display: block; font-size: 16px; }
.person span { font-size: 14px; color: var(--muted); }

/* faq */
details { border-bottom: 1px solid var(--line); padding-block: 20px; }
summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue-text); font-size: 26px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--muted); max-width: 720px; }
.faq { max-width: 820px; border-top: 1px solid var(--line); }

/* final */
.final { position: relative; overflow: hidden; padding-block: 96px; }
.final h2 { font-size: clamp(32px, 5vw, 52px); }
.final .lead { margin-bottom: 30px; }

/* footer */
footer { background: #2c3a47; color: #eef1f5; padding-block: 48px; font-size: 15px; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot .cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot small { display: block; margin-top: 10px; opacity: .8; }
.ph { background: rgba(255,224,112,.25); border-radius: 4px; padding: 0 6px; }

@media (max-width: 760px) {
  section { padding-block: 64px; }
  .pilot { grid-template-columns: 1fr; padding: 36px 26px; border-radius: 32px; }
  .gives { padding: 28px 24px; }
  .custom { grid-template-columns: 1fr; padding: 30px 24px; border-radius: 32px; }
  .panel { padding: 28px 22px; border-radius: 28px; }
  .open-card a { margin-left: 0; }
  .dots { width: 190px; height: 165px; right: -30px; }
  .links { gap: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .tool { transition: transform .15s ease, box-shadow .15s ease; }
  .btn:hover, .tool:hover { transform: translateY(-2px); }
  .panel:not([hidden]) { animation: rise .25s ease; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* official logo (replaces the artifact's three-dot mark) */
.logo { text-decoration: none; }
.logo img { display: block; height: 32px; width: auto; }
footer .logo { display: inline-flex; background: #ffffff; padding: 8px 12px; border-radius: 12px; }
footer .logo img { height: 28px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) nav .logo { background: #ffffff; padding: 6px 10px; border-radius: 10px; }
}
:root[data-theme="dark"] nav .logo { background: #ffffff; padding: 6px 10px; border-radius: 10px; }

/* =====================================================================
   Round 1: motion, navigation, mobile menu, Book a slot / Write to us
   Motion is subtle and switches off for "reduce motion" users.
   Hidden-until-revealed states only apply when JavaScript is running (.js).
   ===================================================================== */
html { scroll-padding-top: 84px; }

/* nav: shadow once scrolled, current-section underline */
nav { transition: box-shadow .25s ease; }
nav.scrolled { box-shadow: 0 6px 24px rgba(28, 45, 60, .08); }
.links a:not(.btn) { position: relative; transition: color .2s ease; }
.links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--blue-text); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.links a:not(.btn):hover::after, .links a.is-active::after { transform: scaleX(1); }
.links a.is-active { color: var(--blue-text); }

/* mobile menu */
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .js .nav-in { flex-wrap: nowrap; position: relative; }
  .js .menu-toggle { display: grid; align-content: center; justify-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--fg); cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 4px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(28, 45, 60, .10); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .js .links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
  .js .links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .js .links a:not(.btn)::after { display: none; }
  .js .links .btn { margin-top: 16px; text-align: center; }
}

/* tool panels: smooth height change when switching */
.panels { display: flow-root; }
.panels.is-resizing { overflow: hidden; transition: height .35s cubic-bezier(.2, .7, .2, 1); }

/* phone action bar */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .js .mobile-cta { display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 25; padding: 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(20, 32, 44, .18); opacity: 0; visibility: hidden; transform: translateY(140%); transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .3s ease, visibility 0s linear .3s; }
  .js .mobile-cta.is-visible { opacity: 1; visibility: visible; transform: none; transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .3s ease, visibility 0s; }
  .mobile-cta .btn { flex: 1; text-align: center; padding: 11px 14px; font-size: 15px; }
  .js footer { padding-bottom: 112px; }
}

/* Book a slot / Write to us dialog */
html.dialog-open { overflow: hidden; }
.contact-dialog { width: min(640px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 28px; background: var(--card); color: var(--fg); box-shadow: 0 30px 80px rgba(20, 32, 44, .35); overflow: auto; font-family: var(--font); font-size: 16px; line-height: 1.5; }
.contact-dialog::backdrop { background: rgba(28, 40, 52, .55); backdrop-filter: blur(3px); }
.cd-inner { position: relative; padding: 32px 36px 36px; }
.cd-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--fg); font-size: 24px; line-height: 1; cursor: pointer; transition: background-color .2s ease; }
.cd-close:hover { background: var(--bg-alt); }
.cd-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-alt); margin-bottom: 22px; }
.cd-switch button { font: inherit; font-size: 14px; font-weight: 700; border: 0; background: transparent; color: var(--muted); padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.cd-switch button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.contact-dialog h2 { font-size: clamp(26px, 4vw, 32px); margin-bottom: 8px; max-width: none; }
.cd-intro { color: var(--muted); margin-bottom: 24px; }
.cd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; width: 100%; color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-text); box-shadow: 0 0 0 4px rgba(28, 117, 163, .18); }
.field [aria-invalid="true"] { border-color: var(--action); }
.field .err { font-size: 13px; font-weight: 600; color: var(--action); }
.cd-note { font-size: 13px; color: var(--muted); margin: 18px 0 20px; }
.cd-note a, .cd-direct a { color: var(--blue-text); font-weight: 600; }
.cd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cd-done { outline: none; }
.cd-done p { color: var(--muted); margin-bottom: 14px; }
.cd-direct { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cd-copy { font: inherit; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: var(--bg-alt); color: var(--fg); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
@media (max-width: 600px) {
  .contact-dialog { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .cd-inner { padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .cd-grid { grid-template-columns: 1fr; }
}

/* FAQ icon turns as it opens */
summary::after { transition: transform .3s ease; }
details[open]:not(.is-closing) summary::after { transform: rotate(180deg); }
details.is-closing summary::after { content: "+"; }

@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- motion (only when the visitor has not asked for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* hero entrance */
  .js .hero h1, .js .hero .lead, .js .hero .cta-row, .js .hero .pill, .js .hero .pills-cap { animation: edox-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero .lead { animation-delay: .12s; }
  .js .hero .cta-row { animation-delay: .22s; }
  .js .hero .pill:nth-child(1) { animation-delay: .34s; }
  .js .hero .pill:nth-child(2) { animation-delay: .40s; }
  .js .hero .pill:nth-child(3) { animation-delay: .46s; }
  .js .hero .pill:nth-child(4) { animation-delay: .52s; }
  .js .hero .pill:nth-child(5) { animation-delay: .58s; }
  .js .hero .pills-cap { animation-delay: .66s; }
  /* the orange highlight sweeps in behind "We build the tool." */
  .js .hero .hl { background: linear-gradient(var(--action), var(--action)) no-repeat 0 0 / 0% 100%; color: var(--fg); -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: edox-sweep .7s .5s cubic-bezier(.65, 0, .35, 1) forwards; }

  /* floating brand dots */
  .dots circle { transform-box: fill-box; transform-origin: center; animation: edox-float-a 8s ease-in-out infinite; }
  .dots circle:nth-child(2) { animation-name: edox-float-b; animation-duration: 10s; }
  .dots circle:nth-child(3) { animation-duration: 9s; animation-delay: -3s; }

  /* scroll reveal */
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }

  /* buttons and cards */
  .btn { transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
  .btn.primary:hover { box-shadow: 0 10px 22px rgba(212, 65, 26, .28); }
  .btn.ghost:hover { background: var(--fg); color: var(--bg); }
  .pilot .btn:hover { box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
  .tool { transition: transform .2s ease, box-shadow .2s ease; }
  .tool[aria-selected="true"] { transform: translateY(-4px); }
  .open-card a { display: inline-block; transition: transform .2s ease; }
  .open-card a:hover { transform: translateX(4px); }

  /* dialog */
  .contact-dialog[open] { animation: edox-pop .28s cubic-bezier(.2, .7, .2, 1); }
  .contact-dialog[open]::backdrop { animation: edox-fade .28s ease; }
  .contact-dialog.is-closing { animation: edox-pop-out .2s ease forwards; }
  .contact-dialog.is-closing::backdrop { animation: edox-fade-out .2s ease forwards; }
  .cd-done:not([hidden]) { animation: edox-rise .35s cubic-bezier(.2, .7, .2, 1); }
}
@keyframes edox-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes edox-sweep { to { background-size: 100% 100%; color: #fff; } }
@keyframes edox-float-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -8px); } }
@keyframes edox-float-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, 6px); } }
@keyframes edox-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes edox-pop-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes edox-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes edox-fade-out { to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Round 2: hero product illustration, trust strip, full footer
   ===================================================================== */

/* hero layout: copy + illustration */
.hero-grid { display: grid; gap: 56px; }
.hero-copy { min-width: 0; }
.hero-visual { position: relative; min-width: 0; max-width: 580px; }
.hero-visual .dots { right: -72px; top: -64px; z-index: 0; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 56px; }
  .hero h1 { font-size: clamp(40px, 4.2vw, 54px); }
  .hero .lead { font-size: 20px; }
  .hero-visual { max-width: none; }
}
@media (max-width: 760px) {
  .hero-grid { gap: 44px; }
  .hero-visual .dots { right: -36px; top: -44px; }
}

/* dashboard card */
.dash { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; font-size: 13px; line-height: 1.4; color: var(--fg); box-shadow: 0 34px 70px -24px rgba(28, 45, 60, .32), 0 8px 22px rgba(28, 45, 60, .06); }
.dash-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.dash-lights { display: flex; gap: 6px; flex: none; }
.dash-lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.dash-lights i:nth-child(2) { background: var(--yellow); }
.dash-lights i:nth-child(3) { background: var(--lav); }
.dash-url { flex: 1; max-width: 220px; margin-inline: auto; text-align: center; font-size: 12px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.dash-tabs { display: flex; gap: 2px; padding: 8px 12px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.dash-tabs span { padding: 8px 10px; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; cursor: pointer; transition: color .25s ease, border-color .25s ease; }
.dash-tabs span.is-active { color: var(--blue-text); border-bottom-color: var(--blue-text); }
.dash-views { display: grid; padding: 16px 18px 18px; }
.dash-view { grid-area: 1 / 1; min-width: 0; visibility: hidden; opacity: 0; transition: opacity .45s ease, visibility 0s linear .45s; }
.dash-view.is-active { visibility: visible; opacity: 1; transition: opacity .45s ease, visibility 0s; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.dash-head b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-head span { flex: none; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--bg-alt); border-radius: 999px; padding: 3px 10px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.kpi { background: var(--bg-alt); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.kpi small, .kpi em { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi small { color: var(--muted); }
.kpi strong { display: block; font-size: 20px; font-weight: 700; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi em { font-style: normal; font-weight: 600; color: var(--live); }
.kpi em.muted { color: var(--muted); font-weight: 500; }
.chart { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px 8px; margin-bottom: 12px; }
.chart-title { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.legend { display: inline-flex; align-items: center; gap: 4px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); margin-left: 6px; }
.legend i.out { background: var(--orange); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 78px; }
.bars span { flex: 1; height: var(--h); min-width: 0; border-radius: 6px 6px 2px 2px; background: var(--blue); transform-origin: bottom; }
.bars span.lav { background: var(--lav); }
.bars span.yel { background: var(--yellow); }
.bars span.hot { background: var(--orange); }
.bars.pairs { gap: 12px; }
.pair { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.line-chart { display: block; width: 100%; height: 78px; overflow: visible; }
.line-chart .line { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.line-chart .area { fill: var(--blue); opacity: .1; }
.bar-labels { display: flex; gap: 10px; margin-top: 6px; }
.bar-labels span { flex: 1; min-width: 0; text-align: center; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-labels.ends { justify-content: space-between; }
.bar-labels.ends span { flex: none; }
.rows { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: var(--bg-alt); }
.row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip.ok { background: rgba(31, 157, 92, .14); color: #17784a; }
.chip.warn { background: rgba(255, 224, 112, .5); color: #6b5300; }
.chip.bad { background: rgba(212, 65, 26, .12); color: #b8381a; }
.chip.info { background: rgba(28, 117, 163, .12); color: #1c6a93; }
.chip.neutral { background: var(--line); color: var(--fg); }
.dash-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.dash-pause { font: inherit; font-size: 12px; font-weight: 600; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.dash-pause:hover { background: var(--bg-alt); }
@media (max-width: 420px) {
  .dash-views { padding: 14px; }
  .dash-tabs span { padding: 8px 7px; }
  .kpi { padding: 9px 10px; }
  .kpi strong { font-size: 17px; }
  .kpi small, .kpi em { font-size: 10.5px; }
  .row { gap: 8px; }
}
@media (max-width: 380px) {
  .dash { font-size: 12px; }
  .dash-views { padding: 12px; }
  .dash-head { gap: 8px; }
  .dash-head b { font-size: 13px; }
  .dash-head span { font-size: 10.5px; padding: 3px 8px; }
  .kpis { gap: 6px; }
  .kpi { padding: 8px; }
  .kpi strong { font-size: 15px; }
  .kpi small, .kpi em { font-size: 10px; }
  .chart { padding: 10px 10px 8px; }
  .bars:not(.pairs), .bar-labels:not(.ends) { gap: 6px; }
  .bar-labels span { font-size: 9.5px; }
  .row { gap: 6px; padding: 7px 8px; }
  .chip { font-size: 10px; padding: 3px 7px; }
}
@media (max-width: 340px) {
  .dash-tabs { gap: 0; padding-inline: 8px; }
  .dash-tabs span { padding: 8px 5px; font-size: 11px; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chip.ok { color: #6fd6a0; }
  :root:not([data-theme="light"]) .chip.warn { color: #ffe9a3; background: rgba(255, 224, 112, .18); }
  :root:not([data-theme="light"]) .chip.bad { color: #ff9a7d; }
  :root:not([data-theme="light"]) .chip.info { color: #7cc4ea; }
}
:root[data-theme="dark"] .chip.ok { color: #6fd6a0; }
:root[data-theme="dark"] .chip.warn { color: #ffe9a3; background: rgba(255, 224, 112, .18); }
:root[data-theme="dark"] .chip.bad { color: #ff9a7d; }
:root[data-theme="dark"] .chip.info { color: #7cc4ea; }

/* trust strip */
section.trust { padding-block: 30px; border-top: 1px solid var(--line); background: var(--bg); }
.trust-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.trust-item b { display: block; font-size: 15px; line-height: 1.3; }
.trust-item div span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.trust-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; }
.trust-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-icon.blue { background: rgba(28, 117, 163, .12); color: var(--blue-text); }
.trust-icon.lav { background: var(--lav-tint); color: #5b5fb0; }
.trust-icon.orange { background: rgba(255, 107, 63, .14); color: var(--action); }
.trust-icon.yellow { background: rgba(255, 224, 112, .45); color: #6b5300; }
@media (max-width: 1023px) { .trust-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust-in { grid-template-columns: 1fr; gap: 18px; } }

/* full footer */
footer { padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-brand p { margin: 18px 0 8px; max-width: 300px; color: #c9d2db; }
.foot-brand small { display: block; color: #b9c4cf; }
.foot-h { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin: 0 0 16px; max-width: none; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: #eef1f5; text-decoration: none; opacity: .88; transition: color .2s ease, opacity .2s ease; }
.foot-col a:hover { color: var(--yellow); opacity: 1; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: #b9c4cf; }
.foot-legal { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .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: 1fr 1fr; gap: 32px 20px; }
}

/* Round 2 motion */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-visual { animation: edox-rise .9s .3s cubic-bezier(.2, .7, .2, 1) both; }
  .js .dash-view.is-active .bars span { animation: edox-bar .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms + 150ms); }
  .js .dash-view.is-active .rows > .row { animation: edox-rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 300ms); }
  .js .dash-view.is-active .line-chart .line { stroke-dasharray: 1; animation: edox-draw 1.2s .2s cubic-bezier(.4, 0, .2, 1) both; }
  .js .dash-view.is-active .line-chart .area { animation: edox-area .8s .6s ease both; }
  .trust-icon { transition: transform .25s ease; }
  .trust-item:hover .trust-icon { transform: translateY(-3px) rotate(-4deg); }
}
@keyframes edox-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes edox-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes edox-area { from { opacity: 0; } to { opacity: .1; } }

/* =====================================================================
   Round 3: client logos and named people in the testimonial cards
   ===================================================================== */
.client-logo { display: flex; align-items: center; height: 72px; margin-bottom: 18px; }
.client-logo img { display: block; width: auto; height: auto; max-width: 190px; max-height: 64px; }
.quote .who b { display: block; font-size: 16px; font-weight: 700; color: var(--fg); }
.quote .who span { display: block; margin-top: 2px; }
/* the supplied logos have a white background: keep them on a white tile in dark mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .client-logo img { background: #ffffff; padding: 8px 12px; border-radius: 12px; box-sizing: content-box; max-height: 52px; }
}
:root[data-theme="dark"] .client-logo img { background: #ffffff; padding: 8px 12px; border-radius: 12px; box-sizing: content-box; max-height: 52px; }

/* =====================================================================
   Round 4: approved content changes
   Pilot offer and slot note in the hero, "Trusted by" logos, founder initials
   ===================================================================== */
.hero-offer { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 22px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--lav-tint); border: 1px solid transparent; color: var(--fg); font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: border-color .2s ease; }
.hero-offer:hover { border-color: var(--lav); }
.hero-offer-tag { flex: none; background: var(--yellow); color: var(--on-yellow); border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hero-offer-arrow { flex: none; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.trusted { display: flex; align-items: center; gap: 14px 36px; flex-wrap: wrap; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.trusted-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trusted img { display: block; width: auto; height: auto; max-width: 150px; max-height: 46px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .trusted img { background: #ffffff; padding: 6px 10px; border-radius: 10px; box-sizing: content-box; max-height: 38px; }
}
:root[data-theme="dark"] .trusted img { background: #ffffff; padding: 6px 10px; border-radius: 10px; box-sizing: content-box; max-height: 38px; }

/* founder initials until photographs are supplied */
.avatar { font-size: 30px; font-weight: 700; letter-spacing: .03em; color: var(--blue-text); }

@media (prefers-reduced-motion: no-preference) {
  .js .hero .hero-offer, .js .hero .cta-note { animation: edox-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero .cta-note { animation-delay: .3s; }
  .hero-offer-arrow { transition: transform .2s ease; }
  .hero-offer:hover .hero-offer-arrow { transform: translateX(3px); }
}

/* =====================================================================
   Round 5: company details, WhatsApp button, legal pages
   ===================================================================== */
.foot-company { font-style: normal; margin-top: 18px; max-width: 320px; font-size: 13.5px; line-height: 1.55; color: #b9c4cf; }
.foot-company b { display: block; margin-bottom: 4px; font-size: 14px; color: #eef1f5; }
.foot-legal a { color: inherit; text-decoration: none; transition: color .2s ease; }
.foot-legal a:hover, .foot-legal a[aria-current="page"] { color: var(--yellow); }

/* WhatsApp button: fixed bottom right; sits above the phone action bar when that bar is shown */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 24; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1da851; color: #ffffff; box-shadow: 0 10px 26px rgba(20, 32, 44, .28); }
.wa-float svg { display: block; width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { background: #17924a; }
@media (max-width: 760px) {
  .mobile-cta.is-visible ~ .wa-float { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: no-preference) {
  .wa-float { transition: bottom .3s cubic-bezier(.2, .7, .2, 1), background .2s ease, transform .2s ease; }
  .wa-float:hover { transform: translateY(-2px); }
}
@media print { .wa-float { display: none; } }

/* legal pages (privacy.html, terms.html) */
.legal-top { background: var(--bg); border-bottom: 1px solid var(--line); }
.legal-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.legal-back { color: var(--blue-text); font-size: 15px; font-weight: 600; text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.legal { padding-block: 56px 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 44px); margin-bottom: 8px; }
.legal-meta { margin-bottom: 28px; font-size: 15px; color: var(--muted); }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal li, .legal address { font-size: 16.5px; }
.legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { display: grid; gap: 6px; margin: 10px 0 0; padding-left: 22px; }
.legal a { color: var(--blue-text); }
.legal address { font-style: normal; margin-top: 10px; overflow-wrap: anywhere; }
.legal-foot { padding-block: 0 28px; }
.legal-foot .foot-bottom { padding-top: 28px; }

/* =====================================================================
   Round 7: founder photographs and LinkedIn links
   ===================================================================== */
img.avatar { display: block; object-fit: cover; }
.person-link { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--blue-text); text-decoration: none; }
.person-link svg { flex: none; width: 16px; height: 16px; fill: currentColor; }
.person-link:hover { text-decoration: underline; }
