:root {
	color-scheme: light;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #f4f1ea;
	color: #17211f;
	font-synthesis: none;
	--ink: #17211f;
	--muted: #66706c;
	--paper: #fffdf8;
	--line: #d8d7cf;
	--green: #0d614c;
	--green-dark: #083f34;
	--mint: #d9eee6;
	--gold: #c88c31;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f4f1ea; }
button, a { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 10; top: -60px; left: 18px; padding: 12px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 5;
	display: grid;
	grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
	align-items: center;
	gap: 24px;
	padding: 18px clamp(22px, 5vw, 76px);
	border-bottom: 1px solid rgba(23, 33, 31, .12);
	background: rgba(255, 253, 248, .92);
	backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: white; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; }
nav { display: flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #f0eee7; }
nav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; }
nav a.active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 8px rgba(23, 33, 31, .08); }
.runtime-chip { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #35a879; box-shadow: 0 0 0 4px rgba(53, 168, 121, .13); }

main { min-height: calc(100vh - 150px); }
.view { min-height: 680px; }
.hero { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(34px, 7vw, 110px); align-items: center; max-width: 1360px; margin: 0 auto; padding: clamp(78px, 11vw, 155px) clamp(24px, 6vw, 90px) 100px; }
.hero h1, .page-heading h1 { max-width: 900px; margin: 16px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 94px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.hero-lede, .page-heading > p:last-child, .section-copy { max-width: 680px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.eyebrow, .card-label { margin: 0; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 800; cursor: pointer; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover:not(:disabled) { background: var(--green-dark); }
.button-secondary { border-color: var(--line); background: var(--paper); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button-full { width: 100%; margin-top: 18px; }

.architecture-card { padding: 30px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 22px; background: var(--ink); color: white; box-shadow: 0 28px 80px rgba(23, 33, 31, .18); transform: rotate(1deg); }
.architecture-card .card-label { color: #93cdb9; }
.flow-list { margin: 22px 0 0; padding: 0; list-style: none; }
.flow-list li { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .11); font-weight: 700; }
.flow-list li:last-child { border-bottom: 0; }
.flow-list span { color: #93cdb9; font-family: ui-monospace, monospace; font-size: 11px; }

.product-section { display: grid; grid-template-columns: 1fr minmax(330px, 480px); gap: clamp(40px, 8vw, 130px); padding: clamp(70px, 9vw, 125px) clamp(24px, 8vw, 120px); background: var(--paper); border-block: 1px solid var(--line); }
.product-section h2 { margin: 10px 0 16px; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 62px); font-weight: 500; letter-spacing: -.035em; }
.variation-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.variation { padding: 12px 17px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.variation.selected { border-color: var(--green); background: var(--mint); color: var(--green-dark); font-weight: 800; }
.price-card { align-self: start; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #f7f5ef; box-shadow: 0 20px 50px rgba(23, 33, 31, .07); }
.price-row { display: flex; justify-content: space-between; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.price-row strong { color: var(--ink); }
.price-row.highlight { color: var(--green); }
.price-row.highlight strong { color: var(--green); font-size: 24px; }
.price-note, .honesty-note { color: var(--muted); font-size: 12px; line-height: 1.55; }
.honesty-note { text-align: center; }

.page-heading { padding: clamp(78px, 10vw, 130px) clamp(24px, 8vw, 120px) 58px; }
.page-heading h1 { max-width: 980px; font-size: clamp(46px, 7vw, 82px); }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 clamp(24px, 8vw, 120px) 110px; }
.module-grid article, .panel { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.module-grid article > span { color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.module-grid h2, .panel h2 { margin: 14px 0 10px; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.module-grid p { min-height: 72px; color: var(--muted); line-height: 1.6; }
.module-grid strong { color: var(--green); font-size: 13px; }
.operations-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; padding: 0 clamp(24px, 8vw, 120px) 110px; }
.panel-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 16px; }
.panel-heading h2 { margin-top: 8px; }
.tag { padding: 7px 10px; border-radius: 999px; background: var(--mint); color: var(--green); font-size: 11px; font-weight: 800; }
.feature-row, .integration-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 51px; border-top: 1px solid var(--line); }
.feature-row strong { color: var(--green); font-size: 12px; }
.integration-status { padding: 6px 9px; border-radius: 999px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.integration-status.configured { background: var(--mint); color: var(--green); }
.integration-status.unconfigured { background: #efe6d4; color: #875b19; }

footer { display: flex; justify-content: space-between; gap: 22px; padding: 24px clamp(24px, 6vw, 90px); border-top: 1px solid var(--line); background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 12px; }
footer p { margin: 0; }
footer strong { color: white; }

@media (max-width: 900px) {
	.site-header { grid-template-columns: 1fr auto; }
	nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; overflow-x: auto; }
	.runtime-chip { display: none; }
	.hero, .product-section, .operations-layout { grid-template-columns: 1fr; }
	.hero { padding-top: 72px; }
	.architecture-card { transform: none; }
	.module-grid { grid-template-columns: 1fr; }
	.module-grid p { min-height: auto; }
}

@media (max-width: 560px) {
	.site-header { padding: 14px 18px; }
	.brand small { display: none; }
	nav { justify-content: start; }
	nav a { white-space: nowrap; }
	.hero h1, .page-heading h1 { font-size: 46px; }
	.hero, .product-section, .page-heading, .module-grid, .operations-layout { padding-left: 20px; padding-right: 20px; }
	.product-section { grid-template-columns: minmax(0, 1fr); }
	.price-row { font-size: 13px; }
	footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
