/* =========================================
   Kikaron — Main Stylesheet
   ========================================= */

/* --- Fonts --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'TeX Gyre Pagella';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pagella-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'TeX Gyre Pagella';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pagella-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Bellefair, Hebrew subset only. Headings still resolve Latin glyphs
   through TeX Gyre Pagella; Hebrew characters fall through to this
   face thanks to the unicode-range scoping. */
@font-face {
  font-family: 'Bellefair';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bellefair-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* --- Variables --- */
:root {
  --color-primary: #1F2937;
  --color-primary-dark: #111827;
  --color-primary-light: #374151;
  /* Shared with the product via brand-tokens.css (fallbacks preserve the
     standalone look if that sheet is ever missing). */
  --color-accent: var(--colour-accent, #EA6C1A);
  --color-accent-light: #F4924A;
  --color-bg: #FAFAF8;
  --color-surface: #ffffff;
  --color-text: var(--body-font-colour, #1a1a1a);
  --color-text-muted: #52525b;
  --color-border: var(--default-border-colour, #e4e4e7);
  --font-body: var(--body-font-family, 'Inter', system-ui, sans-serif);
  --font-heading: 'TeX Gyre Pagella', 'Bellefair', Palatino, 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --radius: var(--border-radii-small, 8px);
  --radius-lg: var(--border-radii, 16px);
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.2s ease;
  --max-width: 1140px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17.5px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Disable hyphenation on short, control-style labels where breaking looks wrong. */
.btn,
.nav-links a,
.site-logo,
code, kbd, pre, samp {
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-light); }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-text);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 780px;
}

/* --- Header --- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text) !important;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

.site-header .site-logo svg { height: 44px; width: auto; }

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.logo-text { color: var(--color-text); }

/* Nav */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle-label span {
  display: block; width: 24px; height: 2px;
  background: var(--color-text); border-radius: 2px;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: #fef3e8;
  color: var(--color-accent);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #fef3e8 0%, #fff7ef 50%, #faf4ec 100%);
  color: var(--color-text);
  padding: 5rem 0 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23EA6C1A' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container { position: relative; }

.hero-tag {
  display: inline-block;
  background: rgba(234,108,26,0.12);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--color-accent); }

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(234,108,26,0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-outline-dark:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: #fef3e8;
}

.btn-signup,
.nav-links .btn-signup,
.footer-contact .btn-signup {
  background: var(--color-accent);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
}
.btn-signup:hover {
  background: var(--color-accent-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(234,108,26,0.35);
}

.btn-login,
.nav-links .btn-login {
  background: transparent;
  color: var(--color-text);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--color-border);
}
.btn-login:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: #fef3e8;
}

.btn-primary-dark {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary-dark:hover {
  background: var(--color-primary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(31,41,55,0.35);
}

/* --- Section --- */
section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
}

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-intro { margin: 0 auto; }

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

a.feature-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  color: var(--color-accent);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- Onboard --- */
.onboard {
  background: #f8f5f2;
  padding: 3.5rem 0;
}

/* --- Highlight (image bank etc.) --- */
.highlight {
  background: var(--color-bg);
  padding: 5rem 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

a.highlight-grid {
  text-decoration: none;
  color: inherit;
}

a.highlight-grid:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.highlight-grid--coming-soon {
  opacity: 0.65;
  cursor: default;
}
.highlight-grid--coming-soon .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-icon {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon svg { width: 48px; height: 48px; }

.highlight-body .section-label { margin-bottom: 0.5rem; }
.highlight-body .section-heading { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.75rem; }
.highlight-body p { color: var(--color-text-muted); font-size: 1rem; max-width: 700px; }

@media (max-width: 700px) {
  .highlight-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .highlight-icon { margin: 0 auto; }
  .highlight-body p { margin: 0 auto; }
}

/* --- Organisation Types --- */
.org-types {
  background: #f8f5f2;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.org-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.org-card--compact {
  padding: 1.1rem 0.75rem;
}
.org-card--compact .org-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.5rem;
}
.org-card--compact .org-icon svg {
  width: 28px;
  height: 28px;
}
.org-card--compact h3 {
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.25;
}

/* Special packages — single-column highlight panels for vertical bundles */
.special-packages {
  background: var(--color-bg);
  padding: 4rem 0;
}
.special-packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.org-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}


.org-card .org-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.org-card .org-icon svg { width: 36px; height: 36px; }
.org-card h3,
.org-card p,
.org-card--compact h3 {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
  -webkit-hyphenate-limit-chars: 6 3 3;
          hyphenate-limit-chars: 6 3 3;
}
.org-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.org-card p { font-size: 0.88rem; color: var(--color-text-muted); }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: #fff;
  text-align: center;
  padding: 4.5rem 0;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--color-accent);
}
.cta-banner .btn-primary:hover {
  background: #fff;
  color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-banner .btn-outline {
  border-color: rgba(255,255,255,0.7);
}
.cta-banner .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* --- Page Hero --- */
.page-hero {
  background: var(--color-primary-light);
  color: #fff;
  padding: 3.5rem 0;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.page-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* --- Page Content --- */
.page-content {
  padding: 4rem 0;
}

.page-content a:not(.btn),
.features-overview-item p a,
.features-category .section-intro a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(0, 0, 0, 0.35);
}
.page-content a:not(.btn):hover,
.features-overview-item p a:hover,
.features-category .section-intro a:hover {
  text-decoration-color: currentColor;
}

.page-content h2 {
  font-size: 1.7rem;
  margin: 2.5rem 0 0.75rem;
}

.page-content h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.page-content p { margin-bottom: 1.25rem; color: var(--color-text-muted); }
.page-content p:first-child { color: var(--color-text); font-size: 1.05rem; }

.page-content ul, .page-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

.page-content li { margin-bottom: 0.4rem; }

/* --- Steps --- */
.steps {
  counter-reset: steps;
  margin: 2rem 0;
}

.step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.step-num {
  counter-increment: steps;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-body h3 { margin: 0 0 0.35rem; font-family: var(--font-body); font-weight: 600; }
.step-body p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; font-size: 1.7rem; }
.contact-info p { color: var(--color-text-muted); margin-bottom: 1.5rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-detail .icon {
  width: 38px;
  height: 38px;
  background: #fef3e8;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234,108,26,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

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

/* --- Footer --- */
.site-footer {
  background: var(--color-primary-light);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .site-logo { color: #fff !important; margin-bottom: 0.75rem; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; }

.footer-contact p { font-size: 0.9rem; }
.footer-contact a { color: var(--color-accent-light); }

.footer-bottom {
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}
.footer-bottom a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 2px;
}
.footer-bottom a:hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.75);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-toggle-label {
    display: flex;
  }

  .site-nav {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    min-width: 200px;
    gap: 0.25rem;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- USPs --- */
.usps {
  background: var(--color-primary-light);
  padding: 4rem 0;
}

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

.usp-item {
  text-align: center;
}

.usp-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  color: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-icon svg { width: 32px; height: 32px; }

.usp-item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.usp-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .usp-grid .usp-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .usp-grid { grid-template-columns: 1fr; }
  .usp-grid .usp-item:last-child { grid-column: auto; }
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234,108,26,0.15), var(--shadow-md);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-price {
  margin: 1rem 0;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
}

.pricing-amount sup {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  vertical-align: super;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.3rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  min-height: 6rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5L3 8l1-1 2.5 2.5 5-5 1 1z'/%3E%3C/svg%3E");
  background-size: contain;
}

.pricing-features li.na {
  opacity: 0.4;
}

.pricing-features li.na::before {
  background-color: var(--color-border);
  background-image: none;
}

.pricing-cta { width: 100%; justify-content: center; }

.pricing-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 2.5rem;
}

/* --- Features Page --- */
.features-category {
  padding: 4rem 0 2rem;
}

.features-category + .features-category {
  border-top: 1px solid var(--color-border);
  padding-top: 3.5rem;
}

.features-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.features-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.features-category-icon svg {
  width: 28px;
  height: 28px;
}

.features-category-header h2 {
  font-size: 1.6rem;
  margin: 0;
}

.features-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.feature-tile-icon svg {
  width: 26px;
  height: 26px;
}

.feature-tile-body h3 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.feature-tile-body p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- Signup Page --- */
.signup-wrapper {
  min-height: calc(100vh - 68px - 200px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: var(--color-bg);
}

.signup-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.signup-card .signup-logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.signup-card h1 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.4rem;
}

.signup-card .signup-sub {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.signup-card .login-link {
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 1.25rem;
}

.signup-card .login-link a {
  color: var(--color-accent);
  font-weight: 600;
}

.password-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
  line-height: 1.5;
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.terms-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}

.terms-row label {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.terms-row label a { color: var(--color-accent); }

/* Marketing screenshot figures (1280×N WebP captures dropped under
   /media/screenshots/). Constrain to container width and add a soft
   shadow so they read as a card. */
.screenshot-figure {
  margin: 2rem auto;
  max-width: 1100px;
  border-radius: 16px;
  border: 1px solid #c4c4c9;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #fff;
}
.screenshot-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.screenshot-figure--portlet {
  max-width: 350px;
}
.screenshot-figure--document {
  max-width: 780px;
}
.hero-screenshot {
  padding: 0 0 1rem;
}
.hero-screenshot .container {
  max-width: 1180px;
}
.hero-screenshot + .page-content,
.hero-screenshot + .features-overview {
  padding-top: 1rem;
}
.screenshot-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1100px;
}
.screenshot-pair .screenshot-figure {
  margin: 0;
  max-width: none;
}
@media (max-width: 700px) {
  .screenshot-pair { grid-template-columns: 1fr; }
}

/* --- Features overview (compact benefit grid on the home page) --- */
.features-overview {
  background: var(--color-bg);
  padding: 3rem 0 0;
}
.features-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.25rem 2.5rem;
}
.features-overview-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
}
.features-overview-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.features-overview-item a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(234, 108, 26, 0.35);
  transition: border-color 0.15s ease;
}
.features-overview-item a:hover {
  border-bottom-color: var(--color-accent);
}

/* --- App pages --- */
.app-hero { text-align: left; }
.app-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.app-hero-icon svg { width: 40px; height: 40px; }

.app-explore {
  background: var(--color-bg);
  padding: 4rem 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (max-width: 900px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .app-grid { grid-template-columns: 1fr; } }

.app-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: #f4efe7;
  border: 1px solid #d6cebf;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.app-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.app-card-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md, 8px);
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Per-app brand colors — matches the --app-colour-* palette used by
   the Quaive backend so the marketing tiles mirror the in-product icons. */
.app-icon--team-spaces,
.app-icon--todo,
.app-icon--preferences   { color: #4A6F95; }
.app-icon--updates       { color: #7B5EA0; }
.app-icon--contacts      { color: #A06430; }
.app-icon--documents     { color: #0369A3; }
.app-icon--favourites,
.app-icon--help          { color: #7E726A; }
.app-icon--photos        { color: #C73D78; }
.app-icon--newsletter    { color: #dd2b4f; }
.app-icon--meetings,
.app-icon--messages      { color: #00C300; }
.app-icon--calendar      { color: orangered; }
.app-icon--search        { color: #6E6862; }
.app-icon--chokhmah      { color: #7C5A3E; }
.app-icon--yahrzeit      { color: black; }

/* Per-app brand colour on the app page hero — full saturation, white text,
   white icon pill on top so the icon still pops. */
.app-hero:has(.app-icon--team-spaces),
.app-hero:has(.app-icon--todo),
.app-hero:has(.app-icon--preferences) { background: #4A6F95; }
.app-hero:has(.app-icon--updates)     { background: #7B5EA0; }
.app-hero:has(.app-icon--contacts)    { background: #A06430; }
.app-hero:has(.app-icon--documents)   { background: #0369A3; }
.app-hero:has(.app-icon--favourites),
.app-hero:has(.app-icon--help)        { background: #7E726A; }
.app-hero:has(.app-icon--photos)      { background: #C73D78; }
.app-hero:has(.app-icon--newsletter)  { background: #dd2b4f; }
.app-hero:has(.app-icon--meetings),
.app-hero:has(.app-icon--messages)    { background: #00C300; }
.app-hero:has(.app-icon--calendar)    { background: orangered; }
.app-hero:has(.app-icon--search)      { background: #6E6862; }
.app-hero:has(.app-icon--chokhmah)    { background: #7C5A3E; }
.app-hero:has(.app-icon--yahrzeit)    { background: black; }

/* Give the white icon pill a soft lift so it stands out against the
   white card without needing a per-app tint on the card itself. */
.app-card-icon { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }

a.org-card {
  text-decoration: none;
  color: inherit;
}
a.org-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.app-card-icon svg { width: 24px; height: 24px; }
.app-card-body {
  text-align: left;
}
.app-card-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.app-card-body p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.app-card-link {
  color: var(--color-accent);
  text-decoration: underline;
}
.app-card:hover .app-card-link {
  color: var(--color-accent-light);
}

/* --- Footer language switcher --- */
.lang-switcher {
  margin-top: 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
  font-size: 0.85rem;
}
.lang-switcher-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 1.25rem 0.2rem;
  border-radius: 4px;
  transition: color 0.15s ease;
}
.lang-switcher-link:hover {
  color: #fff;
}
.lang-switcher-link.is-active {
  color: #fff;
  font-weight: 600;
  cursor: default;
}

/* Minimal RTL adjustments for Hebrew. The grid/flex layouts mirror
   automatically; this handles a couple of LTR-leaning details. */
html[dir="rtl"] .hero-tag,
html[dir="rtl"] .pricing-badge,
html[dir="rtl"] .section-label,
html[dir="rtl"] .tier-option-badge,
html[dir="rtl"] .package-option-badge {
  letter-spacing: 0;
}
html[dir="rtl"] .footer-bottom p {
  direction: rtl;
}
html[dir="rtl"] .app-card-body {
  text-align: right;
}
html[dir="rtl"] .app-hero {
  text-align: right;
}
html[dir="rtl"] .app-hero-icon {
  margin-left: auto;
  margin-right: 0;
}

/* --- Paid signup form --- */
.signup-paid-form .form-section-heading {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin: 4rem 0 1rem;
}
.signup-paid-form .form-section-heading:first-of-type { margin-top: 0; }

.tier-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 700px) {
  .tier-switcher { grid-template-columns: 1fr; }
}
.tier-option {
  display: block;
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tier-option:hover {
  border-color: var(--color-accent);
}
.tier-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tier-option:has(input:checked) {
  border-color: var(--color-accent);
  background: #fef3e8;
  box-shadow: 0 0 0 3px rgba(234, 108, 26, 0.25);
}
.tier-option:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.tier-option-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.tier-option-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tier-option-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-text);
}
.tier-option-price span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 400;
}
.tier-option-meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
  line-height: 1.35;
}
.tier-option-trial {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 0.25rem;
}

.paid-fields { margin-top: 3rem; }

.add-on-packages { margin-top: 2.5rem; }

.step1-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.step1-total-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}
.step1-total-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-text);
}
.step1-total-currency {
  font-size: 0.95rem;
  vertical-align: top;
  margin-right: 0.05rem;
}
.step1-total-period {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-left: 0.4rem;
  font-weight: 400;
}
.step1-total-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.step1-total-byline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.package-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.85rem;
}

.package-switcher {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.package-option {
  display: block;
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.package-option:hover { border-color: var(--color-accent); }
.package-option input { position: absolute; opacity: 0; pointer-events: none; }
.package-option:has(input:checked) {
  border-color: var(--color-accent);
  background: #fef3e8;
  box-shadow: 0 0 0 3px rgba(234, 108, 26, 0.25);
}
.package-option:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.package-option-price {
  display: inline-block;
  font-weight: 600;
  color: var(--color-accent);
  margin-left: 0.4rem;
  font-size: 0.85rem;
}
.package-option-price[hidden] { display: none; }
.package-option--disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.package-option--disabled:hover { border-color: var(--color-border); }

.package-option-body {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.package-option-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
}
.package-option-icon svg { width: 22px; height: 22px; }
.package-option-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}
.package-option-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--color-text-muted);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.package-option-meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.basic-redirect-note {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  background: #fef3e8;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.basic-redirect-note p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; color: var(--color-text); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-grid-full { grid-column: 1 / -1; }
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-text);
}
.form-grid label span em {
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 400;
  font-size: 0.85em;
}
.form-grid input,
.form-grid select {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.form-grid input:focus,
.form-grid select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234, 108, 26, 0.18);
}

.discount-row {
  margin-top: 1.5rem;
  max-width: 300px;
}
.discount-row label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-text);
}
.discount-row label span em {
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 400;
  font-size: 0.85em;
}
.discount-row input {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  text-transform: uppercase;
}
.discount-row input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234, 108, 26, 0.18);
}

.signup-submit {
  margin-top: 1.5rem;
  width: 100%;
  font-size: 1.05rem;
  padding: 0.95rem 1rem;
}
.payment-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.85rem;
}

/* =========================================
   Product chooser (site root / www.kikaron.com)
   ========================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; max-width: 32rem; margin-left: auto; margin-right: auto; }
}
.product-card {
  display: flex; flex-direction: column; text-align: left;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border, #e6e6e0);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  color: inherit; text-decoration: none;
}
a.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(17, 24, 39, 0.35);
  border-color: var(--color-accent);
}
.product-card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: #fff; margin-bottom: 1.25rem;
}
.product-card-icon svg { width: 30px; height: 30px; }
.product-card h3 { font-family: 'TeX Gyre Pagella', Georgia, serif; font-size: 1.4rem; margin: 0 0 0.15rem; }
.product-card-sub { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; color: var(--color-accent); margin-bottom: 0.75rem; }
.product-card p { color: var(--color-text-muted); font-size: 0.97rem; margin: 0 0 1.5rem; }
.product-card-cta { margin-top: auto; font-weight: 600; color: var(--color-accent); display: inline-flex; align-items: center; gap: 0.4rem; }
.product-card--soon { opacity: 0.72; }
.product-card--soon .product-card-icon { background: linear-gradient(135deg, #9aa2b1, #c3c9d4); }
.product-card--soon .product-card-sub,
.product-card--soon .product-card-cta { color: var(--color-text-muted); }

/* Trust strip (Kikaron One homepage) */
.trust-strip { background: var(--color-primary, #1F2937); padding: 1.1rem 0; }
.trust-line { text-align: center; color: #fff; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; margin: 0; opacity: 0.95; }

/* Product switcher nav (Hub · One · Pro) — thin, large, current stands out */
.product-nav { gap: 1.25rem; }
.nav-links a.product-nav-item,
.product-nav .product-nav-item {
  font-size: 1.85rem;
  font-weight: 200;             /* thin */
  letter-spacing: 0.005em;
  line-height: 1;              /* no extra vertical box → centres cleanly */
  padding: 0 0.15rem;
  display: flex;
  align-items: center;
  color: #adadb6;               /* muted — low contrast */
  background: transparent;
  transition: none;             /* instant hover, no fade */
}
.nav-links a.product-nav-item:hover { color: var(--color-text); background: transparent; }
/* high specificity so it beats `.nav-links a.product-nav-item` above */
.nav-links a.product-nav-item.is-current,
.product-nav .product-nav-item.is-current { color: var(--color-text); font-weight: 500; }  /* high contrast = current */
.product-nav-item--soon { opacity: 0.6; }
/* a little air before the auth buttons */
.product-nav .btn-login { margin-left: 0.9rem; }

/* Custom plan — full-width spread below the three tiers (Try-for-free page) */
.custom-plan {
  margin-top: 1.5rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 2.5rem;
  align-items: center;
}
.custom-plan .pricing-cta { margin-top: 1.1rem; display: inline-flex; }
.custom-plan-features {
  columns: 3;
  column-gap: 2.25rem;
  margin: 0;
}
.custom-plan-features li { break-inside: avoid; }
@media (max-width: 820px) {
  .custom-plan { grid-template-columns: 1fr; gap: 1.5rem; }
  .custom-plan-features { columns: 2; }
}
@media (max-width: 520px) {
  .custom-plan-features { columns: 1; }
}

/* Product-nav underscore: orange under the active item, grey grow-in on hover.
   Sits on the same baseline as the bottom of the adjacent Log in button. */
.product-nav-item { position: relative; }
.product-nav-item::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.33rem;                /* aligned to the login button bottom (measured) */
  height: 5px;
  border-radius: 2.5px;            /* round endings */
  background: #adadb6;             /* grey */
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(.34, 1.7, .5, 1);  /* bouncy width grow */
  pointer-events: none;
}
.product-nav-item:not(.is-current):hover::after { transform: scaleX(1); }
.product-nav-item.is-current::after {
  background: var(--color-accent); /* orange */
  transform: scaleX(1);
  transition: none;
}

/* Keep the nav CTA a consistent width across products (Try for free / Talk to us)
   so the Hub·One·Pro items don't shift when navigating. */
.product-nav .btn-signup { min-width: 7.4rem; justify-content: center; }

/* ============================================================
   Global nav v2: product word in the logo lockup + old compact nav.
   (The big Hub·One·Pro switcher styling above — .product-nav* and the
   underscore — is now unused; kept in place for later re-use.)
   ============================================================ */

/* Product word appended to the wordmark → "Kikaron One". Grey, thin,
   baseline + x-height matched to the Kikaron logo. */
.site-logo { position: relative; }
.logo-product {
  font-family: var(--font-body);
  font-weight: 300;
  color: #9a9aa6;
  font-size: 2.56rem;            /* tuned so x-height matches the logo x-height */
  line-height: 1;
  margin-left: 0.34rem;
  align-self: flex-end;
  transform: translateY(0.17rem);   /* baseline onto the logo baseline */
}

/* More contrast on the active section (old compact nav restored) */
.nav-links a.active {
  background: #fef3e8;
  color: var(--color-accent);
  font-weight: 700;
}
.nav-links .btn-signup { min-width: 7.4rem; justify-content: center; }

/* Pro: greyed-out, inert Log in button */
.btn-login.is-disabled {
  color: var(--color-text-muted);
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* Slightly larger nav items + more separation before the login button */
.nav-links a:not(.btn) { font-size: 1.1rem; }
.nav-links .btn-login { margin-left: 1.1rem; }

/* ============================================================
   Cross-document View Transitions — a smooth crossfade when
   navigating between same-origin pages (Chrome/Edge/Safari;
   degrades to an instant load elsewhere). Cross-product jumps
   (hub↔cloud↔pro subdomains) are cross-origin, so unaffected.
   ============================================================ */
@view-transition { navigation: auto; }

/* Persistent chrome — stays put across the transition (each needs its own
   unique view-transition-name). The header logo is scoped so the footer logo
   isn't also captured. main and .logo-product are left to crossfade. */
.site-header .site-logo svg { view-transition-name: brand-logo; }
.nav-links .btn-login  { view-transition-name: nav-login; }
.nav-links .btn-signup { view-transition-name: nav-signup; }
.logo-product { view-transition-name: logo-product; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
  animation-timing-function: ease;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

