/* My Data Union — site styles. Matches the OceanWP/Elementor look of the original site. */
:root {
  --navy: #0A2540;
  --gold: #F5C518;
  --cream: #F8F6F3;
  --sky: #D8E3EB;
  --green: #009E73;
  --text: #4A4A4A;
  --heading: #333333;
  --link: #0A2540;
  --glossary: #0073E6;
  --rule: #F1F1F1;
  --border: #E9E9E9;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Times New Roman", Times, serif;
  --container: 1260px;
  --narrow: 1245px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--font); font-size: 20px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3, h4, h5 { color: var(--heading); font-weight: 600; line-height: 1.4; margin: 0 0 .5em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: var(--narrow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
.center { text-align: center; }
.serif { font-family: var(--serif); font-weight: 400; color: var(--navy); }

/* ---------- header ---------- */
#site-header { background: var(--navy); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100px; max-width: 90%; padding: 0; }
.logo img { width: 241px; height: auto; }
.main-menu { list-style: none; margin: 0; padding: 0; display: flex; }
.main-menu a { display: block; color: var(--cream); text-decoration: none; text-transform: uppercase; font-size: 20px; font-weight: 500; letter-spacing: .6px; line-height: 100px; padding: 0 20px; }
.main-menu a:hover { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; height: 3px; background: var(--cream); margin: 6px 0; border-radius: 2px; }

/* ---------- bands & banners ---------- */
.band { padding: 60px 0; }
.band-blue { background: var(--sky); }
.page-banner { background: var(--navy); padding: 40px 0; }
.page-banner h1 { font-family: "Bakbak One", var(--font); font-weight: 600; font-size: 60px; color: var(--gold); margin: 0; padding-left: 30px; letter-spacing: 1px; }
.btn { display: inline-block; background: var(--navy); color: var(--cream); font-size: 22px; padding: 18px; border-radius: 10px; text-decoration: none; line-height: 1; }
.btn:hover { background: #143a5e; }

/* ---------- home ---------- */
/* home: waitlist banner (sky band, centred serif, like the site's other bands) */
.home-hero { padding: 72px 0; text-align: center; }
.hero-title { font-size: 52px; line-height: 1.15; margin: 0 0 14px; }
.hero-sub { font-size: 20px; line-height: 1.5; color: var(--navy); margin: 0 0 26px; }
.home-hero .signup, .home-hero .signup-done { margin-left: auto; margin-right: auto; }
.home-hero .signup-note { color: #555; }
.hero-primer { font-size: 17px; color: var(--navy); margin: 22px 0 0; }
.hero-primer a { color: var(--navy); text-underline-offset: 3px; }
/* sign-up forms (home waitlist, footer newsletter) */
.signup { display: flex; gap: 10px; max-width: 560px; }
.signup .field { flex: 1; min-width: 0; height: 54px; padding: 0 16px; border-radius: 10px; border: 1px solid #b9c6d2; background: #fff; color: #14212E; font: inherit; font-size: 18px; }
.signup .field:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.signup .btn { border: 0; cursor: pointer; height: 54px; padding: 0 24px; font-size: 18px; font-weight: 600; font-family: inherit; white-space: nowrap; }
.signup .btn:disabled { opacity: .6; cursor: default; }
.signup-note { font-size: 14px; margin: 12px 0 0; }
.signup-done { max-width: 560px; margin: 0; padding: 16px 18px; border-left: 4px solid var(--gold); border-radius: 8px; background: #fff; color: var(--navy); font-size: 18px; line-height: 1.5; text-align: left; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }
/* home: Daylight */
.daylight { padding: 70px 0; text-align: center; }
.daylight h2.serif { font-size: 40px; margin: 0 0 12px; }
.daylight .intro { color: var(--navy); max-width: 760px; margin: 0 auto 36px; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; text-align: left; }
.tool { display: flex; flex-direction: column; background: #fff; border: 1px solid #c9d6e0; border-radius: 12px; padding: 24px 26px; text-decoration: none; color: var(--text); box-shadow: 0 1px 3px rgba(10,37,64,.08); transition: box-shadow .15s, transform .15s; }
.tool:hover { box-shadow: 0 6px 18px rgba(10,37,64,.14); transform: translateY(-2px); }
.tool:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.tool-name { display: block; font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.tool-desc { display: block; font-size: 18px; line-height: 1.55; flex: 1; }
.tool-go { align-self: flex-start; margin-top: 20px; background: var(--navy); color: var(--cream); border-radius: 10px; padding: 12px 18px; font-size: 18px; font-weight: 600; line-height: 1; }
.tool:hover .tool-go { background: #143a5e; }
.learn { padding: 75px 0 50px; text-align: center; }
/* home: Control / Monetize / Protect tabs (without the script, all three panels show with headings) */
.pillar-tabs { max-width: 1000px; margin: 0 auto; text-align: left; }
.tab-list { display: flex; max-width: 520px; margin: 0 auto 14px; background: #fff; border: 1px solid #c9d6e0; border-radius: 999px; padding: 4px; }
.pillar-tabs:not(.tabs-ready) .tab-list { display: none; }
.tab-list button { flex: 1; border: 0; background: none; font: inherit; font-size: 17px; font-weight: 600; color: var(--navy); padding: 10px 0; border-radius: 999px; cursor: pointer; }
.tab-list button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tab-list button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tab-heading { font-size: 24px; color: var(--navy); text-align: center; margin: 36px 0 6px; }
.tabs-ready .tab-heading { display: none; }
.tab-def { text-align: center; color: #555; font-size: 17px; margin: 0 0 18px; }
.tab-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.tab-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid #e2dcd3; text-decoration: none; color: #222; }
.tab-row img { flex: 0 0 120px; width: 120px; aspect-ratio: 3/2; object-fit: cover; border-radius: 8px; }
.tab-row span { font-size: 17px; line-height: 1.35; }
.tab-row:hover span { text-decoration: underline; text-underline-offset: 3px; }
.tab-row small { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #777; margin-top: 3px; }
.tab-all { text-align: center; margin: 18px 0 40px; font-size: 17px; }
.tab-all a { color: var(--navy); text-underline-offset: 3px; }
/* pillar pages */
.pillar-intro { text-align: center; color: var(--navy); font-size: 20px; margin: 36px auto 30px; max-width: 760px; }
.learn h2.serif { font-size: 40px; }
.learn .intro { color: var(--navy); max-width: 900px; margin: 0 auto 50px; }
.section-heading { font-size: 25px; font-weight: 500; border-top: 1px solid #c9c9c9; padding-top: 30px; margin: 40px 0 30px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 60px; text-align: left; max-width: 1000px; margin: 0 auto 50px; }
.mini-card { text-decoration: none; color: #222; }
.mini-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; margin-bottom: 12px; }
.mini-card span { display: block; font-size: 20px; line-height: 1.4; }
.mini-card:hover span { text-decoration: underline; }

/* ---------- article ---------- */
.single { padding: 50px 20px; }
.featured { margin: 0 0 40px; }
.featured img { width: 100%; max-height: 640px; object-fit: cover; }
.single-post-title { font-size: 34px; font-weight: 600; letter-spacing: .6px; line-height: 1.4; margin: 0 0 15px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); text-align: center; }
.single-glossary .single-post-title, .page-legal h1 { text-align: left; }
.meta { list-style: none; margin: 20px 0; padding: 0 0 10px; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; font-size: 14px; letter-spacing: .6px; line-height: 1.4; }
.meta li { display: flex; align-items: center; gap: 6px; }
.meta a { color: inherit; text-decoration: none; }
.meta a:hover { text-decoration: underline; }
.ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.entry-content { font-size: 20px; line-height: 36px; }
.entry-content > * { max-width: 1205px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.entry-content p, .entry-content ul, .entry-content ol { margin-top: 30px; margin-bottom: 30px; }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5 { margin-top: 33px; margin-bottom: 33px; font-weight: 500; }
.entry-content h2 { font-size: 26px; } .entry-content h3 { font-size: 24px; } .entry-content h4 { font-size: 22px; } .entry-content h5 { font-size: 20px; }
/* articles: ## section, ### subsection, #### below that; same weight, size sets the order */
.single-post .entry-content h2 { font-size: 24px; font-weight: 600; margin-top: 44px; }
.single-post .entry-content h3 { font-size: 20px; font-weight: 600; margin-top: 36px; margin-bottom: 20px; }
.single-post .entry-content h4 { font-size: 18px; font-weight: 600; margin-top: 30px; margin-bottom: 16px; color: #444; }
.entry-content a { color: var(--link); text-decoration: underline; }
.entry-content strong { font-weight: 600; }
.entry-content figure { margin: 30px auto; text-align: center; }
.entry-content figure img { margin: 0 auto; }
.entry-content figcaption { font-size: 15px; color: #777; margin-top: 8px; line-height: 1.5; }
.entry-content img { margin: 0 auto; }
.entry-content > img { max-width: 100%; margin-top: 30px; margin-bottom: 30px; }
.entry-content > img, .entry-content > p:has(> img:only-child) { padding-left: 0; padding-right: 0; }
.entry-content .caption { text-align: center; font-size: 13px; }
.entry-content blockquote { border-left: 4px solid var(--gold); margin: 30px auto; padding-left: 24px; font-style: italic; }
.entry-content hr { border: 0; border-top: 1px solid #ddd; margin: 40px auto; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 17px; line-height: 1.5; }
.entry-content td, .entry-content th { border: 1px solid #ddd; padding: 8px 12px; vertical-align: top; }
.entry-content iframe { max-width: 100%; }
.entry-content sup { line-height: 0; }
/* footnotes: [1] markers in the text, sources listed at the end */
.entry-content sup.fnref { font-size: 13px; }
.entry-content sup.fnref a { text-decoration: none; }
.entry-content .footnotes { border-top: 1px solid #ddd; margin-top: 40px; padding-top: 16px; font-size: 13px; line-height: 1.5; }
.entry-content .footnotes p { margin: 0 0 6px; overflow-wrap: anywhere; }
/* dialogue: ```dialogue blocks, shown as a script panel */
.entry-content .dialogue { background: #fff; border-left: 4px solid var(--gold); border-radius: 6px; padding: 18px 22px; margin: 30px auto; font-size: 17px; line-height: 1.55; }
.entry-content .dialogue p { margin: 0 0 12px; }
.entry-content .dialogue p:last-child { margin-bottom: 0; }
.entry-content .dialogue .speaker { font-weight: 700; color: var(--navy); text-transform: uppercase; font-size: 13px; letter-spacing: .06em; margin-right: 6px; }
.entry-content .dialogue .narration { font-style: italic; color: #555; margin: 16px 0; }
.entry-content .dialogue .narration:first-child { margin-top: 0; }
.single-post .entry-content ul, .single-post .entry-content ol { padding-left: 50px; }

/* glossary links & tooltip */
.glossary-link { color: var(--glossary) !important; text-decoration: none !important; border-bottom: 2px dotted var(--glossary); }
.glossary-link:hover { border-bottom-style: solid; }
#glossary-tip { position: absolute; z-index: 50; max-width: 400px; min-width: 200px; background: #666; color: #fff; font-size: 13px; line-height: 1.5; padding: 6px 12px 7px; border-radius: 6px; opacity: .95; pointer-events: none; }
#glossary-tip[hidden] { display: none; }
#glossary-tip .term { font-weight: 600; margin-bottom: 2px; }

/* keep reading */
.keep-reading { max-width: 1205px; margin: 50px auto 0; padding: 30px 20px 0; border-top: 1px solid var(--rule); }
.keep-reading .mini-grid { margin: 0; max-width: none; gap: 30px; }
.keep-reading .mini-card span { font-size: 18px; }

/* post nav */
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 40px auto 0; padding: 20px 20px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.4; }
.post-nav a { text-decoration: none; max-width: 45%; }
.post-nav a span { display: block; font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; color: #888; margin-bottom: 4px; }
.post-nav .next { text-align: right; }
.post-nav a:hover { text-decoration: underline; }

/* comments */
.comments-area { margin: 50px auto 0; padding: 0 20px; max-width: 1205px; }
.theme-heading { font-size: 14px; font-weight: 500; letter-spacing: 1.3px; text-transform: uppercase; margin: 0 0 20px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 50px; }
.comment { border-bottom: 1px solid var(--rule); padding: 20px 0; font-size: 16px; line-height: 1.6; }
.comment-author { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.comment-name { font-weight: 600; color: var(--heading); }
.comment-date { font-size: 13px; color: #888; }
.comment.byauthor .comment-name::after { content: "Author"; font-size: 11px; background: var(--gold); color: var(--navy); border-radius: 3px; padding: 1px 6px; margin-left: 8px; vertical-align: middle; font-weight: 600; }
.comments-closed { font-size: 15px; color: #777; margin-top: 20px; }

/* ---------- research archive ---------- */
.archive .container { padding-top: 50px; padding-bottom: 50px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12.5px; }
.blog-entry { border: 1px solid var(--border); background: #fff; padding: 0 12.5px 12.5px; }
.blog-entry .thumbnail { display: block; margin: 0 -12.5px 15px; }
.blog-entry .thumbnail img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.blog-entry-title { font-size: 23px; line-height: 1.3; margin: 0 0 10px; }
.blog-entry-title a { color: var(--navy); text-decoration: none; }
.blog-entry-title a:hover { text-decoration: underline; }
.blog-entry .meta { justify-content: flex-start; margin: 0; padding: 0; border: 0; gap: 4px 18px; }
.pagination { display: flex; justify-content: space-between; margin-top: 40px; font-size: 16px; }
.pagination a { text-decoration: none; font-weight: 500; }
.pagination a:hover { text-decoration: underline; }

/* ---------- glossary ---------- */
.glossary-index { padding: 30px 20px 60px; }
.alpha-nav { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 20px; }
.alpha-nav button { font: inherit; font-size: 11px; line-height: 1; padding: 5px 7px; border: 1px solid #ccc; background: #fff; color: #444; cursor: pointer; min-width: 24px; }
.alpha-nav button:disabled { color: #bbb; cursor: default; }
.alpha-nav button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.glossary-list { list-style: none; margin: 0; padding: 0; font-size: 17px; line-height: 1.9; }
.glossary-list a { text-decoration: none; }
.glossary-list a:hover { text-decoration: underline; }
.glossary-list li[hidden] { display: none; }
.glossary-term .related { margin: 40px auto 0; padding: 0 20px; max-width: 1205px; font-size: 17px; }
.glossary-term .related ul { padding-left: 20px; }
.glossary-term .back { padding: 20px; font-size: 16px; }

/* ---------- about ---------- */
.page-about .band { padding: 75px 0 40px; }
.page-about h2 { font-family: "Montserrat", var(--font); font-size: 30px; color: var(--navy); margin-bottom: 26px; }
.about-mission h2, .about-contact h2 { font-size: 36px; }
.page-about p, .page-about li { color: var(--navy); }
.about-cols { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.about-text p { margin-top: 0; }
.about-photo img { width: 359px; height: 359px; object-fit: cover; border-radius: 50%; margin-top: 40px; }
.about-mission ol { padding-left: 24px; }
.about-mission .btn { margin-top: 10px; }

/* ---------- legal ---------- */
.legal { padding: 40px 20px 60px; font-size: 18px; line-height: 1.7; }
.legal > * { padding: 0; }
.legal p, .legal li { margin: 16px 0; }
.legal h2 { font-size: 24px; margin-top: 40px; }

/* ---------- footer ---------- */
.newsletter { background: var(--sky); padding: 75px 0 40px; }
.newsletter .container { padding-left: 150px; }
.newsletter h2 { font-family: "Montserrat", var(--font); font-size: 30px; color: var(--navy); margin-bottom: 26px; }
.footer-main { background: var(--navy); color: var(--cream); padding: 20px 0 0; }
.footer-cols { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 150px 0 130px; }
.footer-menu { display: flex; flex-direction: column; }
.footer-menu a { color: var(--cream); text-decoration: none; font-size: 16px; line-height: 1; padding: 15px; }
.footer-menu a:hover { color: var(--gold); }
.footer-social h3 { color: var(--cream); font-size: 16px; font-weight: 400; margin: 15px 0 20px; }
.social-icons { display: flex; gap: 20px; }
.social-icons a { color: var(--cream); }
.social-icons a:hover { color: var(--gold); }
.copyright { text-align: center; font-size: 13px; padding: 20px 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .footer-cols { padding: 0 40px; }
  .newsletter .container { padding-left: 40px; }
}
@media (max-width: 959px) {
  .header-inner { height: 74px; max-width: 100%; padding: 0 20px; }
  .logo img { width: 183px; }
  .menu-toggle { display: block; }
  #site-navigation { display: none; position: absolute; left: 0; right: 0; top: 74px; background: var(--navy); z-index: 40; }
  #site-navigation.is-open { display: block; }
  .main-menu { flex-direction: column; }
  .main-menu a { line-height: 56px; border-top: 1px solid rgba(255,255,255,.08); }
  .blog-grid, .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cols { grid-template-columns: 1fr; }
  .about-photo img { margin: 0 auto; }
  .page-banner h1 { font-size: 44px; padding-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .blog-grid, .mini-grid { grid-template-columns: 1fr; }
  .single-post-title { font-size: 28px; }
  .entry-content { font-size: 18px; line-height: 32px; }
  .entry-content > * { padding-left: 0; padding-right: 0; }
  .entry-content table { font-size: 15px; }
  .entry-content td, .entry-content th { padding: 6px 8px; overflow-wrap: anywhere; }
  .single-post .entry-content ul, .single-post .entry-content ol { padding-left: 24px; }
  .daylight h2.serif, .learn h2.serif { font-size: 30px; }
  .footer-cols { flex-direction: column; gap: 20px; padding: 0 10px; }
  .post-nav { flex-direction: column; } .post-nav a { max-width: 100%; } .post-nav .next { text-align: left; }
  .comment-list .children { margin-left: 20px; }
  .newsletter { padding: 50px 0 30px; }
  .home-hero { padding: 44px 0; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 17px; }
  .signup { flex-direction: column; }
  .signup .field { flex: none; width: 100%; }
  .signup .btn { width: 100%; }
  .daylight { padding: 50px 0; }
  .tools { grid-template-columns: 1fr; gap: 16px; }
  .tab-rows { grid-template-columns: 1fr; }
  .tab-row img { flex-basis: 96px; width: 96px; }
  .tab-row span { font-size: 16px; }
  .tab-list button { font-size: 15px; }
  .pillar-intro { font-size: 18px; }
  .tool { padding: 20px; }
  .tool-desc { font-size: 17px; }
}
