/* posmo.lk — marketing site styles */
@import url("home-ref.css");
@import url("home-px.css?v=20261111f");
@import url("site-px.css?v=20261111h");

/* ——— Tokens ——— */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-top: #f6f8fc;
  --surface: #ffffff;
  --ink: #0b1324;
  --ink-2: #1e293b;
  --muted: #5a6577;
  --faint: #8792a5;
  --brand: #5b24ec;
  --brand-bright: #7b4bf0;
  --brand-deep: #4215c7;
  --brand-soft: #f0ebff;
  --brand-chip: #e4d9ff;
  /* Logo mark: cyan → violet */
  --brand-cyan: #21c8fc;
  --brand-royal: #5b24ec;
  --brand-plate: #050414;
  --border: #e5e9f0;
  --border-strong: #d2d9e4;
  --navy: #0a1222;
  --navy-2: #111c33;
  --success: #16a34a;
  --success-soft: #e8f8ee;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(11, 19, 36, 0.06);
  --shadow-soft: 0 1px 2px rgba(11, 19, 36, 0.04), 0 8px 24px rgba(11, 19, 36, 0.06);
  --shadow: 0 1px 2px rgba(11, 19, 36, 0.04), 0 8px 24px rgba(11, 19, 36, 0.06);
  --shadow-brand: 0 20px 50px rgba(91, 36, 236, 0.14);
  --hero-glow: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(91, 36, 236, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(33, 200, 252, 0.08), transparent 50%);

  --max: 1200px;
  --measure: 42rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);

  --font: "Plus Jakarta Sans", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --display: var(--font);
  --font-si: "Noto Sans Sinhala", "Nirmala UI", "Iskoola Pota", "Plus Jakarta Sans", sans-serif;

  --header-h: 4.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

[lang="si"],
html[lang="si"] body,
html[lang="si"] h1,
html[lang="si"] h2,
html[lang="si"] h3 {
  font-family: var(--font-si);
}

html[lang="si"] h1,
html[lang="si"] h2,
html[lang="si"] h3 {
  letter-spacing: -0.005em !important;
  line-height: 1.3 !important;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--brand-deep);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  color: var(--brand);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + var(--safe-top) + 1rem);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* ——— Scroll reveal (enabled via JS: html.has-scroll-reveal) ——— */
html.has-scroll-reveal {
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 0.78s;
  --reveal-y: 22px;
}

html.has-scroll-reveal .reveal-el {
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0s);
}

html.has-scroll-reveal .reveal-el:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0);
}

html.has-scroll-reveal .reveal-el.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.has-scroll-reveal .reveal-el:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: var(--safe-top);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #000;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: var(--font);
}

.brand-tld {
  color: var(--brand);
}

.nav-primary {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-text-link {
  display: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-text-link:hover {
  color: var(--brand-deep);
}

.nav-cta {
  display: none;
}

.lang-switch {
  display: inline-flex;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 1.85rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a.is-active {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span {
  position: relative;
}

.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;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 0.5rem var(--gutter) calc(1.25rem + var(--safe-bottom));
  border-top: 1px solid var(--border);
  background: var(--surface);
  max-height: calc(100dvh - var(--header-h) - var(--safe-top));
  overflow-y: auto;
}

.mobile-nav.open {
  display: grid;
  animation: menuIn 0.2s ease;
}

.mobile-nav > a:not(.btn) {
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav > .btn {
  margin-top: 1rem;
}

.mobile-lang {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@media (min-width: 960px) {
  .nav-primary {
    display: block;
  }
  .nav-cta {
    display: inline-flex;
  }
  .nav-text-link {
    display: inline-flex;
  }
  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* ——— Home (Habit-style layout) ——— */
.page-home {
  --habit-bg: #f4f7fd;
  --habit-surface: #ffffff;
  --habit-ink: #07102d;
  --habit-muted: #6b6f85;
  --habit-accent: var(--brand);
  --habit-accent-hover: var(--brand-deep);
  --habit-accent-soft: var(--brand-soft);
  --habit-accent-bright: var(--brand-cyan);
  --habit-gradient: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand) 52%, var(--brand-royal) 100%);
  --habit-border: rgba(7, 16, 45, 0.08);
}

.page-home {
  background: var(--habit-surface);
}

.page-home .band-white {
  background: #ffffff;
}

.page-home .band-grey {
  background: var(--habit-bg);
}

.page-home .section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.page-home--simple .section {
  padding-block: clamp(3rem, 6vw, 4.75rem);
}

.page-home--simple .hero--habit {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
}

.page-home--simple .hero-phone-simple {
  max-width: min(280px, 78vw);
  margin-inline: auto;
  box-shadow: 0 28px 56px rgba(7, 16, 45, 0.12);
}

/* ——— Home (professional layout) ——— */
.page-home--pro .section {
  padding-block: clamp(4.25rem, 8vw, 6.75rem);
}

.page-home--pro .section-head-center {
  max-width: 44rem;
}

.page-home--pro .section-head-center h2 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.page-home--pro .section-head-center .section-lead {
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero--modern {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 5.5rem) clamp(2.75rem, 6vw, 4rem);
  background: var(--habit-bg);
}

.hero-modern-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 12% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 20%, rgba(79, 70, 229, 0.12), transparent 50%),
    linear-gradient(180deg, #f8faff 0%, var(--habit-bg) 100%);
  pointer-events: none;
}

.hero--modern .wrap {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(39, 80, 236, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-trust {
  border-block: 1px solid var(--habit-border);
  background: #fff;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: clamp(1.1rem, 3vw, 1.5rem) 1rem;
  text-align: center;
  border-bottom: 1px solid var(--habit-border);
}

.home-trust-item:nth-child(odd) {
  border-right: 1px solid var(--habit-border);
}

.home-trust-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.home-trust-value {
  color: var(--habit-ink);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.home-trust-label {
  color: var(--habit-muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  max-width: 12rem;
}

.section-home-app {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.home-app-showcase {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.home-split {
  padding-block: clamp(2rem, 4vw, 2.75rem);
}

.home-split:nth-child(odd) {
  background: var(--habit-bg);
}

.home-split:nth-child(even) {
  background: #fff;
}

.home-split-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

.home-split-copy {
  max-width: 34rem;
  margin-inline: auto;
}

.home-split-title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--habit-ink);
}

.home-split-text {
  margin: 0.85rem 0 0;
  color: var(--habit-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.home-split-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.home-split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--habit-ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.home-split-list svg {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15em;
  color: var(--brand);
}

.home-split-media {
  display: grid;
  place-items: center;
}

.home-split-phone {
  max-width: min(270px, 72vw);
  box-shadow: 0 28px 56px rgba(7, 16, 45, 0.12);
}

.home-essentials-grid--pro {
  margin-top: 2rem;
}

.home-how-num {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
  background: var(--habit-gradient);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(39, 80, 236, 0.22);
}

.home-essentials-grid--how {
  margin-top: 2rem;
}

.section-home-steps .home-essentials-cta {
  margin-top: 2.25rem;
}

@media (min-width: 720px) {
  .home-trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-trust-item {
    border-bottom: none;
    border-right: 1px solid var(--habit-border);
  }

  .home-trust-item:last-child {
    border-right: none;
  }

  .home-essentials-grid--pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 960px) {
  .hero-habit-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .home-split-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .home-split--reverse .home-split-copy {
    order: 2;
  }

  .home-split--reverse .home-split-media {
    order: 1;
  }

  .home-split-copy {
    margin-inline: 0;
  }

  .home-split--reverse .home-split-copy {
    margin-inline-start: auto;
  }

  .home-essentials-grid--how {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .home-essentials-grid--pro {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home--pro .pricing-grid {
    max-width: 68rem;
    margin-inline: auto;
  }

  .page-home--pro .pricing-note {
    text-align: center;
    max-width: 36rem;
    margin-inline: auto;
  }
}

.home-essentials-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.home-essential {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--habit-border);
  border-radius: 18px;
  background: var(--habit-surface);
  box-shadow: 0 10px 28px rgba(7, 16, 45, 0.05);
}

.home-essential h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.home-essential p {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--habit-muted);
}

.home-essentials-cta {
  margin: 2rem 0 0;
  text-align: center;
}

.home-steps {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  margin: 1.75rem auto 0;
  padding: 0;
  list-style: none;
}

.home-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--habit-border);
  border-radius: 18px;
  background: var(--habit-surface);
}

.home-step-num {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--habit-gradient);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.home-step h3 {
  margin: 0;
  font-size: 1.05rem;
}

.home-step p {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--habit-muted);
}

.home-faq-wrap {
  max-width: 42rem;
  margin-inline: auto;
}

.home-faq {
  margin-top: 1.5rem;
}

/* ——— Home: FAQ (pro) ——— */
.section-faq-pro {
  background: #fff;
}

.home-faq-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 2.75rem);
  align-items: start;
}

.home-faq-intro {
  text-align: left;
  margin-inline: 0;
  max-width: 26rem;
}

.home-faq-intro h2 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.home-faq-intro .section-lead {
  margin-top: 0.75rem;
  max-width: none;
}

.home-faq-contact {
  margin: 1.5rem 0 0;
}

.home-faq-panel {
  border: 1px solid var(--habit-border);
  border-radius: 22px;
  background: var(--habit-surface);
  box-shadow: 0 12px 32px rgba(7, 16, 45, 0.06);
  overflow: hidden;
}

.home-faq-panel.faq-modern {
  gap: 0;
}

.home-faq-panel .faq-card {
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--habit-border);
  background: transparent;
}

.home-faq-panel .faq-card:last-child {
  border-bottom: none;
}

.home-faq-panel .faq-card[open] {
  background: linear-gradient(180deg, rgba(39, 80, 236, 0.04) 0%, transparent 100%);
  border-color: var(--habit-border);
  box-shadow: none;
}

.home-faq-panel .faq-card summary {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 3.75rem 1.15rem 1.25rem;
}

.home-faq-panel .faq-card-num {
  flex-shrink: 0;
  min-width: 2rem;
  margin-top: 0.1em;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.home-faq-panel .faq-card-q {
  flex: 1;
  min-width: 0;
}

.home-faq-panel .faq-card summary::after {
  right: 1.15rem;
  background-color: var(--habit-bg);
}

.home-faq-panel .faq-card[open] summary::after {
  background-color: var(--brand-soft);
}

.home-faq-panel .faq-card-a {
  padding: 0 1.25rem 1.25rem 3.1rem;
}

@media (min-width: 960px) {
  .home-faq-grid {
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .home-faq-intro {
    position: sticky;
    top: calc(var(--header-h) + var(--safe-top) + 1.25rem);
  }
}

@media (min-width: 720px) {
  .home-essentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.page-home .site-header {
  background: rgba(243, 244, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .site-header.is-scrolled {
  background: rgba(243, 244, 241, 0.98);
  border-bottom-color: var(--habit-border);
  box-shadow: 0 10px 32px rgba(7, 16, 45, 0.06);
}

.page-home .site-header {
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.35s ease;
}

.page-home .brand-name,
.page-home .brand:hover {
  color: var(--habit-ink);
}

.page-home .brand-tld {
  color: var(--brand);
}

@media (min-width: 960px) {
  .page-home .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
  }

  .page-home .brand {
    justify-self: start;
  }

  .page-home .nav-primary {
    justify-self: center;
  }

  .page-home .nav-end {
    justify-self: end;
  }

  .page-home .nav-links a {
    color: var(--habit-muted);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding-inline: 0.75rem;
  }

  .page-home .nav-links a:hover {
    background: rgba(255, 255, 255, 0.65);
    color: var(--habit-ink);
    text-decoration: none;
  }

  .page-home .nav-cta {
    min-height: 2.65rem;
    padding-inline: 1.2rem;
    background: var(--habit-gradient);
    color: #fff;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 28px rgba(27, 111, 253, 0.32);
  }

  .page-home .nav-cta:hover {
    background: linear-gradient(135deg, var(--brand-bright) 0%, var(--brand-deep) 100%);
    color: #fff;
  }

  .page-home .lang-switch {
    border-color: var(--habit-border);
    background: var(--habit-surface);
  }

  .page-home .lang-switch a.is-active {
    background: var(--habit-ink);
  }
}

.hero--editor {
  position: relative;
  padding: clamp(1.25rem, 3.5vw, 2.25rem) 0 0;
  background: var(--hero-lime, #e2f3a3);
  overflow: hidden;
  isolation: isolate;
}

.hero--editor .hero-bg {
  display: none;
}

.hero-editor-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.hero-editor-copy {
  max-width: 34rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
  color: var(--hero-muted, #3d3d3d);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-kicker-mark {
  color: var(--hero-ink, #121212);
  font-size: 0.75rem;
}

.hero-kicker-text {
  border-bottom: 1.5px solid rgba(18, 18, 18, 0.35);
  padding-bottom: 0.12rem;
}

.hero-display {
  font-size: clamp(3.35rem, 10.5vw, 6.25rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--hero-ink, #121212);
  font-weight: 800;
}

html[lang="si"] .hero-display {
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  line-height: 0.98;
}

.hero-em {
  display: inline-block;
  margin-left: 0.04em;
  letter-spacing: -0.12em;
  font-weight: 800;
}

.hero-tagline {
  margin: 1.25rem 0 0;
  max-width: 32rem;
  color: var(--hero-muted, #3d3d3d);
  font-size: clamp(0.98rem, 1.45vw, 1.08rem);
  line-height: 1.62;
  font-weight: 500;
  text-wrap: pretty;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.5rem;
}

.hero-proof-dots {
  display: flex;
  gap: 0.4rem;
}

.hero-proof-dot {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--hero-ink, #121212);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.08);
}

.hero-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--hero-ink, #121212);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.hero-proof-link svg {
  width: 1em;
  height: 1em;
}

.hero-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-store-btn {
  display: inline-flex;
  flex: 1 1 11rem;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.15rem;
  padding: 0.5rem 1.05rem 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--hero-ink, #121212);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(18, 18, 18, 0.16);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.hero-store-btn:hover {
  background: #222;
  color: #fff;
  transform: translateY(-1px);
}

.hero-store-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.hero-store-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.hero-store-copy {
  display: grid;
  line-height: 1.15;
  text-align: left;
}

.hero-store-copy small {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.85;
}

.hero-store-copy strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-play-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  color: rgba(18, 18, 18, 0.62);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-editor-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 52vw, 560px);
  padding: 1rem 0 2rem;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  z-index: 0;
}

.hero-blob-purple {
  width: min(38vw, 200px);
  height: min(38vw, 200px);
  top: 10%;
  right: 12%;
  background: radial-gradient(circle at 35% 35%, #ddd6fe, #a78bfa 72%);
  opacity: 0.55;
  transform: rotate(8deg);
}

.hero-blob-mint {
  width: min(48vw, 240px);
  height: min(34vw, 170px);
  bottom: 8%;
  left: 2%;
  border-radius: 45% 55% 42% 58%;
  background: linear-gradient(145deg, #99f6e4, #5eead4 55%, #2dd4bf);
  opacity: 0.5;
}

.hero-float {
  position: absolute;
  z-index: 3;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(18, 18, 18, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(18, 18, 18, 0.1);
  backdrop-filter: blur(8px);
}

.hero-float-title {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-float-toolbar {
  top: 6%;
  left: max(0px, calc(50% - 280px));
}

.hero-float-lang {
  top: 34%;
  right: max(0px, calc(50% - 300px));
}

.hero-chip-row,
.hero-swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hero-chip {
  display: inline-flex;
  min-width: 2.1rem;
  justify-content: center;
  padding: 0.32rem 0.6rem;
  border-radius: var(--radius-pill);
  background: #f0f2f5;
  color: #4b5563;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-chip.is-active {
  background: var(--hero-ink, #121212);
  color: #fff;
}

.hero-swatch {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 6px;
  background: #dbeafe;
  border: 2px solid transparent;
}

.hero-swatch.is-active {
  border-color: var(--hero-ink, #0a0a0a);
  box-shadow: 0 0 0 1px #fff inset;
}

.hero-swatch:nth-child(2) {
  background: #fde68a;
}

.hero--editor .hero-phone {
  position: relative;
  z-index: 2;
  max-width: min(272px, 76vw);
  box-shadow: 0 32px 64px rgba(18, 18, 18, 0.18);
}

.hero--editor .hero-float-card {
  bottom: 12%;
  right: max(0px, calc(50% - 280px));
  z-index: 4;
  border-radius: 14px;
  border-color: rgba(18, 18, 18, 0.06);
  box-shadow: 0 16px 36px rgba(18, 18, 18, 0.12);
}

.page-home main .section-apps {
  background: var(--bg);
  border-top: 1px solid rgba(18, 18, 18, 0.05);
}

.page-home main .section-apps {
  padding-top: clamp(3.5rem, 7vw, 5rem);
}

.hero-ticker {
  background: var(--hero-ink, #121212);
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.hero-ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  padding: 0.78rem 0;
  animation: heroTicker 42s linear infinite;
  white-space: nowrap;
}

.hero-ticker-item {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-ticker-sep {
  opacity: 0.35;
  font-size: 0.72rem;
  font-weight: 400;
}

@keyframes heroTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 960px) {
  .hero-editor-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .hero-float-toolbar {
    left: 4%;
  }

  .hero-float-lang {
    right: 2%;
  }

  .hero--editor .hero-float-card {
    right: 6%;
  }
}

@media (max-width: 559px) {
  .hero-float-lang,
  .hero-float-toolbar {
    transform: scale(0.92);
  }

  .hero-float-toolbar {
    left: 0;
    top: 2%;
  }

  .hero-float-lang {
    right: 0;
    top: 28%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding-inline: var(--gutter);
  }
}

@media (max-width: 420px) {
  .nav-end > .lang-switch {
    display: none;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease,
    transform 0.18s ease;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.btn:hover svg {
  transform: translateX(2px);
}

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

.btn-sm {
  min-height: 2.5rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.9rem;
}

.btn-lg {
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  color: var(--ink);
  border-color: #b9c3d3;
  background: var(--bg-soft);
}

.btn-white {
  background: #fff;
  color: var(--ink);
}

.btn-white:hover {
  background: #eef3ff;
  color: var(--ink);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-play {
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.45rem 1rem 0.45rem 0.85rem;
  border-radius: 12px;
  background: #000;
  color: #fff;
}

.btn-play:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-play .play-icon {
  width: 22px;
  height: 22px;
}

.btn-play .play-copy {
  display: grid;
  text-align: left;
  line-height: 1.1;
}

.btn-play .play-copy small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.85;
}

.btn-play .play-copy strong {
  font-size: 1rem;
  font-weight: 700;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.play-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.play-soon[hidden],
.hero-play-soon[hidden],
[data-play-missing][hidden] {
  display: none !important;
}

.play-soon img {
  width: 18px;
  height: 18px;
}

/* ——— Shared section scaffolding ——— */
.section {
  padding-block: var(--section-y);
}

.section-tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}

.section-head-left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

.section-lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.icon-tile svg {
  width: 1.4rem;
  height: 1.4rem;
}

.icon-tile-sm {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 11px;
}

.icon-tile-sm svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ——— Phone frame ——— */
.phone {
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 360 / 780;
  padding: 10px;
  border-radius: 44px;
  background: #111827;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 26%;
  height: 20px;
  border-radius: 999px;
  background: #05080f;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  background: #fff;
}

.mock-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-glow), linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 72%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: linear-gradient(rgba(11, 19, 36, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 19, 36, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 38rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border: 1px solid var(--brand-chip);
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.pill-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

html[lang="si"] .hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
}

.grad {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-bright) 55%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 34rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-copy .btn-row {
  margin-top: 2rem;
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.925rem;
  font-weight: 600;
}

.check-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.check-list svg {
  width: 1.15rem;
  height: 1.15rem;
  padding: 0.15rem;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  padding-block: 1rem 2rem;
}

.phone-front {
  max-width: 270px;
  z-index: 2;
}

.phone-back {
  position: absolute;
  max-width: 230px;
  transform: translateX(-62%) rotate(-7deg) scale(0.94);
  opacity: 0.95;
  z-index: 1;
}

.phone-front .phone-screen {
  border-radius: 35px 35px 0 0;
  height: calc(100% - 52px);
}

.phone-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 52px;
  border-radius: 0 0 35px 35px;
  background: #fff;
  border-top: 1px solid #eef1f5;
}

.phone-nav button {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #9aa4b4;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.phone-nav button svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

.phone-nav button.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.mock-panel {
  height: 100%;
}

.mock-screen-hit {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.mock-cart-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.mock-toast {
  position: absolute;
  left: 50%;
  bottom: 14px;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 19, 36, 0.9);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.float-card strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

.float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
  max-width: 12rem;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.float-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.float-icon-green {
  background: var(--success-soft);
  color: var(--success);
}

.float-sync {
  top: 26%;
  right: max(0px, calc(50% - 300px));
}

.float-print {
  bottom: 12%;
  left: max(0px, calc(50% - 300px));
}

.strip {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(3rem, 6vw, 4.5rem);
}

.strip-label {
  color: var(--faint);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.strip-list a {
  display: inline-flex;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.strip-list a:hover {
  border-color: var(--brand-chip);
  background: var(--brand-soft);
  color: var(--brand-deep);
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .hero-visual {
    min-height: 600px;
  }
  .phone-front {
    max-width: 290px;
  }
  .phone-back {
    max-width: 250px;
  }
  .float-sync {
    right: -1rem;
  }
  .float-print {
    left: -0.5rem;
  }
}

/* ——— Apps platform ——— */
.section-apps {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.apps-grid {
  display: grid;
  gap: 1.15rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem 1.5rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.app-card:hover {
  border-color: var(--brand-chip);
  box-shadow: var(--shadow-soft);
}

.app-card-live {
  border-color: rgba(27, 111, 253, 0.28);
  background: linear-gradient(165deg, #fff 0%, var(--brand-soft) 120%);
  box-shadow: var(--shadow-brand);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--brand-deep);
}

.app-card-live .app-icon {
  background: var(--brand-plate);
  border-color: var(--brand-plate);
}

.app-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.app-icon-img {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
}

.app-status {
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-status.is-live {
  background: var(--success-soft);
  color: var(--success);
}

.app-name {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.app-kicker {
  margin-top: -0.25rem;
  color: var(--brand-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.app-summary {
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.app-link {
  align-self: flex-start;
  margin-top: 0.35rem;
  text-decoration: none;
}

.app-link-muted {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.app-link-muted:hover {
  color: var(--brand);
}

.app-card-soon {
  opacity: 0.96;
}

@media (min-width: 900px) {
  .apps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .app-card-live {
    transform: translateY(-2px);
  }
}

@media (max-width: 560px) {
  .hero-visual {
    min-height: 460px;
  }
  .phone-front {
    max-width: 230px;
  }
  .phone-back {
    max-width: 190px;
    transform: translateX(-48%) rotate(-7deg) scale(0.92);
  }
  .float-card {
    padding: 0.6rem 0.8rem 0.6rem 0.6rem;
  }
  .float-card small {
    display: none;
  }
  .float-sync {
    right: 0;
  }
  .float-print {
    left: 0;
  }
  .btn-row .btn-lg {
    flex: 1 1 100%;
  }
}

/* ——— Features ——— */
.show-grid {
  display: grid;
  gap: 1.25rem;
}

.show-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  transition: border-color 0.2s ease;
}

.show-card:hover {
  border-color: var(--brand-chip);
}

.show-copy {
  padding: 1.75rem 1.75rem 0;
}

.show-copy h3 {
  margin-top: 1.1rem;
  font-size: 1.3rem;
}

.show-copy p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.975rem;
}

.show-media {
  height: 280px;
  margin-top: 1.75rem;
  padding-inline: 2.25rem;
  overflow: hidden;
}

.show-media img {
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  border: 8px solid #111827;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  box-shadow: var(--shadow);
}

.mini-grid {
  display: grid;
  gap: 1px;
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
}

.mini-feature {
  display: flex;
  gap: 1rem;
  padding: 1.6rem 1.5rem;
  background: var(--surface);
}

.mini-feature h3 {
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}

.mini-feature p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

@media (min-width: 720px) {
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .show-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ——— How it works (dark) ——— */
.section-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: #c9d3e3;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .eyebrow {
  color: #7fb0ff;
}

.section-dark .section-lead {
  color: #a6b3c8;
}

.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.step h3 {
  margin-top: 1.4rem;
  font-size: 1.2rem;
}

.step p {
  margin-top: 0.5rem;
  color: #a6b3c8;
  font-size: 0.975rem;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3.35rem;
    right: -1.25rem;
    width: 1.25rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
  }
}

/* ——— Industries ——— */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1rem;
}

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.industry-card:hover {
  color: var(--ink);
  border-color: var(--brand-chip);
}

.industry-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.04);
}

.industry-body {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 3rem 1.1rem 1.1rem;
}

.industry-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.industry-tags {
  color: var(--muted);
  font-size: 0.85rem;
}

.industry-arrow {
  position: absolute;
  right: 1rem;
  bottom: 1.1rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.industry-arrow svg {
  width: 1rem;
  height: 1rem;
}

.industry-card:hover .industry-arrow {
  background: var(--brand);
  color: #fff;
}

@media (min-width: 1100px) {
  .industry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.industry-grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.related-title {
  margin-bottom: 1.5rem;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
}

/* ——— Pricing (cards also built by js/plans.js) ——— */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 1080px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(var(--plan-count, 3), minmax(0, 1fr));
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.price-card.is-featured,
.price-card.price-card--offer {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--brand-cyan), var(--brand) 45%, var(--brand-royal)) border-box;
  box-shadow:
    0 18px 40px rgba(39, 80, 236, 0.14),
    0 0 0 1px rgba(39, 80, 236, 0.08);
}

.price-badge,
.price-offer-ribbon {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(105deg, #0ea5e9, var(--brand) 55%, var(--brand-royal));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(39, 80, 236, 0.35);
}

.price-amount-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
}

.price-amount-row .price-amount {
  margin-top: 0;
}

.price-card--offer .price-amount {
  color: var(--brand-royal);
}

.price-offer-soon {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.price-save {
  align-self: flex-start;
  margin-top: 0.65rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 800;
}

.price-offer-duration {
  margin-top: 0.5rem;
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 700;
}

.price-yearly-was {
  margin-right: 0.35rem;
  color: var(--faint);
  text-decoration: line-through;
}

.price-yearly-now {
  color: var(--ink);
  font-weight: 700;
}

.btn-habit-offer {
  background: linear-gradient(105deg, var(--brand-cyan), var(--brand) 50%, var(--brand-royal));
  border-color: transparent;
  color: #fff;
}

.btn-habit-offer:hover {
  filter: brightness(1.05);
  color: #fff;
}

.price-card--skeleton {
  pointer-events: none;
  min-height: 22rem;
  gap: 0.85rem;
}

.price-skeleton {
  display: block;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.06) 0%,
    rgba(15, 23, 42, 0.1) 45%,
    rgba(15, 23, 42, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: price-skeleton-shimmer 1.4s ease-in-out infinite;
}

.price-skeleton-name {
  width: 40%;
  height: 1.1rem;
}

.price-skeleton-amount {
  width: 65%;
  height: 2.4rem;
  margin-top: 0.5rem;
}

.price-skeleton-line {
  width: 55%;
  height: 0.9rem;
}

.price-skeleton-btn {
  width: 100%;
  height: 2.75rem;
  margin-top: 0.5rem;
  border-radius: var(--radius-pill);
}

.price-skeleton-list {
  width: 100%;
  height: 5.5rem;
  margin-top: 0.25rem;
}

@keyframes price-skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.pricing-load-hint {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-grid.is-live .price-card--skeleton {
  display: none;
}

.price-name {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.price-amount {
  margin-top: 1rem;
  color: var(--ink);
  font-size: clamp(2.1rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

.price-was {
  margin-top: 0.4rem;
  color: var(--faint);
  font-size: 0.875rem;
  text-decoration: line-through;
}

.price-yearly {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.pricing-cycle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 0 auto 1.75rem;
  max-width: 28rem;
}

.pricing-cycle-inner {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background: var(--surface-2, rgba(15, 23, 42, 0.06));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.pricing-cycle-btn {
  min-width: 7.5rem;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-cycle-btn.is-active {
  background: var(--surface, #fff);
  color: var(--brand-royal, var(--brand));
  box-shadow: 0 4px 14px rgba(39, 80, 236, 0.12);
}

.pricing-cycle-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.pricing-cycle-hint {
  margin: 0;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.price-for {
  min-height: calc(1.5em * 2 + 1rem);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
}

.price-trial {
  align-self: flex-start;
  margin-top: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 700;
}

.price-card > .btn {
  width: 100%;
  margin-top: 1.5rem;
}

.price-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.price-list-limit {
  font-weight: 600;
  color: var(--ink);
}

.price-list-feature-first {
  margin-top: 0.25rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border);
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--brand-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%231b6ffd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 0.8rem no-repeat;
}

.pricing-note {
  margin-top: 2.25rem;
  color: var(--muted);
  text-align: center;
}

.pricing-note a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  text-decoration: none;
}

.pricing-note svg {
  width: 1rem;
  height: 1rem;
}

/* ——— FAQ ——— */
.faq-layout {
  display: grid;
  gap: 2.5rem;
}

.faq-layout .section-head {
  margin-bottom: 0;
}

.faq {
  display: grid;
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  position: relative;
  padding: 1.35rem 3rem 1.35rem 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 1.9rem;
  height: 1.9rem;
  margin-top: -0.95rem;
  border-radius: 50%;
  background: var(--bg-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4.5v11M4.5 10h11' fill='none' stroke='%230b1324' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 0.95rem no-repeat;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--brand-soft);
}

.faq summary:hover {
  color: var(--brand-deep);
}

.faq details p {
  max-width: 42rem;
  padding: 0 3rem 1.4rem 0;
  color: var(--muted);
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 4rem;
    align-items: start;
  }
  .faq-layout .section-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* ——— CTA ——— */
.cta-section {
  padding-bottom: var(--section-y);
}

.cta-band {
  position: relative;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: 32px;
  background: var(--brand);
  color: #dbe7ff;
}

.cta-copy {
  max-width: 34rem;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3rem);
}

.cta-band p {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.cta-band .btn-row {
  margin-top: 2rem;
}

.cta-visual {
  display: none;
}

@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-block: 4rem 0;
  }
  .cta-copy {
    padding-bottom: 4rem;
  }
  .cta-visual {
    display: block;
    align-self: end;
    width: 300px;
    height: 360px;
    overflow: hidden;
  }
  .phone-cta {
    max-width: 280px;
    margin-inline: auto;
    transform: rotate(6deg) translateY(24px);
  }
}

/* ——— Inner page hero & content ——— */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.page-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
}

.page-hero .btn-row {
  margin-top: 2rem;
}

.page-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 4rem;
  }
}

.page-hero-center {
  text-align: center;
}

.page-hero-center h1,
.page-hero-center .hero-lead {
  margin-inline: auto;
}

.page-hero-center .btn-row {
  justify-content: center;
}

.note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
  }
}

.detail-card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.detail-card-soft {
  background: var(--bg-soft);
  box-shadow: none;
}

.detail-card h2 {
  margin-bottom: 1.4rem;
  font-size: 1.35rem;
}

.tick-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--ink-2);
}

.tick-list svg {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.05rem;
  padding: 0.2rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.num-list {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: num;
}

.num-list li {
  position: relative;
  padding-left: 2.75rem;
  color: var(--ink-2);
  counter-increment: num;
}

.num-list li::before {
  content: counter(num);
  position: absolute;
  left: 0;
  top: -0.1rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.wrap.prose {
  max-width: var(--max);
}

.wrap.prose > * {
  max-width: var(--measure);
}

.prose {
  max-width: var(--measure);
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--brand);
}

.prose strong {
  color: var(--ink);
}

/* ——— Footer ——— */
.site-footer {
  padding: clamp(3.5rem, 7vw, 5rem) 0 calc(2rem + var(--safe-bottom));
  background: var(--navy);
  color: #93a0b5;
}

.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-brand {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 1.25rem;
  max-width: 22rem;
}

.site-footer .brand,
.site-footer .brand:hover {
  color: #fff;
}

.site-footer .brand-tld {
  color: #7fb0ff;
}

.site-footer p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer .lang-switch {
  border-color: rgba(255, 255, 255, 0.14);
  background: transparent;
}

.site-footer .lang-switch a {
  color: #93a0b5;
}

.site-footer .lang-switch a.is-active {
  background: #fff;
  color: var(--ink);
}

.footer-play {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-footer .footer-sub {
  margin-top: 1.75rem;
}

.site-footer ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul a {
  color: #93a0b5;
  font-size: 0.925rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer ul a:hover {
  color: #fff;
}

.legal {
  margin-top: 3.5rem;
  font-size: 0.875rem;
}

.legal p {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: auto;
  }
}

/* ——— Legal document pages (Terms of Service) ——— */
.doc-hero {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.doc-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.doc-lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--muted);
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.doc-meta div {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.doc-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.doc-meta dd {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.doc-section {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.doc-layout {
  display: grid;
  gap: 2rem;
}

.doc-toc {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.doc-toc-title {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.doc-toc ol {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-toc a {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--muted);
  text-decoration: none;
}

.doc-toc a:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.doc-toc-num {
  flex: 0 0 1.4rem;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
}

.doc-body {
  min-width: 0;
  max-width: 46rem;
}

.doc-summary {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(27, 111, 253, 0.14);
  border-radius: var(--radius);
  background: var(--brand-soft);
}

.doc-summary h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.doc-points {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-points li {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 23, 36, 0.04);
  position: relative;
}

.doc-points li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--brand)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 0.7rem no-repeat;
}

.doc-points strong {
  font-size: 0.97rem;
  color: var(--ink);
}

.doc-points span {
  font-size: 0.9rem;
  color: var(--muted);
}

.doc-summary-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.doc-clause {
  padding: 2rem 0 0.25rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.doc-clause h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.doc-num {
  flex: none;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--brand);
}

.doc-clause p,
.doc-clause li {
  color: #3b4656;
  font-size: 1rem;
  line-height: 1.7;
}

.doc-clause p {
  margin: 0 0 0.9rem;
}

.doc-clause ul {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

.doc-clause li + li {
  margin-top: 0.45rem;
}

.doc-clause li::marker {
  color: var(--brand);
}

.doc-clause strong {
  color: var(--ink);
}

.doc-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--faint);
}

@media (min-width: 640px) {
  .doc-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .doc-toc ol {
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  }
}

@media (min-width: 960px) {
  .doc-layout {
    grid-template-columns: 15.5rem minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }

  .doc-toc {
    position: sticky;
    top: calc(var(--header-h) + var(--safe-top) + 1.5rem);
    max-height: calc(100vh - var(--header-h) - var(--safe-top) - 3rem);
    overflow-y: auto;
    padding: 0.25rem 0;
    border: 0;
    background: none;
  }

  .doc-toc-title {
    padding-left: 0.55rem;
  }
}

/* ——— Contact page ——— */
.contact-hero {
  position: relative;
  padding: clamp(2.75rem, 7vw, 4.75rem) 0 clamp(5rem, 10vw, 7rem);
  background: var(--bg-soft);
}

.contact-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.2vw, 3.3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
  max-width: 16ch;
  text-wrap: balance;
}

.contact-lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
}

.contact-section {
  position: relative;
  z-index: 1;
  margin-top: clamp(-4.5rem, -8vw, -3rem);
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
}

.contact-card {
  flex: 1 1 auto;
  min-width: 0;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-card-head {
  margin-bottom: 1.5rem;
}

.contact-card-head h2,
.contact-success h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  letter-spacing: -0.025em;
}

.contact-card-head p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--faint);
}

.contact-form {
  display: grid;
  gap: 1.15rem;
}

.contact-form[hidden],
.contact-success[hidden] {
  display: none;
}

.cf-row {
  display: grid;
  gap: 1.15rem;
}

.cf-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.cf-field label,
.cf-field legend {
  padding: 0;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink);
}

.cf-req {
  color: var(--brand);
}

.cf-opt {
  font-weight: 500;
  color: var(--faint);
}

.cf-field input,
.cf-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-top);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cf-field textarea {
  min-height: 9.5rem;
  resize: vertical;
  line-height: 1.55;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--faint);
  opacity: 0.8;
}

.cf-field input:hover,
.cf-field textarea:hover {
  border-color: #b5bdc9;
}

.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(27, 111, 253, 0.14);
}

.cf-field.has-error input,
.cf-field.has-error textarea {
  border-color: #d93025;
  box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.1);
}

.cf-error {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c5221f;
}

.cf-count {
  margin: 0;
  justify-self: end;
  font-size: 0.76rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.cf-topics legend {
  margin-bottom: 0.55rem;
}

.cf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cf-chip {
  position: relative;
  cursor: pointer;
}

.cf-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cf-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cf-chip:hover span {
  border-color: var(--brand);
  color: var(--ink);
}

.cf-chip input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.cf-chip input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Honeypot: off-screen for people, still in the DOM for bots. */
.cf-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-alert {
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(217, 48, 37, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(217, 48, 37, 0.06);
  font-size: 0.9rem;
  font-weight: 600;
  color: #b3261e;
}

.cf-actions {
  display: grid;
  gap: 1rem;
  margin-top: 0.25rem;
}

.cf-privacy {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--faint);
}

.cf-privacy a {
  color: var(--brand-deep);
}

.cf-submit svg,
.contact-tile-icon svg,
.contact-success-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cf-submit {
  width: 100%;
}

.cf-submit:disabled {
  cursor: progress;
  opacity: 0.75;
  transform: none;
}

.cf-submit.is-busy svg {
  animation: cfNudge 0.8s ease-in-out infinite alternate;
}

@keyframes cfNudge {
  to {
    transform: translateX(4px);
  }
}

.contact-success {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: clamp(1.5rem, 5vw, 3rem) 0.5rem;
  text-align: center;
  outline: none;
}

.contact-success p {
  margin: 0 0 0.75rem;
  max-width: 26rem;
  color: var(--muted);
}

.contact-success-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.14);
  color: #1f8a3b;
}

.contact-success-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke-width: 2.5;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 0 0 auto;
  min-width: 0;
  width: 100%;
}

.contact-aside > .contact-tile,
.contact-aside > .contact-links {
  flex: 0 0 auto;
  width: 100%;
}

.contact-aside-title {
  margin: 0.25rem 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.contact-tile {
  display: flex;
  gap: 0.95rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  position: relative;
  isolation: isolate;
}

.contact-tile > div {
  min-width: 0;
}

.contact-tile-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.contact-tile h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.contact-tile p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.contact-tile-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-weight: 700;
  color: var(--brand-deep);
  overflow-wrap: anywhere;
}

.contact-play {
  margin-top: 0.75rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 0.35rem;
  padding: 0.75rem 0.25rem 0;
  font-size: 0.9rem;
}

.contact-links p {
  flex-basis: 100%;
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.contact-links a {
  color: var(--muted);
}

.contact-links a:hover {
  color: var(--brand-deep);
}

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

  .cf-actions {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .cf-submit {
    width: auto;
  }
}

@media (min-width: 900px) {
  .contact-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .contact-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
  }

  .contact-aside {
    flex: 0 0 min(22rem, 34vw);
    width: min(22rem, 34vw);
    max-width: 100%;
    position: sticky;
    top: calc(var(--header-h) + var(--safe-top) + 1.5rem);
    padding-top: 0.5rem;
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-submit.is-busy svg {
    animation: none;
  }
}

/* ——— Home: habit layout components ——— */
.page-home .btn-habit {
  background: var(--habit-gradient);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(27, 111, 253, 0.28);
}

.page-home .btn-habit:hover {
  background: linear-gradient(135deg, var(--brand-bright) 0%, var(--brand-deep) 100%);
  color: #fff;
}

.page-home .btn-habit-ghost {
  background: var(--habit-surface);
  color: var(--habit-ink);
  border: 1px solid var(--habit-border);
}

.page-home .btn-habit-ghost:hover {
  background: #fff;
  border-color: rgba(20, 20, 20, 0.14);
}

.page-home .btn-habit-on-gradient {
  background: #fff;
  color: var(--habit-ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.hero--habit {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: var(--habit-bg);
}

.hero-habit-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-habit-copy {
  max-width: 36rem;
}

.hero--habit .hero-kicker {
  margin-bottom: 1rem;
  color: var(--habit-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-habit-title {
  display: grid;
  gap: 0.15rem;
  font-size: clamp(2.35rem, 6.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--habit-ink);
}

.hero--habit .hero-tagline {
  color: var(--habit-muted);
  margin-top: 1.15rem;
}

.hero--habit .hero-play-soon {
  color: var(--habit-muted);
}

.hero-habit-visual {
  display: grid;
  place-items: center;
}

.hero-phones {
  position: relative;
  width: min(100%, 420px);
  min-height: 420px;
}

.hero--habit .hero-phone-back {
  position: absolute;
  left: 0;
  top: 8%;
  max-width: 210px;
  transform: rotate(-8deg);
  opacity: 0.92;
  z-index: 1;
  box-shadow: 0 24px 50px rgba(20, 20, 20, 0.12);
}

.hero--habit .hero-phone-main {
  position: relative;
  margin-left: auto;
  max-width: 250px;
  z-index: 2;
  box-shadow: 0 28px 56px rgba(20, 20, 20, 0.14);
}

.section-intro-split {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.intro-split-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.intro-split-card {
  display: grid;
  place-items: center;
  min-height: clamp(220px, 32vw, 280px);
  border-radius: 28px;
  background: var(--habit-gradient);
  box-shadow: 0 24px 56px rgba(27, 111, 253, 0.22);
}

.intro-split-card img {
  width: clamp(4.5rem, 12vw, 6rem);
  height: auto;
  border-radius: 18px;
}

.intro-split-copy h2 {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  max-width: 22rem;
}

.intro-split-copy p {
  margin-top: 0.85rem;
  max-width: 34rem;
  color: var(--habit-muted);
  line-height: 1.65;
}

.section-head-center {
  text-align: center;
  margin-inline: auto;
}

.section-head-center .section-lead {
  margin-inline: auto;
}

.section-spotlight {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.spotlight-duo {
  display: grid;
  gap: 1rem;
  max-width: 640px;
  margin: 1.5rem auto 0;
}

.spotlight-tile {
  padding: 1.25rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(20, 20, 20, 0.06);
  box-shadow: 0 12px 32px rgba(20, 20, 20, 0.06);
}

.spotlight-tile--yellow {
  background: #f6e089;
}

.spotlight-tile--mint {
  background: #c1f0d5;
}

.spotlight-tile-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--habit-ink);
}

.spotlight-tile-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.spotlight-tile h3 {
  margin-top: 0.85rem;
  font-size: 1.05rem;
}

.spotlight-tile p {
  margin-top: 0.4rem;
  color: var(--habit-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.spotlight-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 52vw, 520px);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.spotlight-phone {
  position: relative;
  z-index: 2;
}

.spotlight-phone .phone {
  max-width: 250px;
  box-shadow: 0 32px 64px rgba(20, 20, 20, 0.14);
}

.spotlight-ribbons {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.spotlight-ribbon {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: min(240px, 42vw);
  padding: 0.65rem 0.85rem 0.65rem 0.65rem;
  border-radius: 18px;
  border: 1px solid rgba(20, 20, 20, 0.06);
  box-shadow: 0 16px 40px rgba(20, 20, 20, 0.1);
}

.spotlight-ribbon-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: var(--habit-ink);
}

.spotlight-ribbon-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.spotlight-ribbon-text {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--habit-ink);
  letter-spacing: -0.01em;
}

.spotlight-ribbon--yellow {
  background: #f6e089;
}

.spotlight-ribbon--mint {
  background: #c1f0d5;
}

.spotlight-ribbon--lime {
  background: #a8e685;
}

.spotlight-ribbon--blue {
  background: #ddeefa;
}

.spotlight-ribbon--pos-1 {
  top: 6%;
  left: max(0px, calc(50% - 340px));
  transform: rotate(-4deg);
}

.spotlight-ribbon--pos-2 {
  top: 38%;
  left: max(0px, calc(50% - 360px));
  transform: rotate(-2deg);
}

.spotlight-ribbon--pos-3 {
  top: 10%;
  right: max(0px, calc(50% - 330px));
  transform: rotate(3deg);
}

.spotlight-ribbon--pos-4 {
  bottom: 8%;
  right: max(0px, calc(50% - 350px));
  transform: rotate(2deg);
}

.split-section {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
}

.split-section .split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split-copy h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
}

.split-copy p {
  margin-top: 0.75rem;
  color: var(--habit-muted);
  line-height: 1.65;
  max-width: 32rem;
}

.split-copy .btn {
  margin-top: 1.25rem;
}

.split-phone {
  max-width: 260px;
  margin-inline: auto;
  padding: 0.65rem;
  border-radius: 36px;
  background: var(--habit-surface);
  box-shadow: 0 24px 48px rgba(20, 20, 20, 0.1);
}

.split-phone .phone-screen {
  border-radius: 30px;
  overflow: hidden;
}

.page-home main .section-apps {
  background: var(--habit-bg);
  border-top: none;
}

.page-home .app-card {
  border-radius: 24px;
  border-color: var(--habit-border);
  background: var(--habit-surface);
}

.page-home .app-card-live {
  background: linear-gradient(160deg, #fff 0%, var(--habit-accent-soft) 120%);
  border-color: rgba(27, 111, 253, 0.28);
  box-shadow: 0 16px 40px rgba(27, 111, 253, 0.12);
}

.section-bento {
  background: var(--habit-bg);
}

.bento-grid {
  display: grid;
  gap: 1rem;
}

.bento-card {
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid var(--habit-border);
}

.bento-card h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.bento-card p {
  margin-top: 0.45rem;
  color: var(--habit-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.bento-card--mint {
  background: #e8f7ff;
}
.bento-card--sky {
  background: var(--brand-soft);
}
.bento-card--peach {
  background: #eef2ff;
}
.bento-card--lavender {
  background: #f0ecff;
}
.bento-card--lemon {
  background: #e6f9ff;
}
.bento-card--rose {
  background: #edf3ff;
}

.section-stats {
  background: var(--habit-surface);
}

.stats-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.stat-card {
  padding: 1.5rem 1.35rem;
  border-radius: 20px;
  border: 1px solid var(--habit-border);
  background: var(--habit-bg);
  text-align: center;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--habit-ink);
}

.stat-label {
  margin-top: 0.35rem;
  color: var(--habit-muted);
  font-size: 0.9rem;
}

.section-steps {
  background: var(--habit-bg);
}

.section-steps .steps {
  gap: 1rem;
}

.section-steps .step {
  background: var(--habit-surface);
  border-color: var(--habit-border);
  color: var(--habit-muted);
}

.section-steps .step h3 {
  color: var(--habit-ink);
}

.section-steps .step-num {
  background: var(--habit-gradient);
  color: #fff;
}

.section-steps .step:not(:last-child)::after {
  display: none;
}

.page-home #industries {
  background: var(--habit-surface);
}

.page-home .industry-card {
  border-radius: 20px;
  border-color: var(--habit-border);
}

.page-home #pricing {
  background: var(--habit-bg);
}

.page-home .price-card {
  border-radius: 22px;
}

.page-home #faq {
  background: #fff;
}

.page-home--pro #faq .section-head-center {
  max-width: none;
}

.section-foot-link {
  margin-top: 1.5rem;
  text-align: center;
}

.section-foot-link a {
  font-weight: 700;
  color: var(--habit-ink);
}

.cta-section--habit {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--habit-bg);
}

.habit-cta-banner {
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background: linear-gradient(105deg, var(--brand-cyan) 0%, var(--brand) 42%, var(--brand-royal) 78%, #3c18d0 100%);
  box-shadow: 0 24px 60px rgba(39, 80, 236, 0.28);
}

.habit-cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  max-width: 20ch;
  margin-inline: auto;
}

.habit-cta-banner p {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  opacity: 0.95;
  line-height: 1.55;
}

.habit-cta-banner .btn {
  margin-top: 1.5rem;
}

@media (min-width: 960px) {
  .hero-habit-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .split-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .split-section--reverse .split-copy {
    order: 2;
  }

  .split-section--reverse .split-media {
    order: 1;
  }

  .bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 52rem;
    margin-inline: auto;
  }

  .spotlight-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }

  .intro-split-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .showcase-center {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
  }
}

.showcase-center-copy h2 {
  font-size: clamp(1.4rem, 3vw, 1.95rem);
}

.showcase-center-copy p {
  margin-top: 0.75rem;
  color: var(--habit-muted);
  line-height: 1.65;
  max-width: 28rem;
}

.showcase-center-copy .btn {
  margin-top: 1.15rem;
}

.showcase-center-phone {
  display: grid;
  place-items: center;
}

.split-phone--tilt {
  transform: rotate(-8deg);
  max-width: 240px;
}

.section-walkthrough-intro {
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.industries-teaser {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.industries-teaser .btn {
  margin-top: 1.25rem;
}

.habit-quote-card {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border: 3px solid var(--brand-chip);
  border-radius: 24px;
  background: var(--habit-surface);
  box-shadow: 0 16px 40px rgba(20, 20, 20, 0.06);
  text-align: center;
}

.habit-quote-card blockquote p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--habit-ink);
}

.habit-quote-card figcaption {
  margin-top: 1rem;
  color: var(--habit-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ——— Home: how it works (modern steps) ——— */
.section-how-modern {
  background: var(--habit-surface);
}

.how-modern-steps {
  display: grid;
  gap: 1.15rem;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.how-step-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.35rem 1rem;
  border: 1px solid var(--habit-border);
  border-radius: 24px;
  background: var(--habit-surface);
  box-shadow: 0 14px 40px rgba(7, 16, 45, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.how-step-card:hover {
  border-color: rgba(27, 111, 253, 0.22);
  box-shadow: 0 18px 48px rgba(27, 111, 253, 0.1);
}

.how-step-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.how-step-badge {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 14px;
  background: var(--habit-gradient);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(27, 111, 253, 0.25);
}

.how-step-line {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-chip), transparent);
}

.how-step-body h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.how-step-body p {
  margin-top: 0.5rem;
  color: var(--habit-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.how-step-preview {
  margin-top: 1.15rem;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--habit-bg) 0%, var(--brand-soft) 100%);
  border: 1px solid var(--habit-border);
}

.how-step-phone {
  max-width: 200px;
  margin-inline: auto;
  padding: 0.75rem 0.75rem 0;
}

.how-step-phone .phone-screen {
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(7, 16, 45, 0.12);
}

.how-modern-foot {
  margin-top: 2rem;
  text-align: center;
}

/* ——— Home: FAQ modern ——— */
.section-faq-modern {
  background: var(--habit-bg);
}

.faq-modern-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

.faq-modern-aside .section-lead {
  margin-top: 0.75rem;
  max-width: 22rem;
}

.faq-modern-aside .btn {
  margin-top: 1.35rem;
}

.faq-modern {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 0;
}

.faq-modern .faq-card {
  border: 1px solid var(--habit-border);
  border-radius: 18px;
  background: var(--habit-surface);
  box-shadow: 0 8px 24px rgba(7, 16, 45, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-modern .faq-card[open] {
  border-color: rgba(27, 111, 253, 0.35);
  box-shadow: 0 16px 40px rgba(27, 111, 253, 0.1);
}

.faq-modern .faq-card summary {
  position: relative;
  padding: 1.15rem 3.5rem 1.15rem 1.2rem;
  color: var(--habit-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

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

.faq-modern .faq-card summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border-radius: 50%;
  background: var(--habit-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4.5v11M4.5 10h11' fill='none' stroke='%230f56d9' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 0.9rem no-repeat;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-modern .faq-card[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--brand-soft);
}

.faq-modern .faq-card summary:hover {
  color: var(--brand-deep);
}

.faq-modern .faq-card-a {
  padding: 0 1.2rem 1.2rem;
}

.faq-modern .faq-card-a p {
  margin: 0;
  padding: 0;
  color: var(--habit-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-modern .faq-card-a a {
  color: var(--brand-deep);
  font-weight: 600;
}

@media (min-width: 960px) {
  .how-modern-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .how-step-card:last-child .how-step-line {
    opacity: 0;
  }

  .faq-modern-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .faq-modern-aside {
    position: sticky;
    top: calc(var(--header-h) + var(--safe-top) + 1.5rem);
  }
}

.page-home .hero-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--habit-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-home .hero-checklist li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.page-home .hero-checklist svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--brand);
}

.intro-extra {
  margin-top: 0.85rem;
  color: var(--habit-muted);
  line-height: 1.65;
  max-width: 36rem;
}

.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--brand-deep);
  text-decoration: none;
}

.intro-link:hover {
  color: var(--brand);
}

.intro-link svg {
  width: 1em;
  height: 1em;
}

.section-head-center .section-lead {
  max-width: 40rem;
  margin-top: 0.75rem;
}

.split-eyebrow {
  margin-bottom: 0.5rem;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  border: 1px solid var(--habit-border);
  border-radius: var(--radius-pill);
  background: var(--habit-surface);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--habit-ink);
}

.step-pill-num {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.showcase-bullets {
  margin: 1rem 0 0;
  max-width: 28rem;
}

.page-home .showcase-bullets.check-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.platform-note {
  max-width: 42rem;
  margin: 1.75rem auto 0;
  text-align: center;
  color: var(--habit-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.industries-examples-label {
  margin-top: 1.25rem;
  color: var(--habit-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.industry-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.industry-chip {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--habit-border);
  background: var(--habit-surface);
  color: var(--habit-ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.industry-chip:hover {
  border-color: var(--brand-chip);
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.page-home #pricing .section-lead {
  margin-inline: auto;
}

.section-walkthrough-intro {
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.spotlight-stage {
  min-height: clamp(360px, 42vw, 440px);
}

.intro-split-grid {
  align-items: center;
}

.showcase-center {
  gap: 2rem;
}

@media (max-width: 959px) {
  .showcase-center-copy {
    text-align: center;
  }

  .showcase-bullets.check-list {
    margin-inline: auto;
  }

  .showcase-center-copy .btn {
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .spotlight-ribbon {
    position: static;
    transform: none !important;
    max-width: none;
  }

  .spotlight-ribbons {
    position: static;
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    pointer-events: auto;
  }

  .spotlight-stage {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section .split-grid {
    grid-template-columns: 1fr;
  }
}
