/* ───── Landing Page ───── */

.landing {
  min-height: 100vh;
  background: #F7F6F2;
  color: #1A1A1B;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 19px;
  line-height: 1.6;
  font-feature-settings: 'kern', 'liga';
  overflow-x: hidden;
  position: relative;
}

/* Grid background - subtle dot/line pattern referencing the app's grid */
.landing-grid-bg {
  display: none;
}

.landing > *:not(.landing-grid-bg) {
  position: relative;
  z-index: 1;
}

/* ───── Nav ───── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(26, 26, 27, 0.1);
}

.landing-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #D32F2F 0%, #455A64 100%);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  color: #F7F6F2;
  letter-spacing: -0.02em;
  box-shadow: 0 0 32px rgba(211, 47, 47, 0.5);
}

.landing-brand-name {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #1A1A1B;
  text-transform: uppercase;
}

.landing-brand-lg .landing-brand-name {
  font-size: 38px;
}



.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.landing-nav-links a {
  font-size: 17px;
  color: #1A1A1B;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
  cursor: pointer;
}
.landing-nav-links a:hover {
  color: #455A64;
}

.landing-cta-sm {
  background: #D32F2F;
  color: #F7F6F2;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.landing-cta-sm:hover {
  background: #B91C1C;
  transform: translateY(-1px);
}

/* ───── Hero — contained split, text left + image right, aligned to page grid ───── */
.landing-hero {
  padding: 152px 32px 32px;
  position: relative;
}

.landing-hero::before { content: none; }

.landing-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 600px;
  position: relative;
  z-index: 2;
}

.landing-hero-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
}

.landing-hero-art {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #F0EFEA;
  mix-blend-mode: multiply;
  position: relative;
  width: 100%;
}

.landing-hero-art::before { content: none; }

.landing-hero-art-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  clip-path: inset(0 4.5% 4.5% 0);
  transform: scale(1.08);
  transform-origin: top left;
}

.landing-hero-title {
  font-size: clamp(48px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-align: left;
  max-width: 100%;
  margin-bottom: 28px;
}

.landing-hero-sub {
  max-width: 100%;
  margin: 0 0 28px;
  text-align: left;
}

.landing-hero-kicker {
  max-width: 100%;
  margin: 0 0 40px;
  text-align: left;
}

.landing-hero-actions {
  justify-content: flex-start;
}

.landing-eyebrow {
  margin-left: 0;
  margin-right: 0;
}

.landing-hero-meta-wrap {
  max-width: 1240px;
  margin: 32px auto 0;
  padding: 16px 32px 80px;
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}

.landing-hero-meta {
  max-width: 100%;
}

@media (max-width: 1000px) {
  .landing-hero {
    padding: 132px 24px 32px;
  }
  .landing-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }
  .landing-hero-text {
    text-align: center;
    align-items: center;
  }
  .landing-hero-title,
  .landing-hero-sub,
  .landing-hero-kicker {
    text-align: center;
  }
  .landing-hero-actions {
    justify-content: center;
  }
  .landing-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }
  .landing-hero-art {
    max-width: 480px;
    margin: 0 auto;
  }
  .landing-hero-meta-wrap {
    justify-content: center;
  }
}

/* Hero typography — actual font + color (the layout sizing lives above) */
.landing-eyebrow {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-style: normal;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 600;
  color: #455A64;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-eyebrow::after { content: none; }
.landing-eyebrow-dot { display: none; }

.landing-hero-title {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-weight: 700;
  color: #1A1A1B;
}

.landing-accent {
  color: #D32F2F;
  font-style: normal;
  font-weight: 700;
}

.landing-hero-sub {
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.55;
  color: #455A64;
  font-weight: 400;
}

.landing-hero-kicker {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(30px, 3.4vw, 42px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #1A1A1B;
}

.landing-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.landing-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #D32F2F;
  color: #F7F6F2;
  border: none;
  border-radius: 4px;
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  letter-spacing: -0.01em;
}
.landing-cta-primary:hover {
  background: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.22);
}
.landing-cta-arrow {
  transition: transform 0.2s;
  font-weight: 400;
}
.landing-cta-primary:hover .landing-cta-arrow {
  transform: translateX(4px);
}

.landing-cta-lg {
  padding: 20px 40px;
  font-size: 17px;
  border-radius: 12px;
}

.landing-cta-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #1A1A1B;
  border: 1px solid rgba(26, 26, 27, 0.16);
  border-radius: 10px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  font-family: inherit;
}
.landing-cta-ghost:hover {
  background: rgba(26, 26, 27, 0.1);
  border-color: rgba(26, 26, 27, 0.3);
}

/* Hero meta stats */
.landing-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 18px 32px;
  background: rgba(26, 26, 27, 0.04);
  border: 1px solid rgba(26, 26, 27, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.landing-hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-hero-meta-num {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.landing-hero-meta-label {
  font-size: 11px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.landing-hero-meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(26, 26, 27, 0.12);
}

/* ───── Manifesto ───── */
.landing-manifesto {
  padding: 100px 32px;
  border-top: 1px solid rgba(69, 90, 100, 0.25);
  border-bottom: 1px solid rgba(69, 90, 100, 0.25);
  position: relative;
}

.landing-manifesto-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.landing-section-tag { display: none; }

.landing-manifesto-title {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #1A1A1B;
  margin-bottom: 28px;
  max-width: 980px;
}

.landing-strike {
  position: relative;
  display: inline-block;
  color: #455A64;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(211, 47, 47, 0.5);
}

.landing-manifesto-body {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  color: #455A64;
  max-width: 720px;
}

/* ───── Sections ───── */
.landing-section {
  padding: 120px 32px;
}

.landing-section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.landing-section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.landing-section h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ───── Features ───── */
.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .landing-features { grid-template-columns: 1fr; }
}

.landing-feature {
  padding: 32px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.landing-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(211, 47, 47, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.landing-feature:hover {
  border-color: rgba(211, 47, 47, 0.3);
  transform: translateY(-2px);
}
.landing-feature:hover::before {
  opacity: 1;
}

.landing-feature-lg {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .landing-feature-lg { grid-column: span 1; }
}

.landing-feature-num { display: none; }

.landing-feature h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1A1A1B;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
}

.landing-feature-lg h3 {
  font-size: 30px;
  font-size: 26px;
}

.landing-feature p {
  font-size: 18px;
  line-height: 1.6;
  color: #455A64;
}

/* ───── Compare ───── */
.landing-compare {
  padding: 120px 32px;
  background: linear-gradient(180deg, rgba(211, 47, 47, 0.04), rgba(0,0,0,0));
  border-top: 1px solid rgba(26, 26, 27, 0.1);
  border-bottom: 1px solid rgba(26, 26, 27, 0.1);
}

.landing-compare-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.landing-compare-title {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 56px;
}

.landing-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 800px) {
  .landing-compare-grid { grid-template-columns: 1fr; }
}

.landing-compare-col {
  padding: 36px 32px;
}

.landing-compare-old {
  opacity: 0.7;
}

.landing-compare-new {
  background: rgba(211, 47, 47, 0.04);
  border-color: rgba(211, 47, 47, 0.25);
  box-shadow: 0 0 40px rgba(211, 47, 47, 0.08);
}

.landing-compare-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.landing-compare-old .landing-compare-label {
  background: rgba(26, 26, 27, 0.1);
  color: #455A64;
}

.landing-compare-new .landing-compare-label {
  background: linear-gradient(135deg, #D32F2F, #455A64);
  color: #1A1A1B;
}

.landing-compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-compare-col li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 26, 27, 0.1);
  font-size: 18px;
  line-height: 1.55;
  color: #455A64;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.landing-compare-col li:last-child {
  border-bottom: none;
}

.landing-compare-old li::before {
  content: '×';
  color: #ef4444;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.landing-compare-new li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}

/* ───── Steps ───── */
.landing-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .landing-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .landing-steps { grid-template-columns: 1fr; }
}

.landing-step {
  padding: 28px 24px;
  transition: all 0.2s;
}
.landing-step:hover {
  border-color: rgba(211, 47, 47, 0.2);
}

.landing-step-head { display: none; }

.landing-step-num { display: none; }

.landing-step-tag { display: none; }

.landing-step h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1B;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
}

.landing-step p {
  font-size: 18px;
  line-height: 1.6;
  color: #455A64;
}

/* ───── Who ───── */
.landing-who {
  padding: 120px 32px;
  border-top: 1px solid rgba(26, 26, 27, 0.1);
}

.landing-who-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 56px;
}

.landing-who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1000px) { .landing-who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .landing-who-grid { grid-template-columns: 1fr; } }

.landing-who-card {
  padding: 28px 24px;
  transition: all 0.2s;
}
.landing-who-card:hover {
  border-color: rgba(211, 47, 47, 0.2);
  background: rgba(26, 26, 27, 0.08);
}

.landing-who-role { display: none; }

.landing-who-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1B;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
}

.landing-who-card p {
  font-size: 18px;
  line-height: 1.6;
  color: #455A64;
}

/* ───── Specs ───── */
.landing-specs {
  padding: 120px 32px;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid rgba(26, 26, 27, 0.1);
  border-bottom: 1px solid rgba(26, 26, 27, 0.1);
}

.landing-specs-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.landing-specs-title {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 56px;
}

.landing-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .landing-specs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .landing-specs-grid { grid-template-columns: 1fr; } }

.landing-specs-item {
  padding: 24px 0;
  border-top: 1px solid rgba(26, 26, 27, 0.12);
}

.landing-specs-k {
  font-size: clamp(44px, 5.5vw, 64px);
  font-weight: 700;
  color: #D32F2F;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-variant-numeric: tabular-nums;
}

.landing-specs-v {
  font-size: 17px;
  line-height: 1.5;
  color: #455A64;
  max-width: 280px;
}

/* ───── Pricing (reuses .landing-compare-grid, .landing-compare-col, .landing-compare-new) ───── */
.landing-pricing-badge {
  display: inline-block;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  background: #D32F2F;
  color: #F7F6F2;
}

.landing-pricing-price {
  font-size: 64px;
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 20px 0 10px;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-variant-numeric: tabular-nums;
}

.landing-pricing-price-unit {
  font-size: 28px;
  font-weight: 600;
  color: #455A64;
  letter-spacing: -0.01em;
  margin-left: 4px;
}

.landing-pricing-savings-badge {
  display: inline-block;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  background: #D32F2F;
  color: #F7F6F2;
}

/* Teams / institutional pricing — full-width contact-sales card below the
   two individual plans. Doesn't compete with the priced plans visually but
   makes clear that team buyers are welcome to inquire. */
.landing-teams-card {
  margin-top: 32px;
  padding: 36px 40px;
  border-top: 1px solid rgba(69, 90, 100, 0.22);
  border-bottom: 1px solid rgba(69, 90, 100, 0.22);
  background: rgba(69, 90, 100, 0.04);
}

.landing-teams-card-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 32px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.landing-teams-card-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-teams-card-title {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: #1A1A1B;
  margin: 0;
}

.landing-teams-card-body {
  font-size: 17px;
  line-height: 1.55;
  color: #455A64;
  margin: 0;
}

.landing-teams-card-actions {
  display: flex;
  justify-content: flex-end;
}

.landing-teams-card-actions .landing-cta-primary {
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .landing-teams-card {
    padding: 28px 24px;
  }
  .landing-teams-card-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .landing-teams-card-actions {
    justify-content: flex-start;
  }
}

.landing-pricing-sub {
  font-size: 16px;
  color: #455A64;
  line-height: 1.5;
  margin-bottom: 28px;
}

.landing-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.landing-pricing-features li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 26, 27, 0.1);
  font-size: 17px;
  line-height: 1.5;
  color: #455A64;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

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

.landing-pricing-features li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  flex-shrink: 0;
}

/* ───── Final CTA ───── */
.landing-final {
  padding: 140px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(211, 47, 47, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 50%, rgba(69, 90, 100, 0.08) 0%, transparent 55%);
  filter: blur(40px);
  pointer-events: none;
}

.landing-final-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.landing-final h2 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 20px;
}

.landing-final p {
  font-size: 19px;
  line-height: 1.55;
  color: #455A64;
  margin-bottom: 40px;
}

.landing-final p.landing-final-note {
  font-size: 15px;
  color: #6B7280;
  margin-top: 24px;
  margin-bottom: 0;
}

/* ───── Footer ───── */
.landing-footer {
  border-top: 1px solid rgba(26, 26, 27, 0.12);
  padding: 80px 32px 48px;
  background: transparent;
}

.landing-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.landing-footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(26, 26, 27, 0.1);
}

@media (max-width: 800px) {
  .landing-footer-top { grid-template-columns: 1fr; gap: 32px; }
}

.landing-footer-brand-block p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #455A64;
  max-width: 280px;
  margin-top: 16px;
}

.landing-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 600px) {
  .landing-footer-cols { grid-template-columns: 1fr 1fr; }
}

.landing-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: #1A1A1B;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.landing-footer-col a,
.landing-footer-col span {
  font-size: 13.5px;
  color: #455A64;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.landing-footer-col a:hover {
  color: #1A1A1B;
}

.landing-footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #6B7280;
}

@media (max-width: 600px) {
  .landing-footer-bottom { flex-direction: column; gap: 8px; }
}

/* Strip the nav down on mobile — keep only the brand + Sign In so the bar
 * doesn't wrap or get touch-cramped. The hero CTA right below covers
 * "Open the app" intent so we lose nothing by hiding the duplicate. */
@media (max-width: 768px) {
  .landing-nav-links a { display: none; }
  .landing-cta-sm { display: none; }
  .landing-nav-signin {
    padding: 10px 16px;
    font-size: 14px;
    min-height: 40px;
  }
}

/* Make the primary hero CTA full-width and thumb-friendly on phones. */
@media (max-width: 600px) {
  .landing-hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .landing-cta-primary,
  .landing-cta-lg {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
    min-height: 52px;
  }
  .landing-final-inner .landing-cta-primary {
    width: auto;
  }
  /* Tighten the hero on phones — the 180px desktop top padding leaves a
   * half-screen of dead space between the nav and the eyebrow. */
  .landing-hero {
    padding: 48px 20px 64px;
  }
  /* Section vertical padding on desktop is 100-120px which feels right
   * spaced across a wide screen but stacks into screens of empty space on
   * a phone. Cut everything to a tighter 56px rhythm. */
  .landing-manifesto,
  .landing-section,
  .landing-compare,
  .landing-who,
  .landing-specs,
  .landing-final {
    padding: 56px 20px;
  }
  .landing-section-head {
    margin-bottom: 32px;
  }
  .landing-manifesto-title {
    margin-bottom: 20px;
  }
  .landing-footer {
    padding-top: 48px;
    padding-bottom: 32px;
  }
}

/* ───── Signup modal ───── */
.signup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(247, 246, 242, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.signup-modal {
  background: #141419;
  border: 1px solid rgba(26, 26, 27, 0.12);
  border-radius: 18px;
  padding: 44px 36px;
  width: 440px;
  max-width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(211, 47, 47, 0.08);
}

.signup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #6B7280;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.signup-close:hover {
  background: rgba(26, 26, 27, 0.1);
  color: #1A1A1B;
}

.signup-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.signup-modal h2 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.signup-sub {
  font-size: 17px;
  line-height: 1.55;
  color: #455A64;
  margin-bottom: 28px;
}

.signup-google-btn {
  width: 100%;
  background: #fff;
  color: #F7F6F2;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.15s;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.signup-google-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(26, 26, 27, 0.16);
}
.signup-google-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.signup-primary-btn {
  width: 100%;
  background: linear-gradient(135deg, #D32F2F 0%, #455A64 100%);
  color: #1A1A1B;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.signup-primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(211, 47, 47, 0.35);
}
.signup-primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.signup-tos {
  font-size: 12px;
  line-height: 1.55;
  color: #6B7280;
  margin-top: 20px;
}

/* ───── App gate screen ───── */
.gate-screen {
  position: fixed;
  inset: 0;
  background: #F7F6F2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  z-index: 10;
}

.gate-content {
  text-align: center;
  max-width: 500px;
}

.gate-content h1 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.gate-sub {
  font-size: 18px;
  line-height: 1.55;
  color: #455A64;
  margin-bottom: 36px;
}

.gate-note {
  font-size: 15px;
  color: #6B7280;
  margin-top: 28px;
}

.gate-link {
  background: none;
  border: none;
  color: #D32F2F;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
.gate-link:hover {
  color: #1A1A1B;
}

.gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.gate-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(26, 26, 27, 0.14);
  border-top-color: #D32F2F;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: gate-spin 0.8s linear infinite;
}

@keyframes gate-spin {
  to { transform: rotate(360deg); }
}

.signup-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 16px;
  font-size: 13px;
  color: #f87171;
  line-height: 1.5;
  text-align: left;
}

/* ───── Welcome / Onboarding Page ───── */
.welcome {
  min-height: 100vh;
  background: #F7F6F2;
  color: #1A1A1B;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-y: auto;
  overflow-x: hidden;
}

.welcome-hero {
  padding: 100px 32px 60px;
  text-align: center;
}

.welcome-hero-inner {
  max-width: 600px;
  margin: 0 auto;
}

.welcome-check {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #1A1A1B;
  margin: 0 auto 24px;
  box-shadow: 0 0 32px rgba(34, 197, 94, 0.35);
}

.welcome h1 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.welcome-trial-badge {
  display: inline-block;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 100px;
  padding: 7px 18px;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.welcome-sub {
  font-size: 19px;
  line-height: 1.55;
  color: #455A64;
  margin-bottom: 28px;
}

.welcome-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #D32F2F;
  color: #F7F6F2;
  border: none;
  border-radius: 4px;
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  letter-spacing: -0.01em;
}
.welcome-cta:hover {
  background: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.22);
}
.welcome-cta-lg {
  padding: 20px 44px;
  font-size: 18px;
  border-radius: 14px;
}

/* Sections */
.welcome-section {
  padding: 64px 32px;
  border-top: 1px solid rgba(26, 26, 27, 0.1);
}

.welcome-section-alt {
  background: rgba(26, 26, 27, 0.03);
}

.welcome-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.welcome-section-title {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.015em;
  margin-bottom: 36px;
  text-align: center;
}

/* Steps */
.welcome-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .welcome-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .welcome-steps { grid-template-columns: 1fr; } }

.welcome-step-card {
  padding: 0;
  transition: opacity 0.2s;
}
.welcome-step-card:hover { opacity: 0.85; }

.welcome-step-num {
  width: 36px;
  height: 36px;
  background: #D32F2F;
  color: #F7F6F2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.welcome-step-card h3 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1B;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.welcome-step-card p {
  font-size: 17px;
  line-height: 1.55;
  color: #455A64;
}

/* Tools grid */
.welcome-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
}
@media (max-width: 700px) { .welcome-tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 450px) { .welcome-tools { grid-template-columns: 1fr; } }

.welcome-tool {
  padding: 0;
  text-align: center;
  transition: opacity 0.2s;
}
.welcome-tool:hover { opacity: 0.85; }

.welcome-tool-icon {
  font-size: 28px;
  margin-bottom: 10px;
  line-height: 1;
}

.welcome-tool h3 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1B;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.welcome-tool p {
  font-size: 15px;
  line-height: 1.55;
  color: #455A64;
}

/* Tips */
.welcome-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 600px) { .welcome-tips { grid-template-columns: 1fr; } }

.welcome-tip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 26, 27, 0.1);
  font-size: 17px;
  color: #455A64;
}

.welcome-tip:nth-child(odd) { padding-right: 24px; }
.welcome-tip:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(26, 26, 27, 0.1); }
@media (max-width: 600px) {
  .welcome-tip:nth-child(even) { padding-left: 0; border-left: none; }
  .welcome-tip:nth-child(odd) { padding-right: 0; }
}

.welcome-tip-key {
  display: inline-block;
  background: rgba(26, 26, 27, 0.1);
  border: 1px solid rgba(26, 26, 27, 0.14);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #D32F2F;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 90px;
  text-align: center;
}

/* Branding */
.welcome-brand-body {
  font-size: 18px;
  line-height: 1.65;
  color: #455A64;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.welcome-brand-body b { color: #1A1A1B; }

/* Privacy */
.welcome-privacy {
  text-align: center;
}

.welcome-privacy-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.welcome-privacy-body {
  font-size: 18px;
  line-height: 1.65;
  color: #455A64;
  max-width: 600px;
  margin: 0 auto;
}

/* Final CTA */
.welcome-final {
  padding: 80px 32px;
  text-align: center;
  border-top: 1px solid rgba(26, 26, 27, 0.1);
}

.welcome-final-inner {
  max-width: 600px;
  margin: 0 auto;
}

.welcome-final h2 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: #1A1A1B;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.welcome-contact {
  font-size: 15px;
  color: #6B7280;
  margin-top: 24px;
}
.welcome-contact b { color: #455A64; }

.landing-nav-signin {
  background: transparent;
  color: #1A1A1B;
  border: 1px solid rgba(69, 90, 100, 0.3);
  border-radius: 6px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.landing-nav-signin:hover {
  background: rgba(69, 90, 100, 0.06);
  border-color: #455A64;
  color: #1A1A1B;
}

/* ───── Sign-in modal ───── */
.signin-overlay {
  position: fixed;
  inset: 0;
  background: rgba(247, 246, 242, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.signin-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #111114;
  border: 1px solid rgba(26, 26, 27, 0.12);
  border-radius: 16px;
  padding: 36px 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

.signin-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  color: #455A64;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.signin-close:hover {
  color: #1A1A1B;
  background: rgba(26, 26, 27, 0.1);
}

.signin-title {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1B;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.signin-sub {
  font-size: 14px;
  color: #455A64;
  margin: 0 0 22px;
  line-height: 1.5;
}

.signin-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.signin-google:hover { opacity: 0.92; }

.signin-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #6B7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.signin-divider::before,
.signin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(26, 26, 27, 0.12);
}

.signin-email-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signin-email-input {
  width: 100%;
  background: #1a1a1f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #D32F2F;
  caret-color: #D32F2F;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.15s;
}
.signin-email-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.signin-email-input:focus {
  outline: none;
  border-color: #D32F2F;
}

.signin-email-submit {
  width: 100%;
  background: #D32F2F;
  color: #F7F6F2;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.signin-email-submit:hover:not(:disabled) { opacity: 0.92; }
.signin-email-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.signin-optin {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: #455A64;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}
.signin-optin input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #D32F2F;
  cursor: pointer;
}


/* ───── Welcome page headings — same display family as landing ───── */
.welcome-hero h1,
.welcome-section-title,
.welcome-final h2 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Tabular numerals on stat/data displays */
.landing-stat-num,
.landing-spec-tag {
  font-variant-numeric: tabular-nums;
}

/* ───── Hero meta: headline phrase + see-specialties trigger + trial trail ───── */
.landing-hero-meta-headline {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-hero-meta-phrase {
  font-size: 22px;
  font-weight: 600;
  color: #1A1A1B;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.landing-hero-meta-num-inline {
  font-family: 'Roboto', sans-serif;
  font-feature-settings: 'smcp', 'c2sc';
  font-weight: 700;
  color: #1A1A1B;
  font-variant-numeric: tabular-nums;
  margin: 0 4px;
}

.landing-specialties-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(69, 90, 100, 0.35);
  border-radius: 100px;
  color: #455A64;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  letter-spacing: 0.01em;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.landing-specialties-trigger:hover {
  background: rgba(69, 90, 100, 0.06);
  border-color: #455A64;
  color: #1A1A1B;
  transform: translateY(-1px);
}

.landing-hero-meta-trail {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-left: 28px;
  margin-left: 8px;
  border-left: 1px solid rgba(26, 26, 27, 0.12);
}

/* ───── Specialties modal ───── */
.specialties-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(247, 246, 242, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 24px;
  overflow-y: auto;
  animation: specialties-fade 0.18s ease-out;
}

@keyframes specialties-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.specialties-panel {
  position: relative;
  max-width: 1100px;
  width: 100%;
  background:
    radial-gradient(ellipse 800px 400px at 20% 0%, rgba(211, 47, 47, 0.08), transparent 60%),
    radial-gradient(ellipse 600px 300px at 90% 100%, rgba(69, 90, 100, 0.06), transparent 60%),
    rgba(247, 246, 242, 0.98);
  border: 1.5px solid rgba(211, 47, 47, 0.22);
  border-radius: 24px;
  padding: 44px 48px 36px;
  box-shadow:
    0 0 120px rgba(211, 47, 47, 0.1),
    0 30px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(26, 26, 27, 0.08);
  animation: specialties-rise 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes specialties-rise {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.specialties-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.specialties-panel-header-text { flex: 1; min-width: 0; }

.specialties-panel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', sans-serif;
  font-feature-settings: 'smcp', 'c2sc';
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #D32F2F;
  margin-bottom: 14px;
}

.specialties-panel-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D32F2F;
  box-shadow: 0 0 10px rgba(211, 47, 47, 0.8);
}

.specialties-panel-title {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1A1A1B;
  margin: 0 0 14px;
  line-height: 1.1;
}

.specialties-panel-title-num {
  font-family: 'Roboto', sans-serif;
  font-feature-settings: 'smcp', 'c2sc';
  font-weight: 700;
  color: #D32F2F;
  font-variant-numeric: tabular-nums;
  margin-right: 6px;
}

.specialties-panel-sub {
  color: #455A64;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 640px;
}

.specialties-panel-close {
  background: rgba(26, 26, 27, 0.08);
  border: 1px solid rgba(26, 26, 27, 0.14);
  border-radius: 100px;
  width: 40px;
  height: 40px;
  color: #1A1A1B;
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.specialties-panel-close:hover {
  background: rgba(211, 47, 47, 0.1);
  border-color: rgba(211, 47, 47, 0.4);
  color: #D32F2F;
}

/* Search */
.specialties-search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(26, 26, 27, 0.06);
  border: 1.5px solid rgba(26, 26, 27, 0.12);
  border-radius: 12px;
  padding: 0 16px;
  margin-bottom: 32px;
  transition: all 0.15s;
}
.specialties-search:focus-within {
  border-color: rgba(211, 47, 47, 0.5);
  background: rgba(211, 47, 47, 0.04);
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.08);
}
.specialties-search-icon {
  font-size: 18px;
  color: #D32F2F;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  height: 100%;
}
.specialties-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #1A1A1B;
  font-family: inherit;
  font-size: 16px;
  padding: 16px 0;
  font-weight: 500;
}
.specialties-search-input::placeholder { color: #6B7280; font-weight: 400; }
.specialties-search-input::-webkit-search-cancel-button { display: none; }
.specialties-search-clear {
  background: transparent;
  border: none;
  color: #455A64;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.specialties-search-clear:hover { color: #1A1A1B; }

/* Grid + groups */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px 40px;
}

/* Surgery group spans two columns to absorb its long list */
.specialties-group[data-category="surgery"] {
  grid-column: span 2;
}
.specialties-group[data-category="surgery"] .specialties-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.specialties-group-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(211, 47, 47, 0.18);
}

.specialties-group-count {
  font-family: 'Roboto', sans-serif;
  font-feature-settings: 'smcp', 'c2sc';
  font-size: 38px;
  font-weight: 700;
  color: #455A64;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  opacity: 0.5;
}

.specialties-group-title {
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1B;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.specialties-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.specialty-card {
  position: relative;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(26, 26, 27, 0.03);
  border: 1px solid rgba(26, 26, 27, 0.08);
  transition: all 0.15s;
  break-inside: avoid;
}
.specialty-card:hover {
  background: rgba(211, 47, 47, 0.04);
  border-color: rgba(211, 47, 47, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.specialty-card-name {
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1B;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}

.specialty-card-case {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  color: #455A64;
  font-family: 'Roboto', sans-serif;
  font-feature-settings: 'smcp', 'c2sc';
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.specialty-card-mark {
  text-transform: uppercase;
  color: #1A1A1B;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
}

.specialty-card-divider {
  color: rgba(26, 26, 27, 0.22);
}

.specialty-card-banner {
  color: #455A64;
}

.specialty-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.specialty-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-family: 'Roboto', sans-serif;
  font-feature-settings: 'smcp', 'c2sc';
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}

.specialty-chip-calc {
  background: rgba(69, 90, 100, 0.08);
  color: #455A64;
  border: 1px solid rgba(69, 90, 100, 0.22);
}

.specialty-chip-mode {
  background: rgba(26, 26, 27, 0.08);
  color: #455A64;
  border: 1px solid rgba(26, 26, 27, 0.14);
}

/* Footer + empty */
.specialties-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(26, 26, 27, 0.1);
  color: #455A64;
  font-size: 15px;
}
.specialties-footer a {
  color: #D32F2F;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.specialties-footer a:hover { color: #B91C1C; }

.specialties-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  color: #455A64;
  font-size: 16px;
  line-height: 1.7;
}
.specialties-empty a {
  color: #D32F2F;
  text-decoration: none;
  font-weight: 600;
}
.specialties-empty a:hover { color: #B91C1C; }

@media (max-width: 900px) {
  .specialties-panel { padding: 32px 24px 28px; border-radius: 18px; }
  .specialties-group[data-category="surgery"] {
    grid-column: auto;
  }
  .specialties-group[data-category="surgery"] .specialties-list {
    grid-template-columns: 1fr;
  }
  .specialties-group-count { font-size: 28px; }
  .landing-hero-meta-headline { gap: 12px; }
  .landing-hero-meta-phrase { font-size: 18px; }
  .landing-hero-meta-trail {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid rgba(26, 26, 27, 0.12);
    padding-top: 14px;
    margin-top: 6px;
  }
}

/* ───── Anatomy triptych ───── */
.landing-anatomy {
  padding: 96px 32px 80px;
  border-bottom: 1px solid rgba(69, 90, 100, 0.25);
}

.landing-anatomy-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.landing-anatomy-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.landing-anatomy-title {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #1A1A1B;
  margin: 0 0 18px;
}

.landing-anatomy-sub {
  font-size: 19px;
  line-height: 1.55;
  color: #455A64;
  margin: 0 auto;
  max-width: 700px;
  font-weight: 400;
}

.landing-anatomy-head .landing-section-tag { display: none; }

.landing-anatomy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.landing-anatomy-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.landing-anatomy-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F7F6F2;
  mix-blend-mode: multiply;
}

.landing-anatomy-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Mask the AI sparkle in the bottom-right corner */
  clip-path: inset(0 4.5% 4.5% 0);
  transform: scale(1.06);
  transform-origin: top left;
}

.landing-anatomy-cap {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(69, 90, 100, 0.25);
  align-items: baseline;
}

.landing-anatomy-cap-num {
  font-family: 'Roboto', sans-serif;
  font-feature-settings: 'smcp', 'c2sc';
  font-size: 12px;
  font-weight: 600;
  color: #455A64;
  letter-spacing: 0.16em;
  opacity: 0.7;
  grid-row: 1 / 3;
  align-self: start;
  padding-top: 4px;
}

.landing-anatomy-cap-name {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1A1A1B;
  line-height: 1.15;
}

.landing-anatomy-cap-meta {
  font-family: 'Roboto', sans-serif;
  font-feature-settings: 'smcp', 'c2sc';
  font-size: 11px;
  font-weight: 500;
  color: #455A64;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

@media (max-width: 880px) {
  .landing-anatomy { padding: 64px 24px; }
  .landing-anatomy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .landing-anatomy-img-wrap { aspect-ratio: 4 / 5; max-width: 480px; margin: 0 auto; }
}

/* ───── Manifesto problem statement (display weight) ───── */
.landing-manifesto-problem {
  padding-top: 120px;
  padding-bottom: 120px;
}

.landing-manifesto-title-display {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif !important;
  font-size: clamp(40px, 5.5vw, 68px) !important;
  font-weight: 700 !important;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #1A1A1B;
  margin: 0 0 12px !important;
  max-width: 980px;
}

.landing-manifesto-kicker {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #D32F2F;
  margin: 0 0 36px;
  max-width: 980px;
}

.landing-manifesto-body {
  font-size: 21px;
  line-height: 1.55;
  color: #1A1A1B;
  max-width: 820px;
  font-weight: 400;
}

.landing-manifesto-answer {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(69, 90, 100, 0.25);
  max-width: 980px;
}

.landing-manifesto-answer .landing-section-tag { display: none; }

.landing-manifesto-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 56px;
}

.landing-manifesto-bullets li {
  display: block;
  padding: 0;
  border: none;
  position: relative;
}
.landing-manifesto-bullets li::before {
  content: none;
}

.landing-manifesto-bullet-key {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1A1A1B;
}

.landing-manifesto-bullet-val {
  font-size: 19px;
  line-height: 1.55;
  color: #455A64;
  font-weight: 400;
  display: inline;
}

@media (max-width: 880px) {
  .landing-manifesto-bullets {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .landing-manifesto-problem {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

/* ───── Admin page ───── */
.admin-screen {
  min-height: 100vh;
  background: #F7F6F2;
  color: #1A1A1B;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.admin-header {
  border-bottom: 1px solid rgba(69, 90, 100, 0.22);
  background: rgba(247, 246, 242, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.admin-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.admin-header-text { flex: 1; min-width: 0; }

.admin-eyebrow {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #455A64;
  margin-bottom: 8px;
}

.admin-header h1 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #1A1A1B;
  margin: 0;
}

.admin-name-display {
  cursor: pointer;
  display: inline-block;
  padding: 2px 6px;
  margin-left: -6px;
  border-radius: 4px;
  transition: background 0.15s;
}
.admin-name-display:hover {
  background: rgba(69, 90, 100, 0.08);
}

.admin-name-edit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-close {
  background: transparent;
  border: 1px solid rgba(69, 90, 100, 0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #1A1A1B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}
.admin-close:hover {
  background: rgba(69, 90, 100, 0.08);
  border-color: #455A64;
}

.admin-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 32px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(69, 90, 100, 0.18);
  border-radius: 10px;
  padding: 28px 32px;
}

.admin-card-lead {
  font-size: 17px;
  line-height: 1.55;
  color: #455A64;
  margin: 0 0 24px;
}

.admin-section-head {
  margin-bottom: 20px;
}

.admin-section-head h2 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1A1A1B;
  margin: 0 0 6px;
}

.admin-section-head p {
  font-size: 15px;
  line-height: 1.5;
  color: #455A64;
  margin: 0;
}

.admin-field {
  margin-bottom: 20px;
}

.admin-field label {
  display: block;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #455A64;
  margin-bottom: 8px;
}

.admin-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(69, 90, 100, 0.3);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: #1A1A1B;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.admin-input:focus {
  outline: none;
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}

.admin-input-inline {
  width: auto;
  min-width: 260px;
  padding: 8px 12px;
  font-size: 22px;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-weight: 700;
}

.admin-select {
  background: #FFFFFF;
  border: 1px solid rgba(69, 90, 100, 0.3);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: #1A1A1B;
  cursor: pointer;
}

.admin-invite-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}
@media (max-width: 640px) {
  .admin-invite-row {
    grid-template-columns: 1fr;
  }
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-btn {
  background: transparent;
  border: 1px solid rgba(69, 90, 100, 0.4);
  border-radius: 6px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1B;
  cursor: pointer;
  transition: all 0.15s;
}
.admin-btn:hover {
  background: rgba(69, 90, 100, 0.08);
  border-color: #455A64;
}

.admin-link {
  background: transparent;
  border: none;
  padding: 6px 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #455A64;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.admin-link:hover { color: #1A1A1B; }

.admin-link-danger { color: #B91C1C; }
.admin-link-danger:hover { color: #D32F2F; }

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

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(69, 90, 100, 0.15);
}
.admin-list-item:last-child {
  border-bottom: none;
}

.admin-list-item-main { flex: 1; min-width: 0; }

.admin-list-item-primary {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1B;
  margin-bottom: 4px;
  word-break: break-word;
}

.admin-list-item-secondary {
  font-size: 14px;
  color: #455A64;
}

.admin-list-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.admin-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  background: rgba(211, 47, 47, 0.12);
  color: #D32F2F;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  vertical-align: middle;
}

.admin-empty {
  padding: 40px 16px;
  text-align: center;
  font-size: 16px;
  color: #455A64;
}

.admin-footnote {
  font-size: 14px;
  line-height: 1.55;
  color: #6B7280;
  font-style: italic;
  margin: 12px 0 0;
}

/* Reset-password link inside the sign-in modal (fast-path only) */
.signin-reset-link {
  display: block;
  margin: 12px auto 0;
  padding: 6px 10px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.signin-reset-link:hover { color: rgba(255, 255, 255, 0.85); }
.signin-reset-link:disabled { cursor: not-allowed; opacity: 0.6; }

/* ───── Plan selector gate (post-sign-in, pre-checkout) ───── */
.plan-gate-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 32px 48px;
  text-align: left;
}

.plan-gate-header {
  text-align: center;
  margin-bottom: 40px;
}

.plan-gate-header h1 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #1A1A1B;
  margin: 0 0 16px;
}

.plan-gate-sub {
  font-size: 18px;
  line-height: 1.55;
  color: #455A64;
  margin: 0;
}

.plan-gate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

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

.plan-gate-card {
  position: relative;
  background: #FFFFFF;
  border: 2px solid rgba(69, 90, 100, 0.2);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.plan-gate-card:hover:not(:disabled) {
  border-color: rgba(211, 47, 47, 0.5);
}
.plan-gate-card:disabled {
  cursor: wait;
  opacity: 0.7;
}
.plan-gate-card.is-selected {
  border-color: #D32F2F;
  background: rgba(211, 47, 47, 0.03);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.plan-gate-card-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: #D32F2F;
  color: #F7F6F2;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.plan-gate-card-label {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #455A64;
  margin-bottom: 12px;
}

.plan-gate-card-price {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1A1A1B;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.plan-gate-card-unit {
  font-size: 20px;
  font-weight: 600;
  color: #455A64;
  margin-left: 4px;
}

.plan-gate-card-sub {
  font-size: 14px;
  color: #455A64;
  margin-bottom: 18px;
  line-height: 1.4;
}

.plan-gate-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex: 1;
}

.plan-gate-card-features li {
  font-size: 14px;
  line-height: 1.5;
  color: #1A1A1B;
  padding: 4px 0;
}

.plan-gate-card-features li::before {
  content: '✓';
  color: #D32F2F;
  font-weight: 700;
  margin-right: 8px;
}

.plan-gate-card-radio {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #455A64;
  margin-top: auto;
}
.plan-gate-card.is-selected .plan-gate-card-radio {
  color: #D32F2F;
}

.plan-gate-continue {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
  justify-content: center;
}

.plan-gate-disclaimer {
  font-size: 14px;
  line-height: 1.6;
  color: #6B7280;
  text-align: center;
  margin: 0 0 24px;
}

.plan-gate-disclaimer a {
  color: #455A64;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plan-gate-disclaimer a:hover {
  color: #1A1A1B;
}

/* ───── Plan selector MODAL (pre-sign-in, opens on "Start Free Trial" CTAs) ───── */
.plan-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 11, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 24px;
  overflow-y: auto;
  animation: plan-modal-fade 0.18s ease-out;
}

@keyframes plan-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.plan-modal-card {
  position: relative;
  max-width: 920px;
  width: 100%;
  background: #F7F6F2;
  border: 1px solid rgba(69, 90, 100, 0.22);
  border-radius: 16px;
  padding: 48px 40px 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: plan-modal-rise 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes plan-modal-rise {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.plan-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(69, 90, 100, 0.3);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #1A1A1B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.plan-modal-close:hover:not(:disabled) {
  background: rgba(69, 90, 100, 0.08);
  border-color: #455A64;
}
.plan-modal-close:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .plan-modal-overlay {
    padding: 24px 16px;
  }
  .plan-modal-card {
    padding: 40px 20px 28px;
  }
}
