@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --tml-ink: #0b1734;
    --tml-ink-soft: #4d5870;
    --tml-navy: #06132f;
    --tml-navy-2: #0a214c;
    --tml-paper: #fffdfa;
    --tml-cream: #f6f1e8;
    --tml-gold: #c79a51;
    --tml-green: #4f7b20;
    --tml-line: rgba(11, 23, 52, .12);
    --tml-shadow: 0 26px 70px rgba(6, 19, 47, .16);
}

html { scroll-behavior: smooth; }
body.tml-independent-homepage { margin: 0; background: var(--tml-paper); color: var(--tml-ink); font-family: 'DM Sans', Arial, sans-serif; }
body.tml-independent-homepage * { box-sizing: border-box; }
body.tml-independent-homepage a { color: inherit; }
.tml-site-shell { overflow: hidden; background: var(--tml-paper); }
.tml-container { width: min(1220px, calc(100% - 44px)); margin: 0 auto; }

.tml-disclosure-bar { background: var(--tml-navy); color: #fff; font-size: 12px; letter-spacing: .03em; }
.tml-disclosure-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; opacity: .92; }

.tml-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,250,.96); border-bottom: 1px solid var(--tml-line); backdrop-filter: blur(16px); }
.tml-header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.tml-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.tml-brand-mark { width: 48px; height: 48px; color: var(--tml-green); display: grid; place-items: center; }
.tml-brand-mark svg { width: 100%; height: 100%; }
.tml-brand-copy { display: flex; flex-direction: column; line-height: .95; letter-spacing: .09em; }
.tml-brand-copy strong { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; letter-spacing: .16em; }
.tml-brand-copy span { font-family: 'Playfair Display', Georgia, serif; font-size: 13px; margin-top: 6px; letter-spacing: .18em; }
.tml-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.tml-nav a { text-decoration: none; transition: color .2s ease; }
.tml-nav a:hover { color: var(--tml-gold); }
.tml-nav-cta { background: var(--tml-navy); color: #fff !important; padding: 13px 18px; border-radius: 9px; box-shadow: 0 8px 24px rgba(6,19,47,.18); }
.tml-nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--tml-line); background: #fff; border-radius: 9px; padding: 10px; }
.tml-nav-toggle span { display: block; height: 2px; background: var(--tml-ink); margin: 5px 0; }

.tml-hero { padding: 30px 0 28px; background: linear-gradient(180deg, #f6f1e8 0%, #fffdfa 100%); }
.tml-hero-picture { display: block; border-radius: 26px; overflow: hidden; box-shadow: var(--tml-shadow); background: var(--tml-navy); }
.tml-hero-picture img { display: block; width: 100%; height: auto; }
.tml-hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.tml-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 23px; border-radius: 9px; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.tml-button:hover { transform: translateY(-2px); }
.tml-button-primary { background: var(--tml-navy); color: #fff !important; box-shadow: 0 14px 30px rgba(6,19,47,.18); }
.tml-button-secondary { background: #fff; color: var(--tml-ink); border: 1px solid rgba(199,154,81,.65); }
.tml-button-light { background: #fff; color: var(--tml-navy); }

.tml-trust-strip { background: #fff; border-top: 1px solid var(--tml-line); border-bottom: 1px solid var(--tml-line); }
.tml-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 92px; align-items: center; gap: 18px; }
.tml-trust-grid div { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: center; font-size: 13px; }
.tml-trust-grid span { color: var(--tml-gold); font-size: 22px; }

.tml-section { padding: 94px 0; }
.tml-section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; margin-bottom: 44px; }
.tml-kicker { color: var(--tml-gold); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.tml-section-heading h2, .tml-feature-copy h2, .tml-method-heading h2, .tml-about-grid h2, .tml-cta-inner h2 { margin: 13px 0 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(36px, 4vw, 56px); line-height: 1.04; letter-spacing: -.025em; }
.tml-section-heading p, .tml-feature-copy > p, .tml-method-heading p, .tml-about-grid p { color: var(--tml-ink-soft); line-height: 1.75; font-size: 16px; }

.tml-category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tml-category-card { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid rgba(11,23,52,.08); box-shadow: 0 18px 50px rgba(6,19,47,.1); transition: transform .25s ease, box-shadow .25s ease; }
.tml-category-card:hover { transform: translateY(-5px); box-shadow: 0 28px 70px rgba(6,19,47,.16); }
.tml-category-card picture, .tml-category-card img { display: block; width: 100%; }
.tml-category-card img { height: auto; }
.tml-category-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px 22px; }
.tml-category-footer p { margin: 0; color: var(--tml-ink-soft); font-size: 14px; line-height: 1.55; max-width: 67%; }
.tml-category-footer a { flex: 0 0 auto; font-size: 13px; font-weight: 800; text-decoration: none; color: var(--tml-navy); }

.tml-feature-section { padding: 94px 0; background: linear-gradient(135deg, #07142f 0%, #0d285c 100%); color: #fff; }
.tml-feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.tml-feature-picture { display: block; overflow: hidden; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.tml-feature-picture img { display: block; width: 100%; height: auto; }
.tml-feature-copy .tml-kicker { color: #e8c17f; }
.tml-feature-copy > p { color: rgba(255,255,255,.76); }
.tml-review-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin: 26px 0 28px; }
.tml-review-points span { padding: 13px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(255,255,255,.05); font-size: 13px; }
.tml-feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.tml-feature-section .tml-button-primary { background: #fff; color: var(--tml-navy) !important; }
.tml-text-link { font-size: 13px; font-weight: 700; text-decoration: none; color: #f2d39b !important; }

.tml-method-section { padding: 94px 0; background: var(--tml-cream); }
.tml-method-heading { max-width: 760px; margin-bottom: 40px; }
.tml-method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tml-method-grid article { background: #fff; border: 1px solid rgba(11,23,52,.08); border-radius: 18px; padding: 28px 24px; box-shadow: 0 12px 38px rgba(6,19,47,.07); }
.tml-method-grid article > span { color: var(--tml-gold); font-weight: 800; letter-spacing: .12em; }
.tml-method-grid h3 { margin: 18px 0 10px; font-size: 20px; }
.tml-method-grid p { margin: 0; color: var(--tml-ink-soft); line-height: 1.65; font-size: 14px; }

.tml-about-section { padding: 94px 0; }
.tml-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.tml-about-grid p:first-child { margin-top: 0; }

.tml-cta-section { padding: 34px 0 54px; }
.tml-cta-inner { min-height: 190px; border-radius: 22px; padding: 38px 42px; background: linear-gradient(135deg, #07142f 0%, #123574 100%); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; box-shadow: var(--tml-shadow); }
.tml-cta-inner h2 { font-size: clamp(30px, 3vw, 44px); }
.tml-cta-inner .tml-kicker { color: #e8c17f; }

.tml-footer { background: #06112a; color: #fff; padding: 62px 0 22px; }
.tml-footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr 1.1fr; gap: 44px; }
.tml-brand-footer { color: #fff !important; }
.tml-footer-brand p, .tml-footer-disclosure p { color: rgba(255,255,255,.65); line-height: 1.6; }
.tml-footer-grid > div:not(.tml-footer-brand) { display: flex; flex-direction: column; gap: 11px; }
.tml-footer-grid a { text-decoration: none; color: rgba(255,255,255,.72); font-size: 14px; }
.tml-footer-grid a:hover { color: #fff; }
.tml-footer-bottom { margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.48); font-size: 12px; }

@media (max-width: 980px) {
    .tml-nav { position: absolute; left: 22px; right: 22px; top: 72px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #fff; border: 1px solid var(--tml-line); border-radius: 14px; box-shadow: var(--tml-shadow); }
    .tml-nav.is-open { display: flex; }
    .tml-nav a { padding: 13px 12px; }
    .tml-nav-toggle { display: block; }
    .tml-section-heading, .tml-feature-grid, .tml-about-grid { grid-template-columns: 1fr; gap: 28px; }
    .tml-method-grid { grid-template-columns: repeat(2, 1fr); }
    .tml-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .tml-category-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
    .tml-category-footer p { max-width: 100%; }
}

@media (max-width: 760px) {
    .tml-container { width: min(100% - 24px, 1220px); }
    .tml-disclosure-inner { min-height: 46px; flex-direction: column; justify-content: center; gap: 3px; text-align: center; padding: 7px 0; }
    .tml-header-inner { min-height: 68px; }
    .tml-brand-mark { width: 42px; height: 42px; }
    .tml-brand-copy strong { font-size: 19px; }
    .tml-brand-copy span { font-size: 11px; }
    .tml-hero { padding-top: 14px; }
    .tml-hero-picture { border-radius: 16px; }
    .tml-hero-actions { margin-top: 18px; }
    .tml-button { width: 100%; min-height: 50px; }
    .tml-trust-grid { grid-template-columns: repeat(2, 1fr); padding: 18px 0; }
    .tml-trust-grid div { font-size: 12px; justify-content: flex-start; text-align: left; }
    .tml-section, .tml-feature-section, .tml-method-section, .tml-about-section { padding: 66px 0; }
    .tml-section-heading { margin-bottom: 30px; }
    .tml-section-heading h2, .tml-feature-copy h2, .tml-method-heading h2, .tml-about-grid h2 { font-size: 38px; }
    .tml-category-grid { grid-template-columns: 1fr; gap: 18px; }
    .tml-category-card { border-radius: 16px; }
    .tml-category-footer { padding: 17px 18px 20px; }
    .tml-review-points { grid-template-columns: 1fr; }
    .tml-method-grid { grid-template-columns: 1fr; }
    .tml-cta-inner { padding: 30px 24px; align-items: flex-start; flex-direction: column; }
    .tml-footer-grid { grid-template-columns: 1fr; }
    .tml-footer-bottom { flex-direction: column; }
}
