/* ============================================================
   Inscriti — custom WordPress theme  ·  v1.2
   Designed & built by Designs By JFeld (designsbyjfeld.com)

   Identity: big editorial Satoshi type, a single confident violet,
   warm paper neutrals, hairline structure, generous whitespace,
   and restrained, purposeful motion. Flat color — no gradients.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Black.otf") format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--ink: #14121c;
	--ink-2: #2a2733;
	--muted: #5f5a6b;
	--soft: #8b8694;
	--paper: #fbfaf7;
	--paper-2: #f3efe8;
	--paper-3: #ece6dc;
	--panel: #ffffff;
	--line: rgba(20, 18, 28, 0.1);
	--line-2: rgba(20, 18, 28, 0.16);

	/* Primary — one confident violet, used flat */
	--violet: #6f4df6;
	--violet-2: #8d6cff;
	--violet-deep: #4a2fc0;
	--violet-ink: #1d1142;
	--violet-soft: rgba(111, 77, 246, 0.1);

	/* Secondary mapped onto the same violet — the brand is purple-only now.
	   (Legacy --coral* names kept so any stray reference stays on-brand.) */
	--coral: #6f4df6;
	--coral-deep: #4a2fc0;
	--coral-soft: rgba(111, 77, 246, 0.12);

	/* Tints — a restrained purple + warm-neutral set (no rainbow) */
	--t-lilac: #efeaff;
	--t-peach: #f4f0e8;
	--t-sky: #efeaff;
	--t-mint: #f4f0e8;
	--t-cream: #f4f0e8;
	--t-sand: #efe9df;

	/* "Gradient" tokens are now flat solids — guarantees no gradient slips
	   through anywhere these are referenced. */
	--grad-brand: #6f4df6;
	--grad-cta: #4a2fc0;
	--grad-text: #6f4df6;
	--grad-aurora-1: none;
	--grad-aurora-2: none;
	--grad-aurora-3: none;

	--display: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

	--shadow-xl: 0 40px 110px rgba(29, 17, 66, 0.2);
	--shadow-lg: 0 30px 80px rgba(29, 17, 66, 0.16);
	--shadow-md: 0 18px 46px rgba(29, 17, 66, 0.11);
	--shadow-sm: 0 10px 26px rgba(29, 17, 66, 0.08);

	--max: 1220px;
	--gut: clamp(18px, 4vw, 44px);
	--nav: 78px;
	--radius-lg: 26px;
	--radius: 18px;
	--radius-sm: 12px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

	/* ---- Foundation scale (approved Phase 1) — one flat violet, warm paper, ink ---- */
	--violet-050: #f4f1fe; --violet-100: #e8e2fd; --violet-200: #cdc0fb;
	--violet-300: #ab97f9; --violet-400: #8b6ff8; --violet-500: #6f4df6;
	--violet-600: #5c3ade; --violet-700: #4a2fc0; --violet-800: #382492; --violet-900: #241856;

	--paper-000: #fdfcfa; --paper-100: #fbfaf7; --paper-200: #f3efe8; --paper-300: #ece6dc; --paper-400: #ded6c8;
	--ink-900: #14121c; --ink-700: #322e3e; --ink-500: #5f5a6b; --ink-300: #9a95a4; --ink-200: #c6c2cd;

	--line-warm: #e6e0d4; --line-strong: #d8d0bf;

	/* Stationery radii — small, printed, not pill-round */
	--r-lg: 14px; --r-md: 8px; --r-sm: 3px;

	/* Flat offset shadow — printed-card depth, never blurred (signature device) */
	--lift: 10px 10px 0 var(--violet-050);
	--lift-sm: 6px 6px 0 var(--violet-050);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--display);
	color: var(--ink);
	background: var(--paper);
	font-size: 17px;
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
::selection { background: var(--violet); color: #fff; }

/* Subtle grain overlay for depth */
body::after {
	content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.025;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: multiply;
}

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	clip: rect(0 0 0 0); overflow: hidden;
}
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 2000; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.narrow-col { max-width: 780px; }

/* ---------- Signature devices ---------- */
/* The Register — a ledger-rule editorial section header. */
.rule-head { display: flex; align-items: baseline; gap: 18px; border-top: 1px solid var(--ink-900); padding-top: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.rule-head .rule-no { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet-600); white-space: nowrap; }
.rule-head .rule-no::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--violet-500); margin-right: 10px; transform: translateY(-1px); }
.rule-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.rule-head .rule-note { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-300); white-space: nowrap; }
/* The register entry tick — a small square that opens a line. */
.tick { display: inline-block; width: 8px; height: 8px; background: var(--violet-500); flex: none; }

/* ---------- Editorial labels (de-numbered) ---------- */
.kicker {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
	font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--violet-deep);
}
.kicker-dot {
	width: 9px; height: 9px; border-radius: 50%; background: var(--violet);
	box-shadow: 0 0 0 0 rgba(111, 77, 246, 0.5); animation: pulse 2.6s var(--ease) infinite;
}
.kicker.is-coral { color: var(--coral-deep); }
.kicker.is-coral .kicker-dot { background: var(--coral); box-shadow: 0 0 0 0 rgba(111, 77, 246, 0.5); animation-name: pulseCoral; }
.kicker.on-dark { color: rgba(255, 255, 255, 0.82); }
.kicker.on-dark .kicker-dot { background: var(--coral); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111,77,246,0.45); } 70% { box-shadow: 0 0 0 9px rgba(111,77,246,0); } 100% { box-shadow: 0 0 0 0 rgba(111,77,246,0); } }
@keyframes pulseCoral { 0% { box-shadow: 0 0 0 0 rgba(111,77,246,0.45); } 70% { box-shadow: 0 0 0 9px rgba(111,77,246,0); } 100% { box-shadow: 0 0 0 0 rgba(111,77,246,0); } }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons — stationery, not pills (flat offset shadow) ---------- */
.button {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 13px 24px; border-radius: var(--r-sm);
	border: 1px solid var(--violet-500); background: var(--violet-500);
	color: var(--paper-000); font-weight: 700; font-size: 15px; letter-spacing: 0; cursor: pointer;
	box-shadow: var(--lift-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.button:hover { transform: translate(2px, 2px); background: var(--violet-700); border-color: var(--violet-700); box-shadow: 4px 4px 0 var(--violet-100); }
.button .button-arrow { transition: transform 0.2s var(--ease); }
.button:hover .button-arrow { transform: translateX(4px); }
.button-lg { min-height: 58px; padding: 16px 30px; font-size: 16px; }
.button-small { min-height: 44px; padding: 11px 18px; font-size: 14px; box-shadow: var(--lift-sm); }
.button-dark { background: var(--ink-900); border-color: var(--ink-900); color: #fff; box-shadow: var(--lift-sm); }
.button-dark:hover { background: #000; border-color: #000; box-shadow: 4px 4px 0 var(--violet-100); }
.button-coral { background: #fff; border-color: #fff; color: var(--violet-deep); box-shadow: 6px 6px 0 rgba(255,255,255,0.18); }
.button-coral:hover { background: #fff; border-color: #fff; color: var(--violet-ink); box-shadow: 4px 4px 0 rgba(255,255,255,0.28); }
.button-outline { background: transparent; color: var(--ink-900); border-color: var(--ink-900); box-shadow: none; }
.button-outline:hover { background: var(--paper-200); border-color: var(--ink-900); color: var(--ink-900); box-shadow: none; transform: translate(2px, 2px); }
.button-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); box-shadow: none; }
.button-ghost:hover { background: rgba(255,255,255,0.18); box-shadow: none; }

/* ============================================================
   Header (rebuilt v1.2) — desktop bar + slide-up mobile panel
   ============================================================ */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 1000;
	height: calc(var(--nav) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
	background: rgba(251, 250, 247, 0.78);
	backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(29, 17, 66, 0.07); background: rgba(251, 250, 247, 0.9); }
.site-header-inner { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { width: 126px; height: auto; transition: transform 0.3s var(--ease-spring); }
.brand:hover .brand-logo { transform: scale(1.03); }

.primary-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
	position: relative; display: inline-flex; align-items: center; color: var(--ink-2);
	font-size: 15px; font-weight: 600; padding: 9px 15px; border-radius: 10px;
	transition: color 0.18s ease, background 0.18s ease;
}
.nav-list a:hover { color: var(--violet-ink); background: var(--violet-soft); }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { color: var(--violet-deep); }
.nav-list .current-menu-item > a::after, .nav-list .current_page_item > a::after {
	content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--violet);
}

.header-actions { flex: none; display: flex; align-items: center; gap: 14px; }
.header-login { font-size: 15px; font-weight: 700; color: var(--ink-2); padding: 8px 4px; transition: color 0.18s ease; }
.header-login:hover { color: var(--violet-deep); }
.btn-demo {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px;
	background: var(--violet); color: #fff; font-weight: 800; font-size: 14.5px; border-radius: 11px;
	box-shadow: 0 8px 20px rgba(74, 47, 192, 0.22); transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.25s ease;
}
.btn-demo:hover { transform: translateY(-2px); background: var(--violet-deep); box-shadow: 0 14px 30px rgba(74, 47, 192, 0.3); }

/* Hamburger (mobile only) */
.nav-toggle { display: none; flex: none; width: 46px; height: 46px; margin-left: auto; padding: 0; border: 1.5px solid var(--line-2); border-radius: 13px; background: var(--panel); cursor: pointer; align-items: center; justify-content: center; transition: border-color 0.2s ease, background 0.2s ease; }
.nav-toggle:hover { border-color: rgba(111, 77, 246, 0.4); background: var(--violet-soft); }
.nav-toggle-box { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.nav-toggle-bar { display: block; height: 2.5px; width: 100%; border-radius: 2px; background: var(--ink); }
.nav-toggle-bar:nth-child(2) { width: 70%; }

/* Slide-up full-screen mobile panel */
.mobile-panel {
	position: fixed; inset: 0; z-index: 1200;
	display: flex; flex-direction: column;
	padding: max(18px, env(safe-area-inset-top)) var(--gut) max(22px, env(safe-area-inset-bottom));
	background: var(--paper);
	transform: translateY(100%); transition: transform 0.42s var(--ease);
	overflow-y: auto; -webkit-overflow-scrolling: touch;
}
body.menu-open .mobile-panel { transform: translateY(0); }
.mobile-panel-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mobile-close { position: relative; width: 46px; height: 46px; border: 1.5px solid var(--line-2); border-radius: 13px; background: var(--panel); cursor: pointer; }
.mobile-close span { position: absolute; left: 50%; top: 50%; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.mobile-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-nav { flex: 1 1 auto; padding: 8px 0; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list a { display: flex; align-items: center; justify-content: space-between; font-size: clamp(28px, 8vw, 40px); line-height: 1.05; font-weight: 900; letter-spacing: -0.02em; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-nav-list a:hover, .mobile-nav-list .current-menu-item > a { color: var(--violet-deep); }
.mobile-panel-actions { display: grid; gap: 12px; padding-top: 22px; }
.mobile-panel-actions .button { width: 100%; min-height: 56px; font-size: 16px; }

/* ============================================================
   Hero (aurora + rotating word)
   ============================================================ */
.hero { position: relative; padding: calc(var(--nav) + env(safe-area-inset-top) + 52px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); align-items: center; gap: clamp(32px, 4vw, 56px); }
.hero-title { font-size: clamp(37px, 4.9vw, 60px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 900; margin-bottom: 24px; }
.hero-title .h1-line { display: block; }
/* The Inscription — the rotating word, re-signed with a tapered pen-stroke underline. */
.hero-rotator { position: relative; display: inline-block; color: var(--violet-600); white-space: nowrap; }
.hero-rotator .rot-word { display: inline-block; color: var(--violet-600); transition: opacity 0.34s ease, transform 0.34s ease; }
.hero-rotator .rot-word.is-out { opacity: 0; transform: translateY(0.28em); }
.hero-rotator .stroke { position: absolute; left: -1.5%; bottom: -0.12em; width: 103%; height: 0.2em; pointer-events: none; transform: scaleX(0); transform-origin: left center; transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1); }
.hero-rotator .stroke.is-drawn { transform: scaleX(1); }
.hero-rotator .stroke path { fill: var(--violet-500); }
.hero-lede { max-width: 52ch; margin-top: 0; margin-bottom: 32px; color: var(--ink-500); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.hero-lede strong { color: var(--ink-900); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 0; }

.hero-product { position: relative; min-width: 0; min-height: 320px; }
.product-browser { width: 100%; border: 1px solid var(--ink-900); background: var(--paper-000); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--lift); }
.browser-top { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line-warm); background: var(--paper-200); }
.browser-top span { width: 8px; height: 8px; border-radius: 2px; border: 1px solid var(--ink-200); background: var(--paper-000); }
.browser-top strong { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-500); font-weight: 600; letter-spacing: 0.04em; }
.product-browser .shot-wrap { aspect-ratio: 3024 / 1722; background: var(--paper-200); overflow: hidden; }
.product-browser .shot-wrap img, .product-browser > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }
.product-phone { position: absolute; right: -2%; bottom: -42px; width: clamp(148px, 19vw, 188px); padding: 6px; border-radius: 26px; background: var(--ink-900); border: 1px solid var(--ink-900); box-shadow: var(--lift-sm); overflow: hidden; }
.product-phone .phone-screen { aspect-ratio: 939 / 2037; border-radius: 20px; overflow: hidden; background: var(--paper-000); }
.product-phone img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }

/* ============================================================
   Sections (generic)
   ============================================================ */
.section { padding: clamp(76px, 10vw, 132px) 0; position: relative; }
.section-head { max-width: 900px; margin-bottom: clamp(40px, 5vw, 66px); }
.section-head.narrow { max-width: 780px; margin-inline: auto; text-align: center; }
.section-head.narrow .kicker { justify-content: center; }
.section-title { font-size: clamp(34px, 4.7vw, 62px); line-height: 1.0; letter-spacing: -0.025em; font-weight: 900; max-width: 19ch; }
.section-head.narrow .section-title { margin-inline: auto; }
.section-lede { max-width: 60ch; margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; }
.section-head.narrow .section-lede { margin-inline: auto; }

/* ============================================================
   Bento (platform highlights)
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.bento-tile {
	position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line);
	background: var(--panel); display: flex; flex-direction: column; min-height: 230px;
	transition: transform 0.34s var(--ease), box-shadow 0.34s ease, border-color 0.24s ease;
}
.bento-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bento-tile.span-2 { grid-column: span 2; }
.bento-tile.row-2 { grid-row: span 2; }
.bento-tile.tint-lilac { background: var(--t-lilac); border-color: rgba(111,77,246,0.16); }
.bento-tile.tint-peach { background: var(--t-peach); border-color: rgba(255,107,84,0.18); }
.bento-tile.tint-sky { background: var(--t-sky); border-color: rgba(51,177,255,0.18); }
.bento-tile.tint-mint { background: var(--t-mint); border-color: rgba(47,214,166,0.2); }
.bento-tile.tint-cream { background: var(--t-cream); border-color: rgba(255,180,40,0.22); }
.bento-tile.tint-ink { background: var(--ink); color: #fff; border-color: #000; }
.bento-tile.tint-ink .bento-desc { color: rgba(255,255,255,0.66); }
.bento-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.6); color: var(--violet-deep); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.bento-tile.tint-ink .bento-icon { background: rgba(255,255,255,0.12); color: #fff; }
.bento-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bento-title { font-size: 22px; line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 8px; }
.bento-desc { color: var(--muted); font-size: 15px; line-height: 1.58; }
.bento-tile .bento-media { margin-top: auto; padding-top: 18px; }
.bento-tile .bento-media img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-md); }
.bento-cta { margin-top: auto; padding-top: 18px; font-weight: 800; color: var(--violet-deep); display: inline-flex; align-items: center; gap: 7px; }
.bento-tile.tint-ink .bento-cta { color: #fff; }
.bento-cta span { transition: transform 0.2s var(--ease); }
.bento-tile:hover .bento-cta span { transform: translateX(4px); }

/* Feature grid (used on Platform page) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform 0.3s var(--ease), border-color 0.22s ease, box-shadow 0.3s ease; }
.feature-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform 0.34s var(--ease); }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(111, 77, 246, 0.26); box-shadow: var(--shadow-md); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px; background: var(--t-lilac); color: var(--violet-deep); display: inline-flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 9px; }
.feature-card p { color: var(--muted); font-size: 15.5px; line-height: 1.62; }

/* ============================================================
   Roles
   ============================================================ */
.roles-section { background: var(--paper-2); border-block: 1px solid var(--line); }
.roles-shell { background: var(--panel); border: 1px solid rgba(29, 17, 66, 0.12); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.role-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.role-tab { position: relative; min-height: 64px; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--muted); font-weight: 800; font-size: 15px; cursor: pointer; transition: background 0.22s ease, color 0.22s ease; }
.role-tab:last-child { border-right: 0; }
.role-tab:hover { background: var(--violet-soft); color: var(--violet-ink); }
.role-tab.active { background: var(--ink); color: #fff; }
.role-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-brand); }
.role-panels { position: relative; background: #faf8ff; }
.role-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 460px); gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(30px, 5vw, 62px); position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px); transition: opacity 0.42s var(--ease), transform 0.42s var(--ease), visibility 0.42s; }
.role-panel.active { position: relative; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.role-text h3 { font-size: clamp(27px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; }
.role-text p { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.62; max-width: 48ch; }

.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.05em; width: 20px; height: 20px; border-radius: 7px; background: var(--grad-brand); opacity: 0.16; }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 0.42em; width: 8px; height: 5px; border-left: 2px solid var(--violet-deep); border-bottom: 2px solid var(--violet-deep); transform: rotate(-45deg); }

.role-visual { justify-self: center; }
.role-phone-frame { position: relative; width: min(280px, 74vw); padding: 11px; border-radius: 38px; background: linear-gradient(150deg, #322d3d, #050507 54%, #211d28); border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 26px 56px rgba(29, 17, 66, 0.2); }
.role-phone-frame img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 28px; background: #fff; }
.role-browser-frame { width: min(500px, 100%); overflow: hidden; border: 1px solid rgba(29, 17, 66, 0.12); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md); }
.role-browser-frame img { width: 100%; max-height: 420px; object-fit: cover; object-position: top; background: #fff; }

/* ============================================================
   Workflow (alternating timeline)
   ============================================================ */
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.workflow-step { position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); transition: transform 0.3s var(--ease), border-color 0.24s ease, box-shadow 0.3s ease; }
.workflow-step:hover { transform: translateY(-5px); border-color: rgba(111, 77, 246, 0.26); box-shadow: var(--shadow-sm); }
.workflow-num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad-brand); color: #fff; font-weight: 900; font-size: 22px; margin-bottom: 24px; box-shadow: 0 12px 26px rgba(74,47,192,0.26); }
.workflow-step h3 { font-size: 22px; line-height: 1.14; letter-spacing: -0.01em; margin-bottom: 10px; }
.workflow-step p { color: var(--muted); font-size: 15.5px; line-height: 1.62; }

/* ============================================================
   Product story
   ============================================================ */
.story-grid { display: grid; grid-template-columns: minmax(260px, 460px) minmax(0, 1fr); gap: clamp(38px, 7vw, 92px); align-items: center; }
.story-grid.flip { grid-template-columns: minmax(0, 1fr) minmax(260px, 460px); }
.story-grid.flip .story-media { order: 2; }
.story-media { position: relative; background: var(--grad-brand); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); }
.story-media::before { content: none; }
.story-media img { position: relative; border-radius: var(--radius); max-height: 640px; object-fit: contain; margin: 0 auto; }

/* ============================================================
   Downloads (Get the app)
   ============================================================ */
.downloads { background: var(--paper-2); border-block: 1px solid var(--line); }
.download-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.download-copy .section-title { max-width: 16ch; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-badge { display: inline-flex; border-radius: 11px; transition: transform 0.22s var(--ease), box-shadow 0.25s ease; }
.store-badge img { height: 54px; width: auto; border-radius: 11px; }
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.download-web { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-weight: 800; color: var(--violet-deep); }
.download-web span { transition: transform 0.2s var(--ease); }
.download-web:hover span { transform: translateX(4px); }
.download-device { justify-self: center; }
.download-device .role-phone-frame { width: min(260px, 70vw); box-shadow: var(--shadow-lg); }

/* ============================================================
   Principles (Why Inscriti)
   ============================================================ */
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.principle-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; transition: transform 0.3s var(--ease), border-color 0.22s ease, box-shadow 0.3s ease; }
.principle-card:hover { transform: translateY(-5px); border-color: rgba(111, 77, 246, 0.26); box-shadow: var(--shadow-sm); }
.principle-card h3 { font-size: 21px; line-height: 1.16; letter-spacing: -0.01em; margin-bottom: 9px; }
.principle-card p { color: var(--muted); font-size: 15.5px; line-height: 1.62; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-grid { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; transition: border-color 0.24s ease, box-shadow 0.24s ease; }
.faq-item.open { border-color: rgba(111,77,246,0.3); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.faq-icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--violet-deep); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s ease; }
.faq-icon::before { top: 12px; left: 4px; right: 4px; height: 2.5px; }
.faq-icon::after { left: 12px; top: 4px; bottom: 4px; width: 2.5px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.36s var(--ease); }
.faq-a-inner { padding: 0 24px 24px; color: var(--muted); font-size: 16px; line-height: 1.66; }

/* ============================================================
   Support / resources (light now, recolored)
   ============================================================ */
.support { background: var(--ink); color: #fff; border-block: 1px solid #000; }
.support .section-title { color: #fff; }
.support .section-lede { color: rgba(255,255,255,0.66); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resource-card { position: relative; display: flex; flex-direction: column; padding: 28px 26px 58px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); color: #fff; transition: transform 0.26s var(--ease), background 0.24s ease, border-color 0.24s ease; }
.resource-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); border-color: rgba(255,107,84,0.5); }
.resource-tag { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 22px; }
.resource-card h3 { font-size: 23px; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 9px; }
.resource-card p { color: rgba(255,255,255,0.66); font-size: 15px; line-height: 1.58; }
.resource-arrow { position: absolute; right: 24px; bottom: 22px; font-size: 22px; color: var(--coral); transition: transform 0.26s var(--ease); }
.resource-card:hover .resource-arrow { transform: translate(4px, -4px); }

/* ============================================================
   CTA band (reusable) + final demo CTA
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-band-inner { position: relative; margin: 0 auto; max-width: var(--max); }
.cta-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 76px); background: var(--grad-cta); color: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.cta-card::before { content: none; }
.cta-card > * { position: relative; }
.cta-card h2 { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.0; letter-spacing: -0.025em; font-weight: 900; max-width: 18ch; margin-inline: auto; }
.cta-card p { margin: 18px auto 0; max-width: 56ch; color: rgba(255,255,255,0.86); font-size: 18px; line-height: 1.6; }
.cta-card .hero-actions { justify-content: center; }

.final-cta { background: var(--paper-2); border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 460px); gap: clamp(34px, 7vw, 88px); align-items: start; }
.cta-title { max-width: 14ch; }
.demo-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); display: grid; gap: 15px; }
.demo-form label { display: grid; gap: 7px; }
.demo-form span { font-family: var(--mono); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--line-2); border-radius: 11px; padding: 0 14px; background: #fff; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.demo-form textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(111, 77, 246, 0.16); }
.demo-form .button { margin-top: 4px; }
.form-note { color: var(--soft); font-size: 12px; line-height: 1.5; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--nav) + env(safe-area-inset-top) + 70px) 0 64px; }
.page-hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.page-hero.center { text-align: center; }
.page-hero.center .kicker { justify-content: center; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 78px); line-height: 0.96; letter-spacing: -0.03em; font-weight: 900; max-width: 16ch; }
.page-hero.center h1 { margin-inline: auto; }
.page-hero .page-lede { max-width: 58ch; margin-top: 22px; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.page-hero.center .page-lede { margin-inline: auto; }
.page-hero .hero-actions { margin-top: 30px; }
.page-hero.center .hero-actions { justify-content: center; }

/* ============================================================
   About / Why Inscriti
   ============================================================ */
.founder { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px, 420px); gap: clamp(34px, 6vw, 80px); align-items: center; }
.founder-card { background: var(--grad-brand); border-radius: var(--radius-lg); padding: 38px; color: #fff; box-shadow: var(--shadow-lg); }
.founder-card .f-mark { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 24px; margin-bottom: 22px; }
.founder-card h3 { font-size: 26px; letter-spacing: -0.01em; }
.founder-card .f-role { color: rgba(255,255,255,0.78); font-weight: 700; margin-top: 4px; }
.founder-card p { color: rgba(255,255,255,0.86); margin-top: 18px; line-height: 1.6; }

/* ============================================================
   Contact quick links (final CTA)
   ============================================================ */
.contact-quick { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-quick a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--violet-deep); }
.contact-quick a span { transition: transform 0.2s var(--ease); }
.contact-quick a:hover span { transform: translateX(4px); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: #fff; padding: 72px 0 max(28px, env(safe-area-inset-bottom)); overflow: hidden; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.footer-brand { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-logo-img { width: 140px; }
.footer-brand-mark p { margin-top: 16px; color: rgba(255,255,255,0.6); max-width: 46ch; }
.footer-bigword { font-size: clamp(34px, 6vw, 82px); font-weight: 900; letter-spacing: -0.035em; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,0.2); text-align: right; white-space: nowrap; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0 46px; }
.footer-col h2 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; color: rgba(255,255,255,0.5); }
.footer-col a { display: block; color: rgba(255,255,255,0.7); font-size: 14.5px; line-height: 2.1; transition: color 0.18s ease, padding-left 0.18s ease; }
.footer-col a:hover { color: var(--coral); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,0.45); font-size: 13px; }
.footer-credit { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); letter-spacing: 0.04em; }
.footer-credit img { height: 17px; opacity: 0.78; transition: opacity 0.2s ease; }
.footer-credit a:hover img { opacity: 1; }

/* ============================================================
   Blog / pages / single
   ============================================================ */
.page-stream, .single { padding-top: calc(var(--nav) + 72px); }
.stream-hero { margin-bottom: clamp(36px, 5vw, 58px); }
.page-hero-title { font-size: clamp(34px, 5vw, 64px); line-height: 1.0; letter-spacing: -0.025em; font-weight: 900; }
.archive-desc { margin-top: 14px; color: var(--muted); max-width: 60ch; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform 0.28s var(--ease), border-color 0.22s ease, box-shadow 0.28s ease; }
.post-card:hover { transform: translateY(-5px); border-color: rgba(111, 77, 246, 0.24); box-shadow: var(--shadow-sm); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--soft); letter-spacing: 0.03em; }
.post-cat { color: var(--violet-deep); font-weight: 700; text-transform: uppercase; }
.post-card-title { font-size: 21px; line-height: 1.16; letter-spacing: -0.01em; }
.post-card-title a:hover { color: var(--violet-deep); }
.post-card-excerpt { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; }
.post-card-link { margin-top: 6px; font-weight: 800; color: var(--violet-deep); }
.post-card-link span { transition: transform 0.2s var(--ease); display: inline-block; }
.post-card-link:hover span { transform: translateX(4px); }

.entry-header { margin-bottom: 28px; }
.entry-title { font-size: clamp(32px, 4.8vw, 58px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 900; margin-top: 10px; }
.entry-media { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.entry-content { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 1.7em; line-height: 1.1; letter-spacing: -0.01em; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.35em; line-height: 1.2; margin-top: 1.4em; }
.entry-content a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.entry-content blockquote { margin: 1.4em 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--violet); font-size: 1.1em; color: var(--ink); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content code { font-family: var(--mono); font-size: 0.9em; background: var(--paper-2); padding: 2px 6px; border-radius: 5px; }
.entry-content pre { background: var(--ink); color: #fff; padding: 20px; border-radius: var(--radius-sm); overflow: auto; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: 0.4em; }
.entry-tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a { font-family: var(--mono); font-size: 12px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; }

.post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 44px 0; font-weight: 800; }
.post-nav a:hover { color: var(--violet-deep); }
.post-nav-next { margin-left: auto; text-align: right; }

.pagination, .comments-pagination { margin-top: 48px; display: flex; justify-content: center; }
.pagination .nav-links, .comments-pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers, .comments-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 11px; font-weight: 800; color: var(--ink); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.pagination .page-numbers:hover { background: var(--violet-soft); border-color: var(--violet); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

.no-results { text-align: center; padding: 40px 0; }
.no-results h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; }
.no-results p { margin-top: 12px; color: var(--muted); }
.error-404 { padding-top: calc(var(--nav) + 90px); text-align: center; }
.error-404 .kicker { justify-content: center; }
.error-code { font-size: clamp(110px, 22vw, 240px); line-height: 0.9; font-weight: 900; letter-spacing: -0.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 8px 0; }
.error-404 .hero-actions { justify-content: center; }
.error-404 .section-lede { margin-inline: auto; }

.search-form { display: flex; gap: 10px; max-width: 460px; }
.search-again, .error-404 .search-form { margin: 24px auto 0; }
.search-field { flex: 1; min-height: 50px; border: 1.5px solid var(--line-2); border-radius: 11px; padding: 0 16px; background: #fff; outline: none; }
.search-field:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(111, 77, 246, 0.16); }

.comments-area { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments-title { font-size: 26px; letter-spacing: -0.01em; margin-bottom: 24px; }
.comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.comment-list ol { list-style: none; padding-left: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author { font-weight: 800; }
.comment-author img { border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.comment-form { display: grid; gap: 14px; max-width: 640px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1.5px solid var(--line-2); border-radius: 11px; padding: 12px 14px; background: #fff; outline: none; }
.comment-form textarea:focus, .comment-form input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(111, 77, 246, 0.16); }

.widget { margin-bottom: 32px; }
.widget-title { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--soft); margin-bottom: 14px; }

/* ============================================================
   Reveal + motion
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease) var(--reveal-delay, 0ms), transform 0.8s var(--ease) var(--reveal-delay, 0ms); will-change: opacity, transform; }
.js [data-reveal="product"] { transform: translateY(32px) scale(0.985); }
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.tilt { transition: transform 0.2s var(--ease); transform-style: preserve-3d; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1 !important; transform: none !important; }
	.kicker-dot { animation: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
	.primary-nav, .header-actions { display: none; }
	.nav-toggle { display: inline-flex; }
	.hero-grid { grid-template-columns: 1fr; gap: 50px; }
	.hero-title { max-width: 17ch; }
	.hero-chip { display: none; }
	.bento { grid-template-columns: repeat(2, 1fr); }
	.bento-tile.span-2 { grid-column: span 2; }
	.bento-tile.row-2 { grid-row: auto; }
	.feature-grid, .workflow-grid, .resource-grid, .post-grid, .principle-grid { grid-template-columns: repeat(2, 1fr); }
	.role-panel { grid-template-columns: 1fr; }
	.role-visual { justify-self: start; }
	.story-grid, .story-grid.flip, .cta-grid, .founder, .download-card { grid-template-columns: 1fr; }
	.story-grid.flip .story-media { order: 0; }
	.download-device { display: none; }
	.footer-brand { grid-template-columns: 1fr; }
	.footer-bigword { text-align: left; }
}

@media (max-width: 680px) {
	:root { --nav: 66px; }
	html { scroll-padding-top: 82px; }
	.hero { padding-top: calc(var(--nav) + env(safe-area-inset-top) + 38px); }
	.hero-product { min-height: 300px; }
	.product-phone { right: 8px; bottom: -22px; width: min(42vw, 158px); }
	.bento, .feature-grid, .workflow-grid, .resource-grid, .post-grid, .principle-grid, .footer-links { grid-template-columns: 1fr; }
	.bento-tile.span-2 { grid-column: span 1; }
	.role-tabs { grid-template-columns: repeat(2, 1fr); }
	.role-tab { min-height: 54px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
	.footer-bottom, .post-nav { flex-direction: column; }
	.post-nav-next { margin-left: 0; text-align: left; }
}

@media (max-width: 420px) {
	.hero-title { font-size: 42px; }
	.section-title { font-size: 31px; }
}

/* ============================================================
   Help Center
   ============================================================ */
.help-search-wrap { position: relative; max-width: 620px; margin: 0 auto 14px; }
.help-search-meta { text-align: center; margin: 0 auto 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
.help-search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 21px; height: 21px; color: var(--soft); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.help-search-input { width: 100%; min-height: 60px; padding: 0 20px 0 52px; border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff; font-size: 17px; outline: none; box-shadow: var(--shadow-sm); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.help-search-input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(111, 77, 246, 0.16); }

/* Search results */
.help-results { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.help-results-count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.help-results-empty { text-align: center; color: var(--muted); padding: 24px 0; }
.help-result { display: flex; flex-direction: column; gap: 3px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease; }
.help-result:hover { transform: translateY(-2px); border-color: rgba(111, 77, 246, 0.32); box-shadow: var(--shadow-sm); }
.help-result-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-deep); }
.help-result-title { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }

/* Category grid */
.help-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-cat-card { position: relative; display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); transition: transform 0.3s var(--ease), border-color 0.22s ease, box-shadow 0.3s ease; }
.help-cat-card:hover { transform: translateY(-5px); border-color: rgba(111, 77, 246, 0.26); box-shadow: var(--shadow-md); }
.help-cat-icon { font-size: 30px; line-height: 1; margin-bottom: 18px; }
.help-cat-title { font-size: 21px; line-height: 1.16; letter-spacing: -0.01em; margin-bottom: 7px; }
.help-cat-sub { color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.help-cat-count { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet-deep); font-weight: 700; }

/* Contact band on the index */
.help-contact-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.help-contact-band .section-title, .help-contact-band .section-lede { color: #fff; }
.help-contact-band .section-lede { color: rgba(255,255,255,0.66); margin-top: 10px; }

/* Doc layout (category + single) */
.help-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.help-sidebar { position: sticky; top: calc(var(--nav) + 24px); align-self: start; }
.help-sidebar-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-bottom: 12px; }
.help-sidebar-nav { display: grid; gap: 2px; }
.help-sidebar-link { display: block; padding: 9px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.4; transition: background 0.18s ease, color 0.18s ease; }
.help-sidebar-link:hover { background: var(--violet-soft); color: var(--violet-ink); }
.help-sidebar-link.active { background: var(--ink); color: #fff; }
.help-sidebar-back { display: inline-block; margin-top: 16px; padding: 0 14px; font-weight: 700; font-size: 14px; color: var(--violet-deep); }

.help-h1-icon { font-size: 0.8em; }
.help-breadcrumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); margin-bottom: 16px; }
.help-breadcrumb a { color: var(--violet-deep); font-weight: 700; }
.help-breadcrumb a:hover { color: var(--violet-ink); }
.help-single-title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 900; }

/* Article body (shared by accordion + single) */
.help-article-body { font-size: 17px; line-height: 1.72; color: var(--ink-2); }
.help-article-body > * + * { margin-top: 1.05em; }
.help-article-body a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.help-article-body ul, .help-article-body ol { padding-left: 1.35em; }
.help-article-body li + li { margin-top: 0.45em; }
.help-article-body strong { font-weight: 700; color: var(--ink); }
.help-steps { counter-reset: step; list-style: none; padding-left: 0; display: grid; gap: 12px; }
.help-steps li { position: relative; padding: 14px 16px 14px 56px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.help-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 9px; background: var(--violet); color: #fff; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(111, 77, 246, 0.22); background: var(--t-lilac); border-radius: var(--radius); }
.callout .callout-icon { flex: none; font-size: 20px; line-height: 1.4; }
.callout p { margin: 0; }
.help-article-permalink { font-size: 14px; font-weight: 700; }
.help-article-permalink a { color: var(--violet-deep); }
.help-single-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.help-accordion .faq-q { font-size: 17px; }

/* Printable PDF guides */
.help-pdf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.help-pdf-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform 0.22s var(--ease), border-color 0.2s ease, box-shadow 0.22s ease; }
.help-pdf-card:hover { transform: translateY(-3px); border-color: rgba(111, 77, 246, 0.32); box-shadow: var(--shadow-sm); }
.help-pdf-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--t-lilac); color: var(--violet-deep); display: inline-flex; align-items: center; justify-content: center; }
.help-pdf-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.help-pdf-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.help-pdf-title { font-weight: 800; font-size: 16.5px; letter-spacing: -0.01em; }
.help-pdf-desc { color: var(--muted); font-size: 14px; line-height: 1.45; }
.help-pdf-download { flex: none; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--violet-deep); }

@media (max-width: 900px) {
	.help-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.help-layout { grid-template-columns: 1fr; }
	.help-sidebar { position: static; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
	.help-sidebar-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 8px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
	.help-sidebar-link { white-space: nowrap; border: 1px solid var(--line); }
}

@media (max-width: 560px) {
	.help-cat-grid, .help-pdf-grid { grid-template-columns: 1fr; }
	.help-contact-band { flex-direction: column; align-items: flex-start; }
}
