:root{
  --ink:#172554;
  --ink-soft:#334155;
  --muted:#64748B;
  --line:#D7E0EC;
  --line-strong:#B8C6D9;
  --card:#FFFFFF;
  --soft:#F8FAFC;
  --blue:#073CFF;
  --purple:#7F59FA;
  --saffron:#FF7A2F;
  --red:#EB544C;
  --green:#1F8A52;
  --shadow:0 12px 30px rgba(7,29,73,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;
  color:var(--ink-soft);
  font-size:17px;
  line-height:1.65;
  background:linear-gradient(168deg,#071D49 0%,#0A2A6B 26%,#0E4E9E 58%,#0E7E94 100%);
  background-attachment:fixed;
}
a{color:inherit}
.shell{width:min(1180px,calc(100% - 32px));margin:0 auto}

/* Header / silver-site style information architecture */
.site-header{position:relative;z-index:20;background:linear-gradient(90deg,var(--blue),var(--purple));box-shadow:0 4px 18px rgba(2,14,46,.12)}
.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 0}
.brand{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;min-width:0}
.logo{flex:0 0 44px;width:44px;height:44px;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 12px rgba(8,34,78,.24)}
.logo-r{height:27px;display:flex;align-items:center;justify-content:center;background:linear-gradient(150deg,#FFC24B,#F97316);color:#fff;font-size:24px;font-weight:800;line-height:1}
.logo-w{height:4px;background:#fff}.logo-g{flex:1;background:linear-gradient(150deg,#2FB866,#138808)}
.site-name{font-size:30px;line-height:1.05;white-space:nowrap;letter-spacing:-.02em}
.desktop-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.desktop-nav a{color:#fff;text-decoration:none;font-size:15px;font-weight:700;padding:10px 12px;border-radius:999px}
.desktop-nav a:hover,.desktop-nav a:focus-visible{background:rgba(255,255,255,.14)}
.mobile-menu{display:none;position:relative;color:#fff}
.mobile-menu summary{list-style:none;cursor:pointer;border:1px solid rgba(255,255,255,.55);padding:9px 14px;border-radius:10px;font-weight:800}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu-panel{position:absolute;right:0;top:48px;width:220px;padding:10px;background:#fff;color:var(--ink);border-radius:14px;box-shadow:var(--shadow);border:1px solid var(--line);display:grid;gap:4px}
.mobile-menu-panel a{text-decoration:none;padding:10px 12px;border-radius:9px;font-weight:700}
.mobile-menu-panel a:hover{background:var(--soft)}
.topbar-band{height:8px;background:linear-gradient(to bottom,#FF9933 0 33.33%,#fff 33.33% 66.67%,#138808 66.67% 100%)}

main.shell{padding:24px 0 38px}

/* Hero – same brand gradient as the logo/header row */
.hero-card{
  background:linear-gradient(90deg,var(--blue) 0%,var(--purple) 100%);
  border:1px solid rgba(255,255,255,.34);
  border-radius:24px;
  padding:34px 36px;
  box-shadow:0 16px 34px rgba(5,28,75,.18);
  margin-bottom:24px;
  color:#fff;
}
.eyebrow{display:inline-flex;align-items:center;min-height:30px;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);color:#fff;font-size:13px;font-weight:800;letter-spacing:.08em}
.hero-card h1{margin:14px 0 10px;color:#fff;font-size:clamp(32px,5vw,50px);line-height:1.1;letter-spacing:-.03em}
.hero-card>p{max-width:820px;margin:0;color:#F3F6FF;font-size:18px;line-height:1.72;font-weight:500}
.hero-facts{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.hero-facts span{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.30);border-radius:999px;padding:8px 12px;color:#fff;font-size:14px;font-weight:700}

/* Shared section heads */
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 16px}
.section-head h2{margin:0;color:var(--ink);font-size:26px;line-height:1.25}
.section-head p{margin:0;max-width:560px;color:var(--muted);font-size:16px;line-height:1.55;text-align:right}
.section-head.compact{align-items:center}
.section-head.compact h2{font-size:20px}
.section-head.compact p{font-size:14px}

/* Compact 7 timing jump links */
.quick-timings{background:linear-gradient(180deg,#F3F7FF 0%,#EAF1FC 100%);border:1px solid #BFCDE2;border-radius:22px;padding:20px;box-shadow:0 14px 28px rgba(5,28,75,.13);margin-bottom:24px}
.keyword-line{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.keyword-line a{min-width:0;padding:12px 8px;text-align:center;text-decoration:none;color:var(--ink);font-size:14px;font-weight:800;line-height:1.35;border-right:1px solid var(--line);background:#fff}
.keyword-line a:last-child{border-right:0}.keyword-line a:hover{background:#F3F6FF;color:#2347E8}

/* Calculator */
.main-tool{background:linear-gradient(180deg,#F4F8FF 0%,#EAF2FD 100%);border:1px solid #BFCDE2;border-radius:24px;padding:28px;box-shadow:0 16px 32px rgba(5,28,75,.14);margin-bottom:24px}
.tool-section-head{padding-bottom:18px;border-bottom:1px solid var(--line)}
.controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:18px;margin-top:18px;align-items:start}
.field-group{background:#fff;border:1px solid #C9D5E6;border-radius:18px;padding:18px;box-shadow:0 4px 12px rgba(5,28,75,.035)}
.field-title{display:block;color:var(--ink);font-size:18px;font-weight:800;margin-bottom:10px}
.select-wrap{position:relative}.select-wrap select{appearance:none;padding-right:48px}
.select-arrow{position:absolute;right:19px;top:50%;width:10px;height:10px;border-right:2px solid #475569;border-bottom:2px solid #475569;transform:translateY(-65%) rotate(45deg);pointer-events:none}
select,input,button{width:100%;font:inherit;color:var(--ink)}
select,input{min-height:54px;border:1px solid var(--line-strong);border-radius:12px;background:#fff;padding:0 14px;font-size:18px;font-weight:700}
select:focus,input:focus{outline:3px solid rgba(7,60,255,.14);border-color:#5877F6}
.city-help,.field-help,.form-status{margin:10px 0 0;color:var(--muted);font-size:15px;font-weight:600}
.date-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid var(--line);padding-top:12px}
.date-part span{display:block;text-align:center;color:var(--ink);font-size:16px;font-weight:800;margin-bottom:7px}
.date-part input{text-align:center}
.field-help{text-align:center;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px}
.field-error{color:#B42318;font-weight:700;margin:8px 0 0}
#calculateBtn{grid-column:1/-1;min-height:58px;border:0;border-radius:14px;background:linear-gradient(90deg,var(--blue),var(--purple));color:#fff;font-size:18px;font-weight:800;box-shadow:0 8px 18px rgba(7,60,255,.18);cursor:pointer}
#calculateBtn:hover{filter:brightness(1.02);transform:translateY(-1px)}
.result-card{grid-column:1/-1;margin-top:2px;background:#fff;border:1px solid #C4D1E4;border-radius:20px;padding:24px;text-align:center;box-shadow:0 8px 18px rgba(5,28,75,.06)}
.result-kicker{margin:0;color:#EE5C2B;font-size:20px;font-weight:800;letter-spacing:.01em;text-transform:none}
.result-context{margin:8px 0;color:var(--muted);font-size:16px;font-weight:600}
.result-time{margin:8px 0;color:var(--ink);font-size:clamp(34px,6vw,52px);font-weight:800;line-height:1.12;letter-spacing:-.03em}
.result-status,.result-duration{color:var(--ink-soft);font-size:16px;font-weight:700;margin:5px 0}
.result-nature{display:flex;justify-content:center;margin-top:10px}
.nature-tag{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:7px 12px;border-radius:10px;font-size:15px;font-weight:700;line-height:1.3}
.nature-inauspicious{background:var(--red);color:#fff}.nature-auspicious{background:var(--saffron);color:#fff}
.result-meta{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);color:#475569;font-size:15px}.result-meta strong{color:var(--ink);font-weight:800}
.results-scope{text-align:center;color:#EAF2FF;font-size:15px;font-weight:700;margin:4px 0 10px}

/* Other result cards */
.results-head{margin:22px 0 14px;color:#fff;align-items:center}.results-head h2,.results-head p{color:#fff}.results-head p{opacity:.86}
.tool-bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}
.timing-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 8px 22px rgba(5,28,75,.08);display:flex;flex-direction:column}
.tool-heading{min-height:58px;padding:13px 16px;background:linear-gradient(90deg,var(--blue),var(--purple));display:flex;align-items:center}
.tool-icon{display:none}.tool-name{margin:0;color:#fff;font-size:19px;font-weight:800;line-height:1.3}
.tool-body{padding:18px 16px 16px;min-height:150px;display:flex;flex:1;flex-direction:column;justify-content:flex-start;gap:14px}
.tool-result{color:var(--ink);font-size:16px;font-weight:600;line-height:1.55}.tool-result strong{font-size:24px}
.tool-state{display:flex;justify-content:flex-end;margin-top:auto}

/* City section */
.city-pages-section{background:linear-gradient(180deg,#F5F8FF 0%,#EAF2FD 100%);border:1px solid #BFCDE2;border-radius:24px;padding:28px;box-shadow:0 16px 32px rgba(5,28,75,.14);margin:26px 0}
.city-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.city-card{position:relative;display:grid;gap:4px;min-height:148px;padding:18px;text-decoration:none;background:#fff;border:1px solid #C8D5E7;border-radius:16px;box-shadow:0 5px 14px rgba(5,28,75,.045);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.city-card strong{font-size:20px;color:var(--ink)}.city-card span{font-size:14px;color:var(--muted);font-weight:600}.city-card small{font-size:13px;color:#64748B}.city-card b{margin-top:8px;color:#2347E8;font-size:14px}
.city-card:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(7,29,73,.09);border-color:#AFC0F5}
.secondary-cta{display:flex;width:max-content;margin:20px auto 0;padding:12px 18px;border-radius:12px;background:linear-gradient(90deg,var(--blue),var(--purple));color:#fff;text-decoration:none;font-weight:800}
.all-cities-section{margin-bottom:38px}.city-directory-hero{margin-bottom:20px}

/* City comparison – functional data before editorial guides */
.city-comparison-section{background:linear-gradient(180deg,#F2F7FF 0%,#E7F0FC 100%);border:1px solid #BFCDE2;border-radius:24px;padding:26px;box-shadow:0 16px 32px rgba(5,28,75,.14);margin:26px 0}
.city-comparison-head{padding-bottom:14px;border-bottom:1px solid #C8D5E7;margin-bottom:14px}
.city-comparison-copy{background:#fff;border:1px solid #CAD7E8;border-radius:16px;padding:18px 20px;margin-bottom:16px;box-shadow:0 5px 14px rgba(5,28,75,.04)}
.city-comparison-copy p{margin:0;color:var(--ink-soft);font-size:17px;line-height:1.7}
.city-comparison-section .table-wrap{margin:0;border-color:#C6D4E6;box-shadow:0 6px 18px rgba(5,28,75,.06)}
.guides-head{margin:34px 0 14px;padding:0 4px;color:#fff;align-items:end}
.guides-head h2,.guides-head p{color:#fff}.guides-head p{opacity:.88}

/* Article, table, FAQ – open by default, silver-site style cards */
.content-area{margin:0;padding:0;background:transparent}
.post-card,.faq-item,.table-wrap{background:#fff;border:1px solid #C5D3E6;border-radius:18px;box-shadow:0 12px 26px rgba(5,28,75,.11);margin:18px 0;overflow:hidden}
.post-card>h2{margin:0;padding:15px 18px;background:linear-gradient(90deg,var(--blue),var(--purple));color:#fff;font-size:20px;line-height:1.35;font-weight:800;border-bottom:1px solid rgba(255,255,255,.18)}
.post-card>p{margin:0;padding:18px;color:var(--ink-soft);font-size:18px;line-height:1.75}
.table-wrap{overflow-x:auto;padding:0}
table{width:100%;border-collapse:collapse;background:#fff;font-size:15px}
caption{padding:14px 16px;background:linear-gradient(90deg,var(--blue),var(--purple));color:#fff;font-weight:800;font-size:18px;text-align:left}
th{padding:12px 14px;text-align:left;background:#EEF3FF;color:var(--ink);font-weight:800;border-bottom:1px solid var(--line)}
td{padding:12px 14px;border-bottom:1px solid #E6ECF4;color:var(--ink-soft)}
tbody tr:last-child td{border-bottom:0}.city-table-link{font-weight:700;text-underline-offset:3px}.city-table-link:hover{color:#2347E8}
.faq-visible{display:grid;gap:14px;margin-bottom:18px}.faq-item{margin:0;padding:18px 20px}.faq-item h3{margin:0 0 8px;color:var(--ink);font-size:18px;font-weight:800;line-height:1.45}.faq-item p{margin:0;color:var(--ink-soft);font-size:17px;line-height:1.65}
.method-source{margin:14px 0 0;padding:14px 18px;background:rgba(7,29,73,.78);border-radius:14px;color:#fff;font-size:15px;line-height:1.6}.method-source a{color:#fff;text-underline-offset:3px}

/* Footer */
.site-footer{margin-top:34px;background:rgba(7,29,73,.96);color:#EAF2FF;border-top:1px solid rgba(255,255,255,.18)}
.footer-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:28px;padding:34px 0 28px}
.footer-brand-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.footer-brand-row h2{margin:0;color:#fff;font-size:24px}.footer-brand-row .footer-logo{width:42px;height:42px;flex-basis:42px;border-radius:11px}.footer-brand-row .footer-logo .logo-r{height:25px;font-size:23px}.footer-brand h2{margin:0 0 8px;color:#fff;font-size:24px}.footer-brand p{margin:0;max-width:360px;color:#C8D7EF;font-size:15px;line-height:1.7}
.footer-col{display:grid;align-content:start;gap:7px}.footer-col h3{margin:0 0 7px;color:#fff;font-size:15px;text-transform:uppercase;letter-spacing:.08em}.footer-col a{color:#D8E7FA;text-decoration:none;font-size:14px}.footer-col a:hover{text-decoration:underline}
.footer-bottom{padding:16px 0 24px;border-top:1px solid rgba(255,255,255,.12);font-size:13px;color:#ADC3E0;text-align:center}

/* Legal pages using existing content */
.legal-page .content-area{margin:24px 0}.legal-page .content-area a{color:#2347E8}

@media(max-width:980px){
  .desktop-nav{display:none}.mobile-menu{display:block}
  .tool-bars{grid-template-columns:repeat(2,minmax(0,1fr))}
  .city-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr}.footer-col:last-child{grid-column:2/4}
  .keyword-line{grid-template-columns:repeat(4,minmax(0,1fr))}.keyword-line a{border-bottom:1px solid var(--line)}
}

@media(max-width:700px){
  .shell{width:min(100% - 22px,620px)}
  .header-inner{min-height:70px;padding:10px 0}.site-name{font-size:28px}.logo{width:42px;height:42px}.logo-r{height:25px;font-size:23px}
  main.shell{padding-top:14px}
  .hero-card,.main-tool,.city-pages-section,.city-comparison-section{border-radius:20px;padding:20px}
  .hero-card h1{font-size:30px}.hero-card>p{font-size:16px;line-height:1.65}.hero-facts span{font-size:13px}
  .section-head{display:block}.section-head h2{font-size:23px}.section-head p{margin-top:6px;text-align:left;font-size:15px}
  .quick-timings{padding:16px;border-radius:18px}.section-head.compact p{display:none}
  .keyword-line{grid-template-columns:repeat(2,minmax(0,1fr))}.keyword-line a{font-size:16px;padding:12px 8px;border-bottom:1px solid var(--line)}
  .controls{grid-template-columns:1fr}.field-group{padding:16px}.field-title{font-size:19px}.date-part span{font-size:17px}select,input{font-size:18px}.city-help,.field-help,.form-status{font-size:16px}
  .result-card{padding:20px 14px}.result-context,.result-status,.result-duration{font-size:17px}.result-time{font-size:34px}.nature-tag{font-size:16px}.result-meta{gap:10px 20px;font-size:16px}
  .results-head{display:block}.results-head h2{font-size:23px}.results-head p{margin-top:4px;text-align:left}
  .tool-bars{grid-template-columns:1fr}.tool-body{min-height:auto}.tool-name{font-size:20px}.tool-result{font-size:18px;line-height:1.62}
  .city-card-grid{grid-template-columns:1fr}.city-card{min-height:126px;gap:6px}.city-card strong{font-size:23px}.city-card span{font-size:17px}.city-card small{font-size:16px}.city-card b{font-size:17px}
  .post-card>h2{font-size:20px}.post-card>p{font-size:18px;line-height:1.7}.faq-item h3{font-size:18px}.faq-item p{font-size:17px;line-height:1.65}
  .footer-grid{grid-template-columns:1fr 1fr;gap:24px}.footer-brand{grid-column:1/-1}.footer-col:last-child{grid-column:1/-1}
}

@media(max-width:430px){
  .shell{width:calc(100% - 18px)}
  .site-name{font-size:27px}.brand{gap:9px}
  .hero-card{padding:20px}.hero-card h1{font-size:30px}.hero-card>p{color:#F3F6FF}.eyebrow{font-size:11px}.hero-facts span{font-size:12px}
  .quick-timings{padding:14px}.keyword-line a{font-size:17px;line-height:1.4;min-height:58px;padding:12px 8px;display:flex;align-items:center;justify-content:center}
  .main-tool{padding:16px}.tool-section-head{padding-bottom:14px}.tool-section-head h2{font-size:21px}.tool-section-head p{font-size:14px}
  .field-group{padding:14px}.date-parts{gap:8px}.date-part input{padding:0 8px}.field-help{font-size:16px}
  #calculateBtn{font-size:18px}.result-kicker{font-size:20px}.result-time{font-size:32px}
  .city-pages-section,.city-comparison-section{padding:16px}.section-head h2{font-size:22px}.city-card{padding:18px}.city-card strong{font-size:24px}.city-card span{font-size:18px}.city-card small{font-size:17px;line-height:1.5}.city-card b{font-size:18px}.city-comparison-copy{padding:15px}.city-comparison-copy p{font-size:17px}.guides-head{margin-top:28px}
  .post-card,.faq-item,.table-wrap{border-radius:16px}.post-card>h2{padding:13px 15px}.post-card>p{padding:16px}
  .footer-grid{grid-template-columns:1fr}.footer-col:last-child{grid-column:auto}.footer-brand{grid-column:auto}
}

@media(max-width:360px){
  .site-name{font-size:25px}.logo{width:40px;height:40px}.logo-r{font-size:22px}
  .keyword-line{grid-template-columns:1fr}.keyword-line a{border-right:0}
  .date-parts{gap:6px}.date-part span{font-size:15px}.date-part input{font-size:17px}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.calculator-prompt{margin:8px 0 0;color:#475569;font-size:16px;line-height:1.45;font-weight:600}
