/* Orca Baby - Clean, Trustworthy, Modern Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-page: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  
  /* High contrast, crisp slate typography */
  --text-main: #0a0f1d;       /* Near black for maximum punch and crispness */
  --text-body: #1e293b;       /* Slate 800 - Body & Core Readability */
  --text-muted: #1e293b;      /* Slate 800 - Subtitles & Explanations (High contrast, easily legible) */
  --text-light: #334155;      /* Slate 700 - Secondary metadata (Sharp, accessible) */
  
  --brand-primary: #0284c7;   /* Sky 600 */
  --brand-primary-hover: #0369a1; /* Sky 700 */
  --brand-light: #f0f9ff;     /* Sky 50 */
  --brand-border: #bae6fd;    /* Sky 200 */
  --brand-navy: #0c4a6e;      /* Sky 900 */
  
  --border-light: #e2e8f0;    /* Slate 200 */
  --border-subtle: #cbd5e1;
  
  --success-text: #059669;    /* Emerald 600 */
  --success-bg: #ecfdf5;      /* Emerald 50 */
  --success-border: #a7f3d0;
  
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 18px 40px -6px rgba(15, 23, 42, 0.1), 0 4px 14px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px -8px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#landingPage {
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#landingPage.hidden {
  display: none !important;
}

.landing-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.landing-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.2);
  transition: transform 0.2s ease;
  object-fit: cover;
  display: block;
}

.landing-brand:hover .landing-brand-logo {
  transform: scale(1.05);
}

.landing-brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

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

.landing-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.landing-nav-link:hover {
  color: var(--brand-primary);
}

.btn-landing-cta {
  background: var(--brand-primary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-landing-cta:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-landing-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-landing-secondary:hover {
  background: var(--bg-alt);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* Hero Section */
.landing-hero {
  text-align: center;
  padding: 64px 0 54px;
  position: relative;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand-primary);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-brand-badge img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.landing-title {
  font-size: clamp(34px, 5.2vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
  color: var(--text-main);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.landing-title span {
  color: var(--brand-primary);
}

.landing-subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 32px;
  line-height: 1.6;
  font-weight: 500;
}

.landing-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.landing-cta-subtext {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  font-weight: 500;
}

.landing-cta-subtext span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* =========================================================
   REAL APP INTERACTIVE SHOWCASE WIDGET
   ========================================================= */
.app-widget-wrapper {
  max-width: 660px;
  margin: 0 auto;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  text-align: left;
  position: relative;
}

.widget-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 4px;
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 600;
  background: #ffffff;
}

.widget-statusbar-time {
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.widget-statusbar-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.widget-demo-banner {
  background: var(--brand-light);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--brand-navy);
}

.widget-demo-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.widget-demo-reset-btn {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  color: var(--brand-primary);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.widget-demo-reset-btn:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.widget-child-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.widget-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.widget-child-info {
  display: flex;
  flex-direction: column;
}

.widget-child-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.widget-switcher-arrow {
  font-size: 11px;
  color: var(--text-light);
}

.widget-child-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.widget-sync-pill {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.widget-sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* Two Tabs Only: Activities & Trends */
.widget-nav-tabs {
  display: flex;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  padding: 4px 12px;
  gap: 6px;
}

.widget-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
}

.widget-tab-btn:hover {
  color: var(--text-main);
}

.widget-tab-btn.active {
  background: #ffffff;
  color: var(--brand-primary);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.widget-tab-view {
  display: none;
  padding: 16px 18px 20px;
}

.widget-tab-view.active {
  display: block;
}

/* Guidance / Wake Window Box */
.widget-guidance-card {
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.widget-guidance-card.sleeping {
  background: rgba(57, 73, 171, 0.08);
  border-color: rgba(57, 73, 171, 0.35);
}

.widget-guidance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.widget-guidance-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.widget-guidance-badge {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  background: #ffffff;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--brand-border);
}

.widget-guidance-desc {
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: 10px;
  font-weight: 500;
}

.widget-guidance-progress {
  width: 100%;
  height: 6px;
  background: rgba(2, 132, 199, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.widget-guidance-bar {
  height: 100%;
  background: var(--brand-primary);
  border-radius: 999px;
  width: 82%;
  transition: width 0.3s ease;
}

.widget-guidance-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

.widget-guidance-section {
  margin-bottom: 14px;
}

.widget-guidance-card {
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.widget-guidance-title-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  vertical-align: middle;
  margin-right: 6px;
}

.widget-guidance-title-icon img {
  width: 125%;
  height: 125%;
  object-fit: cover;
  border-radius: 50%;
}

.widget-suggestions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.widget-suggestion-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
}

.widget-suggestion-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
}

.widget-suggestion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.widget-suggestion-head-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.widget-suggestion-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.widget-suggestion-icon img {
  width: 125%;
  height: 125%;
  object-fit: cover;
  border-radius: 50%;
}

.widget-suggestion-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.widget-suggestion-status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-alt);
  color: var(--text-muted);
}

.widget-suggestion-status-badge.due {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.widget-suggestion-status-badge.done {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.widget-suggestion-val {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.widget-suggestion-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2x2 Action Button Grid */
.widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.widget-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-height: 68px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.08s ease, filter 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  font-family: inherit;
  text-align: left;
}

.widget-action-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.widget-action-btn:active {
  transform: scale(0.97);
}

.widget-btn-sleep { background: #3949ab; }
.widget-btn-breast { background: #e8789a; }
.widget-btn-bottle { background: #f0a53a; }
.widget-btn-diaper { background: #20b2aa; }

.widget-btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.widget-btn-icon img {
  width: 128%;
  height: 128%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.widget-btn-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.widget-btn-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.widget-btn-sub {
  font-size: 11.5px;
  opacity: 0.92;
  font-weight: 500;
}

.widget-btn-active-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.widget-btn-active-wrap.hidden {
  display: none !important;
}

.widget-btn-timer {
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.widget-btn-stop {
  font-size: 11px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.28);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Secondary Activities */
.widget-sec-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.widget-sec-chip {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 8px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  min-width: 0;
}

.widget-sec-chip:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.widget-sec-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.widget-sec-icon img {
  width: 128%;
  height: 128%;
  object-fit: cover;
  border-radius: 50%;
}

.widget-sec-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-sec-active {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.widget-sec-active.hidden {
  display: none !important;
}

.widget-sec-timer {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
}

.widget-sec-stop {
  font-size: 11px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
}

/* Today's Stats & Summary Tiles on Activities Tab */
.widget-activities-summary {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.widget-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.widget-summary-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.widget-summary-time-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-primary);
}

.widget-summary-chips-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.widget-summary-chip {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
}

.widget-summary-chip-val {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.widget-summary-chip-label {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Timeline */
.widget-section-header {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.widget-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
}

.widget-timeline-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s ease;
}

.widget-timeline-card:hover {
  background: #ffffff;
}

.widget-timeline-card.just-added {
  animation: slide-in 0.3s ease;
  background: #f0fdf4;
  border-color: #86efac;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.widget-timeline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget-timeline-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.widget-timeline-icon img {
  width: 128%;
  height: 128%;
  object-fit: cover;
  border-radius: 50%;
}

.widget-timeline-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.widget-timeline-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.widget-timeline-time {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
}

/* =========================================================
   TRENDS VIEW INSIDE WIDGET (Faithful to App's Stats Tab)
   ========================================================= */
.widget-trends-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.widget-trends-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.widget-trends-time-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.widget-trends-cat-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.widget-trends-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.widget-trends-cat-chip.active {
  background: var(--brand-light);
  border-color: var(--brand-border);
  color: var(--brand-primary);
}

.widget-trends-cat-chip img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.widget-chart-pane {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.widget-chart-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.widget-chart-pane-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.widget-chart-pane-filter {
  display: flex;
  gap: 4px;
}

.widget-filter-pill {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.widget-filter-pill.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

.widget-avg-banner {
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.widget-avg-hero {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.widget-avg-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-primary);
}

/* Simulated Daily Sleep Bar Chart */
.widget-bar-chart-visual {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 110px;
  padding: 10px 4px 4px;
  border-bottom: 1px solid var(--border-light);
  gap: 8px;
}

.widget-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.widget-bar-stack {
  width: 100%;
  max-width: 28px;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
}

.widget-bar-segment-night {
  background: #3949ab;
  width: 100%;
}

.widget-bar-segment-nap {
  background: #0284c7;
  width: 100%;
}

.widget-bar-day-label {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 6px;
}

.widget-target-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.widget-target-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Modals Overlay inside Widget */
.widget-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  z-index: 50;
  animation: fade-in 0.15s ease;
}

.widget-modal-overlay.hidden {
  display: none !important;
}

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

.widget-modal-box {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 440px;
  padding: 20px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.widget-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.widget-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-modal-close {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Stepper for Bottle */
.widget-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}

.widget-stepper-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-alt);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-stepper-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  min-width: 90px;
  text-align: center;
}

.widget-chip-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.widget-selector-chip {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.widget-selector-chip.active {
  background: var(--brand-light);
  border-color: var(--brand-border);
  color: var(--brand-primary);
  font-weight: 700;
}

.widget-modal-actions {
  display: flex;
  gap: 10px;
}

.widget-modal-save {
  flex: 1;
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  padding: 11px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.widget-modal-cancel {
  background: var(--bg-alt);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* Toast */
.widget-toast {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: toast-pop 0.2s ease;
}

.widget-toast.hidden {
  display: none !important;
}

@keyframes toast-pop {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Sections */
.landing-section {
  padding: 72px 0;
}

.landing-section.alt-bg {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-tag {
  color: var(--brand-primary);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.6px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.6;
  font-weight: 500;
}

/* Features Grid (Small, quick to read text) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.feature-icon-img {
  width: 128%;
  height: 128%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.feature-title {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.45;
  font-weight: 500;
}

/* Why Orca Section */
.why-orca-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.why-orca-card {
  border-radius: 18px;
  padding: 32px 28px;
  border: 2px solid var(--brand-primary);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.why-orca-header {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-orca-header-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.why-orca-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
  font-weight: 500;
}

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

.why-orca-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  margin-bottom: 14px;
  color: var(--text-body);
  line-height: 1.55;
  font-weight: 500;
}

.why-orca-item:last-child {
  margin-bottom: 0;
}

.why-orca-item-check {
  color: var(--success-text);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.3;
}

/* Comparison Section (fallback) */
.comparison-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.comparison-card {
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  background: #ffffff;
}

.comparison-card.orca {
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.comparison-header {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-header-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.comparison-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 500;
}

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

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-body);
  line-height: 1.5;
  font-weight: 500;
}

.comparison-item-check {
  color: var(--success-text);
  font-weight: 700;
  flex-shrink: 0;
}

.comparison-item-cross {
  color: #ef4444;
  font-weight: 700;
  flex-shrink: 0;
}

/* Pricing Section */
.pricing-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 780px;
  margin: 0 auto 30px;
  align-items: stretch;
}

.pricing-wrap.single {
  max-width: 680px;
  display: block;
}

.pricing-card.single-plan {
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-md);
  padding: 38px 34px;
  text-align: center;
}

.pricing-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-border);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.pricing-price-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px 20px;
  margin: 20px 0 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pricing-now-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-now-amount {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-now-badge {
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.pricing-future-note {
  font-size: 14.5px;
  color: var(--text-body);
  font-weight: 500;
  margin-top: 4px;
}

.pricing-future-note strong {
  color: var(--text-main);
  font-weight: 700;
}

.pricing-sub-detail {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-align: left;
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 20px;
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

@media (max-width: 640px) {
  .pricing-card.single-plan {
    padding: 26px 18px;
  }
  .pricing-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.pricing-card.featured {
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.pricing-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-plan-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
  width: fit-content;
}

.pricing-card:not(.featured) .pricing-plan-badge {
  background: var(--success-bg);
  color: var(--success-text);
}

.pricing-card.featured .pricing-plan-badge {
  background: var(--brand-light);
  color: var(--brand-primary);
}

.pricing-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pricing-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  min-height: 38px;
  font-weight: 500;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.pricing-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-period {
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-price-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 18px;
  font-weight: 600;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px 0;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: 10px;
  font-weight: 500;
}

.pricing-check {
  color: var(--brand-primary);
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-cta-btn {
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.pricing-card:not(.featured) .pricing-cta-btn {
  background: var(--bg-alt);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.pricing-card:not(.featured) .pricing-cta-btn:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.pricing-card.featured .pricing-cta-btn {
  background: var(--brand-primary);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.pricing-card.featured .pricing-cta-btn:hover {
  background: var(--brand-primary-hover);
}

.pricing-note {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px;
}

.faq-q {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}

.faq-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

.faq-a strong {
  color: var(--text-main);
}

/* Bottom CTA Banner */
.bottom-cta-section {
  padding: 40px 0 72px;
}

.bottom-cta-card {
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  padding: 48px 28px;
  text-align: center;
}

.bottom-cta-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22);
  object-fit: cover;
  display: block;
  margin: 0 auto 16px;
}

.bottom-cta-title {
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.6px;
}

.bottom-cta-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.6;
  font-weight: 500;
}

.bottom-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.bottom-cta-guarantee {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Footer */
.landing-footer {
  border-top: 1px solid var(--border-light);
  padding: 48px 0 32px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.15s ease;
}

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

.footer-copyright {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 500;
}

.footer-disclaimer {
  font-size: 11.5px;
  color: #64748b;
  max-width: 660px;
  margin: 12px auto 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .landing-nav-links .landing-nav-link {
    display: none;
  }
  .landing-hero {
    padding: 40px 0 32px;
  }
  .app-widget-wrapper {
    border-radius: 18px;
  }
  .widget-grid {
    grid-template-columns: 1fr;
  }
  .widget-summary-chips-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card {
    padding: 26px 20px;
  }
  .comparison-wrap, .pricing-wrap {
    grid-template-columns: 1fr;
  }
  .bottom-cta-card {
    padding: 36px 18px;
  }
}

/* =========================================================
   Legal & Information Content Pages (Terms, Privacy, Data Deletion)
   ========================================================= */
.legal-main {
  background-color: var(--bg-alt);
  min-height: calc(100vh - 200px);
  padding: 40px 0 72px;
}

.legal-article-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.legal-back-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.legal-return-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--brand-primary);
  color: #fff !important;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28);
  transition: all 0.15s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.legal-return-pill:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.38);
}

.legal-sticky-return-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-sticky-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-sticky-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.legal-back-link:hover {
  color: var(--brand-primary-hover);
  transform: translateX(-2px);
}

.legal-hero-header {
  margin-bottom: 32px;
}

.legal-badge-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--brand-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.legal-badge-warning {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.legal-badge-success {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.legal-badge-danger {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.legal-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-light);
  font-weight: 500;
}

.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Callout Alerts */
.legal-alert {
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}

.legal-alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
}

.legal-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 5px solid #ef4444;
}

.legal-alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.legal-alert-title {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.legal-alert-warning .legal-alert-title {
  color: #92400e;
}

.legal-alert-danger .legal-alert-title {
  color: #991b1b;
}

.legal-alert-body {
  font-size: 14.5px;
  line-height: 1.65;
}

.legal-alert-warning .legal-alert-body {
  color: #78350f;
}

.legal-alert-danger .legal-alert-body {
  color: #7f1d1d;
}

.legal-alert-body p:last-child {
  margin-bottom: 0;
}

/* Legal Cards */
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px 34px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.legal-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.legal-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  margin: 22px 0 10px;
}

.legal-card p,
.legal-card ul,
.legal-card ol {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-card p:last-child,
.legal-card ul:last-child,
.legal-card ol:last-child {
  margin-bottom: 0;
}

.legal-card ul,
.legal-card ol {
  padding-left: 24px;
}

.legal-card li {
  margin-bottom: 8px;
  color: var(--text-body);
  line-height: 1.65;
}

.legal-card strong {
  color: var(--text-main);
  font-weight: 700;
}

.legal-card a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2.5px;
}

.legal-card a:hover {
  color: var(--brand-primary-hover);
}

/* Callout inside cards */
.legal-inline-callout {
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--brand-navy);
}

/* Action button for emails or forms */
.btn-legal-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  margin-top: 8px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-legal-action:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

@media (max-width: 768px) {
  .legal-title {
    font-size: 26px;
  }
  .legal-card {
    padding: 22px 20px;
    border-radius: 14px;
  }
  .legal-alert {
    padding: 18px 18px;
  }
}

