/* saicretary.com — product page. Fonts are self-hosted (no third-party requests). */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-500-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-500-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-v13-latin_latin-ext-regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-v13-latin_latin-ext-600.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); }

:root {
  --accent: #5a3be0; --accent-strong: #4428bd; --accent-light: #a99bff;
  --accent-soft: #efebff; --accent-line: #d6ccff;
  --ink: #15171c; --text: #3a3f4a; --muted: #5b6170; --line: #e1e3e8;
  --bg: #f2f3f5; --surface: #ffffff; --dark: #15171c; --dark-text: #c9ccd2;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); }
a { color: var(--accent); } a:hover { color: var(--accent-strong); }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; line-height: 1.05; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand__mark { width: 28px; height: 28px; border-radius: 7px; border: 1.5px solid var(--accent); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.brand__name { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand__by { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 14px; }
.nav a { padding: 10px 12px; color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; }
.btn--accent { background: var(--accent); color: #fff; } .btn--accent:hover { background: var(--accent-strong); color: #fff; }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); } .btn--ghost:hover { color: var(--ink); border-color: #c8cbd2; }
.btn--dark { background: var(--ink); color: #fff; } .btn--dark:hover { color: #fff; background: #000; }
.nav .btn { padding: 10px 16px; min-height: 40px; color: #fff; }

/* hero */
.hero { padding-top: 64px; text-align: center; display: flex; flex-direction: column; gap: 22px; align-items: center; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--text); }
.hero h1 { font-size: clamp(40px, 6vw, 66px); font-weight: 700; max-width: 940px; }
.hero__lead { font-size: 19px; color: var(--text); max-width: 680px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* portal mockup */
.mock { margin: 56px auto 96px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(21,23,28,0.10); overflow: hidden; }
.mock__bar { height: 40px; border-bottom: 1px solid #eceef2; display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock__url { margin-left: 16px; padding: 4px 14px; border-radius: 8px; background: var(--bg); font-size: 12px; color: var(--muted); }
.mock__body { display: flex; flex-wrap: wrap; min-height: 440px; }
.mock__nav { flex: 0 0 210px; background: #22252c; color: #e4e6ea; padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.mock__nav span { padding: 9px 10px; border-radius: 8px; display: flex; justify-content: space-between; }
.mock__nav .is-on { background: var(--accent); color: #fff; }
.mock__logo { font-family: var(--display); font-weight: 700; padding-bottom: 14px !important; }
.mock__badge { padding: 0 7px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; }
.mock__main { flex: 999 1 520px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 16px; background: #fafafb; text-align: left; }
.bubble { padding: 12px 16px; border-radius: 14px; max-width: 86%; }
.bubble--me { align-self: flex-end; background: var(--accent-soft); border-radius: 14px 14px 4px 14px; max-width: 70%; }
.bubble--ai { background: var(--surface); border: 1px solid #eceef2; display: flex; flex-direction: column; gap: 10px; }
.bubble__who { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 4px 10px; border-radius: 999px; background: var(--bg); font-size: 13px; }
.mock__input { margin-top: auto; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
@media (max-width: 700px) { .mock__nav { display: none; } .bubble, .bubble--me { max-width: 100%; } }

/* sections */
.section { padding-bottom: 96px; }
.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin-bottom: 28px; }
.section__head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.section__head p { color: var(--text); font-size: 18px; }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--accent); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.steps .mono { color: var(--accent); font-size: 13px; }
.steps strong { font-size: 17px; }
.steps span:last-child { color: var(--text); }

.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.tile { min-width: 0; padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.tile strong { font-size: 19px; }
.tile p { color: var(--text); }
.tile--wide { grid-column: span 2; }
.tile--dark { background: var(--dark); color: #fff; border-color: var(--dark); min-height: 220px; }
.tile--dark strong { font-family: var(--display); font-size: 28px; letter-spacing: -0.02em; }
.tile--dark p { color: #d3d6dd; max-width: 520px; }
.tile--dark .tile__eyebrow { color: #b9bdc7; font-size: 13px; }
.tile--soft { background: var(--accent-soft); border-color: var(--accent-line); }
.tile--row { flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: center; }
.tile--row > div { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; }
.flow { flex: 1 1 280px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font-size: 12px; }
.flow span { padding: 10px 6px; border-radius: 8px; background: var(--bg); text-align: center; }
.flow .is-on { background: var(--accent); color: #fff; }
@media (max-width: 640px) { .tile--wide { grid-column: auto; } }

/* data sovereignty band */
.band { background: var(--dark); color: #f5f6f8; margin-bottom: 96px; }
.band .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.band .kicker { color: var(--accent-light); }
.band p { color: var(--dark-text); font-size: 18px; }
.band h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.pillars div { border-top: 2px solid var(--accent-light); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.pillars strong { font-size: 20px; }
.pillars span { color: var(--dark-text); }
.band__claim { font-family: var(--display); font-size: 24px; color: #fff !important; letter-spacing: -0.01em; }

/* trial */
.trial { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: t; }
.trial li { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.trial li::before { counter-increment: t; content: "0" counter(t); font-family: var(--mono); color: var(--accent); font-size: 13px; }
.trial p { color: var(--text); }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.price { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.price strong { font-family: var(--display); font-size: 32px; letter-spacing: -0.02em; }
.price span { color: var(--text); }
.price__label { color: var(--muted) !important; }
.price--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.price--dark span { color: #d3d6dd; } .price--dark .price__label { color: #b9bdc7 !important; }
.fine { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; padding: 56px 48px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.contact__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.contact__intro h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 700; }
.contact__intro p { color: var(--text); font-size: 17px; }
.form { flex: 2 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea, .field select { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid #c8cbd2; background: #fff; color: var(--ink); min-height: 44px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.consent input { width: 18px; height: 18px; margin-top: 3px; }
.hp { position: absolute; left: -9999px; }
.form__note { color: var(--muted); font-size: 14px; }
.alert { padding: 12px 14px; border-radius: 10px; background: #fdecec; color: #8a1c1c; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .contact { padding: 32px 22px; } }

/* footer + simple pages */
.foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }
.page { max-width: 780px; margin: 0 auto; padding: 48px 32px 96px; }
.page h1 { font-size: 44px; font-weight: 700; margin-bottom: 8px; }
.page h2 { font-size: 24px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.page h3 { font-size: 19px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.page p, .page li { color: var(--text); }
.page p + p { margin-top: 12px; }
