/* Kontain public site — light sales theme (brand #3f51b5).
   Served as /site/css/site.css (nginx alias → website/assets/). */

:root {
  --brand: #3f51b5;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --text: #1a1d23;
  --muted: #5c6570;
  --border: #e2e5ea;
  --accent: #3f51b5;
  --accent-hover: #303f9f;
  --accent-contrast: #ffffff;
  --link: #4558c9;
  --link-hover: #3f51b5;
  --radius: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  --max: 42rem;
  --hero-max: 48rem;
  --wide-max: 56rem;
  --shadow-soft: 0 8px 28px rgba(63, 81, 181, 0.08);
}

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

html {
  color-scheme: light;
  background: #eef1fb;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background-color: #eef1fb;
  background-image: url("/site/img/site-bg.svg");
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a {
  color: var(--link);
  text-decoration: none;
  transition:
    color 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    opacity 0.16s ease,
    box-shadow 0.16s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-inner,
.site-footer-inner,
.site-main {
  width: 100%;
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

/* Same idea as CRM .site-header: flex wrap so open nav can be full-width row */
.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  line-height: 0;
}

.site-logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-logo .logo-svg {
  display: block;
  height: 1.85rem;
  width: auto;
}

.site-logo .logo-path {
  fill: currentColor;
}

/* Mobile menu — website only. CRM untouched.
   Fast: absolute under sticky header (no main reflow).
   Look: full-width panel, top+bottom borders, CRM link/CTA styles. */
.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 0 0 auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-nav-toggle-icon {
  display: none;
  width: 1.15rem;
  height: 1.15rem;
}

.site-nav-toggle .site-nav-toggle-open {
  display: block;
}

.site-header.is-nav-open .site-nav-toggle .site-nav-toggle-open {
  display: none;
}

.site-header.is-nav-open .site-nav-toggle .site-nav-toggle-close {
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--link-hover);
}

.site-nav .nav-cta {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: var(--accent-contrast);
  text-decoration: none;
}

@media (max-width: 719px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .site-header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-header.is-nav-open {
    border-bottom-color: transparent;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 100;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0;
    padding: 0.35rem max(1.25rem, calc((100% - 56rem) / 2 + 1.25rem)) 0.5rem;
    box-sizing: border-box;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
  }

  .site-header.is-nav-open .site-nav {
    display: flex;
  }

  .site-nav > a {
    display: block;
    padding: 0.7rem 0.65rem;
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent;
    border: none;
  }

  .site-nav > a:hover {
    background: var(--surface-2);
    color: var(--accent);
    text-decoration: none;
  }

  .site-nav > a.nav-cta {
    display: block;
    text-align: center;
    margin-top: 0.35rem;
    padding: 0.7rem 0.65rem;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--accent-contrast);
    border: none;
    font-weight: 600;
  }

  .site-nav > a.nav-cta:hover {
    background: var(--accent-hover);
    color: var(--accent-contrast);
    text-decoration: none;
  }
}

@media (min-width: 720px) {
  /* Full-width bar (bg + border edge-to-edge); content aligned to --wide-max */
  .site-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
    padding-left: max(1.25rem, calc((100% - var(--wide-max)) / 2 + 1.25rem));
    padding-right: max(1.25rem, calc((100% - var(--wide-max)) / 2 + 1.25rem));
  }

  .site-header-inner {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    max-width: none;
    width: auto;
    margin: 0;
    padding: 1rem 0;
  }

  .site-nav-toggle {
    display: none !important;
  }

  .site-nav {
    display: flex !important;
    position: static !important;
    flex: 1 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    gap: 0.65rem 1rem;
    margin: 0;
    padding: 1rem 0;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

.site-main {
  flex: 1;
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
  max-width: var(--wide-max);
}

.site-main h1 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.site-main h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.site-main h2:first-of-type {
  margin-top: 2rem;
}

.site-main p {
  margin: 0 0 0.9rem;
  color: var(--text);
}

.site-main li {
  color: var(--text);
  margin: 0.35rem 0;
}

.site-main ul {
  margin: 0.35rem 0 1rem;
  padding-left: 1.25rem;
}

.site-main .meta,
.site-main .lede {
  color: var(--muted);
}

/* Policy date line — smaller than body text */
.site-main .site-updated {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
  opacity: 0.85;
}

.lede {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  color: var(--muted);
}

/* FAQ-style Q&A */
.site-main p strong {
  color: var(--text);
}

/* Content pages (Help, legal, changelog) — soft section separators */
.site-main > h2 {
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.site-main > h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.site-main > .site-page-head + h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 1.5rem;
}

.site-hero-logo {
  display: block;
  margin: 0 0 1rem;
  line-height: 0;
  color: var(--text);
}

.site-hero-logo .logo-svg {
  display: block;
  height: 2.75rem;
  width: auto;
}

.site-hero-logo .logo-path {
  fill: currentColor;
}

.site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  align-items: center;
}

.site-btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
  text-decoration: none;
  border: none;
  font: inherit;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease;
}

.site-btn:hover {
  background: var(--accent-hover);
  color: var(--accent-contrast);
  text-decoration: none;
}

.site-btn-ghost {
  background: var(--surface);
  color: var(--accent);
  /* Stronger than page border so edges stay clear on soft indigo bg */
  border: 1px solid #b8bfd0;
}

.site-btn-ghost:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  color: var(--accent-hover);
  text-decoration: none;
}

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

.site-feature-list li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-feature-list li strong {
  color: var(--text);
}

.site-panel {
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
}

/* site-main--wide kept as no-op alias (shell is already wide-max) */
.site-main--wide {
  max-width: var(--wide-max);
}

.site-page-head {
  margin-bottom: 1.5rem;
}

.site-page-head h1 {
  margin-bottom: 0.4rem;
}

.site-page-head .lede {
  margin-bottom: 0;
  max-width: 45rem;
}

/* Trial strip */
.site-trial-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
}

.site-trial-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.site-trial-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28rem;
}

.site-trial-badge {
  display: inline-block;
  margin: 0 0 0.4rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  background: #e8eaf6;
  border-radius: 999px;
}

/* Monthly / yearly toggle (mirrors CRM billing) */
.site-interval-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding: 0.3rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.site-interval-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition:
    color 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease;
}

.site-interval-btn:hover {
  color: var(--text);
  background: var(--surface);
}

.site-interval-btn.is-active {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

.site-interval-btn.is-active:hover {
  background: var(--accent-hover);
  color: var(--accent-contrast);
}

.site-save-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
}

.site-interval-btn:not(.is-active) .site-save-pill {
  background: #e8eaf6;
  color: var(--accent);
}

/* Plan cards grid */
.site-plans {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
  align-items: stretch;
}

@media (min-width: 720px) {
  .site-plans {
    grid-template-columns: 1fr 1fr;
  }
}

.site-plan-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.site-plan-card:hover {
  border-color: #9fa8da;
}

.site-plan-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-soft);
}

.site-plan-card--featured:hover {
  border-color: var(--accent-hover);
  box-shadow: 0 0 0 1px var(--accent-hover), var(--shadow-soft);
}

.site-plan-badge {
  margin: 0 0 0.4rem;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  background: #e8eaf6;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}

.site-plan-name {
  margin: 0;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.site-plan-price {
  margin: 0.35rem 0 0;
  line-height: 1.15;
}

.site-plan-price-amount {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text);
}

.site-plan-price-period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.site-plan-price-hint {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.site-plan-blurb {
  margin: 0.55rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-plan-features {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.site-plan-features li {
  position: relative;
  margin: 0;
  padding: 0.35rem 0 0.35rem 1.35rem;
  font-size: 0.95rem;
  color: var(--text);
  border-top: 1px solid var(--border);
}

.site-plan-features li:first-child {
  border-top: none;
}

.site-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.site-plan-card .site-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.site-pricing-foot {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  font-size: 0.9rem;
}

/* —— Home polish —— */
.site-hero {
  margin-bottom: 0.5rem;
}

.site-hero .lede {
  font-size: 1.2rem;
  max-width: 32rem;
  color: var(--text);
  font-weight: 500;
}

.site-hero-sub {
  margin: 0 0 0.35rem;
  color: var(--muted);
  max-width: 45rem;
}

.site-why {
  margin-top: 2rem;
}

.site-why .site-product-shots-head h2 {
  margin-top: 0;
}

.site-why .site-feature-grid {
  margin-top: 1rem;
}

.site-hero .site-actions {
  margin-top: 1.35rem;
}

/* —— Product UI previews (CSS mock) —— */
.site-product-shots {
  margin: 1.75rem 0 0;
  padding: 0;
}

.site-product-shots-head {
  margin-bottom: 1rem;
}

.site-product-shots-head h2 {
  margin: 0 0 0.45rem;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  border: none;
  padding: 0;
}

.site-product-shots-head .meta {
  margin: 0;
  max-width: 49rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}

.site-product-shots-grid {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}

@media (min-width: 720px) {
  .site-product-shots-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.site-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.site-shot-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d8dce6;
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(26, 29, 35, 0.04),
    0 12px 28px rgba(63, 81, 181, 0.08);
  overflow: hidden;
}

.site-shot-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  background: #eef0f5;
  border-bottom: 1px solid #e2e5ea;
}

.site-shot-chrome span {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.site-shot-chrome span:nth-child(1) { background: #f87171; }
.site-shot-chrome span:nth-child(2) { background: #fbbf24; }
.site-shot-chrome span:nth-child(3) { background: #4ade80; }

.site-shot-chrome em {
  margin-left: 0.55rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-shot-layout {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  min-height: 0;
}

.site-shot-nav {
  width: 2.15rem;
  flex-shrink: 0;
  padding: 0.75rem 0.4rem;
  background: #f3f4f8;
  border-right: 1px solid #e8eaef;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.site-shot-nav u {
  display: block;
  height: 0.55rem;
  border-radius: 3px;
  background: #d1d5db;
  text-decoration: none;
}

.site-shot-nav u.is-on {
  background: #3f51b5;
  opacity: 0.85;
}

.site-shot-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.8rem 0.9rem 0.95rem;
  background: #fafbfc;
  min-width: 0;
  min-height: 0;
}

/* Equal-height frames: stack content, spread sections if the card grows */
.site-shot-dash,
.site-shot-inv {
  flex: 1 1 auto;
  justify-content: space-between;
}

.site-shot-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  flex-shrink: 0;
}

.site-shot-titlebar strong {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1d23;
}

.site-shot-titlebar em {
  display: block;
  width: 3.6rem;
  height: 1.15rem;
  border-radius: 5px;
  background: #3f51b5;
  font-style: normal;
}

.site-shot-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
  background: #3f51b5;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  user-select: none;
  pointer-events: none;
}

.site-shot-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
  flex-shrink: 0;
}

.site-shot-section {
  flex-shrink: 0;
  margin: 0;
}

.site-shot-section-label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.site-shot-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.4rem;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 7px;
}

.site-shot-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.35rem 0.45rem;
  padding: 0.28rem 0.2rem;
  border-bottom: 1px solid #f0f2f5;
  font-size: 0.68rem;
  line-height: 1.2;
}

.site-shot-list li:last-child {
  border-bottom: none;
}

.site-shot-list-name {
  font-weight: 600;
  color: #1a1d23;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-shot-list em {
  font-style: normal;
  font-weight: 700;
  color: #374151;
  font-variant-numeric: tabular-nums;
}

.site-shot-pill {
  font-style: normal;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  background: #eef0f5;
  color: #6b7280;
  white-space: nowrap;
}

.site-shot-pill--warn {
  background: #fee2e2;
  color: #991b1b;
}

.site-shot-card {
  padding: 0.5rem 0.45rem;
  background: #fff;
  border: 1px solid #e2e5ea;
  border-radius: 7px;
}

.site-shot-card b {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.site-shot-card small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.58rem;
  color: #6b7280;
  font-weight: 600;
  line-height: 1.25;
}

.site-shot-card--teal { border-color: #67e8f9; }
.site-shot-card--teal b { color: #0e7490; }
.site-shot-card--red { border-color: #f87171; }
.site-shot-card--red b { color: #991b1b; }
.site-shot-card--green { border-color: #86efac; }
.site-shot-card--green b { color: #166534; }

.site-shot-table {
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 7px;
  padding: 0.4rem 0.45rem;
}

.site-shot-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.site-shot-row:last-child {
  margin-bottom: 0;
}

.site-shot-row i {
  display: block;
  height: 0.4rem;
  border-radius: 3px;
  background: #e5e7eb;
}

.site-shot-row--head i {
  height: 0.32rem;
  background: #c5c9d4;
}

.site-shot-row--dim i {
  opacity: 0.5;
}

.site-shot-inv {
  background: #fff;
}

.site-shot-inv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #eef0f4;
  flex-shrink: 0;
}

.site-shot-inv-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #9ca3af;
  flex-shrink: 0;
}

.site-shot-inv-head strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: #1a1d23;
}

.site-shot-badge {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: #e8eaf6;
  color: #3f51b5;
}

.site-shot-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0;
  flex-shrink: 0;
}

.site-shot-parties small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
  margin-bottom: 0.2rem;
}

.site-shot-parties p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1d23;
  line-height: 1.35;
}

.site-shot-parties span {
  font-weight: 500;
  color: #6b7280;
  font-size: 0.75rem;
}

.site-shot-inv-line {
  margin: 0;
  font-size: 0.82rem;
  color: #374151;
  line-height: 1.4;
  flex-shrink: 0;
}

.site-shot-inv-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem 0;
  border-top: 1px solid #eef0f4;
  flex-shrink: 0;
}

.site-shot-inv-breakdown div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 600;
}

.site-shot-inv-breakdown em {
  font-style: normal;
  color: #374151;
  font-variant-numeric: tabular-nums;
}

.site-shot-inv-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0.65rem;
  background: #f6f7f9;
  border: 1px solid #eef0f4;
  border-radius: 7px;
  margin: 0;
  flex-shrink: 0;
}

.site-shot-inv-total span {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
}

.site-shot-inv-total strong {
  font-size: 1.1rem;
  color: #1a1d23;
  letter-spacing: -0.02em;
}

.site-shot-inv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
  flex-shrink: 0;
}

/* Decorative action chips — look like buttons, not empty bars */
.site-shot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  height: 1.55rem;
  padding: 0 0.65rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  box-sizing: border-box;
}

.site-shot-btn--primary {
  background: #3f51b5;
  color: #fff;
  border: 1px solid #3f51b5;
}

.site-shot-btn--ghost {
  background: #fff;
  color: #4b5563;
  border: 1px solid #c5c9d4;
}

.site-shot figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

.site-product-shots-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2.25rem 0 0;
  padding-top: 1.35rem;
  align-items: center;
}

/* Override .site-main ul padding so the 2×2 grid stays flush with content width */
.site-main .site-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  align-items: stretch;
}

@media (min-width: 640px) {
  .site-main .site-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .site-main .site-feature-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.site-feature-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.15rem 1.2rem 1.2rem;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
  box-sizing: border-box;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.site-feature-card:hover {
  border-color: #b8bfd0;
  box-shadow: 0 10px 32px rgba(63, 81, 181, 0.1);
}

.site-feature-kicker {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 0.5rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: #e8eaf6;
  border-radius: 999px;
}

.site-feature-card h2 {
  margin: 0 0 0.4rem;
  padding: 0;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

.site-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}

.site-home-plans {
  margin-top: 1.5rem;
  padding-top: 0.25rem;
}

.site-home-plans-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.1rem;
}

.site-home-plans-head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-top: 1.25rem !important;
}

.site-home-plans-lede {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28rem;
}

.site-home-plans-link {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-home-plan-row {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

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

.site-home-plan-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.3rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.16s ease;
}

.site-home-plan-card:hover {
  border-color: #9fa8da;
}

.site-home-plan-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-home-plan-price {
  margin: 0.45rem 0 0;
  line-height: 1.15;
}

.site-home-plan-amount {
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text);
}

.site-home-plan-period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.site-home-plan-year {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.site-home-plan-points {
  margin: 0.85rem 0 1.1rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.site-home-plan-points li {
  position: relative;
  margin: 0;
  padding: 0.4rem 0 0.4rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
  border-top: 1px solid var(--border);
}

.site-home-plan-points li:first-child {
  border-top: none;
  padding-top: 0;
}

.site-home-plan-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.site-home-plan-points li:first-child::before {
  top: 0.4rem;
}

.site-home-plan-cta {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: auto;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.site-footer-copy {
  flex-shrink: 0;
}

/* Menu + social icons as one right-hand group (icons after Cookies) */
.site-footer-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.85rem;
  margin-left: auto;
  min-width: 0;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
  font-weight: 600;
}

.site-footer-nav a {
  color: var(--muted);
}

.site-footer-nav a:hover {
  color: var(--link-hover);
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  margin: 0;
  padding: 0;
  border: none;
  width: auto;
}

.site-footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
  touch-action: manipulation;
}

.site-footer-social-icon:hover {
  color: var(--link-hover);
  background: var(--surface-2);
  text-decoration: none;
}

.site-footer-social-icon svg {
  display: block;
}

@media (max-width: 640px) {
  .site-main h1 {
    font-size: 1.4rem;
  }

  .site-header-inner,
  .site-footer-inner,
  .site-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-trial-card {
    flex-direction: column;
    align-items: stretch;
  }

  .site-trial-card .site-btn {
    width: 100%;
    text-align: center;
  }

  .site-hero .site-actions,
  .site-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-hero .site-actions .site-btn,
  .site-actions .site-btn {
    width: 100%;
    text-align: center;
  }

  .site-interval-toggle {
    width: 100%;
    justify-content: stretch;
  }

  .site-interval-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .site-plan-price-amount {
    font-size: 1.75rem;
  }

  .site-home-plans-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-footer-end {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .site-footer-nav {
    justify-content: flex-start;
    gap: 0.45rem 0.85rem;
  }

  .site-footer-social {
    justify-content: flex-start;
  }
}
