/*
Theme Name: Khelkar's Dent 'O' Spa Theme
Template: kadence
Version: 1.0
Description: Custom theme for Khelkar's Dent 'O' Spa, generated from the approved design by Naira Growth.
*/

/* ===== Design tokens ===== */
:root {
  --color-primary: #1b63ad;        /* brand blue (tooth) */
  --color-primary-dark: #154f8a;
  --color-secondary: #16324a;      /* ink navy */
  --color-accent: #3d8b57;         /* leaf green (swoosh) */
  --color-copper: #9a5f2f;         /* reception wall */
  --color-text: #24313d;
  --color-muted: #55616e;
  --color-bg: #fbf8f3;             /* warm ivory */
  --color-surface: #f2ece3;        /* sand */
  --color-line: #e4dccf;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --radius: 18px;
  --max-width: 1180px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --shadow: 0 18px 40px rgba(22, 50, 74, 0.10);
  --dots: radial-gradient(circle, rgba(27, 99, 173, .28) 2px, transparent 2.5px);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--color-secondary); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
blockquote { margin: var(--space-4) 0; padding: var(--space-3) var(--space-4); border-left: 4px solid var(--color-accent); background: var(--color-surface); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-secondary); }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-copper); margin: 0 0 1.1em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--color-accent); }
.lead { font-size: 1.15rem; color: var(--color-muted); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--color-accent); }
.section-head { margin-bottom: var(--space-5); }
.muted { color: var(--color-muted); }

/* ===== Buttons ===== */
.btn, .btn--outline, .btn--light { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn { background: var(--color-primary); color: #fff; }
.btn:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.btn--outline { border-color: var(--color-secondary); color: var(--color-secondary); background: transparent; }
.btn--outline:hover { background: var(--color-secondary); color: #fff; }
.btn--light { background: #fff; color: var(--color-secondary); }
.btn--light:hover { background: var(--color-surface); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-3); }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--color-accent); padding-bottom: 2px; color: var(--color-secondary); }
.text-link:hover { color: var(--color-primary); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-line); }
.topbar { background: var(--color-secondary); color: #e8eef3; font-size: .85rem; }
.topbar .container { display: flex; justify-content: center; gap: var(--space-3); padding-top: 7px; padding-bottom: 7px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .topbar-address { display: none; }
.topbar .topbar-hours { display: none; }
.header-main { display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-secondary); }
.logo img { width: 74px; border-radius: 0; }
.logo span { display: flex; flex-direction: column; font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; line-height: 1.05; }
.logo small { font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--color-accent); margin-top: 4px; }
.menu-toggle { background: none; border: 1px solid var(--color-line); border-radius: 10px; width: 44px; height: 44px; font-size: 1.3rem; color: var(--color-secondary); cursor: pointer; }
.nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--color-bg); border-bottom: 1px solid var(--color-line); padding: var(--space-2) 20px var(--space-3); box-shadow: var(--shadow); }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nav a { display: block; padding: 10px 0; text-decoration: none; color: var(--color-text); font-weight: 600; }
.nav a:hover { color: var(--color-primary); }
.nav .btn { color: #fff; text-align: center; margin-top: 8px; padding: 12px 22px; }

/* ===== Sections ===== */
.section { padding: var(--space-5) 0; }
.section--alt { background: var(--color-surface); }

/* Hero */
.section--hero { position: relative; overflow: hidden; padding: var(--space-4) 0 var(--space-5); }
.section--hero::before { content: none; position: absolute; top: 24px; right: -40px; width: 300px; height: 150px; background-image: var(--dots); background-size: 22px 22px; opacity: .8; }
.hero-grid { position: relative; display: grid; gap: var(--space-4); align-items: center; }
.hero-chips { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li { background: #fff; border: 1px solid var(--color-line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 600; color: var(--color-secondary); }
.hero-media { position: relative; max-width: 460px; margin: 0 auto; }
.hero-media img { border-radius: 240px 240px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-note { position: absolute; left: -12px; bottom: 28px; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); border-left: 5px solid var(--color-primary); max-width: 250px; }
.hero-note p { margin: 0; font-size: .88rem; color: var(--color-muted); line-height: 1.45; }
.hero-note strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-secondary); }

.hero--page { padding: var(--space-5) 0; background: var(--color-surface); }
.hero--page .container { position: relative; max-width: 860px; text-align: center; }
.hero--page .lead { margin: 0 auto; }
.hero--page .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--color-accent); }

/* Stats / facts strip */
.section--stats { padding: 0; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--color-secondary); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.section--stats + .section { padding-top: var(--space-5); }
.stat { padding: var(--space-3); color: #d7e1ea; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .1); }
.stat h3 { color: #fff; font-size: 1.35rem; margin: 0 0 4px; }
.stat p { margin: 0; font-size: .9rem; line-height: 1.5; }

/* Grids + cards */
.grid { display: grid; gap: var(--space-3); }
.card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--space-4) var(--space-3); position: relative; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { color: var(--color-muted); font-size: .95rem; }
.card-num { font-family: var(--font-heading); font-size: .95rem; font-weight: 600; color: var(--color-accent); margin-bottom: .6em; }

.section--services .card { border-left: 5px solid var(--color-primary); transition: transform .2s ease, box-shadow .2s ease; }
.section--services .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section--services .card .text-link { display: inline-block; margin-top: .4em; font-size: .95rem; }
.services-foot { margin-top: var(--space-4); text-align: center; }
.services-foot, .services-foot > * { justify-content: center; }
.section--services + .section--services { padding-top: 0; }
.section--services .section-head:not(.center) { margin-bottom: var(--space-4); padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-line); }
.section--services .section-head:not(.center) h2 { margin-bottom: 0; }
.hero-actions { justify-content: center; }

/* Split layouts (about / features) */
.split { display: grid; gap: var(--space-4); align-items: center; }
.split img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split--arch img { border-radius: var(--radius) var(--radius) 240px 240px; }
.check-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: var(--space-2); }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.check-list strong { color: var(--color-secondary); }

.steps { counter-reset: step; }
.steps .card { padding-top: var(--space-5); }
.steps .card::before { counter-increment: step; content: "0" counter(step); position: absolute; top: var(--space-3); left: var(--space-3); font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--color-copper); }

/* Team */
.section--team { background: var(--color-surface); }
.section--team .grid--2 { max-width: 820px; margin: 0 auto; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-line); }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; }
.team-card h3 { margin: var(--space-3) var(--space-3) .2em; }
.team-role { margin: 0 var(--space-3) .6em; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent); }
.team-card p { margin-left: var(--space-3); margin-right: var(--space-3); color: var(--color-muted); font-size: .95rem; }
.team-card p:last-child { margin-bottom: var(--space-3); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.section--faq details { background: #fff; border: 1px solid var(--color-line); border-radius: 14px; margin-bottom: 12px; padding: 0 var(--space-3); }
.section--faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-family: var(--font-heading); font-size: 1.12rem; font-weight: 600; color: var(--color-secondary); }
.section--faq summary::-webkit-details-marker { display: none; }
.section--faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-family: var(--font-body); font-size: 1.5rem; color: var(--color-primary); }
.section--faq details[open] summary::after { content: "–"; }
.section--faq details p { color: var(--color-muted); padding-bottom: 8px; }

/* CTA */
.section--cta { padding: var(--space-5) 0; }
.cta-box { position: relative; overflow: hidden; background: var(--color-primary); color: #e6f0fa; border-radius: 28px; padding: var(--space-5) var(--space-3); text-align: center; }
.cta-box::before { content: ""; position: absolute; left: -30px; bottom: -30px; width: 240px; height: 140px; background-image: radial-gradient(circle, rgba(255, 255, 255, .25) 2px, transparent 2.5px); background-size: 22px 22px; }
.cta-box h2 { color: #fff; position: relative; }
.cta-box p { position: relative; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-box .btn-row { justify-content: center; position: relative; }
.cta-box .btn--outline { border-color: #fff; color: #fff; }
.cta-box .btn--outline:hover { background: #fff; color: var(--color-primary); }

/* Contact */
.contact-grid { display: grid; gap: var(--space-4); }
.contact-form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--space-4) var(--space-3); box-shadow: var(--shadow); }
.contact-form h2 { font-size: 1.7rem; margin-bottom: .2em; }
.contact-form label { font-weight: 600; font-size: .9rem; color: var(--color-secondary); display: grid; gap: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid #cfc6b8; border-radius: 10px; background: var(--color-bg); color: var(--color-text); width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.contact-form .btn { justify-self: start; }
.info-list { list-style: none; padding: 0; margin: var(--space-3) 0; display: grid; gap: var(--space-3); }
.info-list li { padding-left: var(--space-3); border-left: 3px solid var(--color-accent); }
.info-list strong { display: block; font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-secondary); }
.info-list a { font-weight: 600; }

/* Blog list */
.post-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.post-card h3 { margin: var(--space-3) var(--space-3) .4em; font-size: 1.2rem; }
.post-card h3 a { color: var(--color-secondary); text-decoration: none; }
.post-card h3 a:hover { color: var(--color-primary); }
.post-card p { margin-left: var(--space-3); margin-right: var(--space-3); color: var(--color-muted); font-size: .95rem; }
.post-meta { font-size: .8rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-copper) !important; margin-top: var(--space-3); margin-bottom: 0; }
.post-card .text-link { display: inline-block; margin: 0 var(--space-3) var(--space-3); font-size: .95rem; }

/* Single post */
.section--post .container { max-width: 780px; }
.section--post h1 { font-size: clamp(2rem, 5vw, 3rem); }
.section--post h2 { font-size: 1.7rem; margin-top: 1.6em; }
.section--post img { margin: var(--space-4) 0; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.section--post .lead { max-width: none; }
.post-author { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3); background: var(--color-surface); border-radius: var(--radius); margin-top: var(--space-4); }
.post-author img { width: 72px; height: 72px; aspect-ratio: 1 / 1; border-radius: 50%; margin: 0; }
.post-author p { margin: 0; font-size: .95rem; color: var(--color-muted); }

/* Reviews */
.section--testimonials { background: var(--color-bg); }
.review-card { display: flex; flex-direction: column; }
.review-stars { color: #e0a526; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: .5em; }
.review-card blockquote { margin: 0 0 1em; padding: 0; border: 0; background: none; border-radius: 0; font-size: 1.1rem; line-height: 1.5; flex: 1; }
.review-name { font-weight: 700; color: var(--color-secondary); margin: 0; }

/* Floating WhatsApp button (bottom left) */
.whatsapp-float { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: #1f8f4e; color: #fff !important; font-weight: 700; text-decoration: none; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); transition: transform .15s ease; }
.whatsapp-float:hover { transform: translateY(-2px); color: #fff; }
.whatsapp-float img { width: 28px; height: 28px; border-radius: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--color-secondary); color: #c9d5df; padding: var(--space-5) 0 var(--space-3); font-size: .95rem; }
.footer-grid { display: grid; gap: var(--space-4); }
.footer-brand img { width: 150px; background: #fff; padding: 12px; border-radius: 14px; margin-bottom: var(--space-2); }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #9cc6ee; }
.footer-bottom { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #9fb0bf; }

/* ===== Tablet ===== */
@media (min-width: 768px) {
  .section { padding: var(--space-6) 0; }
  .topbar .container { justify-content: space-between; }
  .topbar .topbar-address { display: block; }
  .topbar .topbar-hours { display: inline; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .section--hero::before { content: ""; }
  .hero--page::before { content: none; }
  .stat { border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .1); padding: var(--space-4) var(--space-3); }
  .stat:last-child { border-right: 0; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery-grid > :nth-child(even) { margin-top: var(--space-4); }
  .contact-form { padding: var(--space-5) var(--space-4); }
  .cta-box { padding: var(--space-6) var(--space-5); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .nav { display: block; position: static; background: none; border: 0; padding: 0; box-shadow: none; }
  .nav ul { flex-direction: row; align-items: center; gap: 30px; }
  .nav a { padding: 0; }
  .nav .btn { margin-top: 0; }
  .section--hero { padding: var(--space-5) 0; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--space-5); }
  .hero-media { max-width: none; }
  .hero-note { left: -48px; }
  .hero--page { padding: var(--space-6) 0 var(--space-5); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .split--reverse > :first-child { order: 2; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; gap: var(--space-5); align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* ---- WordPress / Kadence overrides so the design renders exactly ---- */
#masthead, #colophon, .site-header-wrap, .entry-hero, .page .entry-header, #mobile-drawer, .popup-drawer { display: none !important; }
.content-area, .site-main, .content-container, .entry-content-wrap, .content-wrap { max-width: none !important; margin: 0 !important; padding: 0 !important; }
.entry.single-entry, .entry.content-bg, .content-bg { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
.entry-content > * { margin-top: 0; margin-bottom: 0; }
/* zero-specificity so the design's own margins (e.g. .card h3) still win */
:where(.page .entry-content :where(.is-layout-flow, .is-layout-constrained) > *) { margin-block-start: 0; }
.wp-block-list { padding-left: 0; }
.post-body .wp-block-list, .single-post .wp-block-list { padding-left: 1.2em; }
.site-header .container { max-width: var(--max-width); }
.wp-block-group { box-sizing: border-box; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.wp-block-buttons.btn-row--center, .center .wp-block-buttons { justify-content: center; }
.wp-block-button.btn .wp-block-button__link { background: var(--color-primary); color: #fff; border-radius: 999px; padding: 14px 28px; font-weight: 600; }
.wp-block-button.btn { background: none; padding: 0; }
.wp-block-button.btn--outline .wp-block-button__link { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); border-radius: 999px; padding: 12px 26px; font-weight: 600; }
.wp-block-button.btn--outline { border: 0; padding: 0; }
.wp-block-button.btn--light .wp-block-button__link { background: #fff; color: var(--color-secondary); border-radius: 999px; padding: 14px 28px; font-weight: 600; }
.wp-block-button.btn--light { background: none; padding: 0; }
.section--cta .wp-block-button.btn .wp-block-button__link { background: var(--color-accent); color: var(--color-secondary); }
.section--cta .wp-block-button.btn--outline .wp-block-button__link { border-color: #fff; color: #fff; }
.nav .btn { color: #fff !important; }
/* button links take the design .btn typography from their wrapper */
.wp-block-button .wp-block-button__link { font: inherit; letter-spacing: inherit; }
.wp-block-image { margin: 0; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-quote.testimonial { border-left: 4px solid var(--color-accent); padding: 28px; margin: 0; }
.wp-block-quote.testimonial cite { display: block; }
.wp-block-details { margin-bottom: 12px; }
.card .wp-block-image img { width: 100%; }
body { font-family: var(--font-body); background: var(--color-bg); }

/* Blog templates use the design's post styles */
.single-post .entry-content { max-width: 760px; margin: 0 auto !important; padding: 64px 20px !important; }
.single-post .entry-header, .single-post .entry-hero { display: block !important; max-width: 760px; margin: 0 auto; padding: 64px 20px 0; }
.single-post .entry-content h2 { margin-top: 1.6em; }
.blog .content-container, .archive .content-container { max-width: var(--max-width) !important; margin: 0 auto !important; padding: 64px 20px !important; }
.blog .entry, .archive .entry { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }

html:root {
  --global-palette1: var(--color-primary); --global-palette2: var(--color-primary);
  --global-palette3: var(--color-secondary); --global-palette4: var(--color-text);
  --global-palette5: var(--color-text); --global-palette9: var(--color-bg);
  --global-body-font-family: var(--font-body); --global-heading-font-family: var(--font-heading);
}

/* design element rules, boosted */
html body { scroll-behavior: smooth; }
html body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; }
html body img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
html body a { color: var(--color-primary); }
html body h1, html body h2, html body h3, html body h4 { font-family: var(--font-heading); font-weight: 600; color: var(--color-secondary); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.01em; }
html body h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); }
html body h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
html body h3 { font-size: 1.3rem; }
html body h4 { font-size: 1.05rem; }
html body p { margin: 0 0 1em; }
html body ul { margin: 0 0 1em; padding-left: 1.2em; }
html body blockquote { margin: var(--space-4) 0; padding: var(--space-3) var(--space-4); border-left: 4px solid var(--color-accent); background: var(--color-surface); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-secondary); }
