@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin.woff2) format("woff2");
}

/* Tokens. Colours come from the Royal Dusk logo. Violet is the one accent; the dusk gradient is for hairlines only. */
:root {
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --bg: #F6F4FB;
  --band: #FDFCFF;
  --card: #FFFFFF;
  --raise: #ECE7F7;
  --text: #1A1033;
  --muted: #3F3659;
  --rule: #D5CDE8;
  --border-strong: #8A7DB3;
  --accent: #7A24C9;
  --accent-hover: #6519AE;
  --accent-active: #55139A;
  --night: #120A24;
  --radius: 12px;
  --btn-radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.6vw, 3.75rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.875rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.005em; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--muted); }
.small { font-size: .875rem; line-height: 1.45; font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--btn-radius); }

.wrap { max-width: 1168px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: 16px; top: -64px; background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--btn-radius); z-index: 30; }
.skip:focus { top: 12px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: var(--btn-radius);
  font: 500 1rem/1 var(--font); letter-spacing: 0; white-space: nowrap; text-decoration: none;
  color: #fff; background: var(--accent); border: 1px solid transparent; cursor: pointer;
  box-shadow: 0 1px 2px rgba(26, 16, 51, .18);
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.button:hover { background: var(--accent-hover); box-shadow: 0 2px 6px rgba(26, 16, 51, .22); }
.button:active { background: var(--accent-active); box-shadow: none; transform: translateY(1px); }
.button.quiet { color: var(--text); background: var(--card); border-color: var(--border-strong); box-shadow: none; }
.button.quiet:hover { background: var(--raise); border-color: var(--text); }
.button.quiet:active { background: #E2DAF3; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 244, 251, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top); transition: border-color .2s ease; }
.top.scrolled { border-bottom-color: var(--rule); }
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .logo { flex: none; }
.nav .logo img { height: 38px; width: auto; max-width: none; }
.nav ul { display: flex; align-items: center; gap: 30px; }
.nav li a:not(.button) { text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--muted); transition: color .15s ease; }
.nav li a:not(.button):hover, .nav li a:not(.button)[aria-current="page"] { color: var(--text); }
.nav li.link a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .button { height: 40px; padding: 0 16px; font-size: .9375rem; }
.nav .menu { display: none; position: relative; }
.nav .menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: var(--btn-radius); border: 1px solid var(--border-strong); background: var(--card); display: grid; place-content: center; gap: 5px; }
.nav .menu summary::-webkit-details-marker { display: none; }
.nav .menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); }
.nav .menu .sheet { position: fixed; left: 16px; right: 16px; top: calc(72px + env(safe-area-inset-top)); background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 24px 48px -20px rgba(26, 16, 51, .35); padding: 8px; display: grid; }
.nav .menu .sheet a { padding: 14px; border-radius: 8px; font-weight: 500; text-decoration: none; }
.nav .menu .sheet a:hover, .nav .menu .sheet a:focus-visible, .nav .menu .sheet a[aria-current="page"] { background: var(--raise); }
.sentinel { position: absolute; top: 0; height: 8px; width: 1px; }

/* Home hero: the promise on the left, three jobs our AI does on the right */
.hero { padding-top: 80px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; }
.hero .lede { margin-top: 24px; max-width: 40ch; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Three illustrated screens; the camera one is dark, like a real camera view */
.shots { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.shot { border-radius: 14px; border: 1px solid var(--rule); background: var(--card); box-shadow: 0 24px 48px -28px rgba(26, 16, 51, .35); }
.shot.cam { grid-column: 1 / -1; background: var(--night); border-color: #33275A; color: #F3EFFC; overflow: hidden; }
.shot-bar, .shot-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; font-size: .8125rem; color: #C9C0DE; }
.shot-bar { border-bottom: 1px solid #33275A; background: #1D1336; }
.shot-foot { border-top: 1px solid #33275A; }
.shot .live i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #F7971E; margin-right: 6px; }
.shot .warn-text { color: #F7B25E; }
.shot.cam svg { width: 100%; height: auto; padding: 12px 0 4px; }
.shot.cam .box { fill: none; stroke: #C29BFA; stroke-width: 2; }
.shot.cam .box.warn { stroke: #F7971E; stroke-width: 2.5; }
.shot.cam .tag { fill: #C29BFA; }
.shot.cam .tag.warn { fill: #F7971E; }
.shot.cam text { font: 600 11px var(--font); fill: #120A24; text-anchor: middle; }
.shot.doc { padding: 18px 18px 20px; }
.shot.doc .who { color: var(--muted); }
.shot.doc .q { margin: 4px 0 14px; padding: 10px 12px; background: var(--raise); border-radius: 10px 10px 10px 2px; font-weight: 500; }
.shot.doc .a { margin-top: 4px; }
.shot .src { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 6px; color: var(--accent); }
.src svg, .ring svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.shot.call { padding: 18px 18px 20px; margin-top: 32px; }
.call-top { display: flex; align-items: center; gap: 10px; }
.call-top b { font-weight: 600; font-size: .9375rem; }
.shot.doc .call-top { margin-bottom: 14px; }
.ring { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.wave { margin: 14px 0 12px; height: 28px; display: flex; align-items: center; justify-content: space-between; }
.wave i { flex: 0 0 5px; border-radius: 3px; background: #C29BFA; height: 30%; }
.wave i:nth-child(3n) { height: 80%; } .wave i:nth-child(4n+1) { height: 55%; } .wave i:nth-child(5n+2) { height: 100%; }
.shot.call p { font-size: .9375rem; line-height: 1.45; }
.shot.call p + p { margin-top: 8px; }
.shot.call p span { display: block; color: var(--muted); }
.shots figcaption { grid-column: 1 / -1; color: var(--muted); }

/* App window: an illustration of the Fennixar Vision screen, dark like the real app */
.app { margin: 56px 0 0; background: var(--night); color: #F3EFFC; border: 1px solid #33275A; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(26, 16, 51, .55); }
.app-bar { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 16px; background: #1D1336; border-bottom: 1px solid #33275A; font-size: .8125rem; color: #C9C0DE; }
.app-name { color: #C29BFA; font-weight: 600; }
.app-modes { display: inline-flex; margin: 0 auto; border: 1px solid #33275A; border-radius: 6px; overflow: hidden; }
.app-modes > * { padding: 4px 12px; }
.app-modes b { background: #33275A; color: #fff; font-weight: 500; }
.app-status i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #C29BFA; margin-right: 6px; }
.app-body { display: grid; grid-template-columns: 112px minmax(0, 1fr) 208px; }
.app-steps { border-right: 1px solid #33275A; padding-top: 12px; font-size: .875rem; }
.app-steps li { padding: 10px 16px; color: #A79DC6; }
.app-steps .on { color: #fff; background: #1D1336; box-shadow: inset 2px 0 #C29BFA; }
.app-canvas { padding: 16px; display: grid; gap: 12px; }
.app-prompt { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 14px; background: #120A24; border: 1px solid #4B3C78; border-radius: 6px; font-size: .9375rem; }
.app-prompt > span:first-child { color: #A79DC6; }
.app-btn { margin-left: auto; height: 28px; padding: 0 12px; display: inline-grid; place-items: center; background: var(--accent); color: #fff; border-radius: 6px; font-size: .8125rem; font-weight: 500; }
.app-btn.ghost { margin: 14px 0 0; width: 100%; background: transparent; border: 1px solid #4B3C78; }
.app svg { width: 100%; height: auto; }
.app svg .box { fill: none; stroke: #C29BFA; stroke-width: 2; stroke-dasharray: 7 5; }
.app svg .box.ok { stroke-dasharray: none; }
.app svg .box.defect { stroke: #F7971E; stroke-dasharray: none; stroke-width: 2.5; }
.app svg .tag { fill: #C29BFA; }
.app svg .tag.check { fill: #5A4A8A; }
.app svg .tag.defect { fill: #F7971E; }
.app svg .box.run { stroke: #7FD1C7; stroke-dasharray: none; }
.app svg .tag.run { fill: #7FD1C7; }
.app svg text { font: 600 11px var(--font); fill: #120A24; text-anchor: middle; }
.app svg .tag.check + text { fill: #F3EFFC; }
.app-strip { display: flex; gap: 8px; }
.app-strip i { width: 56px; height: 36px; border-radius: 4px; background: #2A1F47; }
.app-strip .on { outline: 2px solid #C29BFA; outline-offset: -2px; }
.app-side { border-left: 1px solid #33275A; padding: 16px; font-size: .875rem; }
.app-h { color: #A79DC6; margin-bottom: 8px; }
.app-h.check { margin: 18px 0 0; display: flex; justify-content: space-between; color: #F3EFFC; }
.app-h.check span { color: #C29BFA; }
.app-side li { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.app-side li span { margin-left: auto; color: #A79DC6; }
.app-side .c1, .app-side .c2, .app-side .c3 { width: 10px; height: 10px; border-radius: 2px; }
.app-side .c1 { background: #C29BFA; }
.app-side .c2 { background: #F7971E; }
.app-side .c3 { background: #7FD1C7; }
.app figcaption { padding: 10px 16px; font-size: .8125rem; color: #A79DC6; border-top: 1px solid #33275A; }

/* Who it is for, and what makes it different: plain columns, no boxes */
.audience { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.audience li { border-top: 2px solid var(--accent); padding-top: 18px; }
.audience p { margin-top: 8px; color: var(--muted); }
.diff { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.diff div { padding: 20px 0; border-top: 1px solid var(--rule); }
.diff dt { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.005em; }
.diff dd { margin: 6px 0 0; color: var(--muted); }
.audience.four { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.facts { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.facts div { padding: 18px 0; border-top: 1px solid var(--rule); }
.facts dt { font-size: .875rem; font-weight: 500; color: var(--accent); }
.facts dd { margin: 4px 0 0; }
/* Not built yet: dashed and quiet, so it never reads as a current feature. */

/* Inner page header */
.page-head { padding-top: 88px; padding-bottom: 64px; }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-top: 20px; max-width: 58ch; }
.page-head .actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* Sections */
.section { padding-top: 104px; padding-bottom: 104px; }
.page-head + .section { padding-top: 0; }
.band { background: var(--band); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section .lede { margin-top: 14px; max-width: 52ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; }
.section-head .button { height: 44px; padding: 0 20px; font-size: .9375rem; }
.label { color: var(--accent); margin-bottom: 12px; }

/* A disclosure, not a seventh service: a plain footnote under the cards */
.models { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 6px 40px; align-items: start; }
.models h2 { font-size: 1rem; line-height: 1.5; letter-spacing: 0; }
.models p { color: var(--muted); max-width: 70ch; font-size: .9375rem; }

/* Home: two ways to work with us. Each way is one large panel; this is the page's main idea. */
.ways { padding-top: 24px; }
.way { margin-top: 40px; background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 40px; }
.way-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; }
.way-k { color: var(--accent); font-weight: 600; font-size: .9375rem; }
.way h3 { margin-top: 6px; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -0.015em; }
.way-desc { margin-top: 12px; max-width: 54ch; color: var(--muted); font-size: 1.125rem; line-height: 1.5; }
.way-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.way .app { margin-top: 32px; }
.groups { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.group { display: block; text-decoration: none; background: var(--bg); border: 1px solid var(--rule); border-radius: 14px; padding: 24px 22px 22px; transition: border-color .15s ease, background-color .15s ease; }
.group:hover { border-color: var(--accent); background: var(--band); }
.group h4 { margin: 0; font-size: 1.125rem; font-weight: 600; }
.group p { margin-top: 8px; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.ico { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Home: industry names only, each linking to its section on the Industries page */
.exp { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; border-bottom: 1px solid var(--rule); }
.exp li { border-top: 1px solid var(--rule); font-size: 1.125rem; font-weight: 500; }
.exp a { display: block; padding: 18px 0; text-decoration: none; }
.exp a:hover { color: var(--accent); }

/* Home: questions, opened one at a time */
.faq { margin-top: 32px; max-width: 860px; border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 1.125rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 70ch; }

/* Services page: three groups, each with its own short heading row */
.page-head .jump { color: var(--muted); display: inline-flex; flex-wrap: wrap; gap: 6px 16px; }
.page-head .jump a { color: var(--accent); font-weight: 500; text-underline-offset: 4px; }
.svc-group { padding-top: 24px; padding-bottom: 80px; scroll-margin-top: 80px; }
.svc-group + .svc-group { padding-top: 80px; border-top: 1px solid var(--rule); }
.svc { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc > li { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 26px 28px; }
.svc .ico { width: 32px; height: 32px; margin-bottom: 16px; }
.svc > li > p { margin-top: 6px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.svc-note { margin-top: 24px; color: var(--muted); }
.svc-note a { color: var(--accent); font-weight: 500; text-underline-offset: 4px; }

/* Industries page: one card per industry, one row per application */
.uc-wrap { padding-bottom: 104px; }
.uc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.uc article { scroll-margin-top: 88px; }
.uc article { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 28px 30px 24px; }
.uc-head { display: flex; align-items: center; gap: 14px; }
.uc-head .ico { width: 30px; height: 30px; flex: none; }
.uc h2 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; }
.uc-sub { margin-top: 10px; color: var(--muted); }
.uc dl { margin-top: 18px; }
.uc dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.uc dt { font-size: .9375rem; font-weight: 600; padding-top: 1px; }
.uc dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.uc .via { display: block; margin-top: 4px; font-size: .875rem; font-weight: 500; color: var(--muted); }
.uc .via a { color: var(--accent); text-underline-offset: 4px; }
.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Project steps on a light ground; the content is a real sequence */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { border-top: 2px solid var(--accent); padding-top: 20px; }
.steps .n { color: var(--accent); }
.steps h3 { margin-top: 6px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 1rem; line-height: 1.5; }

/* About */
.about .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.about article { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 32px 32px 34px; position: relative; overflow: hidden; }
.about article h2 { color: var(--accent); font-size: 1rem; letter-spacing: 0; }
.about article p { margin-top: 12px; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.about .founder { margin-top: 32px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 40px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px 56px; align-items: start; }
.about .founder .who { padding-right: 40px; border-right: 1px solid var(--rule); }
.about .founder h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.012em; }
.about .founder .role { margin-top: 6px; color: var(--accent); font-size: .9375rem; font-weight: 500; }
.about .founder .bio p + p { margin-top: 16px; }
.about .founder .bio p { color: var(--text); line-height: 1.7; max-width: 64ch; }
.about .founder .button { margin-top: 24px; height: 44px; }

/* Contact */
.section.contact { padding-top: 88px; }
.contact .inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 72px; align-items: start; }
.contact .lede { margin-top: 20px; }
.next { margin-top: 28px; display: grid; gap: 14px; }
.next li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: center; }
.next span { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: .8125rem; font-weight: 600; }
.contact .direct { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule); display: grid; gap: 16px; }
.contact .direct dt { font-size: .875rem; font-weight: 500; color: var(--muted); }
.contact .direct dd { margin-top: 2px; }
.contact .direct a { color: var(--accent); font-weight: 500; text-underline-offset: 4px; overflow-wrap: anywhere; }
.form { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 28px; display: grid; gap: 18px; box-shadow: 0 16px 40px -28px rgba(26, 16, 51, .35); }
.field { display: grid; gap: 8px; }
.field label { font-size: .9375rem; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1rem/1.5 var(--font); color: var(--text);
  background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--btn-radius);
  padding: 11px 14px;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { height: 48px; padding-top: 0; padding-bottom: 0; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field .hint { font-size: .875rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form .button { width: 100%; }
.form .button[disabled] { opacity: .6; cursor: default; }
.form .consent { font-size: .875rem; color: var(--muted); }
.form .consent a { color: var(--accent); text-underline-offset: 3px; }
.form .status { font-size: .9375rem; min-height: 1.4em; }
.form .status.ok { color: #1B6B3A; font-weight: 500; }
.form .status.bad { color: #A3261F; font-weight: 500; }

/* Closing call to action, on every page but Contact */
.cta-wrap { padding-bottom: 104px; }
.band + .cta-wrap { padding-top: 104px; }

/* Privacy and other long text */
.prose { max-width: 808px; padding-top: 88px; padding-bottom: 104px; }
.prose h1 { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.08; }
.prose .updated { margin-top: 12px; color: var(--muted); font-size: .9375rem; }
.prose .intro { margin-top: 28px; font-size: 1.1875rem; line-height: 1.55; }
.prose h2 { margin-top: 44px; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; }
.prose h2 + p, .prose h2 + ul { margin-top: 10px; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); text-underline-offset: 4px; }
.prose a:hover { color: var(--accent-hover); }

/* Footer */
.site-foot { background: var(--band); border-top: 1px solid var(--rule); }
.foot-grid { padding-top: 56px; padding-bottom: 44px; display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2.5fr)); gap: 32px 32px; }
.foot-grid .brand img { height: 34px; width: auto; }
.foot-grid .brand p { margin-top: 16px; color: var(--muted); font-size: .9375rem; max-width: 34ch; }
.foot-grid h2 { font-size: .875rem; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.foot-grid ul { margin-top: 14px; display: grid; gap: 10px; font-size: .9375rem; color: var(--muted); }
.foot-grid ul a { text-decoration: none; overflow-wrap: anywhere; }
.foot-grid ul a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.foot-base { position: relative; padding-top: 20px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .875rem; color: var(--muted); }
.foot-base::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--rule); }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* One moment on load: the three screens arrive in turn, then the camera marks each part. */
  .hero-copy, .shot { animation: rise .7s cubic-bezier(.16, 1, .3, 1) both; }
  .shot.cam { animation-delay: .15s; }
  .shot.doc { animation-delay: .3s; }
  .shot.call { animation-delay: .45s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  .shot.cam .marks > g { animation: show .3s both; }
  .shot.cam .marks > g:nth-child(1) { animation-delay: .9s; }
  .shot.cam .marks > g:nth-child(2) { animation-delay: 1.1s; }
  .shot.cam .marks > g:nth-child(3) { animation-delay: 1.3s; }
  .shot.cam .marks > g:nth-child(4) { animation-delay: 1.5s; }
  @keyframes show { from { opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:active { transform: none; } }

@media (max-width: 900px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav li.link { display: none; }
  .nav .menu { display: block; }
  .nav ul { gap: 10px; }
  .nav .logo img { height: 32px; }
  .hero { padding-top: 40px; padding-bottom: 64px; grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shot.call { margin-top: 0; }
  .way { padding: 22px; border-radius: 16px; margin-top: 28px; }
  .way-actions { width: 100%; }
  .way-actions .button { flex: 1 1 150px; }
  .groups, .exp, .svc, .svc.three, .uc { grid-template-columns: 1fr; }
  .uc article { padding: 22px; }
  .uc dl div { grid-template-columns: 1fr; gap: 2px; }
  .steps.five { grid-template-columns: 1fr; }
  .svc-group { padding-bottom: 56px; }
  .svc-group + .svc-group { padding-top: 56px; }
  .uc-wrap { padding-bottom: 64px; }
  .faq summary { font-size: 1.0625rem; }
  .app { margin-top: 36px; }
  .app-body { grid-template-columns: 1fr; }
  .app-steps { display: flex; border-right: 0; border-bottom: 1px solid #33275A; padding: 0; }
  .app-steps li { padding: 10px 14px; }
  .app-steps .on { box-shadow: inset 0 -2px #C29BFA; }
  .app-side, .app-strip, .app-modes, .app-file { display: none; }
  .audience, .diff, .facts { grid-template-columns: 1fr; }
  .hero .actions .button, .page-head .actions .button { flex: 1 1 150px; }
  .page-head, .section.contact, .prose { padding-top: 48px; }
  .page-head { padding-bottom: 40px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .cta-wrap, .prose { padding-bottom: 64px; }
  .band + .cta-wrap { padding-top: 64px; }
  .models { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .about .pair, .about .founder { grid-template-columns: 1fr; }
  .about .founder { padding: 24px; }
  .about .founder .who { padding-right: 0; border-right: 0; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
  .section-head .button { width: 100%; }
  .about .founder .button { width: 100%; }
  .contact .inner { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; }
  .foot-grid .brand, .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-base::before { left: 16px; right: 16px; }
}
@media (min-width: 620px) and (max-width: 900px) {
  .svc, .svc.three, .exp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .shots { max-width: 720px; }
}

/* 2026-10-23 design test fixes (site-test-2026-10-23/report) */
h1, h2 { font-weight: 500; }
h1 { letter-spacing: -0.03em; }
h2 { letter-spacing: -0.025em; }
.hero h1 { letter-spacing: -0.035em; }
.lede, .way-desc, .section .lede, .cta .lede, .uc-sub { text-wrap: pretty; }
.label, .way-k { font-size: .8125rem; font-weight: 600; }
.audience li { position: relative; border-top: 1px solid var(--rule); padding-top: 20px; }
.audience li::before { content: ""; position: absolute; top: -1px; left: 0; width: 32px; height: 2px; background: var(--accent); }
.steps li { border-top: 1px solid var(--rule); padding-top: 22px; }
.steps .n { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--raise); color: var(--accent); font-size: .8125rem; font-weight: 600; }
.steps h3 { margin-top: 14px; }
.facts dt { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.facts dd { margin-top: 6px; font-weight: 500; }
.svc-group + .svc-group { border-top: 0; background: linear-gradient(var(--rule), var(--rule)) 50% 0 / calc(100% - 48px) 1px no-repeat; }
.svc > li { padding: 28px 28px 30px; transition: border-color .15s ease; }
.svc > li h3 { font-size: 1.1875rem; }
.svc > li > p { margin-top: 10px; }
@media (max-width: 900px) { .svc-group + .svc-group { background-size: calc(100% - 32px) 1px; } }

.exp { margin-top: 40px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; border-bottom: 0; }
.exp li { border-top: 0; font-size: 1.0625rem; font-weight: 500; }
.exp a { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; height: 100%; padding: 20px 20px 18px; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; line-height: 1.3; text-decoration: none; transition: border-color .15s ease, color .15s ease; }
.exp a::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
.exp a:hover { border-color: var(--accent); color: var(--accent); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 64px; align-items: start; }
.faq-wrap .faq { margin-top: 0; max-width: none; }
@media (max-width: 900px) {
  .ways { padding-top: 8px; }
  .exp { grid-template-columns: 1fr; gap: 8px; }
  .exp a { flex-direction: row; align-items: center; padding: 16px 18px; gap: 16px; }
  .faq-wrap { grid-template-columns: 1fr; }
}
@media (min-width: 620px) and (max-width: 900px) { .exp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.uc { grid-template-columns: 1fr; gap: 20px; }
.uc article { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr; gap: 0 56px; padding: 40px 40px 22px; border-radius: 16px; }
.uc-head { grid-column: 1; flex-direction: column; align-items: flex-start; gap: 20px; }
.uc-head .ico { width: 48px; height: 48px; padding: 11px; background: var(--raise); border-radius: 12px; stroke-width: 1.5; }
.uc h2 { font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.015em; }
.uc-sub { grid-column: 1; margin-top: 10px; max-width: 34ch; }
.uc dl { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-content: start; }
.uc dl div { display: block; padding: 20px 0; border-top: 1px solid var(--rule); }
.uc dl div:nth-child(-n+2) { border-top: 0; padding-top: 2px; }
.uc dt { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; padding-top: 0; }
.uc dd { margin-top: 6px; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.uc .via { display: block; margin-top: 12px; font-size: 0; line-height: 0; }
.uc .via a { display: inline-block; margin: 0 6px 6px 0; padding: 6px 9px; border: 1px solid var(--rule); border-radius: 6px; background: var(--bg); color: var(--muted); font-size: .8125rem; line-height: 1; font-weight: 500; text-decoration: none; }
.uc .via a[href="/product"] { color: var(--accent); background: #F3ECFC; border-color: #DCC8F5; }
.uc .via a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 900px) {
  .uc article { grid-template-columns: 1fr; grid-template-rows: none; padding: 24px 20px 6px; }
  .uc-head { flex-direction: row; align-items: center; gap: 14px; }
  .uc-head .ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; }
  .uc h2 { font-size: 1.375rem; }
  .uc-sub { max-width: none; }
  .uc dl { grid-column: 1; grid-row: auto; grid-template-columns: 1fr; margin-top: 18px; }
  .uc dl div, .uc dl div:nth-child(-n+2) { padding: 18px 0; border-top: 1px solid var(--rule); }
}

.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 40px 64px; padding: 56px; background: radial-gradient(640px 320px at 100% 0%, rgba(122, 36, 201, .14), transparent 70%), #F1EBFB; border: 1px solid #DCC8F5; border-radius: 20px; }
.cta::before { content: ""; position: absolute; inset: 0; height: auto; background: linear-gradient(rgba(122, 36, 201, .09) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(122, 36, 201, .09) 1px, transparent 1px) 0 0 / 32px 32px; -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 80%); mask-image: linear-gradient(90deg, transparent 25%, #000 80%); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 16ch; }
.cta .lede { margin-top: 14px; max-width: 38ch; }
.cta > .button { justify-self: end; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; }
.cta-mail { flex-basis: 100%; text-align: right; margin-top: 4px; }
.cta-mail { color: var(--accent); font-weight: 500; text-underline-offset: 4px; }
.cta-mail:hover { color: var(--accent-hover); }
@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px 20px; border-radius: 16px; }
  .cta::before { -webkit-mask-image: linear-gradient(180deg, #000, transparent 45%); mask-image: linear-gradient(180deg, #000, transparent 45%); }
  .cta > .button, .cta .button { justify-self: stretch; width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-mail { text-align: center; }
  }

.diff { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.next span { border: 0; border-radius: 8px; background: var(--raise); }
@media (max-width: 900px) {
  .diff { grid-template-columns: 1fr; }
  .nav .button { height: 44px; }
  .nav .menu summary { width: 44px; height: 44px; }
  .hero { padding-bottom: 40px; }
}

/* Contact: number badge beside mixed text and links (grid split the inline link into the number column) */
.next li { display: block; position: relative; padding-left: 44px; min-height: 28px; line-height: 1.6; }
.next span { position: absolute; left: 0; top: 0; }
.next a { color: var(--accent); font-weight: 500; text-underline-offset: 4px; }
/* Services: five steps as readable rows instead of five narrow columns */
.steps.five { grid-template-columns: 1fr; gap: 0; margin-top: 40px; border-bottom: 1px solid var(--rule); }
.steps.five li { display: grid; grid-template-columns: 80px minmax(0, 240px) minmax(0, 1fr); gap: 6px 32px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--rule); }
.steps.five h3, .steps.five p { margin-top: 0; }
.steps.five .n { justify-self: start; }
.steps.five p { font-size: 1.0625rem; }
@media (max-width: 900px) { .steps.five li { grid-template-columns: 1fr; gap: 8px; } }
/* Clearer text everywhere: slightly darker secondary text, no body copy under 16px */
.group p, .uc dd, .foot-grid ul, .foot-grid .brand p, .models p { font-size: 1rem; }
