/* ==========================================================================
   Teeth Research - shared stylesheet for the home page and all three landers.
   Built on the same structure as the PurelyWhiteNow advertorials, rebranded
   clinical rather than editorial. No comparison tables anywhere: the
   powder-vs-gel contrast is always prose or a left-ruled list.
   ========================================================================== */

@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('Inter-Regular.woff2') format('woff2'), url('Inter-Regular.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('Inter-SemiBold.woff2') format('woff2'), url('Inter-SemiBold.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('Inter-Bold.woff2') format('woff2'), url('Inter-Bold.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-style: normal; font-display: swap; src: url('Inter-ExtraBold.woff2') format('woff2'), url('Inter-ExtraBold.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('Poppins-Medium.woff2') format('woff2'), url('Poppins-Medium.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('Poppins-Bold.woff2') format('woff2'), url('Poppins-Bold.woff') format('woff'); }

:root {
    --ink: #16202b;
    --navy: #0e1b2c;
    --muted: #5c6773;
    --line: #e2e7ed;
    --bg: #f5f7f9;
    --paper: #ffffff;
    --teal: #0e8f8e;
    --teal-soft: #e6f4f4;
    --red: #cf2b2b;
    --red-soft: #fdeceb;
    --amber: #b8730b;
    --amber-soft: #fdf4e5;
    --cta: #22b01e;
    --cta-dark: #1a8f17;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(14, 27, 44, 0.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- top bar ---------- */
.topbar {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 40;
}
.topbar .wrap-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}
.brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.02em;
    color: var(--navy);
    text-decoration: none;
}
.brand span { color: var(--teal); }
.adv {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- hero ---------- */
.hero { background: var(--bg); border-bottom: 1px solid var(--line); padding: 38px 0 34px; }
.kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--red);
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}
.kicker.teal { background: var(--teal); }
h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    color: var(--navy);
}
h1 em { font-style: normal; color: var(--red); }
.dek { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0 0 20px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.byline img { width: 42px; height: 42px; border-radius: 50%; }
.byline strong { color: var(--ink); }
.byline .sep { padding-left: 12px; border-left: 1px solid var(--line); margin-left: 4px; }

.ba-hero { position: relative; margin-top: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-hero .cap {
    position: absolute; left: 12px; top: 12px;
    background: rgba(14, 27, 44, 0.85); color: #fff;
    font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 4px;
}

/* ---------- article ---------- */
.article { padding: 34px 0 10px; }
.article h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 29px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 38px 0 14px;
}
.article h2 .num {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
}
.article h3 { font-weight: 700; font-size: 21px; line-height: 1.35; color: var(--navy); margin: 28px 0 10px; }
.article p { margin: 0 0 18px; }
.article strong { color: var(--navy); }

.lede { font-size: 20px; line-height: 1.55; font-weight: 600; color: var(--navy); }
.big {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 23px;
    line-height: 1.35;
    color: var(--navy);
    margin: 26px 0;
    letter-spacing: -0.01em;
}
.pull {
    border-left: 4px solid var(--red);
    padding: 4px 0 4px 18px;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--navy);
    margin: 26px 0;
}
.pull mark { background: #fff2a8; padding: 0 3px; }

figure { margin: 26px 0; }
figure img { border-radius: var(--radius); }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Warning callout. Used for the abrasion and enamel-loss points. */
.warn {
    background: var(--red-soft);
    border-left: 4px solid var(--red);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 20px;
    margin: 26px 0;
}
.warn p { margin: 0; font-size: 16px; line-height: 1.6; }
.warn p + p { margin-top: 10px; }
.warn b { color: var(--red); }

.note {
    background: var(--teal-soft);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 20px;
    margin: 26px 0;
    font-size: 16px;
}
.note p { margin: 0; }

/* Objection / answer list. Deliberately not a card and not a table: no box,
   no shadow, no radius, so it reads as copy rather than something tappable. */
.objs { display: block; margin: 22px 0 26px; padding: 0; }
.objs li { border-left: 3px solid var(--line); padding: 2px 0 2px 20px; margin: 0 0 24px; }
.objs li:last-child { margin-bottom: 0; }
.objs h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.25; color: var(--navy); }
.objs .obj { font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--muted); margin: 0 0 8px; }
.objs p { font-size: 16px; line-height: 1.6; margin: 0; }

/* Numbered reason list for the listicle lander. */
.reasons { counter-reset: r; margin: 26px 0; }
.reasons > li { counter-increment: r; position: relative; padding-left: 52px; margin-bottom: 30px; }
.reasons > li:before {
    content: counter(r);
    position: absolute; left: 0; top: 0;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--navy); color: #fff;
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px;
    display: flex; align-items: center; justify-content: center;
}
.reasons h3 { margin: 4px 0 8px; font-size: 20px; }
.reasons p { margin: 0; font-size: 16px; line-height: 1.6; }

/* Plain bulleted list with ticks. */
.ticks li {
    position: relative; padding-left: 30px; margin-bottom: 11px;
    font-size: 16px; line-height: 1.55;
}
.ticks li:before {
    content: ""; position: absolute; left: 0; top: 7px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--cta);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat, linear-gradient(#000, #000);
    -webkit-mask-composite: xor;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat;
}
.crosses li:before { background: var(--red); -webkit-mask-size: 13px; mask-size: 13px;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 6L6 18M6 6l12 12' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 6L6 18M6 6l12 12' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round'/></svg>"); }

/* ---------- product / kit ---------- */
.kit { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 28px 0; }
.kit h3 { margin: 0 0 14px; }
.kit .kit-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 16px; }
.kit .kit-list li:before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.kit .kit-list b { color: var(--navy); }

/* Placeholder frame for imagery that has to come from the merchant. */
.needs-img {
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    padding: 46px 20px;
    margin: 26px 0;
}

/* ---------- CTA ---------- */
.btn {
    display: block;
    background: var(--cta);
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 19px;
    text-align: center;
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: 0 4px 0 var(--cta-dark);
    transition: transform .08s ease;
}
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--cta-dark); }
.btn small { display: block; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 13px; opacity: .92; margin-top: 4px; }

.cta-inline { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 30px 0; text-align: center; }
.cta-inline h3 { margin: 0 0 14px; font-size: 20px; }

.offer { background: var(--navy); color: #fff; padding: 40px 0; margin-top: 40px; }
.offer h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.25; margin: 0 0 12px; color: #fff; }
.offer h2 span { color: #7ce87a; }
.offer p { color: #c3ccd8; margin: 0 0 18px; }
.offer .guarantee { background: rgba(255,255,255,.07); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0; }
.offer .guarantee h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.offer .guarantee p { margin: 0; font-size: 15px; }

/* Sticky mobile CTA. */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateY(110%);
    transition: transform .22s ease;
    display: none;
}
.sticky-cta.show { transform: translateY(0); }
body.has-sticky { padding-bottom: 0; }

/* ---------- testimonials ---------- */
.testis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0; }
.testis li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.testis .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.testis .ba img { border-radius: 6px; }
.testis h3 { margin: 0 0 6px; font-size: 17px; }
.testis .stars { width: 102px; margin-bottom: 8px; }
.testis p { font-size: 15px; line-height: 1.55; margin: 0 0 10px; }
.testis .who { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.testis .who img { width: 12px; height: 12px; }
.testis .who span { font-weight: 400; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin: 24px 0; }
.faq li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq .q { font-weight: 700; color: var(--navy); margin: 0 0 6px; font-size: 17px; }
.faq .a p { margin: 0; font-size: 16px; color: var(--ink); }

/* ---------- home page cards ---------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 10px; }
.guides a {
    display: block; text-decoration: none;
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; background: var(--paper);
    transition: box-shadow .15s ease, transform .15s ease;
}
.guides a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.guides .tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.guides h3 { margin: 8px 0 8px; font-size: 19px; line-height: 1.3; color: var(--navy); }
.guides p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.guides .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--teal); }

/* ---------- footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); margin-top: 44px; padding: 30px 0 40px; }
.disclosure_box { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.disclosure_box p { margin: 0 0 12px; }
.footer_text { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.footer_text a { color: var(--muted); }
.footer_copy { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* ---------- responsive ---------- */
@media only screen and (max-width: 900px) {
    .guides { grid-template-columns: 1fr; }
}
@media only screen and (max-width: 767px) {
    body { font-size: 16px; }
    h1 { font-size: 29px; }
    .dek { font-size: 17px; }
    .article h2 { font-size: 24px; margin-top: 32px; }
    .article h3 { font-size: 19px; }
    .big { font-size: 20px; }
    .pull { font-size: 19px; padding-left: 16px; }
    .lede { font-size: 18px; }
    .objs li { padding-left: 16px; margin-bottom: 22px; }
    .objs h3 { font-size: 18px; }
    .objs .obj { font-size: 14px; }
    .objs p { font-size: 15px; }
    .reasons > li { padding-left: 44px; }
    .reasons > li:before { width: 30px; height: 30px; font-size: 15px; }
    .testis { grid-template-columns: 1fr; }
    .offer h2 { font-size: 25px; }
    .btn { font-size: 18px; padding: 17px 18px; }
    .sticky-cta { display: block; }
    body.has-sticky { padding-bottom: 84px; }
}

/* ---------- two-column hero: image beside the headline ---------- */
.hero .rh { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: center; }
.hero .rh-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero .rh-media .cap { font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
@media only screen and (max-width: 980px) {
    .hero .rh { grid-template-columns: 1fr; gap: 20px; }
}

/* keep the stacked hero aligned with the article column */
@media only screen and (max-width: 980px) {
    .hero .rh-media { max-width: 720px; margin-left: auto; margin-right: auto; width: 100%; }
}

/* crossed-out powder jar: square image, so cap the width and centre it */
.jarfig { max-width: 330px; margin: 26px auto; }
.jarfig img { border-radius: var(--radius); }
.jarfig figcaption { text-align: center; }
@media only screen and (max-width: 767px) { .jarfig { max-width: 250px; } }
