:root {
	--accent: #8b6f47;
	--accent-dark: #6b5436;
	--bg: #fafaf7;
	--surface: #ffffff;
	--text: #1a1a1a;
	--muted: #6b6b6b;
	--border: #e7e5df;
	--ok: #047857;
	--warn: #b45309;
	--prem: #5b21b6;
	--prem-bg: #ddd6fe;
	--pro: #92400e;
	--pro-bg: #fef3c7;
	--free: #374151;
	--free-bg: #e5e7eb;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.55;
}

a { color: var(--accent-dark); }

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
.site-header {
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	padding: 16px 0;
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.brand {
	font-family: Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--text);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.brand span { color: var(--accent); }
.brand__mascot {
	width: 36px;
	height: 36px;
	display: block;
}

.hero__mascot {
	display: block;
	width: 140px;
	height: 140px;
	margin: 0 auto 20px;
}

/* Try-it-live section */
.try-live {
	padding: 80px 0;
	background: linear-gradient(135deg, #fef3c7 0%, #ede2cc 100%);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.try-live__inner {
	display: grid;
	grid-template-columns: 1fr 220px;
	gap: 48px;
	align-items: center;
	max-width: 980px;
	margin: 0 auto;
}
@media (max-width: 700px) {
	.try-live__inner { grid-template-columns: 1fr; text-align: center; }
	.try-live__mascot { margin: 0 auto; }
}
.try-live__kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: #92400e;
	background: rgba(255,255,255,0.6);
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 14px;
}
.try-live__title {
	font-family: Georgia, serif;
	font-size: 36px;
	margin: 0 0 14px;
	color: #3a2718;
	line-height: 1.15;
}
.try-live__copy {
	font-size: 16px;
	color: #5a3f1f;
	margin: 0 0 22px;
	max-width: 520px;
	line-height: 1.55;
}
.try-live__copy a { color: #92400e; }
.try-live__hint {
	font-size: 13px;
	color: #92400e;
	margin: 14px 0 0;
	opacity: 0.8;
}
.try-live__mascot { width: 200px; height: 200px; display: block; }
.try-live .btn { background: #92400e; }
.try-live .btn:hover { background: #78350f; }

.hero__video {
	max-width: 1100px;
	margin: 56px auto 0;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.hero__video iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.site-nav {
	display: flex;
	gap: 20px;
	align-items: center;
}
.site-nav a {
	color: var(--text);
	text-decoration: none;
	font-size: 14px;
}
.site-nav a:hover { color: var(--accent); }

.btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 8px;
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	background: var(--accent);
	color: #fff;
	transition: opacity 0.15s;
}
.btn:hover { opacity: 0.9; }
.btn--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--border);
}
.btn--ghost:hover { background: var(--surface); }
.btn--block { display: block; width: 100%; text-align: center; }
.btn--lg { padding: 14px 24px; font-size: 16px; }
.btn--danger { background: #dc2626; }

/* Hero */
.hero {
	padding: 80px 0 60px;
	text-align: center;
}
.hero h1 {
	font-family: Georgia, serif;
	font-size: 48px;
	margin: 0 0 16px;
	line-height: 1.1;
}
.hero p {
	font-size: 20px;
	color: var(--muted);
	max-width: 640px;
	margin: 0 auto 32px;
}
.hero .verse-card {
	max-width: 520px;
	margin: 48px auto 0;
	padding: 32px;
	background: var(--surface);
	border-radius: 12px;
	border: 1px solid var(--border);
	font-style: italic;
	font-family: Georgia, serif;
	font-size: 18px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.hero .verse-card cite {
	display: block;
	margin-top: 12px;
	font-style: normal;
	font-weight: 600;
	color: var(--accent);
	font-size: 14px;
}

/* Pricing */
.pricing { padding: 80px 0; }
.pricing h2 {
	text-align: center;
	font-family: Georgia, serif;
	font-size: 36px;
	margin: 0 0 12px;
}
.pricing .lead {
	text-align: center;
	color: var(--muted);
	margin: 0 0 48px;
}
.plans {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }

.plan {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
}
.plan--featured {
	border-color: var(--accent);
	box-shadow: 0 8px 30px rgba(139,111,71,0.15);
	transform: scale(1.03);
}
.plan__badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.plan--free    .plan__badge { background: var(--free-bg); color: var(--free); }
.plan--pro     .plan__badge { background: var(--pro-bg);  color: var(--pro); }
.plan--premium .plan__badge { background: var(--prem-bg); color: var(--prem); }

.plan__name { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.plan__price {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 4px;
}
.plan__price small {
	font-size: 14px;
	color: var(--muted);
	font-weight: 400;
}
.plan__tagline { color: var(--muted); margin: 0 0 24px; font-size: 14px; }

.plan ul {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	flex: 1;
}
.plan li {
	padding: 6px 0;
	font-size: 14px;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.plan li::before {
	content: "✓";
	color: var(--ok);
	font-weight: 700;
	flex-shrink: 0;
}
.plan li.muted::before { content: "—"; color: var(--muted); }
.plan li.muted { color: var(--muted); }

/* Forms */
.auth-card {
	max-width: 420px;
	margin: 80px auto;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 40px;
}
.auth-card h1 {
	font-family: Georgia, serif;
	font-size: 28px;
	margin: 0 0 8px;
}
.auth-card .sub {
	color: var(--muted);
	margin: 0 0 24px;
	font-size: 14px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}
.form-row input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 15px;
	background: var(--surface);
}
.form-row input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(139,111,71,0.15);
}
.form-msg {
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 16px;
}
.form-msg--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-msg--ok  { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.auth-card .alt {
	margin-top: 20px;
	text-align: center;
	font-size: 13px;
	color: var(--muted);
}

/* Checkout */
.checkout {
	max-width: 760px;
	margin: 60px auto;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 24px;
}
@media (max-width: 720px) { .checkout { grid-template-columns: 1fr; } }

.checkout__form, .checkout__summary {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 28px;
}
.checkout__summary { height: fit-content; }
.checkout__summary h3 { margin: 0 0 12px; font-size: 16px; }
.checkout__summary .line {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
}
.checkout__summary .total {
	display: flex;
	justify-content: space-between;
	padding-top: 16px;
	font-size: 18px;
	font-weight: 700;
}
.checkout .demo-notice {
	font-size: 12px;
	color: var(--muted);
	padding: 8px 12px;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 6px;
	margin-top: 12px;
}

/* Dashboard */
.dash {
	padding: 48px 0;
}
.dash h1 {
	font-family: Georgia, serif;
	font-size: 32px;
	margin: 0 0 8px;
}
.dash .sub { color: var(--muted); margin: 0 0 32px; }
.dash-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 24px;
}
@media (max-width: 800px) { .dash-grid { grid-template-columns: 1fr; } }

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 28px;
}
.card h2 {
	margin: 0 0 16px;
	font-size: 18px;
}

.tier-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 4px 12px;
	border-radius: 999px;
}
.tier-badge--free    { background: var(--free-bg); color: var(--free); }
.tier-badge--pro     { background: var(--pro-bg);  color: var(--pro); }
.tier-badge--premium { background: var(--prem-bg); color: var(--prem); }

.license-key {
	font-family: ui-monospace, Menlo, monospace;
	background: #f7f6f3;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 13px;
	word-break: break-all;
	border: 1px solid var(--border);
	margin-top: 8px;
}

.copy-btn {
	margin-top: 8px;
	font-size: 12px;
	background: transparent;
	border: 1px solid var(--border);
	padding: 6px 12px;
	border-radius: 6px;
	cursor: pointer;
}

/* Instruction manual */
.manual {
	margin-top: 24px;
	padding: 32px;
}
.manual__steps {
	list-style: none;
	counter-reset: step;
	padding: 0;
	margin: 24px 0 0;
}
.manual__steps > li {
	padding: 24px 0;
	border-top: 1px solid var(--border);
}
.manual__steps > li:first-child { border-top: none; padding-top: 12px; }
.manual__steps h3 {
	margin: 0 0 12px;
	font-size: 18px;
	font-family: Georgia, serif;
	color: var(--accent-dark);
}
.manual__steps h4 {
	margin: 18px 0 8px;
	font-size: 15px;
	font-weight: 600;
}
.manual__steps ul {
	margin: 8px 0 12px 0;
	padding-left: 20px;
}
.manual__steps li li { padding: 2px 0; border: none; }
.manual__steps p { margin: 8px 0; }
.manual__steps code {
	background: #f7f6f3;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.92em;
	border: 1px solid var(--border);
}
.manual__steps pre {
	background: #1f2937;
	color: #e5e7eb;
	padding: 12px 14px;
	border-radius: 6px;
	overflow-x: auto;
	font-size: 13px;
}
.manual__steps pre code {
	background: transparent;
	border: none;
	color: inherit;
	padding: 0;
}
.manual__steps .hint {
	font-size: 13px;
	color: var(--muted);
	background: #fffbeb;
	border-left: 3px solid #fcd34d;
	padding: 8px 12px;
	margin-top: 12px;
}

.shortcode-table, .tier-table {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0 12px;
}
.shortcode-table td, .tier-table td, .tier-table th {
	padding: 8px 10px;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
	text-align: left;
}
.tier-table th {
	background: #f7f6f3;
	font-weight: 600;
}
.shortcode-table td:first-child { width: 220px; }
.tier-table td:not(:first-child),
.tier-table th:not(:first-child) { text-align: center; width: 80px; }

.still-want-more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 32px;
	padding: 24px 28px;
	background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
	border: 1px solid #8b5cf6;
	border-radius: 12px;
	color: #4c1d95;
}
.still-want-more h3 {
	margin: 0 0 4px;
	font-family: Georgia, serif;
	font-size: 22px;
	color: #5b21b6;
}
.still-want-more p { margin: 0; font-size: 14px; }
.still-want-more .btn {
	background: #5b21b6;
	color: #fff;
	flex-shrink: 0;
	white-space: nowrap;
}
.still-want-more .btn:hover { background: #4c1d95; }
@media (max-width: 700px) {
	.still-want-more { flex-direction: column; align-items: stretch; text-align: center; }
}

.faq dt {
	font-weight: 600;
	margin-top: 14px;
}
.faq dd {
	margin: 4px 0 0 0;
	color: var(--muted);
	font-size: 14px;
}

/* Install walkthrough section */
.tutorial {
	padding: 80px 0;
	background: #fff;
	border-top: 1px solid var(--border);
}
.tutorial__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 40px;
}
.tutorial__kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--accent-dark);
	background: rgba(139, 111, 71, 0.10);
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 14px;
}
.tutorial__title {
	font-family: Georgia, serif;
	font-size: 36px;
	margin: 0 0 12px;
	color: var(--text);
	line-height: 1.15;
}
.tutorial__sub {
	font-size: 16px;
	color: var(--muted);
	margin: 0;
}
.tutorial__video {
	max-width: 1000px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.tutorial__video iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Comparison table */
.compare {
	padding: 80px 0;
	background: #fff;
}
.compare h2 {
	text-align: center;
	font-family: Georgia, serif;
	font-size: 36px;
	margin: 0 0 12px;
}
.compare .lead {
	text-align: center;
	color: var(--muted);
	margin: 0 0 40px;
}
.compare__scroll {
	overflow-x: auto;
	max-width: 100%;
	border: 1px solid var(--border);
	border-radius: 12px;
}
.compare__table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 14px;
}
.compare__table th,
.compare__table td {
	padding: 12px 16px;
	text-align: center;
	border-bottom: 1px solid var(--border);
}
.compare__table th { background: #f7f6f3; font-weight: 600; font-size: 13px; }
.compare__table .compare__feature,
.compare__table tbody td:first-child {
	text-align: left;
	min-width: 220px;
	font-weight: 500;
	color: var(--text);
}
.compare__table .compare__us {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	color: #78350f;
}
.compare__table tbody td:nth-child(2) {
	background: rgba(254, 243, 199, 0.45);
	font-weight: 600;
	color: #78350f;
}
.compare__table tbody tr:last-child td { border-bottom: none; }
.compare__note {
	text-align: center;
	color: var(--muted);
	font-size: 13px;
	margin: 24px auto 0;
	max-width: 720px;
	line-height: 1.55;
}

.footer {
	border-top: 1px solid var(--border);
	padding: 24px 0;
	text-align: center;
	color: var(--muted);
	font-size: 13px;
	margin-top: 80px;
}
