/* ============ CINNOVATORY ============ */
:root {
  --bg: #030d08;
  --bg-2: #061a10;
  --surface: #0a2418;
  --surface-2: #0e2f20;
  --line: rgba(160, 255, 200, 0.12);
  --text: #eef7f1;
  --muted: #9bb5a6;
  --accent: #22c97a;
  --accent-2: #0f8a50;
  --accent-ink: #02160c;
  --radius: 18px;
  --max: 1200px;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; position: relative; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 620px; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.text-accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .96rem;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(34,201,122,.6); }
.btn-primary:hover { background: #3ee08f; }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn svg { width: 16px; height: 16px; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(3,13,8,.82); backdrop-filter: blur(14px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; font-size: 1.1rem; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: .95rem; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
/* account links (hosting dashboard) */
.btn-outline { border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.nav-account { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Currency picker */
.currency-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 8px 30px 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239bb5a6' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center / 9px;
  color: var(--text); font: 600 .82rem/1 var(--font-body); letter-spacing: .04em;
}
.currency-select:hover, .currency-select:focus { border-color: var(--accent); outline: 0; }
.currency-select option { background: #061a10; color: var(--text); }
.price-note { font-size: .75rem; color: var(--muted); }
.price-note b { color: var(--text); font-weight: 600; }

/* Hero */
.hero { padding: 180px 0 120px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 85% 10%, rgba(34,201,122,.22), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(15,138,80,.18), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; position: relative; }
.hero h1 { margin: 22px 0 24px; }
.hero h1 .scribble { position: relative; display: inline-block; }
.hero h1 .scribble svg { position: absolute; left: -4%; bottom: -10px; width: 108%; height: 18px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 2rem; }
.hero-stats span { color: var(--muted); font-size: .9rem; }
.hero-visual { position: relative; aspect-ratio: 1; }
.hero-visual .ring {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #0f3f28, #04140c 70%);
  border: 1px solid var(--line);
  box-shadow: 0 0 120px -20px rgba(34,201,122,.45) inset, 0 40px 120px -40px rgba(34,201,122,.5);
}
.hero-visual img.mark { position: absolute; inset: 16%; width: 68%; border-radius: 50%; mix-blend-mode: screen; animation: float 7s ease-in-out infinite; }
.float-card {
  position: absolute; background: rgba(10,36,24,.85); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: .85rem;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.float-card.one { top: 8%; left: -4%; animation: float 6s ease-in-out infinite; }
.float-card.two { bottom: 12%; right: -2%; animation: float 8s ease-in-out infinite reverse; }
.float-card.three { bottom: 2%; left: 10%; animation: float 7s ease-in-out infinite .5s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-size: 1.4rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: 1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.services-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(34,201,122,.4); }
.icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(34,201,122,.12); color: var(--accent); margin-bottom: 26px;
}
.icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 12px 0 20px; }
.card ul { list-style: none; display: grid; gap: 9px; }
.card li { display: flex; gap: 10px; font-size: .93rem; color: #cfe2d7; }
.card li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--accent); }

/* Process */
.process { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 30px; border-top: 2px solid var(--line); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: .9rem; color: var(--accent); font-weight: 600; }
.step h3 { margin: 14px 0 10px; }
.step p { color: var(--muted); font-size: .95rem; }
.step:hover { border-color: var(--accent); }

/* Themes */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .88rem; color: var(--muted); transition: .2s;
}
.chip:hover { color: var(--text); border-color: rgba(34,201,122,.5); }
.chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.search {
  display: flex; align-items: center; gap: 10px; padding: 11px 18px; min-width: 260px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.search input { background: none; border: 0; outline: 0; color: var(--text); font: inherit; width: 100%; }
.search svg { width: 18px; height: 18px; color: var(--muted); }

.themes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.theme-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.theme-card:hover { transform: translateY(-6px); border-color: rgba(34,201,122,.45); box-shadow: 0 30px 60px -30px rgba(34,201,122,.35); }
.theme-thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; cursor: pointer; }
.theme-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.theme-card:hover .theme-thumb img, .theme-card:hover .mock { transform: scale(1.04); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.platform-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px); font-size: .75rem; font-weight: 600; color: #fff;
}
/* CSS-drawn website mockup used when no screenshot exists */
.mock { position: absolute; inset: 0; padding: 18px; background: var(--c1); transition: transform .5s; display: flex; flex-direction: column; gap: 10px; }
.mock-bar { display: flex; align-items: center; gap: 6px; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--c2); opacity: .5; }
.mock-bar b { margin-left: auto; width: 34%; height: 7px; border-radius: 4px; background: var(--c2); opacity: .35; }
.mock-hero { flex: 1; border-radius: 10px; background: linear-gradient(135deg, var(--c2), transparent 160%); opacity: .9; display: flex; flex-direction: column; justify-content: center; padding: 16px; gap: 8px; }
.mock-hero span { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--c1); letter-spacing: -.02em; }
.mock-hero em { width: 40%; height: 7px; border-radius: 4px; background: var(--c1); opacity: .45; }
.mock-hero em + em { width: 26%; height: 16px; border-radius: 99px; opacity: .85; margin-top: 4px; }
.mock-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; height: 26%; }
.mock-row i { border-radius: 8px; background: var(--c2); opacity: .22; }
.theme-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.theme-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .82rem; }
.theme-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--accent); }
.theme-body p { color: var(--muted); font-size: .93rem; }
.theme-stores { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.theme-stores span { font-size: .72rem; padding: 3px 9px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--muted); }
.theme-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; }
.theme-actions .btn { flex: 1; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; grid-column: 1 / -1; }

/* Single theme: wide feature card */
.themes-grid.single { grid-template-columns: 1fr; }
.themes-grid.single .theme-card { display: grid; grid-template-columns: 1.3fr 1fr; }
.themes-grid.single .theme-thumb { aspect-ratio: 4/3; }
.themes-grid.single .theme-body { padding: 40px; justify-content: center; gap: 14px; }
.themes-grid.single .theme-title h3 { font-size: 2.2rem; }
.themes-grid.single .theme-body p { font-size: 1.02rem; }
.themes-grid.single .theme-actions { margin-top: 10px; flex: none; }

/* Client work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .3s, border-color .3s; }
a.work-card:hover { transform: translateY(-6px); border-color: rgba(34,201,122,.45); }
.work-media { aspect-ratio: 16/10; overflow: hidden; background: #f4f4f2; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.work-media.contain img { object-fit: contain; padding: 24px; }
a.work-card:hover .work-media img { transform: scale(1.04); }
.work-body { padding: 28px; display: grid; gap: 10px; }
.work-body h3 { font-size: 1.6rem; }
.work-body p { color: var(--muted); }
.work-link { color: var(--accent); font-weight: 600; font-size: .92rem; margin-top: 4px; }
.status { color: var(--accent); font-weight: 600; }

/* Modal gallery */
.modal-media { background: #0b0f0d; display: flex; flex-direction: column; }
.gallery-main { width: 100%; flex: 1; object-fit: contain; min-height: 300px; max-height: 64vh; background: #f5efe6; }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 70px; height: 52px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .6; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--accent); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Marketplaces */
.markets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.market {
  display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); transition: .25s;
}
.market:hover { border-color: var(--accent); transform: translateY(-4px); }
.market-logo {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--accent-ink); background: var(--accent);
}
.market h3 { font-size: 1.05rem; }
.market p { color: var(--muted); font-size: .86rem; }
.market .arrow { margin-left: auto; color: var(--muted); transition: .25s; }
.market:hover .arrow { color: var(--accent); transform: translate(3px, -3px); }
.market.soon { opacity: .55; pointer-events: none; }
.market.soon .arrow { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

/* CTA / Banner */
.banner {
  border-radius: 28px; overflow: hidden; position: relative; border: 1px solid var(--line);
  background: url("../img/banner.jpg") center/cover no-repeat; min-height: 340px;
  display: flex; align-items: flex-end;
}
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,13,8,.92) 10%, rgba(3,13,8,.1) 70%); }
.banner-inner { position: relative; z-index: 1; padding: 44px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; width: 100%; flex-wrap: wrap; }
.banner-inner p { color: var(--muted); max-width: 520px; margin-top: 10px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
.contact-list { display: grid; gap: 16px; margin-top: 34px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: .2s; }
.contact-item:hover { border-color: var(--accent); }
.contact-item .icon { margin: 0; width: 44px; height: 44px; }
.contact-item small { color: var(--muted); display: block; font-size: .8rem; }
form.card { display: grid; gap: 16px; }
form.card:hover { transform: none; }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit; outline: 0; transition: border-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer p { color: var(--muted); font-size: .93rem; margin-top: 16px; max-width: 320px; }
.footer h4 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; flex-wrap: wrap; gap: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.modal.open { display: flex; }
.modal-box { width: 100%; max-width: 880px; max-height: 92vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; display: grid; grid-template-columns: 1.1fr 1fr; }
.modal-media { position: relative; min-height: 320px; }
.modal-content { padding: 34px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.2rem; }
.modal-close:hover { border-color: var(--accent); }
.modal-content ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.modal-content li { font-size: .88rem; color: #cfe2d7; display: flex; gap: 8px; }
.modal-content li::before { content: "✓"; color: var(--accent); }
.store-links { display: grid; gap: 8px; }
.store-links a { display: flex; justify-content: space-between; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: .9rem; }
.store-links a:hover { border-color: var(--accent); color: var(--accent); }
.modal-content h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* Page header (themes page) */
.page-hero { padding: 170px 0 60px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 80% 0%, rgba(34,201,122,.2), transparent 60%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 18px 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* WhatsApp floating */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .services-grid, .themes-grid, .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-box { grid-template-columns: 1fr; }
  .themes-grid.single .theme-card { grid-template-columns: 1fr; }
  .themes-grid.single .theme-body { padding: 28px; }
}
@media (max-width: 720px) { .work-grid { grid-template-columns: 1fr; } }
@media (max-width: 1320px) { .nav-links { gap: 26px; } .nav-cta { gap: 12px; } }
@media (max-width: 1200px) {
  .nav-links { gap: 20px; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
    position: absolute; top: 78px; left: 0; right: 0; padding: 28px 24px 34px;
    background: rgba(3,13,8,.97); border-bottom: 1px solid var(--line); font-size: 1.1rem;
  }
  .nav-open .header { background: rgba(3,13,8,.97); }
  .nav-open .nav-account { display: flex; align-items: center; gap: 18px; width: 100%; padding-top: 20px; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 140px 0 80px; }
  .services-grid, .services-grid.two, .themes-grid, .markets-grid, .steps, .row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .banner-inner { padding: 28px; }
  .search { min-width: 0; width: 100%; }
  .hero-stats { gap: 28px; }
  .float-card.one { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= Theme marketplace ================= */
.mp-hero { padding: 160px 0 40px; }
.mp-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 80% 0%, rgba(34,201,122,.18), transparent 60%); pointer-events: none; }
.mp-hero .container { position: relative; }
.mp-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 18px 0 16px; }
.mp-search { margin-top: 30px; max-width: 620px; display: flex; align-items: center; gap: 12px; padding: 15px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.mp-search:focus-within { border-color: var(--accent); }
.mp-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.mp-search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 1.02rem; }
.mp { padding: 30px 0 100px; }
.mp-layout { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: start; }

.mp-side { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.mp-side-head { display: none; }
.mp-group { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.mp-group h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mp-types { display: grid; gap: 10px; }
.mp-types button { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: .2s; display: grid; gap: 3px; }
.mp-types button b { font-weight: 600; font-size: .98rem; }
.mp-types button small { color: var(--muted); font-size: .82rem; }
.mp-types button:hover { border-color: rgba(34,201,122,.5); }
.mp-types button.on { border-color: var(--accent); background: rgba(34,201,122,.1); box-shadow: inset 3px 0 0 var(--accent); }
.mp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-chips button { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; color: #cfe2d7; transition: .2s; }
.mp-chips button:hover { border-color: rgba(34,201,122,.5); color: var(--text); }
.mp-chips button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.mp-checks { display: grid; gap: 10px; }
.mp-checks label { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #cfe2d7; cursor: pointer; }
.mp-checks input { width: 16px; height: 16px; accent-color: var(--accent); }
.mp-checks small { color: var(--muted); margin-left: auto; }
.mp-reset { width: 100%; }

.mp-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.mp-count { color: var(--muted); font-size: .92rem; }
.mp-active { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.mp-active button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(34,201,122,.12); color: var(--text); font-size: .82rem; }
.mp-active button::after { content: "×"; color: var(--muted); font-size: 1rem; line-height: 1; }
.mp-sort { margin-left: auto; padding: 9px 34px 9px 14px; border-radius: 999px; border: 1px solid var(--line); appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239bb5a6' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center / 9px; color: var(--text); font: inherit; font-size: .88rem; cursor: pointer; }
.mp-sort option { background: #061a10; }
.mp-open { display: none; }

/* Recommendation panel */
.mp-reco { margin-bottom: 30px; padding: 26px; border-radius: var(--radius); border: 1px solid rgba(34,201,122,.35); background: linear-gradient(135deg, rgba(34,201,122,.12), rgba(34,201,122,.02)); }
.mp-reco h2 { font-size: 1.45rem; margin: 8px 0 6px; }
.mp-reco p { color: var(--muted); }
.mp-reco .mp-reco-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.mp-reco.empty { border-color: var(--line); background: var(--surface); }

/* Theme cards */
.mp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.mp-card { display: flex; flex-direction: column; gap: 14px; }
.mp-card .mp-shot { position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #f5efe6; cursor: pointer; }
.mp-card .mp-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.mp-card:hover .mp-shot img { transform: scale(1.03); }
.mp-shot .mp-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(3,13,8,.55); opacity: 0; transition: opacity .25s; }
.mp-card:hover .mp-hover, .mp-shot:focus-within .mp-hover { opacity: 1; }
.mp-flag { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; }
.mp-card .mp-info { display: grid; gap: 6px; }
.mp-card .mp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mp-card h3 { font-size: 1.3rem; }
.mp-card .mp-meta { color: var(--muted); font-size: .88rem; }
.mp-card .mp-why { font-size: .88rem; color: #bfe9d3; }
.mp-presets { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.mp-presets span { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); overflow: hidden; display: inline-flex; }
.mp-presets i { flex: 1; }
.mp-card .mp-actions { display: flex; gap: 10px; margin-top: 4px; }
.mp-card .mp-actions .btn { flex: 1; }

/* Custom-build card (shown in the grid as a last option) */
.mp-custom { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 34px; border-radius: 14px; border: 1px dashed rgba(34,201,122,.4); background: rgba(34,201,122,.04); min-height: 300px; }
.mp-custom h3 { font-size: 1.35rem; }
.mp-custom p { color: var(--muted); }

@media (max-width: 1024px) {
  .mp-layout { grid-template-columns: 1fr; }
  .mp-open { display: inline-flex; }
  .mp-side { position: fixed; inset: 0 auto 0 0; z-index: 80; width: min(360px, 88vw); max-height: none; padding: 22px; background: var(--bg-2); border-right: 1px solid var(--line); transform: translateX(-105%); transition: transform .3s ease; }
  .mp-side.open { transform: none; box-shadow: 30px 0 80px rgba(0,0,0,.5); }
  .mp-side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
  .mp-side-head h2 { font-size: 1.3rem; }
  .mp-close { font-size: 1.6rem; color: var(--muted); }
}
@media (max-width: 640px) {
  .mp-hero { padding: 130px 0 20px; }
  .mp-grid { grid-template-columns: 1fr; }
  .mp-sort { margin-left: 0; }
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.values { display: grid; gap: 16px; }
.value { padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.value span { font-family: var(--font-head); color: var(--accent); font-weight: 600; font-size: .9rem; }
.value h3 { margin: 8px 0 6px; }
.value p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Legal pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal p, .legal li { color: #cfe2d7; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); }
.legal .updated { color: var(--muted); font-size: .9rem; }

/* Home: featured themes in a 2-column grid */
#featured-themes.themes-grid:not(.single) { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { #featured-themes.themes-grid:not(.single) { grid-template-columns: 1fr; } }

/* Sign up / Log in: always visible, also on phones */
.hero-account { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding: 16px 18px; border: 1px solid rgba(34,201,122,.35); border-radius: 16px; background: rgba(34,201,122,.07); max-width: 600px; }
.hero-account .ha-text { display: grid; gap: 3px; min-width: 220px; flex: 1; }
.hero-account strong { font-size: 1rem; }
.hero-account span { color: var(--muted); font-size: .9rem; }
.hero-account .ha-btns { display: flex; gap: 10px; }
@media (max-width: 1080px) { .nav-cta { gap: 10px; } }
@media (max-width: 560px) {
  .nav .brand-name { display: none; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-sm { padding: 8px 12px; }
  .menu-toggle { width: 40px; height: 40px; }
}
@media (max-width: 360px) { .nav-cta [data-currency-slot] { display: none; } }

/* "Build a free website with AI" (hero) */
.hero-ai { display: grid; gap: 10px; justify-items: start; margin-top: 34px; }
.btn-ai { position: relative; padding: 17px 28px; font-size: 1.05rem; color: #04140d; font-weight: 700;
  background: linear-gradient(110deg, #22c97a, #8af0c0 45%, #22c97a 90%); background-size: 200% 100%;
  box-shadow: 0 14px 40px -12px rgba(34,201,122,.8), 0 0 0 1px rgba(255,255,255,.08) inset; animation: ai-shine 4s linear infinite; }
.btn-ai:hover { transform: translateY(-2px); box-shadow: 0 18px 46px -12px rgba(34,201,122,.95); }
.hero-ai small { color: var(--muted); font-size: .88rem; }
.hero-ai + .hero-actions { margin-top: 18px; }
@keyframes ai-shine { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .btn-ai { animation: none; } }
@media (max-width: 560px) { .btn-ai { width: 100%; justify-content: center; } }

/* Early access page (until the client dashboard launches) */
.ea-card { margin-top: 30px; padding: 28px; border: 1px solid rgba(34,201,122,.3); border-radius: 20px; background: rgba(34,201,122,.06); }
.ea-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.ea-list { display: grid; gap: 10px; padding-left: 20px; color: #cfe2d7; }
.ea-small { color: var(--muted); font-size: .9rem; margin-top: 16px; }

/* Work page while no project is live yet */
.work-empty { max-width: 560px; margin: 10px auto 40px; text-align: center; display: grid; gap: 14px; justify-items: center; padding: 48px 24px; border: 1px dashed var(--line, rgba(0,0,0,.15)); border-radius: 20px; }
.work-empty p { opacity: .75; }

/* Pricing */
.billing-toggle { display: flex; gap: 4px; width: max-content; margin: 0 auto 34px; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.billing-toggle button { border: 0; background: none; color: inherit; font: inherit; font-weight: 600; font-size: .92rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; opacity: .7; }
.billing-toggle button.on { background: #22c97a; color: #04150c; opacity: 1; }
.billing-toggle small { font-size: .72rem; font-weight: 700; margin-left: 4px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 22px; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.plan-card.popular { border-color: #22c97a; background: rgba(34,201,122,.07); }
.plan-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: #22c97a; color: #04150c; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.plan-card h3 { font-size: 1.15rem; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-price b { font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em; }
.plan-price span { opacity: .6; font-size: .9rem; }
.plan-sub { opacity: .65; font-size: .82rem; min-height: 1.2em; }
.plan-card .btn { width: 100%; justify-content: center; }
.plan-card ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 9px; font-size: .9rem; }
.plan-card li { display: flex; gap: 9px; align-items: flex-start; opacity: .88; }
.plan-card li::before { content: "✓"; color: #22c97a; font-weight: 700; }
.pricing-note { text-align: center; opacity: .6; font-size: .85rem; margin-top: 22px; }
@media (max-width: 1080px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
#pricing .section-head { text-align: center; display: grid; justify-items: center; max-width: 720px; }
#pricing .section-head .lead { margin-inline: auto; }

/* Free themes offer */
.price .was { opacity: .55; font-weight: 500; margin-right: 2px; }
.price .free { color: #22c97a; }
.free-note { display: block; font-size: .8rem; opacity: .8; margin: 2px 0 6px; }
.free-note b { color: #22c97a; }


/* ---------- Accessibility and legal pages ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
/* a clear focus ring for keyboard users on everything that can be focused */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #ffd23f; outline-offset: 3px; border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
/* form fields: a border that can be seen (3:1 against the background) */
.field input, .field select, .field textarea, .mp-search, .search { border-color: #5f8a73; }
.field input::placeholder, .field textarea::placeholder, .mp-search input::placeholder { color: #8fa89a; opacity: 1; }
.check-field { margin: 2px 0; }
.check-label { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text); line-height: 1.45; }
.check-label input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.check-label a { color: var(--accent); text-decoration: underline; }
.footer-biz { margin-top: 36px; color: var(--muted); font-size: .86rem; max-width: 820px; }
.footer-bottom nav a { text-decoration: underline; text-underline-offset: 3px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); color: #cfe2d7; }
.legal th { color: var(--text); background: var(--surface); }
.legal .toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; margin: 22px 0; }
.legal .toc ol { padding-left: 20px; display: grid; gap: 4px; }
.legal .callout { background: rgba(34,201,122,.08); border: 1px solid rgba(34,201,122,.35); border-radius: 14px; padding: 16px 20px; margin: 18px 0; }
.legal .biz { list-style: none; padding: 0; display: grid; gap: 6px; }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
  .reveal { transition: none !important; }
}

/* ---------- Front page: clean, light, with depth ---------- */
.home-light { --bg: #ffffff; --bg-2: #f5f8f6; --surface: #ffffff; --surface-2: #eef3f0; --line: rgba(13, 26, 19, .12); --text: #0d1a13; --muted: #51635a; --accent: #0b7f48; --accent-2: #086236; --accent-ink: #ffffff; }
.home-light a:focus-visible, .home-light button:focus-visible, .home-light input:focus-visible, .home-light select:focus-visible, .home-light summary:focus-visible { outline: 3px solid #1a56db; outline-offset: 3px; }
.home-light .skip-link { background: #0d1a13; color: #fff; }
.home-light .header.scrolled { background: rgba(255,255,255,.86); box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(13,26,19,.25); }
.home-light .brand img { box-shadow: 0 6px 14px -6px rgba(13,26,19,.45); }
.home-light .nav-links a:hover, .home-light .nav-links a.active { color: var(--text); }
.home-light .currency-select { background-color: #fff; box-shadow: 0 1px 2px rgba(13,26,19,.06); }
.home-light .currency-select option { background: #fff; color: #0d1a13; }
.home-light .menu-toggle { background: #fff; box-shadow: 0 1px 2px rgba(13,26,19,.08); }
/* buttons get a soft raised look */
.home-light .btn-primary { background: linear-gradient(180deg, #0c8350, #09743f); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 -2px 0 rgba(0,0,0,.14) inset, 0 12px 22px -10px rgba(11,127,72,.65); }
.home-light .btn-primary:hover { background: linear-gradient(180deg, #0a7a47, #07582f); }
.home-light .btn-ghost, .home-light .btn-outline { background: #fff; color: var(--text); border: 1px solid rgba(13,26,19,.16); box-shadow: 0 1px 2px rgba(13,26,19,.06), 0 10px 20px -14px rgba(13,26,19,.3); }
.home-light .btn-ghost:hover, .home-light .btn-outline:hover { border-color: var(--accent); color: var(--accent-2); }
.home-light .btn-ai { background: linear-gradient(180deg, #0c8350, #09743f); color: #fff; animation: none; box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 -3px 0 rgba(0,0,0,.14) inset, 0 18px 30px -14px rgba(11,127,72,.8); }
.home-light .btn-ai:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 -3px 0 rgba(0,0,0,.14) inset, 0 22px 34px -14px rgba(11,127,72,.9); }
.home-light .eyebrow, .home-light .text-accent { color: var(--accent); }
.home-light .hero::before { background: radial-gradient(760px 460px at 92% 6%, rgba(34,201,122,.10), transparent 62%), radial-gradient(520px 360px at 0% 100%, rgba(13,26,19,.04), transparent 62%); }
.home-light .marquee { background: #fff; border-color: var(--line); }
.home-light .marquee-track span { color: #3d4f45; }
.home-light .footer { background: var(--bg-2); }
.home-light .banner { color: #eef7f1; border: 0; box-shadow: 0 1px 2px rgba(13,26,19,.1), 0 24px 40px -22px rgba(13,26,19,.45), 0 60px 90px -40px rgba(13,26,19,.35); --text: #eef7f1; --muted: #c4dacd; --accent: #22c97a; --accent-ink: #02160c; }
.home-light .banner .btn-primary { background: #22c97a; color: #02160c; box-shadow: 0 12px 26px -10px rgba(34,201,122,.7); }
.home-light .wa-float { box-shadow: 0 14px 28px -10px rgba(13,26,19,.45); }

/* hero */
.hero-ws { padding: 160px 0 110px; }
.hero-ws .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 56px; }
.hero-ws h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); margin: 20px 0 22px; letter-spacing: -.03em; }
.hero-ws .hero-actions { margin-top: 30px; }
.hero-points { list-style: none; display: grid; gap: 12px; margin-top: 32px; }
.hero-points li { position: relative; padding-left: 30px; color: var(--text); font-size: .98rem; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 4px 8px -3px rgba(11,127,72,.6); }
.hero-sub { margin-top: 28px; color: var(--muted); font-size: .95rem; max-width: 560px; }
.hero-sub a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* the 3D dashboard */
.ws { position: relative; margin: 0; }
.ws-stage { position: relative; perspective: 1500px; padding: 30px 10px 30px 0; }
.ws-3d { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 7deg)) rotateY(var(--ry, -17deg)) rotateZ(1deg); transition: transform .25s ease-out; will-change: transform; }
.ws-floor { position: absolute; left: 6%; right: -2%; bottom: -34px; height: 46px; border-radius: 50%; background: radial-gradient(closest-side, rgba(13,26,19,.34), transparent); filter: blur(10px); transform: translateZ(-60px); }
.ws-win { position: relative; background: #fff; border: 1px solid rgba(13,26,19,.1); border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(13,26,19,.08), 0 18px 30px -12px rgba(13,26,19,.2), 0 50px 80px -30px rgba(13,26,19,.38); }
.ws-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid rgba(13,26,19,.08); background: #fbfcfb; }
.ws-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6ddd9; }
.ws-bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); }
.ws-body { display: grid; grid-template-columns: 112px 1fr; min-height: 330px; }
.ws-side { display: grid; align-content: start; gap: 6px; padding: 16px 12px; background: #f5f8f6; border-right: 1px solid rgba(13,26,19,.07); }
.ws-side b { font-weight: 600; font-size: .8rem; color: #52645a; padding: 8px 10px; border-radius: 10px; }
.ws-side b.on { background: #fff; color: #0d1a13; box-shadow: 0 1px 2px rgba(13,26,19,.1), 0 6px 12px -8px rgba(13,26,19,.3); }
.ws-main { padding: 18px; }
.ws-site { display: grid; gap: 10px; background: linear-gradient(160deg, #123d2b, #0b2a1d); border-radius: 16px; padding: 18px; min-height: 280px; align-content: start; box-shadow: 0 20px 30px -22px rgba(11,42,29,.9); }
.ws-nav { display: flex; gap: 8px; margin-bottom: 14px; }
.ws-nav i { height: 6px; width: 30px; border-radius: 3px; background: rgba(255,255,255,.28); }
.ws-nav i:first-child { width: 48px; background: #fff; }
.ws-title { height: 16px; width: 74%; border-radius: 5px; background: #fff; }
.ws-title.short { width: 48%; background: #3ed98f; }
.ws-btn { height: 20px; width: 92px; border-radius: 99px; background: #22c97a; margin-top: 6px; }
.ws-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.ws-tiles i { height: 54px; border-radius: 10px; background: rgba(255,255,255,.14); }
.ws-pop { position: absolute; width: 168px; background: #fff; border: 1px solid rgba(13,26,19,.08); border-radius: 16px; padding: 13px; box-shadow: 0 1px 2px rgba(13,26,19,.08), 0 16px 26px -10px rgba(13,26,19,.28), 0 40px 60px -26px rgba(13,26,19,.4); }
.ws-pop small { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.ws-enq { left: -34px; bottom: 22px; transform: translateZ(90px); animation: ws-bob 7s ease-in-out infinite; }
.ws-inv { right: -22px; top: 54px; transform: translateZ(130px); animation: ws-bob 8s ease-in-out infinite reverse; }
@keyframes ws-bob { 50% { translate: 0 -8px; } }
.ws-line { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.ws-line .av { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(145deg, #7fd9ae, #0b7f48); flex: none; }
.ws-line span { height: 7px; flex: 1; border-radius: 4px; background: #e3e9e5; }
.ws-line em, .ws-total em { font-style: normal; font-size: .62rem; font-weight: 700; background: var(--accent); color: #fff; border-radius: 99px; padding: 3px 9px; }
.ws-bar2 { height: 7px; width: 100%; border-radius: 4px; background: #e3e9e5; margin: 8px 0; }
.ws-bar2.s { width: 62%; } .ws-bar2.m { width: 80%; }
.ws-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.ws-total span { height: 11px; width: 44%; border-radius: 4px; background: #0d1a13; }
.ws figcaption { text-align: center; margin-top: 8px; font-size: .78rem; color: var(--muted); }
@media (max-width: 980px) {
  .hero-ws { padding: 120px 0 70px; }
  .hero-ws .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ws { max-width: 560px; width: 100%; margin: 0 auto; }
  .ws-enq { left: -6px; } .ws-inv { right: -4px; }
}
@media (max-width: 520px) { .ws-body { grid-template-columns: 1fr; } .ws-side { display: flex; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid rgba(13,26,19,.07); } .ws-pop { width: 140px; } }
@media (prefers-reduced-motion: reduce) { .ws-3d { transition: none; } .ws-pop { animation: none; } }
/* front page call-to-action: a clean green panel instead of the photo (the photo has its own text that clashed with ours) */
.home-light .banner { background: radial-gradient(520px 260px at 92% 0%, rgba(34,201,122,.28), transparent 62%), linear-gradient(150deg, #134230, #0b2a1d); min-height: 0; align-items: center; }
.home-light .banner::after { display: none; }
.home-light .banner-inner { align-items: center; padding: 56px 48px; }
.home-light .banner h2 { color: #fff; }

/* ---------- Light theme on every public page: colours that were fixed for the dark design ---------- */
.home-light .card { box-shadow: 0 1px 2px rgba(13,26,19,.06), 0 20px 34px -20px rgba(13,26,19,.28); border-color: rgba(13,26,19,.09); }
.home-light .card:hover { box-shadow: 0 1px 2px rgba(13,26,19,.08), 0 30px 46px -22px rgba(13,26,19,.34); border-color: rgba(11,127,72,.35); }
.home-light .card li, .home-light .modal-content li, .home-light .legal p, .home-light .legal li, .home-light .legal td, .home-light .ea-list, .home-light .mp-chips button, .home-light .mp-checks label { color: #2b3b32; }
.home-light .legal th { background: var(--bg-2); color: var(--text); }
.home-light .legal .callout { background: #eef7f1; border-color: rgba(11,127,72,.35); }
.home-light .legal .toc { background: var(--bg-2); }
.home-light .mp-card .mp-why { color: var(--accent-2); }
.home-light .mp-sort option, .home-light .currency-select option { background: #fff; color: #0d1a13; }
.home-light .theme-stores span { background: rgba(13,26,19,.06); color: var(--muted); }
.home-light .field input, .home-light .field select, .home-light .field textarea, .home-light .mp-search, .home-light .search { background: #fff; border-color: #7d9588; color: var(--text); }
.home-light .field input::placeholder, .home-light .field textarea::placeholder, .home-light .mp-search input::placeholder { color: #667770; opacity: 1; }
.home-light .field input:focus, .home-light .field select:focus, .home-light .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,127,72,.18); }
.home-light .page-hero, .home-light .mp-hero { background: linear-gradient(180deg, #f5f8f6, #ffffff); }
.home-light .page-hero::before, .home-light .mp-hero::before { opacity: .35; }
.home-light .process { background: var(--bg-2); }
.home-light .modal-box { background: #fff; box-shadow: 0 40px 90px -30px rgba(13,26,19,.5); }
.home-light .modal { background: rgba(13,26,19,.55); }
.home-light .check-label { color: var(--text); }
.home-light .form-note, .home-light .contact-item small { color: var(--muted); }
.home-light .contact-item { background: #fff; box-shadow: 0 1px 2px rgba(13,26,19,.06), 0 14px 24px -16px rgba(13,26,19,.3); }
.home-light .icon { background: #e7f4ec; color: var(--accent); }
@media (max-width: 880px) {
  .home-light.nav-open .header { background: rgba(255,255,255,.98); }
  .home-light.nav-open .nav-links { background: rgba(255,255,255,.98); box-shadow: 0 30px 40px -24px rgba(13,26,19,.35); }
}


/* ---------- Hero video ---------- */
.ws-video { max-width: 620px; justify-self: end; width: 100%; }
.ws-frame { position: relative; }
.ws-media { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.ws-pause { position: absolute; right: 4px; bottom: 4px; padding: 7px 14px; border-radius: 99px; font-size: .78rem; font-weight: 600; color: var(--text); background: #fff; border: 1px solid rgba(13,26,19,.18); box-shadow: 0 6px 14px -8px rgba(13,26,19,.4); }
.ws-pause:hover { border-color: var(--accent); }
@media (max-width: 980px) { .ws-video { justify-self: center; } }
/* Developers page */
.dev-steps { display: grid; gap: 14px; margin-top: 18px; padding-left: 22px; }
.dev-steps li { line-height: 1.6; color: #2b3b32; }
.dev-steps li::marker { color: var(--accent); font-weight: 700; }

.dev-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#dev-form { display: grid; gap: 16px; }
#dev-form[hidden], #dev-done[hidden] { display: none; }

/* ---------- Meet Tiro (front page, 2026-11-25): copy + a sample chat card ---------- */
.tiro { padding: 90px 0 110px; }
.tiro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.tiro-copy { display: grid; gap: 20px; justify-items: start; }
.tiro-copy h2 { max-width: 16ch; }
.tiro-more { color: var(--muted); max-width: 56ch; }
.tiro-note { font-size: .85rem; color: var(--muted); }
.tiro-chat { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(13,26,19,.35); overflow: hidden; }
.tiro-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.tiro-head b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.tiro-head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; }
.tiro-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.tiro-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c97a; box-shadow: 0 0 0 3px rgba(34,201,122,.18); }
.tiro-log { display: grid; gap: 12px; padding: 22px 20px 26px; background: var(--bg-2); }
.tiro-msg { max-width: 86%; padding: 12px 15px; border-radius: 16px 16px 16px 4px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; line-height: 1.5; }
.tiro-msg.me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 900px) {
  .tiro-grid { grid-template-columns: 1fr; gap: 40px; }
  .tiro { padding: 70px 0 80px; }
}

/* ================= Theme marketplace: clean theme-store layout ================= */
.ts { padding: 130px 0 90px; background: #fff; color: #111; }
.ts .container { max-width: 1240px; }
.ts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.ts-head h1 { font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -.02em; color: #111; margin: 0; }
.ts-search { display: flex; align-items: center; gap: 10px; width: min(340px, 100%); padding: 10px 14px; border: 1px solid #d9dcdb; border-radius: 10px; background: #fff; }
.ts-search:focus-within { border-color: #111; }
.ts-search svg { width: 18px; height: 18px; color: #6b716e; flex: none; }
.ts-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: .95rem; background: none; color: #111; }
.ts-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.ts-side { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 12px; scrollbar-width: thin; }
.ts-side-head, .ts-show { display: none; }
.ts-group { border-bottom: 1px solid #e6e8e7; padding: 14px 0; }
.ts-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .95rem; color: #111; }
.ts-group summary::-webkit-details-marker { display: none; }
.ts-group summary svg { width: 16px; height: 16px; fill: none; stroke: #111; stroke-width: 2; transition: transform .2s; }
.ts-group:not([open]) summary svg { transform: rotate(180deg); }
.ts-checks { display: grid; gap: 4px; margin-top: 12px; }
.ts-checks label { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #303331; cursor: pointer; padding: 3px 0; }
.ts-checks input { width: 17px; height: 17px; accent-color: #111; flex: none; }
.ts-checks span { flex: 1; line-height: 1.3; }
.ts-checks small { color: #8a908d; font-size: .82rem; }
.ts-link { margin-top: 14px; background: none; border: 0; padding: 0; font: inherit; font-size: .9rem; color: #111; text-decoration: underline; cursor: pointer; }
.ts-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ts-count { color: #5b615e; font-size: .95rem; flex: 1; margin: 0; }
.ts-open { display: none; }
.ts-sort { display: grid; border: 1px solid #c9cdcb; border-radius: 10px; padding: 5px 12px 6px; min-width: 190px; background: #fff; }
.ts-sort span { font-size: .72rem; color: #6b716e; }
.ts-sort select { border: 0; outline: 0; font: inherit; font-size: .95rem; color: #111; background: none; padding: 0; cursor: pointer; }
.ts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.ts-card { min-width: 0; }
.ts-shot { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 1px solid #ebedec; border-radius: 12px; overflow: hidden; background: #f4f5f4; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: box-shadow .25s, transform .25s; }
.ts-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .5s ease; }
.ts-shot:hover { box-shadow: 0 14px 34px -14px rgba(0,0,0,.28); transform: translateY(-2px); }
.ts-shot:hover img { transform: scale(1.03); }
.ts-noimg { display: grid; place-items: center; height: 100%; font-weight: 600; color: #5b615e; }
.ts-info { padding-top: 12px; }
.ts-info h3 { margin: 0; font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }
.ts-info h3 button { all: unset; cursor: pointer; color: #111; }
.ts-info h3 button:hover { text-decoration: underline; }
.ts-meta { display: flex; align-items: center; gap: 10px; margin-top: 3px; }
.ts .ts-meta .price { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: #303331; }
.ts-badge { font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #303331; border: 1px solid #c9cdcb; border-radius: 6px; padding: 1px 7px; }
.ts-info p { margin: 4px 0 0; font-size: .85rem; color: #8a908d; }
.ts-empty { grid-column: 1 / -1; padding: 50px 0; text-align: center; color: #5b615e; }
.ts-shot:focus-visible, .ts-info h3 button:focus-visible, .ts-open:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
@media (max-width: 1050px) { .ts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .ts { padding-top: 110px; }
  .ts-layout { grid-template-columns: 1fr; }
  .ts-open { display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid #c9cdcb; border-radius: 10px; background: #fff; font: inherit; font-size: .9rem; color: #111; cursor: pointer; }
  .ts-side { position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); max-height: none; z-index: 120; background: #fff; padding: 20px; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .ts-side.open { transform: none; }
  .ts-side-head { display: flex; justify-content: space-between; align-items: center; }
  .ts-side-head h2 { font-size: 1.2rem; color: #111; margin: 0; }
  .ts-x { border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: #111; }
  .ts-show { display: block; width: 100%; margin-top: 18px; }
  .ts-sort { min-width: 0; }
  .ts-count { font-size: .85rem; }
}
@media (max-width: 560px) { .ts-grid { grid-template-columns: 1fr; } .ts-bar { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .ts-shot, .ts-shot img, .ts-side { transition: none; } }

/* marketplace: preview your site */
.ts-shotwrap { position: relative; }
.ts-live { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 6px); opacity: 0; padding: 10px 18px; border-radius: 999px; background: #111; color: #fff; font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: opacity .2s, transform .2s; }
.ts-shotwrap:hover .ts-live, .ts-live:focus-visible { opacity: 1; transform: translate(-50%, 0); }
.ts-live:hover { background: #303331; }
.ts-try { display: inline-block; margin-top: 8px; font-size: .88rem; font-weight: 500; color: #111; text-decoration: underline; text-underline-offset: 3px; }
.ts-try:hover { color: #5b615e; }
@media (hover: none) { .ts-live { display: none; } }
@media (prefers-reduced-motion: reduce) { .ts-live { transition: none; } }

/* marketplace: get a design for free (signs up and makes the website) */
.ts-free { display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; padding: 10px 18px; border-radius: 999px; background: #111; color: #fff; font-size: .88rem; font-weight: 600; text-decoration: none; width: max-content; }
.ts-free:hover, .ts-free:focus-visible { background: #303331; color: #fff; }
.ts-info .ts-try + .ts-free { margin-left: 0; }
.ts-info { display: flex; flex-direction: column; align-items: flex-start; }

/* marketplace: free on CINNOVATORY, price = theme files to host elsewhere */
.ts-freeon { font-size: .95rem; font-weight: 600; color: #111; }
.ts-files { display: block; margin-top: 3px; font-size: .84rem; color: #6b716e; text-decoration: none; }
a.ts-files:hover { color: #111; text-decoration: underline; }
.ts .ts-files .price { font-family: var(--font-body); font-size: .84rem; font-weight: 500; color: inherit; }
.ts-pop-price { margin: 6px 0 4px; line-height: 1.6; }
.ts-pop-price .price { font-size: 1rem; }
