/* bread public site */
:root {
	--brand: #9999e6;
	--brand-dark: #7373d1;
	--ink: #1c1b2a;
	--muted: #555;
	--bg: #ffffff;
	--tint: #f1f1fc;
	--line: #e2e2f5;
	--ok: #1c9d62;
	--info: #2f6fed;
	--radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
img, video, svg { max-width: 100%; height: auto; }
body {
	margin: 0;
	font-family: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	font-weight: 400;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
}
h1, h2, h3 {
	font-family: "Fredoka", "Manrope", "Segoe UI", system-ui, sans-serif;
	font-weight: 500;
	line-height: 1.2;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; margin: 18px 0 14px; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); margin: 0 0 10px; }
h3 { font-size: 1.12rem; margin: 0 0 8px; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }
.micro { color: var(--muted); font-size: .9rem; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.94);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.brand img { height: 34px; width: auto; display: block; }
.site-nav { display: flex; gap: 20px; margin-left: 8px; flex: 1; }
.site-nav a { color: var(--ink); text-decoration: none; font-family: "Manrope", sans-serif; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--brand-dark); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; }
.nav-toggle summary {
	list-style: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 8px; cursor: pointer; font-size: 1.5rem; color: var(--ink);
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle[open] summary { background: var(--tint); color: var(--brand-dark); }
.nav-panel {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
	background: #fff; border-bottom: 1px solid var(--line);
	display: grid; gap: 4px; padding: 12px 20px 18px; box-shadow: 0 12px 24px rgba(28,27,42,.08);
}
.nav-panel a {
	display: block; padding: 10px 8px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px;
}
.nav-panel a:hover { background: var(--tint); color: var(--brand-dark); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border-radius: 999px;
	font-family: "Manrope", sans-serif; font-weight: 600;
	text-decoration: none; border: 1px solid transparent;
	transition: transform .08s ease, background .15s ease, color .15s ease;
	cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-lg { font-size: 1.05rem; padding: 13px 28px; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

.hero { padding: 72px 0 28px; background: linear-gradient(180deg, var(--tint), #fff 82%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.pill {
	display: inline-block; background: #fff; border: 1px solid var(--line);
	color: var(--brand-dark); font-weight: 700; font-size: .82rem;
	padding: 6px 14px; border-radius: 999px;
}
.hl { background: var(--brand); color: #fff; padding: 0 12px; border-radius: 8px; white-space: nowrap; }
.hero-visual {
	transform-origin: 70% 60%;
	transition: transform .4s ease;
	will-change: transform;
}
.hero-visual:hover { transform: rotate(-3.5deg) translateY(-8px); }
.hero-shot {
	width: 100%; display: block; border-radius: 18px;
	box-shadow: 0 18px 44px rgba(153,153,230,.28); border: 1px solid var(--line);
}
.hero-card {
	background: #fff; border: 1px solid #e5e7eb; border-radius: 18px;
	padding: 22px 22px 20px; box-shadow: 0 18px 44px rgba(153,153,230,.28);
	font-family: "Manrope", sans-serif;
}
.hero-card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero-av {
	width: 44px; height: 44px; border-radius: 50%; background: #eeeefb; color: #7373d1;
	display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0;
}
.hero-card-h strong { display: block; font-size: 1.05rem; color: #1f2937; }
.hero-card-h span { color: #6b7280; font-size: .88rem; }
.hero-status { border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; font-size: .9rem; }
.hero-status strong { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.hero-status span { display: block; margin-top: 4px; color: #4b5563; }
.hero-status.ok { background: #ecfdf5; }
.hero-status.ok strong { color: #15803d; }
.hero-status.msg { background: #eff6ff; }
.hero-status.msg strong { color: #2563eb; }
.hero-pay { margin-top: 8px; padding-top: 14px; border-top: 1px solid #eef0f4; font-size: .88rem; }
.hero-pay-row { display: flex; justify-content: space-between; color: #374151; margin-bottom: 10px; }
.hero-pay-row strong { font-weight: 700; }
.bar { height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: #9999e6; border-radius: 999px; }

.proof { padding: 8px 0 40px; }
.proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.proof-row > div {
	background: #fff; border: 1px solid var(--line); border-radius: 12px;
	padding: 18px 16px; text-align: center; box-shadow: 0 6px 18px rgba(28,27,42,.05);
}
.proof-row strong { display: block; font: 700 1.5rem/1.2 "Manrope", sans-serif; color: var(--brand-dark); }
.proof-row span { color: var(--muted); font-size: .88rem; }

.section { padding: 80px 0; }
.section .center { margin-bottom: 8px; }
.tint { background: var(--tint); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; align-items: stretch; }
.card {
	display: flex; flex-direction: column; min-width: 0;
	border: 1px solid var(--line); border-radius: 16px;
	padding: 32px; background: #fff; box-shadow: 0 1px 2px rgba(28,27,42,.06);
}
.card p { color: var(--muted); margin: 0 0 4px; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-ico {
	width: 44px; height: 44px; border-radius: 12px; display: inline-flex;
	align-items: center; justify-content: center; background: var(--tint);
	color: var(--brand-dark); font-size: 1.25rem; margin-bottom: 14px;
}
.ticks { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.step {
	display: flex; gap: 18px; align-items: flex-start; min-width: 0;
	background: #fff; border: 1px solid var(--line); border-radius: 16px;
	padding: 28px; box-shadow: 0 1px 2px rgba(28,27,42,.06);
}
.step-n {
	display: inline-flex; width: 48px; height: 48px; border-radius: 50%;
	background: var(--brand); color: #fff; font-weight: 700; font-size: 1.1rem;
	align-items: center; justify-content: center; flex-shrink: 0; margin: 0;
}
.step h3 { margin: 4px 0 8px; font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; line-height: 1.55; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.feature { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; box-shadow: 0 1px 2px rgba(28,27,42,.06); min-height: 180px; }
.feature p { color: var(--muted); margin: 0; line-height: 1.55; }
.feat-ico {
	width: 40px; height: 40px; border-radius: 10px; display: inline-flex;
	align-items: center; justify-content: center; background: var(--tint);
	color: var(--brand-dark); font-size: 1.15rem; margin-bottom: 10px;
}

.scale-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.scale-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.scale-list li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.scale-list .bi { color: var(--ok); font-size: 1.25rem; margin-top: 2px; flex-shrink: 0; }
.scale-list span { color: var(--muted); }
.scale-list strong { color: var(--ink); }

.cta { background: var(--brand-dark); color: #fff; padding: 72px 0; }
.cta .lede { color: rgba(255,255,255,.85); }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

.site-footer { background: #14131f; color: #c9c7de; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 30px; padding-top: 44px; padding-bottom: 30px; }
.footer-brand img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { max-width: 360px; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links strong { color: #fff; }
.footer-links a { color: #c9c7de; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; padding-bottom: 22px; font-size: .9rem; }
.edit-link { text-align: center; padding: 10px; }

.err404 { padding: 80px 0 96px; }
.err404-box { max-width: 520px; margin: 0 auto; text-align: center; }
.err404-code {
	margin: 0 0 8px; font: 700 4.5rem/1 "Fredoka", "Manrope", sans-serif;
	color: var(--brand); letter-spacing: .04em;
}
.err404-box h1 { margin: 0 0 12px; }
.err404-box .lede { margin: 0 auto 28px; }
.err404-box .btn { display: inline-flex; }
.form-wrap { max-width: 560px; margin: 0 auto; }
.form-err { color: #b91c1c; font-weight: 600; }
.site-form { display: grid; gap: 16px; margin-top: 20px; }
.site-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: #374151; }
.site-form input, .site-form select, .site-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
	font: 400 15px "Manrope", sans-serif; background: #fff;
}
.site-form textarea { min-height: 120px; resize: vertical; }
.site-form .btn { justify-self: start; }
.card, .post-body { max-width: 100%; }
.post-body img { max-width: 100%; height: auto; }

@media (max-width: 960px) {
	.hero-grid, .demo-grid, .scale-grid, .footer-grid { grid-template-columns: 1fr; }
	.feature-grid, .proof-row { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.site-header .wrap { position: relative; }
	.site-nav, .header-cta { display: none; }
	.nav-toggle { display: block; }
	.hero { padding: 36px 0 8px; }
	.section { padding: 48px 0; }
	.feature-grid, .proof-row { grid-template-columns: 1fr; }
	.step { padding: 22px; }
	.hero-ctas .btn { width: 100%; }
	.cta-btns .btn { width: 100%; max-width: 320px; }
}
