/* Cephre marketing theme */

:root {
  --ink: #0b0f14;
  --steel: #151c26;
  --surface: #f0f3f8;
  --accent: #1fb8a8;
  --amber: #e8a03c;
  --coral: #e86b5a;
  --violet: #6b7cff;
  --mint: #3ddc97;
  --text: #1a212b;
  --muted: #5c6775;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(26, 33, 43, 0.1);
  --radius: 14px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --space: clamp(3.5rem, 6vw, 5.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-gutter: clamp(1.5rem, 5vw, 4rem);
  --content-max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, calc(100% - (var(--page-gutter) * 2)));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-accent:hover {
  background: #2fd0bf;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.hero .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.demo .btn-ghost,
.price-plan .btn-ghost {
  border-color: rgba(26, 33, 43, 0.18);
  color: var(--text);
}

.header-actions .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-header .btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.site-header.is-scrolled .btn-ghost {
  border-color: rgba(26, 33, 43, 0.16);
  color: var(--text);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.5rem));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #0d8f84);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--white);
}

.site-header.is-scrolled .brand-name {
  color: var(--ink);
}

.brand-logo {
  height: 36px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: var(--white);
}

.site-header.is-scrolled .nav-list a {
  color: var(--muted);
}

.site-header.is-scrolled .nav-list a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.mobile-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--ink);
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list a {
  display: block;
  padding: 0.85rem 0;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--header-h) + 3.25rem) 0 3.5rem;
  overflow: hidden;
  min-height: min(100vh, 820px);
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 70% -10%, rgba(31, 184, 168, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 40%, rgba(232, 160, 60, 0.12), transparent 50%),
    linear-gradient(180deg, #0b0f14 0%, #101821 55%, #0b0f14 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(480px, 44%));
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: center;
  justify-content: space-between;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  box-sizing: border-box;
}

.hero-copy {
  max-width: 32rem;
  padding-right: 0.5rem;
}

.brand-lockup {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  background: linear-gradient(120deg, #fff 20%, #9fe8df 70%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18ch;
  color: rgba(255, 255, 255, 0.96);
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  padding: 0;
}

.hero-frame {
  width: 100%;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 0 48px rgba(31, 184, 168, 0.1);
  transform: none;
  animation: stageRise 1s var(--ease) 0.12s both;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@keyframes stageRise {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Proof */
.proof {
  background: var(--steel);
  color: var(--white);
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: var(--space) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.stores-copy h2,
.demo-copy h2,
.faq .section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.section-head p,
.stores-copy > p,
.demo-copy > p {
  margin: 0;
  color: var(--muted);
}

/* Roles */
.roles {
  background: var(--surface);
}

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.role-panel {
  padding: 1.75rem 1.6rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line-dark);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.role-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 15, 20, 0.08);
}

.role-super {
  background: linear-gradient(160deg, #101821, #182433);
  color: var(--white);
  border-color: transparent;
}

.role-super h3,
.role-store h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.role-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(31, 184, 168, 0.18);
  color: var(--accent);
}

.role-store .role-badge {
  background: rgba(31, 184, 168, 0.12);
  color: #0d8f84;
}

.role-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-panel li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.2rem;
  color: inherit;
  opacity: 0.88;
  font-size: 0.98rem;
}

.role-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Stores */
.stores {
  background: var(--white);
}

.stores-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.stores-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px rgba(11, 15, 20, 0.1);
  background: #0a0e13;
}

.stores-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.check-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.55rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Modules */
.modules {
  background: var(--ink);
  color: var(--white);
}

.modules .section-head h2 {
  color: var(--white);
}

.modules .section-head p {
  color: rgba(255, 255, 255, 0.65);
}

.modules-shell {
  display: grid;
  gap: 1.25rem;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.module-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.module-tab:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.module-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.module-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: panelIn 0.45s var(--ease);
}

.module-panel[hidden] {
  display: none;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.module-copy h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0.6rem 0 0.4rem;
}

.module-sub {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.module-body {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.5rem;
}

.module-body p {
  margin: 0 0 0.75rem;
}

.modules .check-list li {
  color: rgba(255, 255, 255, 0.88);
}

.role-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(31, 184, 168, 0.16);
  color: var(--accent);
}

.role-chip.role-super {
  background: rgba(232, 160, 60, 0.18);
  color: var(--amber);
}

.module-shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0e13;
}

.module-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Pricing */
.pricing {
  background: var(--surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.price-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.6rem 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.price-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(11, 15, 20, 0.08);
}

.price-plan.is-featured {
  border-color: transparent;
  background: linear-gradient(165deg, #101821, #1a2736);
  color: var(--white);
  box-shadow: 0 24px 50px rgba(11, 15, 20, 0.2);
}

.price-plan.is-featured .plan-desc,
.price-plan.is-featured .plan-note {
  color: rgba(255, 255, 255, 0.65);
}

.price-plan.is-featured .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.price-plan.is-featured .plan-seats {
  background: rgba(255, 255, 255, 0.06);
}

.price-plan.is-featured .plan-seats span {
  color: rgba(255, 255, 255, 0.55);
}

.price-plan.is-featured .btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
}

.price-plan h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
}

.plan-desc,
.plan-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-display);
}

.plan-price .currency {
  font-size: 1.2rem;
  font-weight: 700;
}

.plan-price .amount {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price .period {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-left: 0.15rem;
}

.plan-seats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: var(--surface);
}

.plan-seats span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.plan-seats strong {
  font-size: 1.05rem;
}

.price-plan .btn {
  margin-top: auto;
}

/* Demo */
.demo {
  background: var(--white);
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.demo-form {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-row {
  margin-bottom: 0.85rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(26, 33, 43, 0.14);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 184, 168, 0.18);
}

.form-status {
  min-height: 1.4em;
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status.is-ok {
  color: #0d8f84;
}

.form-status.is-err {
  color: #c0392b;
}

/* FAQ */
.faq {
  background: var(--surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--line-dark);
  padding: 0.85rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0.65rem 0 0.25rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .brand-name {
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links strong {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.footer-base p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
}

.content-block h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.empty-hint {
  color: var(--muted);
  padding: 1.5rem;
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius);
}

.modules .empty-hint {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-primary {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .proof-row,
  .roles-grid,
  .stores-layout,
  .module-panel,
  .pricing-grid,
  .demo-layout,
  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 2.25rem) 0 2.5rem;
    align-items: stretch;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  }

  .hero-stage {
    max-width: none;
    margin: 0;
    order: 2;
    justify-self: stretch;
  }

  .hero-copy {
    max-width: none;
    padding-right: 0;
  }

  .brand-lockup {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .hero h1 {
    max-width: none;
  }

  .hero-frame {
    border-radius: 12px;
  }

  .pricing-grid {
    gap: 1rem;
  }

  .price-plan.is-featured {
    order: -1;
  }
}

@media (max-width: 640px) {
  .proof-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .plan-seats {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Inner pages: solid header */
.cephere-inner .site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--line-dark);
}

.cephere-inner .brand-name,
.cephere-inner .nav-list a {
  color: var(--ink);
}

.cephere-inner .nav-list a {
  color: var(--muted);
}

.cephere-inner .nav-list a:hover {
  color: var(--ink);
}

.cephere-inner .site-header .btn-ghost {
  border-color: rgba(26, 33, 43, 0.16);
  color: var(--text);
}

.cephere-inner .nav-toggle span {
  background: var(--ink);
}

.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(31, 184, 168, 0.12), transparent 50%),
    var(--surface);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.75rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.feature-ghost {
  border-color: rgba(26, 33, 43, 0.18) !important;
  color: var(--text) !important;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

/* Feature landing */
.feature-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
  background: var(--ink);
  color: var(--white);
}

.feature-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.feature-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.035em;
  margin: 0.75rem 0;
}

.feature-lede {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.5rem;
}

.feature-hero-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-body-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.benefit-stack {
  display: grid;
  gap: 0.85rem;
}

.benefit-item {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-dark);
}

.benefit-item strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.benefit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-gallery {
  background: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-cta-band {
  background: var(--ink);
  color: var(--white);
}

.feature-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.feature-cta-inner h2 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  color: var(--white);
}

.feature-cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.related-features {
  background: var(--white);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.related-card strong {
  font-family: var(--font-display);
}

.related-card span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Features archive */
.features-archive-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-archive-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line-dark);
  background: var(--white);
}

.feature-archive-shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

.feature-archive-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-archive-copy h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.5rem 0;
}

.feature-archive-copy h2 a:hover {
  color: var(--accent);
}

.feature-archive-copy p {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

/* About / contact */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.mission-panel {
  padding: 1.5rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mission-panel .text-link {
  color: var(--accent);
}

.mission-panel p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.contact-meta li {
  margin-bottom: 0.5rem;
}

.privacy-body h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}

/* Subscribe wizard */
.subscribe-section {
  padding-top: 0;
}

.apply-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.apply-steps li {
  position: relative;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.apply-steps li.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.apply-steps li.is-done {
  border-color: var(--accent);
  color: var(--text);
}

.apply-form {
  max-width: 880px;
}

.apply-panel h2 {
  font-family: var(--font-display);
  margin: 0 0 1.25rem;
}

.apply-packages {
  display: grid;
  gap: 0.75rem;
}

.apply-package {
  display: block;
  cursor: pointer;
}

.apply-package input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.apply-package-body {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apply-package.is-selected .apply-package-body,
.apply-package:has(input:checked) .apply-package-body {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 184, 168, 0.15);
}

.apply-package-body strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.apply-price {
  font-weight: 700;
  color: var(--accent);
}

.apply-seats-hint {
  font-size: 0.85rem;
  color: var(--muted);
}

.apply-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.apply-hint {
  color: var(--muted);
  margin: 0 0 1rem;
}

.form-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.apply-review {
  padding: 1.15rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  margin-bottom: 1rem;
}

.apply-review dl {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.45rem 1rem;
  margin: 0;
}

.apply-review dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.apply-review dd {
  margin: 0;
  font-weight: 600;
}

.apply-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.thanks-section {
  padding-top: calc(var(--header-h) + 4rem);
  min-height: 60vh;
}

.modules .btn-sm {
  margin-top: 0.75rem;
}

@media (max-width: 960px) {
  .feature-hero-grid,
  .feature-body-grid,
  .feature-archive-card,
  .about-grid,
  .feature-cta-inner,
  .related-grid,
  .apply-steps,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Richer color accents */
.brand-mark {
  background: linear-gradient(135deg, var(--accent), var(--violet));
}

.proof {
  background: linear-gradient(90deg, #121820, #1a2433 40%, #15221f);
}

.proof-item:nth-child(1) strong { color: var(--accent); }
.proof-item:nth-child(2) strong { color: var(--amber); }
.proof-item:nth-child(3) strong { color: var(--mint); }
.proof-item:nth-child(4) strong { color: var(--violet); }

.role-chip.role-super {
  background: rgba(232, 160, 60, 0.2);
  color: var(--amber);
}

.role-chip.role-store {
  background: rgba(107, 124, 255, 0.16);
  color: #9aa6ff;
}

.modules .role-chip.role-store {
  color: #c5cbff;
}

.benefit-item:nth-child(3n+1) {
  border-color: rgba(31, 184, 168, 0.35);
}
.benefit-item:nth-child(3n+2) {
  border-color: rgba(232, 160, 60, 0.35);
}
.benefit-item:nth-child(3n) {
  border-color: rgba(107, 124, 255, 0.35);
}

.feature-hero-rich {
  position: relative;
  overflow: hidden;
}

.feature-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 15% 20%, rgba(31, 184, 168, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 50% at 90% 10%, rgba(107, 124, 255, 0.2), transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 90%, rgba(232, 160, 60, 0.12), transparent 50%);
  pointer-events: none;
}

.feature-ghost-light {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
}

.feature-prose h2,
.feature-prose h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.feature-prose h2 {
  margin-top: 0;
}

.feature-prose h3 {
  margin-top: 1.75rem;
  font-size: 1.15rem;
}

.feature-how {
  background: linear-gradient(180deg, #eef6f8, var(--surface));
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.how-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line-dark);
}

.how-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--mint));
  color: var(--ink);
}

.how-steps li:nth-child(2) .how-num {
  background: linear-gradient(135deg, var(--amber), #f0c36a);
}

.how-steps li:nth-child(3) .how-num {
  background: linear-gradient(135deg, var(--violet), #98a4ff);
  color: #fff;
}

.how-steps li:nth-child(4) .how-num {
  background: linear-gradient(135deg, var(--coral), #f0a090);
  color: #fff;
}

.how-steps strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
}

.how-steps p {
  margin: 0;
  color: var(--muted);
}

.feature-caps {
  background: var(--white);
}

.cap-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.cap-grid li {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.cap-grid li:nth-child(3n+2) { border-left-color: var(--amber); }
.cap-grid li:nth-child(3n) { border-left-color: var(--violet); }

.modules-more-links {
  margin: 1rem 0 0;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.modules .text-link {
  color: var(--accent);
}

.reports-hero {
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(107, 124, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(31, 184, 168, 0.14), transparent 50%),
    var(--surface);
}

.report-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.report-pillars article {
  padding: 1.25rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line-dark);
}

.report-pillars strong {
  display: block;
  font-family: var(--font-display);
  margin: 0.5rem 0;
}

.report-pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pillar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.pillar-teal { background: var(--accent); }
.pillar-amber { background: var(--amber); }
.pillar-coral { background: var(--coral); }

.reports-library {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.report-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.report-card:hover {
  transform: translateY(-3px);
  border-color: var(--violet);
}

.report-card-shot {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

.report-card-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.report-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
}

.report-card-body strong {
  font-family: var(--font-display);
}

.report-card-body span {
  color: var(--muted);
  font-size: 0.92rem;
}

.report-card-body em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.archive-cat-section:nth-child(even) {
  background: var(--surface);
}

.compact-archive .feature-archive-card {
  grid-template-columns: 200px 1fr;
}

.price-plan.is-featured {
  background: linear-gradient(165deg, #101821, #1a2740 55%, #132820);
}

.hero-bg {
  background:
    radial-gradient(ellipse 70% 50% at 78% 35%, rgba(31, 184, 168, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 55%, rgba(107, 124, 255, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 35% at 90% 80%, rgba(232, 160, 60, 0.08), transparent 50%),
    linear-gradient(180deg, #0b0f14 0%, #101821 55%, #0b0f14 100%);
}

@media (max-width: 960px) {
  .cap-grid,
  .report-pillars,
  .reports-library {
    grid-template-columns: 1fr;
  }

  .report-card,
  .compact-archive .feature-archive-card {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Image autofit — full image visible inside every upload frame (no crop)
   -------------------------------------------------------------------------- */
.hero-frame,
.module-shot,
.feature-hero-shot,
.stores-visual,
.gallery-grid figure,
.feature-archive-shot,
.report-card-shot,
.related-card .related-shot {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0a0e13;
}

.hero-frame {
  aspect-ratio: 16 / 10;
  width: 100%;
  max-width: 100%;
}

.hero-frame img,
.module-shot img,
.feature-hero-shot img,
.stores-visual img,
.gallery-grid figure img,
.feature-archive-shot img,
.report-card-shot img,
.related-card .related-shot img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

.module-shot,
.feature-hero-shot,
.stores-visual,
.gallery-grid figure,
.feature-archive-shot {
  aspect-ratio: 16 / 10;
  width: 100%;
}

.report-card-shot {
  aspect-ratio: 4 / 3;
  width: 100%;
  min-height: 100%;
}

.module-panel .module-shot {
  min-height: 280px;
  height: 100%;
  aspect-ratio: auto;
}

@media (min-width: 961px) {
  .module-panel .module-shot {
    min-height: 360px;
  }
}

.feature-archive-shot {
  min-height: 160px;
}

.gallery-grid figure {
  min-height: 200px;
}
