/* Layout: one long page, alternating paper and deep-green bands. */
:root {
  --paper: #F7F5EF;
  --paper-2: #EFEBE0;
  --ink: #17201C;
  --muted: #56615B;
  --green: #0E4D3A;
  --green-2: #0A3A2C;
  --green-soft: #DCE8E2;
  --marigold: #F2B632;
  --marigold-dark: #C98E0F;
  --line: #DED9CB;
  --white: #FFFFFF;
  --radius: 16px;
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 0.5em; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 600; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--green); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark a:not(.btn) { color: var(--marigold); }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--marigold-dark); margin: 0 0 0.6rem; }
.eyebrow-light { color: var(--marigold); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.small { font-size: 0.92rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--green); color: var(--paper); border: 2px solid var(--green); border-radius: 10px; padding: 0.8em 1.4em; transition: transform .15s, background .15s; }
.btn:hover { background: var(--green-2); border-color: var(--green-2); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--paper); }
.btn-light { background: var(--marigold); border-color: var(--marigold); color: var(--green-2); }
.btn-light:hover { background: #FFC94F; border-color: #FFC94F; }
.btn-small { padding: 0.5em 1em; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247, 245, 239, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand b { color: var(--green); font-weight: 800; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--green); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-text { min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1rem; }
.hero-note { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); margin: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 4px rgba(242, 182, 50, 0.25); flex-shrink: 0; }
.hero-shot { margin: 0; }
.hero-shot img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(14, 77, 58, 0.45); transform: rotate(1.2deg); }
.hero-shot figcaption { margin-top: 14px; font-size: 0.92rem; color: var(--muted); text-align: right; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 1.5rem; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.price-card p { margin: 0 0 12px; color: var(--muted); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card-intro { background: var(--green); border-color: var(--green); color: var(--paper); }
.price-card-intro h3 { color: var(--white); }
.price-card-intro p { color: #CFE0D8; }
.tag { display: inline-block; align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3em 0.75em; border-radius: 999px; background: var(--marigold); color: var(--green-2) !important; }
.tag-plain { background: var(--green-soft); color: var(--green) !important; }
.price { margin: 6px 0 10px !important; }
.amount { font-family: var(--display); font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.price-card-intro .amount { color: var(--marigold); }
.unit { font-weight: 600; color: var(--muted); }
.price-card-intro .unit { color: #CFE0D8; }
.sub { margin-top: 3rem; }
.feature-grid { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
.feature-grid li { padding-left: 30px; position: relative; color: var(--muted); }
.feature-grid li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 4px; background: var(--marigold); }
.feature-grid strong { color: var(--ink); }

/* Work */
.work { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.work-text { min-width: 0; }
.work-text p { color: #CFE0D8; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--marigold); font-weight: 800; }
.work-shot img { border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 1.5rem; }
.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.product p { color: var(--muted); margin: 0 0 12px; }
.product-soon { background: transparent; border-style: dashed; }
.status { align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3em 0.75em; border-radius: 999px; background: var(--paper-2); color: var(--muted) !important; }
.status-live { background: var(--green-soft); color: var(--green) !important; }
.text-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* About */
#about p { font-size: 1.1rem; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 1.5rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact > div { min-width: 0; }
.contact p { color: #CFE0D8; }
.email-line { font-weight: 700; font-size: 1.1rem; word-break: break-word; }
.contact-form { background: var(--green-2); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--white); }
.optional { font-weight: 400; color: #A9C2B7; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid transparent; border-radius: 10px; padding: 0.7em 0.9em; }
input:focus, select:focus, textarea:focus { border-color: var(--marigold); outline: none; }
.field.invalid input { border-color: #F28B6B; }
.form-note { margin: 12px 0 0; font-size: 0.9rem; color: #A9C2B7 !important; }

/* Footer */
.site-footer { background: var(--green-2); color: #CFE0D8; padding-block: 40px; }
.footer-inner { display: grid; gap: 6px; justify-items: center; text-align: center; }
.site-footer .brand { color: var(--white); }
.site-footer .brand b { color: var(--marigold); }
.site-footer p { margin: 0; }
.site-footer a:not(.brand) { color: var(--marigold); }
.site-footer .small { color: #A9C2B7; }

@media (max-width: 960px) {
  .hero-inner, .work, .contact { grid-template-columns: 1fr; gap: 36px; }
  .price-grid, .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .hero-shot img { transform: none; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
.then { margin: -6px 0 12px !important; font-weight: 600; font-size: 0.95rem; }
.price-card-intro .then { color: var(--marigold) !important; }
.product-price { margin: 0 0 10px !important; color: var(--ink) !important; font-weight: 600; }
.product-price span { font-family: var(--display); font-size: 1.8rem; font-weight: 800; color: var(--green); margin-right: 4px; }
.qct-features { grid-template-columns: 1fr 1fr; margin-top: 1.6rem; }
.product .btn { margin-top: auto; align-self: flex-start; }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 640px) { .qct-features { grid-template-columns: 1fr; } }

/* Full package */
.pkg-note { margin-top: 1.4rem; }
.pkg-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 1.8rem; }
.pkg-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.pkg-step { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--green); margin: 0 0 12px; }
.pkg-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pkg-list li { padding-left: 26px; position: relative; color: var(--muted); }
.pkg-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--marigold-dark); font-weight: 800; }
.pkg-list strong { color: var(--ink); }
.showcase { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; margin-top: 28px; align-items: start; }
.show { margin: 0; min-width: 0; }
.show img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(14, 77, 58, 0.45); width: 100%; height: auto; }
.show-chat img { max-height: 520px; object-fit: cover; object-position: top; }
.show figcaption { margin-top: 10px; font-size: 0.95rem; color: var(--muted); }
.show figcaption strong { color: var(--ink); }
@media (max-width: 960px) { .pkg-groups { grid-template-columns: 1fr; } .showcase { grid-template-columns: 1fr; } .show-chat { max-width: 360px; } }

/* Payment links */
.card-actions { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.price-card .card-actions .btn { margin-top: 0; }
.pay-link { font-weight: 700; font-size: 0.92rem; text-decoration: none; color: var(--green); }
.price-card-intro .pay-link { color: var(--marigold); }
.pay-link:hover { text-decoration: underline; }
.product .btn { align-self: flex-start; margin-top: auto; }
.product .chat-try { margin-top: 12px; }

/* Chat assistant */
.ms-chat { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 50; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 12px; font-family: var(--body); }
.ms-chat-toggle { display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--green); color: var(--paper); font: inherit; font-weight: 700; font-size: 0.95rem; padding: 0.8em 1.2em; border-radius: 999px; box-shadow: 0 10px 30px rgba(14, 77, 58, 0.35); }
.ms-chat-toggle svg { width: 22px; height: 22px; color: var(--marigold); }
.ms-chat-toggle:focus-visible, .ms-chat button:focus-visible, .ms-chat input:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }
.ms-chat.is-open .ms-chat-toggle span { display: none; }
.ms-chat-panel { width: min(370px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(10, 58, 44, 0.3); display: flex; flex-direction: column; overflow: hidden; }
.ms-chat-panel[hidden] { display: none; }
.ms-chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--green); color: var(--paper); padding: 14px 16px; }
.ms-chat-head strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--white); }
.ms-chat-head span { font-size: 0.8rem; color: #CFE0D8; }
.ms-chat-close { background: none; border: 0; color: var(--paper); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.ms-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ms-msg { margin: 0; max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 0.93rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ms-msg-assistant { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.ms-msg-user { align-self: flex-end; background: var(--green); color: var(--paper); border-bottom-right-radius: 4px; }
.ms-typing { color: var(--muted); font-style: italic; }
.ms-chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.ms-chat-chips[hidden] { display: none; }
.ms-chat-chips button { border: 1.5px solid var(--green); background: transparent; color: var(--green); border-radius: 999px; padding: 0.35em 0.8em; font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.ms-chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--white); }
.ms-chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 0.95rem; padding: 0.6em 0.8em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.ms-chat-form button { border: 0; background: var(--marigold); color: var(--green-2); font: inherit; font-weight: 700; border-radius: 10px; padding: 0 1em; cursor: pointer; }
.ms-chat-form button:disabled { opacity: 0.5; cursor: wait; }
.ms-chat-note { margin: 0; padding: 6px 14px 10px; font-size: 0.72rem; color: var(--muted); background: var(--white); }
.ms-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .ms-chat.is-open .ms-chat-toggle { display: none; } .ms-chat-panel { height: min(600px, calc(100vh - 32px)); } }
