/* =============================================================
   TRYAGECALCULATOR.COM — Stylesheet
   Extracted verbatim from the original single-file build.
   No visual rules were changed, only moved into this file.
   ============================================================= */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root{
  color-scheme: light;
  --primary:#2563EB;
  --primary-dark:#1D4ED8;
  --primary-light:#3B82F6;
  --primary-50:#EFF6FF;
  --bg:#F8FAFC;
  --card:#FFFFFF;
  --border:#E5E7EB;
  --text:#0F172A;
  --text-soft:#475569;
  --text-mute:#94A3B8;
  --gold:#D97706;
  --gold-light:#FEF3C7;
  --radius-lg:18px;
  --radius-md:14px;
  --radius-sm:10px;
  --shadow-sm:0 1px 2px rgba(15,23,42,.05);
  --shadow-md:0 6px 20px -4px rgba(15,23,42,.10);
  --shadow-lg:0 20px 45px -10px rgba(15,23,42,.16);
  --ease:cubic-bezier(.4,0,.2,1);
}

/* Dark theme: same variable names, different values. Every existing
   component that uses var(--bg), var(--card), var(--text) etc. will
   automatically re-theme — no component CSS needs to change. */
html[data-theme="dark"]{
  color-scheme: dark;
  --primary:#3B82F6;
  --primary-dark:#60A5FA;
  --primary-light:#93C5FD;
  --primary-50:#1E293B;
  --bg:#0B1220;
  --card:#111827;
  --border:#1F2937;
  --text:#F1F5F9;
  --text-soft:#CBD5E1;
  --text-mute:#94A3B8;
  --shadow-sm:0 1px 2px rgba(0,0,0,.4);
  --shadow-md:0 6px 20px -4px rgba(0,0,0,.5);
  --shadow-lg:0 20px 45px -10px rgba(0,0,0,.6);
}
html[data-theme="dark"] body{background:var(--bg);}

/* ============================================================
   2. RESET
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg{display:block;max-width:100%;}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;}
input,textarea{font:inherit;color:inherit;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
h1,h2,h3{line-height:1.2;font-weight:800;letter-spacing:-.02em;}
.container{width:100%;max-width:1080px;margin-inline:auto;padding-inline:20px;}
:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:6px;}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important;}
}

/* ============================================================
   3. ANIMATIONS (lightweight)
   ============================================================ */
@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}
@keyframes slideUp{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);}}
@keyframes popIn{from{opacity:0;transform:scale(.94);}to{opacity:1;transform:scale(1);}}
.fade-in{animation:fadeIn .5s var(--ease) both;}
.slide-up{animation:slideUp .5s var(--ease) both;}

/* ============================================================
   4. HEADER
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--card);
  border-bottom:1px solid var(--border);
}
.site-header .container{
  display:flex;align-items:center;justify-content:space-between;
  height:64px;
}
.brand{display:flex;align-items:center;font-weight:800;font-size:1.05rem;color:var(--text);}
.brand span{letter-spacing:-.01em;}

.header-actions{
  display:flex;align-items:center;gap:14px;
}

/* --- "All Calculators" dropdown (desktop) --- */
.nav-item{ position:relative; }
.nav-item-desktop{ display:none; }
@media (min-width:900px){ .nav-item-desktop{ display:block; } }

.nav-dropdown-btn{
  display:flex;align-items:center;gap:6px;
  font-size:.88rem;font-weight:600;color:var(--text-soft);
  padding:8px 4px;
  transition:color .18s var(--ease);
}
.nav-dropdown-btn:hover{color:var(--primary-dark);}
.nav-caret{font-size:.7rem;transition:transform .18s var(--ease);}
.nav-dropdown-btn[aria-expanded="true"] .nav-caret{transform:rotate(180deg);}

.nav-dropdown{
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:230px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);
  padding:8px;
  z-index:60;
  flex-direction:column;
  gap:2px;
  opacity:0;
  transform:translateY(-6px);
  transition:opacity .16s var(--ease),transform .16s var(--ease);
}
.nav-dropdown.is-open{
  display:flex;
  opacity:1;
  transform:translateY(0);
}
.nav-dropdown-link{
  font-size:.86rem;font-weight:600;color:var(--text-soft);
  padding:9px 10px;border-radius:var(--radius-sm);
  transition:background .15s var(--ease),color .15s var(--ease);
}
.nav-dropdown-link:hover{background:var(--primary-50);color:var(--primary-dark);}
.nav-dropdown-link[aria-current="page"]{color:var(--primary-dark);}

/* --- Theme toggle --- */
.theme-toggle{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:38px;height:38px;border-radius:50%;
  font-size:1.1rem;
  transition:background .18s var(--ease);
}
.theme-toggle:hover{background:var(--primary-50);}
.theme-icon-sun{display:none;}
html[data-theme="dark"] .theme-icon-moon{display:none;}
html[data-theme="dark"] .theme-icon-sun{display:inline;}

.theme-toggle-desktop{ display:none; }
@media (min-width:900px){ .theme-toggle-desktop{ display:flex; } }

/* --- Hamburger (mobile only) --- */
.nav-toggle{
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;font-size:1.4rem;color:var(--text);
}
@media (min-width:900px){ .nav-toggle{ display:none; } }

/* --- Mobile menu panel --- */
.mobile-menu{
  display:none;
  max-height:0;
  overflow:hidden;
  border-top:1px solid transparent;
  transition:max-height .22s var(--ease);
}
.mobile-menu.is-open{
  max-height:400px;
  border-top-color:var(--border);
}
@media (min-width:900px){ .mobile-menu{ display:none !important; } }
.mobile-menu-inner{ padding:14px 20px 18px; display:flex; flex-direction:column; gap:4px; }

.mobile-tools-btn{
  display:flex;align-items:center;justify-content:space-between;
  width:100%;padding:12px 4px;
  font-size:.92rem;font-weight:700;color:var(--text);
}
.mobile-tools-btn[aria-expanded="true"] .nav-caret{transform:rotate(180deg);}

.mobile-tools-menu{
  display:none;flex-direction:column;gap:2px;
  padding-left:10px;border-left:2px solid var(--border);margin:2px 0 8px 4px;
}
.mobile-tools-menu.is-open{display:flex;}
.mobile-tools-menu a{
  font-size:.88rem;font-weight:600;color:var(--text-soft);padding:9px 8px;
}
.mobile-tools-menu a:hover{color:var(--primary-dark);}

.theme-toggle-mobile{
  width:100%;border-radius:var(--radius-sm);
  justify-content:flex-start;gap:10px;padding:10px 8px;height:auto;
}
.theme-toggle-mobile:hover{background:var(--primary-50);}
.theme-toggle-label{font-size:.9rem;font-weight:600;color:var(--text);}

/* ============================================================
   5. HERO
   ============================================================ */
.hero{padding:44px 0 28px;position:relative;overflow:hidden;}
.hero::before{
  content:"";position:absolute;inset:-40% -10% auto -10%;height:420px;
  background:radial-gradient(60% 60% at 50% 30%, rgba(37,99,235,.10), transparent 70%);
  pointer-events:none;z-index:0;
}
.hero .container{position:relative;z-index:1;}
.hero-inner{max-width:680px;margin-inline:auto;text-align:center;}
.eyebrow{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--primary-50);color:var(--primary-dark);
  font-size:.78rem;font-weight:700;letter-spacing:.02em;
  padding:6px 14px;border-radius:999px;margin-bottom:18px;
}
.hero h1{
  font-size:clamp(1.9rem,4.4vw,2.9rem);
  color:var(--text);margin-bottom:14px;
}
.hero h1 span{color:var(--primary);}
.hero p{
  color:var(--text-soft);font-size:1.02rem;max-width:520px;margin-inline:auto;
}

/* Signature element: live "moment" strip — shows time is always moving */
.live-strip{
  margin:26px auto 0;display:inline-flex;align-items:center;gap:10px;
  background:var(--card);border:1px solid var(--border);
  padding:10px 18px;border-radius:999px;box-shadow:var(--shadow-sm);
  font-variant-numeric:tabular-nums;
}
.live-dot{width:8px;height:8px;border-radius:50%;background:#22C55E;box-shadow:0 0 0 4px rgba(34,197,94,.15);animation:pulse 2s ease-in-out infinite;}
@keyframes pulse{0%,100%{opacity:1;}50%{opacity:.4;}}
.live-strip .live-label{color:var(--text-mute);font-size:.82rem;font-weight:600;}
.live-strip .live-value{font-weight:700;font-size:.9rem;color:var(--text);}

/* ============================================================
   6. TABS (pill style)
   ============================================================ */
.calculator-section{padding:8px 0 56px;}
.tabs-wrap{
  position:relative;margin-bottom:22px;
}
.tabs{
  display:flex;gap:8px;background:var(--card);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:6px;box-shadow:var(--shadow-sm);
  overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.tabs::-webkit-scrollbar{display:none;}
.tab-btn{
  flex:0 0 auto;
  display:flex;align-items:center;gap:6px;
  padding:11px 18px;border-radius:14px;
  font-size:.88rem;font-weight:600;color:var(--text-soft);
  white-space:nowrap;
  transition:background .2s var(--ease),color .2s var(--ease),transform .15s var(--ease);
}
.tab-btn:hover{background:var(--primary-50);color:var(--primary-dark);}
.tab-btn:active{transform:scale(.97);}
.tab-btn[aria-selected="true"]{
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff;box-shadow:0 6px 16px -4px rgba(37,99,235,.45);
}
.tab-icon{font-size:1rem;}

/* ============================================================
   7. CALCULATOR CARD + FORM
   ============================================================ */
.calc-card{
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--radius-lg);box-shadow:var(--shadow-md);
  padding:28px 22px;
}
@media (min-width:640px){.calc-card{padding:36px;}}

.panel{display:none;}
.panel.is-active{display:block;}

.panel-heading{margin-bottom:22px;}
.panel-heading h2{font-size:1.3rem;}
.panel-heading p{color:var(--text-mute);font-size:.92rem;margin-top:4px;}

.field-grid{
  display:grid;grid-template-columns:1fr;gap:18px;margin-bottom:22px;
}
@media (min-width:560px){
  .field-grid.cols-2{grid-template-columns:1fr 1fr;}
  .field-grid.cols-3{grid-template-columns:1fr 1fr 1fr;}
}

.field{position:relative;}
.field label{
  display:block;font-size:.82rem;font-weight:700;color:var(--text-soft);
  margin-bottom:7px;
}
.field .hint{font-weight:500;color:var(--text-mute);}
.field input{
  width:100%;height:54px;padding:0 16px;
  border:1.5px solid var(--border);border-radius:var(--radius-md);
  background:var(--card);font-size:1rem;color:var(--text);
  transition:border-color .18s var(--ease),box-shadow .18s var(--ease);
}
.field input:hover{border-color:#CBD5E1;}
.field input:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px var(--primary-50);
}
.field input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.6;}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:54px;padding:0 28px;border-radius:var(--radius-md);
  font-weight:700;font-size:.98rem;width:100%;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff;box-shadow:0 10px 24px -8px rgba(37,99,235,.55);
  transition:transform .16s var(--ease),box-shadow .16s var(--ease),filter .16s var(--ease);
}
@media (min-width:560px){.btn{width:auto;}}
.btn:hover{transform:translateY(-1px);box-shadow:0 14px 28px -8px rgba(37,99,235,.6);filter:brightness(1.04);}
.btn:active{transform:translateY(0);}

.error-msg{
  display:none;margin-top:14px;padding:12px 14px;border-radius:var(--radius-sm);
  background:#FEF2F2;color:#B91C1C;font-size:.86rem;font-weight:600;
}
.error-msg.is-visible{display:block;}

/* ============================================================
   8. RESULTS
   ============================================================ */
.results{margin-top:28px;display:none;}
.results.is-visible{display:block;}

.stat-row{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px;
}
.stat-card{
  background:linear-gradient(180deg,var(--primary-50),#fff);
  border:1px solid var(--border);border-radius:var(--radius-md);
  padding:18px 8px;text-align:center;
}
.stat-card .num{
  font-size:clamp(1.5rem,5vw,2.1rem);font-weight:800;color:var(--primary-dark);
  font-variant-numeric:tabular-nums;line-height:1.1;
}
.stat-card .label{font-size:.76rem;font-weight:700;color:var(--text-mute);text-transform:uppercase;letter-spacing:.04em;margin-top:4px;}

.stat-row.secondary{grid-template-columns:repeat(2,1fr);}
@media (min-width:560px){.stat-row.secondary{grid-template-columns:repeat(5,1fr);}}
.stat-row.secondary .stat-card{background:var(--card);padding:14px 6px;}
.stat-row.secondary .num{font-size:1.05rem;color:var(--text);}
.stat-row.secondary .label{font-size:.68rem;}

.info-card{
  margin-top:16px;background:var(--card);border:1px solid var(--border);
  border-radius:var(--radius-md);padding:20px;
}
.info-card h3{font-size:.95rem;margin-bottom:12px;}
.info-list{display:grid;grid-template-columns:1fr;gap:10px;}
@media (min-width:560px){.info-list{grid-template-columns:1fr 1fr;}}
.info-row{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 14px;background:var(--bg);border-radius:var(--radius-sm);
  font-size:.88rem;
}
.info-row .k{color:var(--text-mute);font-weight:600;}
.info-row .v{font-weight:700;}

/* ============================================================
   9. FEATURES
   ============================================================ */
.features{padding:8px 0 56px;}
.section-head{text-align:center;max-width:560px;margin:0 auto 32px;}
.section-head h2{font-size:clamp(1.5rem,3.4vw,2rem);}
.section-head p{color:var(--text-mute);margin-top:8px;}
.feature-grid{display:grid;grid-template-columns:1fr;gap:16px;}
@media (min-width:640px){.feature-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:900px){.feature-grid{grid-template-columns:repeat(4,1fr);}}
.feature-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:22px;transition:transform .2s var(--ease),box-shadow .2s var(--ease);
}
.feature-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
.feature-icon{
  width:44px;height:44px;border-radius:12px;background:var(--primary-50);
  display:flex;align-items:center;justify-content:center;font-size:1.3rem;margin-bottom:14px;
}
.feature-card h3{font-size:1rem;margin-bottom:6px;}
.feature-card p{font-size:.87rem;color:var(--text-mute);}

/* ============================================================
   10. FAQ
   ============================================================ */
.faq{padding:8px 0 64px;}
.faq-list{max-width:760px;margin-inline:auto;display:flex;flex-direction:column;gap:10px;}
.faq-item{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius-md);
  overflow:hidden;
}
.faq-item summary{
  list-style:none;cursor:pointer;padding:18px 20px;font-weight:700;font-size:.95rem;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"+";font-size:1.3rem;color:var(--primary);flex:0 0 auto;
  transition:transform .2s var(--ease);
}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item .faq-body{padding:0 20px 18px;color:var(--text-soft);font-size:.9rem;}

/* ============================================================
   11. FOOTER
   ============================================================ */
.site-footer{
  border-top:1px solid var(--border);
  background:var(--card);
  padding:44px 0 24px;
}

.footer-top{ margin-bottom:28px; }
.footer-logo{ font-weight:800; font-size:1.05rem; color:var(--text); letter-spacing:-.01em; }
.footer-brand p{ color:var(--text-mute); font-size:.85rem; margin-top:6px; max-width:420px; }

.footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  padding-bottom:28px;
  border-bottom:1px solid var(--border);
}
@media (min-width:640px){
  .footer-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:900px){
  .footer-grid{ grid-template-columns:repeat(3,1fr); }
}
.footer-col{ display:flex; flex-direction:column; gap:10px; }
.footer-col h3{
  font-size:.78rem; font-weight:700; color:var(--text-mute);
  text-transform:uppercase; letter-spacing:.04em; margin-bottom:2px;
}
.footer-col a{
  font-size:.87rem; font-weight:600; color:var(--text-soft);
  transition:color .18s var(--ease);
}
.footer-col a:hover{ color:var(--primary-dark); }

.footer-bottom{
  display:flex; flex-direction:column; gap:6px;
  align-items:center; text-align:center;
  color:var(--text-mute); font-size:.82rem;
  padding-top:20px;
}
@media (min-width:640px){
  .footer-bottom{ flex-direction:row; justify-content:space-between; text-align:left; }
}

/* ============================================================
   11b. TRUST BAR
   ============================================================ */
.trust-bar{
  display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;
  margin-top:22px;padding:0;
}
.trust-bar li{
  list-style:none;display:flex;align-items:center;gap:6px;
  font-size:.82rem;font-weight:600;color:var(--text-soft);
}

/* ============================================================
   11c. SAVED / FAMILY PROFILES (localStorage quick-access)
   ============================================================ */
.saved-row{margin-top:16px;}
.btn-ghost{
  display:inline-flex;align-items:center;gap:6px;
  height:40px;padding:0 16px;border-radius:999px;
  background:var(--primary-50);color:var(--primary-dark);
  font-size:.82rem;font-weight:700;
  transition:background .18s var(--ease),transform .15s var(--ease);
}
.btn-ghost:hover{background:#DBEAFE;}
.btn-ghost:active{transform:scale(.97);}
.btn-ghost-primary{background:var(--primary);color:#fff;}
.btn-ghost-primary:hover{background:var(--primary-dark);}
.save-inline{
  display:none;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap;
}
.save-inline.is-visible{display:flex;}
.save-inline input{
  height:40px;padding:0 14px;border:1.5px solid var(--border);
  border-radius:var(--radius-sm);font-size:.88rem;flex:1 1 160px;
}
.save-inline input:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-50);}
.saved-chips{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;
}
.saved-chip{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--card);border:1.5px solid var(--border);border-radius:999px;
  padding:8px 8px 8px 14px;font-size:.82rem;font-weight:600;color:var(--text);
  cursor:pointer;transition:border-color .18s var(--ease),box-shadow .18s var(--ease);
}
.saved-chip:hover{border-color:var(--primary-light);box-shadow:var(--shadow-sm);}
.saved-chip .chip-del{
  width:20px;height:20px;border-radius:50%;background:var(--bg);
  display:flex;align-items:center;justify-content:center;color:var(--text-mute);
  font-size:.8rem;line-height:1;flex:0 0 auto;
}
.saved-chip .chip-del:hover{background:#FEE2E2;color:#B91C1C;}
.saved-select{
  margin-top:8px;width:100%;height:42px;padding:0 12px;
  border:1.5px solid var(--border);border-radius:var(--radius-sm);
  background:var(--card);font-size:.82rem;color:var(--text-soft);font-weight:600;
}
.saved-select:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-50);}

/* ============================================================
   11d. INSIGHT EXTRAS — planets, tables, milestone line, exports
   ============================================================ */
.milestone-line{
  margin-top:12px;padding:12px 14px;background:var(--bg);border-radius:var(--radius-sm);
  font-size:.85rem;color:var(--text-soft);font-weight:600;
}
.planet-row{
  display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;
}
.planet-card{
  flex:0 0 auto;min-width:96px;text-align:center;
  background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);
  padding:14px 10px;
}
.planet-card .planet-emoji{font-size:1.3rem;}
.planet-card .planet-name{font-size:.72rem;font-weight:700;color:var(--text-mute);margin-top:4px;text-transform:uppercase;letter-spacing:.03em;}
.planet-card .planet-age{font-size:1.05rem;font-weight:800;color:var(--primary-dark);margin-top:2px;}

.table-wrap{overflow-x:auto;}
.bday-table{width:100%;border-collapse:collapse;font-size:.85rem;}
.bday-table th, .bday-table td{
  padding:11px 12px;text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;
}
.bday-table th{
  font-size:.72rem;text-transform:uppercase;letter-spacing:.03em;color:var(--text-mute);font-weight:700;
}

.result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.copy-fallback{
  width:100%;margin-top:10px;height:90px;padding:12px;
  border:1.5px solid var(--border);border-radius:var(--radius-sm);
  font-size:.8rem;font-family:inherit;color:var(--text-soft);display:none;
}
.copy-fallback.is-visible{display:block;}
.report-meta{margin-top:12px;font-size:.72rem;color:var(--text-mute);}

/* Share row */
.share-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.share-row a, .share-row button{
  display:inline-flex;align-items:center;gap:6px;
  height:38px;padding:0 14px;border-radius:999px;
  background:var(--bg);border:1px solid var(--border);color:var(--text-soft);
  font-size:.8rem;font-weight:700;
  transition:border-color .18s var(--ease),color .18s var(--ease),transform .15s var(--ease);
}
.share-row a:hover, .share-row button:hover{border-color:var(--primary-light);color:var(--primary-dark);}
.share-row a:active, .share-row button:active{transform:scale(.97);}

/* Two-person compact insight cards (Age Difference) */
.person-grid{display:grid;grid-template-columns:1fr;gap:12px;}
@media (min-width:560px){.person-grid{grid-template-columns:1fr 1fr;}}
.person-mini{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px;}
.person-mini h4{font-size:.8rem;color:var(--text-mute);text-transform:uppercase;letter-spacing:.03em;margin-bottom:8px;}
.person-mini .info-row{background:var(--card);}

/* Review widget */
.review-card .hint-block{display:block;font-size:.82rem;color:var(--text-mute);margin-bottom:12px;}
.star-row{display:flex;gap:6px;margin-bottom:12px;}
.star-btn{
  font-size:1.6rem;line-height:1;color:#E2E8F0;
  transition:color .15s var(--ease),transform .15s var(--ease);
}
.star-btn:hover, .star-btn.is-hover{color:var(--gold);transform:scale(1.1);}
.star-btn.is-active{color:var(--gold);}
.review-note{
  width:100%;min-height:70px;padding:12px 14px;
  border:1.5px solid var(--border);border-radius:var(--radius-sm);
  font-size:.86rem;font-family:inherit;resize:vertical;margin-bottom:12px;
}
.review-note:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-50);}
.review-summary{margin-top:14px;font-size:.84rem;color:var(--text-soft);}
.review-summary strong{color:var(--gold);}
.review-list{margin-top:10px;display:flex;flex-direction:column;gap:8px;}
.review-list-item{
  background:var(--bg);border-radius:var(--radius-sm);padding:10px 12px;font-size:.82rem;color:var(--text-soft);
}
.review-list-item .rli-stars{color:var(--gold);font-weight:700;margin-right:6px;}
.review-thanks{
  display:none;margin-top:10px;padding:10px 12px;border-radius:var(--radius-sm);
  background:#F0FDF4;color:#15803D;font-size:.84rem;font-weight:700;
}
.review-thanks.is-visible{display:block;}


/* Print styles — powers the "Download PDF report" action with zero libraries */
@media print{
  .site-header,.hero,.tabs-wrap,.saved-row,.result-actions,.copy-fallback,.share-row,.review-card,
  .features,.faq,.site-footer,.error-msg,form{display:none !important;}
  body{background:#fff;}
  .calc-card{box-shadow:none;border:none;padding:0;}
  .panel{display:none !important;}
  .panel.is-active{display:block !important;}
}

/* ============================================================
   12. UTILITIES
   ============================================================ */
.visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* ============================================================
   ARTICLE CONTENT — scoped prose styling for the long-form
   homepage content block. Nothing above this line was changed;
   this only affects elements inside .article-content.
   ============================================================ */
.article-content{ text-align:left; }
.article-content h1,.article-content h2{ font-size:1.4rem; margin-top:36px; margin-bottom:12px; }
.article-content h1:first-child,.article-content h2:first-child{ margin-top:0; }
.article-content h3{ font-size:1.15rem; margin-top:26px; margin-bottom:10px; }
.article-content h2.section-h2{ font-size:1.15rem; margin-top:26px; margin-bottom:10px; }
.article-content h4{ font-size:1rem; font-weight:700; margin-top:18px; margin-bottom:8px; color:var(--text); }
.article-content p{ color:var(--text-soft); margin-bottom:14px; line-height:1.7; }
.article-content ul{ list-style:disc; padding-left:22px; margin-bottom:14px; }
.article-content ul li{ color:var(--text-soft); margin-bottom:6px; line-height:1.6; }

/* ============================================================
   LOVE CALCULATOR — new page-specific styles only.
   Nothing above this line was changed.
   ============================================================ */
:root{ --love:#E11D48; --love-dark:#BE123C; --love-50:#FFF1F2; }
html[data-theme="dark"]{ --love-50:#3F1725; }

.love-hero .eyebrow{ background:var(--love-50); color:var(--love-dark); }
.love-hero h1 span{ color:var(--love); }

.love-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:8px; }
.love-actions .btn{ background:linear-gradient(135deg,var(--love),var(--love-dark)); box-shadow:0 10px 24px -8px rgba(225,29,72,.5); }
.love-actions .btn:hover{ box-shadow:0 14px 28px -8px rgba(225,29,72,.55); }

.love-results{ display:none; margin-top:28px; text-align:center; }
.love-results.is-visible{ display:block; }

.love-score-wrap{ position:relative; width:160px; height:160px; margin:0 auto 14px; }
.love-progress-ring{ transform:rotate(-90deg); }
.love-ring-bg{ fill:none; stroke:var(--border); stroke-width:12; }
.love-ring-fill{
  fill:none; stroke:var(--love); stroke-width:12; stroke-linecap:round;
  stroke-dasharray:439.8; stroke-dashoffset:439.8;
  transition:stroke-dashoffset 1s cubic-bezier(.4,0,.2,1);
}
.love-score-number{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:2rem; font-weight:800; color:var(--love);
  font-variant-numeric:tabular-nums;
}
.love-level{
  display:inline-block; background:var(--love-50); color:var(--love-dark);
  font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  padding:5px 14px; border-radius:999px; margin-bottom:10px;
}
.love-message{ font-size:1.3rem; margin-bottom:8px; }
.love-emojis{ font-size:1.4rem; letter-spacing:4px; margin-bottom:14px; }
.love-interpretation{ color:var(--text-soft); font-size:.95rem; max-width:480px; margin:0 auto 20px; }
.love-results .info-card{ text-align:left; max-width:420px; margin-inline:auto; margin-top:14px; }
