:root {
  --bg: #faf7f2;
  --bg-alt: #f1ece3;
  --surface: #ffffff;
  --ink: #1b2420;
  --ink-soft: #4c5852;
  --line: #e2dbcf;
  --brand: #1f4d3a;
  --brand-ink: #f4efe6;
  --accent: #d9813b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 36, 32, .04), 0 8px 24px rgba(27, 36, 32, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8em 1.3em; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: #173c2d; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { padding: .55em 1em; font-size: .9rem; white-space: nowrap; }
.btn-block { width: 100%; margin-top: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 247, 242, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand-logo { display: block; height: 34px; width: auto; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-tag { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.brand-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: var(--brand); color: var(--brand-ink); font-family: Fraunces, serif;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.currency-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.currency-toggle button {
  border: 0; background: transparent; font: inherit; font-size: .8rem; font-weight: 600;
  padding: .35em .8em; border-radius: 999px; color: var(--ink-soft); cursor: pointer;
}
.currency-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 600; color: var(--accent); margin: 0 0 12px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); font-size: .92rem; }
.hero-points li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 6px; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.flow { display: grid; gap: 0; }
.flow-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg); font-weight: 500; }
.flow-row.accent { background: var(--brand); color: var(--brand-ink); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.flow-arrow { width: 2px; height: 18px; background: var(--line); margin-left: 20px; }
.hero-card-note { margin: 18px 0 0; font-size: .88rem; color: var(--ink-soft); }

/* Band */
.band { border-block: 1px solid var(--line); background: var(--surface); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-grid div { padding: 22px 20px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.band-grid div:first-child { border-left: 0; }
.band-grid span { color: var(--ink-soft); font-size: .9rem; }

.band-more { padding: 14px 0; text-align: center; border-top: 1px solid var(--line); }
.band-more a { font-weight: 600; text-decoration: none; }

/* Use cases page */
.breadcrumb { font-size: .88rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); }
.usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.usecase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.usecase h2 { font-family: Inter, system-ui, sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
.usecase p { margin: 0 0 12px; color: var(--ink-soft); }
.usecase-for { font-size: .92rem; }
.usecase-meta { font-size: .88rem; background: var(--bg); border-radius: 10px; padding: 10px 12px; margin: 0 !important; }
.usecase strong { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-lede { color: var(--ink-soft); font-size: 1.05rem; max-width: 40em; margin: 0 0 40px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { margin: 0; color: var(--ink-soft); }
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-alt); color: var(--brand); font-weight: 700; margin-bottom: 14px;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
}
.card-featured { border: 2px solid var(--brand); }
.badge {
  position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.price { font-size: 2rem; font-weight: 700; margin: 4px 0 0; letter-spacing: -.02em; }
.price small { font-size: .9rem; font-weight: 500; color: var(--ink-soft); margin-left: 2px; }
.meta { color: var(--ink-soft); font-size: .9rem; margin: 2px 0 16px; }
.card ul { padding: 0; margin: 0 0 20px; list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.card li { padding-left: 22px; position: relative; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.card-note { font-size: .85rem; background: var(--bg); border-radius: 10px; padding: 10px 12px; margin: 0 0 20px; color: var(--ink-soft); }
.guarantee {
  margin-top: 28px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px dashed var(--brand); color: var(--ink-soft);
}
.guarantee strong { color: var(--ink); }

.addons-title { margin-top: 56px; }
.table-wrap { overflow-x: auto; }
.addons { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.addons td { padding: 16px 20px; border-top: 1px solid var(--line); }
.addons tr:first-child td { border-top: 0; }
.addons td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.principles p { color: var(--ink-soft); margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.founder-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow); text-align: center; position: sticky; top: 96px; }
.founder-avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font-family: Fraunces, Georgia, serif; font-size: 3rem; }
.founder-avatar-img { display: block; width: 180px; height: 180px; margin: 0 auto 18px; border-radius: 50%; box-shadow: var(--shadow); }
.founder-photos { position: relative; width: 180px; margin: 0 auto 18px; }
.founder-photo { display: block; width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); box-shadow: var(--shadow); }
.founder-ai { position: absolute; right: -26px; bottom: -6px; margin: 0; width: 88px; height: 88px; }
.founder-ai img { width: 88px; height: 88px; border-radius: 50%; display: block; background: var(--surface); box-shadow: var(--shadow); transition: transform .2s ease; }
.founder-ai:hover img { transform: scale(1.6) translate(-12px, -12px); }
.founder-ai figcaption { position: absolute; top: -4px; left: -4px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.founder-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.founder-name { font-weight: 800; font-size: 1.3rem; margin: 0; }
.founder-role { color: var(--ink-soft); margin: 2px 0 20px; font-size: .95rem; }
.founder-facts { list-style: none; padding: 0; margin: 0; text-align: left; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; font-size: .93rem; color: var(--ink-soft); }
.founder-facts strong { color: var(--brand); }
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 16px; max-width: 42em; }
.about-copy .about-lead { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; color: var(--ink); border-left: 4px solid var(--accent); padding-left: 16px; margin: 8px 0 24px; }
.about-copy .about-sign { color: var(--ink); font-weight: 600; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); margin: 12px 0 0; }

/* CTA */
.section-cta { background: var(--brand); color: var(--brand-ink); }
.section-cta p { color: rgba(244, 239, 230, .85); font-size: 1.05rem; }
.section-cta a { color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  background: var(--surface); color: var(--ink); padding: 28px; border-radius: 20px;
}
.contact-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; padding: .7em .8em; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status.error { color: #b3261e !important; }
.form-status { margin: 0; font-size: .9rem; color: var(--brand) !important; min-height: 1.2em; }

/* Footer */
.site-footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-grid p { color: var(--ink-soft); margin: 10px 0 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-legal { grid-column: 1 / -1; font-size: .85rem; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-grid, .cta-grid, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .founder-card { position: static; max-width: 420px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cards-3 .card { padding: 24px 18px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .band-grid div:nth-child(3) { border-left: 0; }
  .band-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .cards-3 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .nav { gap: 12px; }
  .brand-tag { display: none; }
}
@media (max-width: 420px) {
  .site-header .brand-text { display: none; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 64px 0; }
  .cards, .cards-3, .steps, .principles, .band-grid, .usecases { grid-template-columns: 1fr; }
  .band-grid div { border-left: 0; border-top: 1px solid var(--line); }
  .band-grid div:first-child { border-top: 0; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
