/*
Theme Name: Male tajne Landing Child
Description: Child theme for isolated product landing-page demonstrations.
Author: Hermes / Male tajne
Template: Newspaper
Version: 1.0.0
Text Domain: maletajne-landing-child
*/

:root {
  --mt-ink: #17302b;
  --mt-green: #2e6b56;
  --mt-green-dark: #12382e;
  --mt-sage: #b8ccb8;
  --mt-mint: #e8f1e9;
  --mt-cream: #fffaf1;
  --mt-gold: #e0a45a;
  --mt-line: #dbe5dc;
  --mt-white: #fff;
}

.mt-detox-page { background: var(--mt-cream); color: var(--mt-ink); font-family: inherit; margin: -30px -20px 0; overflow: hidden; }
.mt-detox-page * { box-sizing: border-box; }
.mt-detox-page .mt-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.mt-detox-page .mt-eyebrow { color: var(--mt-green); font-size: 12px; font-weight: 800; letter-spacing: .14em; margin: 0 0 16px; text-transform: uppercase; }
.mt-detox-page h1,
.mt-detox-page h2,
.mt-detox-page h3 { color: var(--mt-ink); line-height: 1.1; }
.mt-detox-page h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -.05em; margin: 0 0 22px; max-width: 790px; }
.mt-detox-page h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; margin: 0 0 18px; }
.mt-detox-page h3 { font-size: 22px; margin-top: 0; }
.mt-detox-page p { font-size: 17px; line-height: 1.65; }
.mt-detox-page a:focus-visible,
.mt-detox-page summary:focus-visible { outline: 3px solid var(--mt-gold); outline-offset: 4px; }

.mt-hero { min-height: 740px; position: relative; display: grid; align-items: end; isolation: isolate; background: #dce8dc; }
.mt-hero-visual { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(circle at 74% 30%, rgba(255,255,255,.88) 0 5%, transparent 5.5%), radial-gradient(ellipse at 78% 56%, rgba(251,245,225,.82) 0 14%, transparent 14.5%), linear-gradient(110deg, rgba(240,238,210,.96) 0 25%, rgba(197,221,196,.68) 55%, rgba(70,121,96,.45) 100%); }
.mt-hero-visual::before { content: ""; position: absolute; width: 330px; height: 470px; right: 8%; bottom: -120px; border: 2px solid rgba(28,80,61,.18); border-radius: 55% 45% 18% 82%; box-shadow: -80px -120px 0 -42px rgba(255,255,255,.28), -190px 40px 0 -65px rgba(34,98,73,.14); transform: rotate(14deg); }
.mt-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,250,241,.98) 0 39%, rgba(255,250,241,.72) 56%, rgba(255,250,241,.08) 83%); }
.mt-hero-content { padding-block: 118px 80px; }
.mt-lead { font-size: clamp(19px, 2vw, 23px) !important; max-width: 650px; }
.mt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.mt-actions--center { justify-content: center; }
.mt-button { background: var(--mt-green); border: 1px solid var(--mt-green); border-radius: 999px; box-shadow: 0 10px 25px rgba(32,89,70,.18); color: var(--mt-white) !important; display: inline-block; font-weight: 800; padding: 15px 23px; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.mt-button:hover { box-shadow: 0 14px 32px rgba(32,89,70,.24); transform: translateY(-2px); }
.mt-button--ghost { background: rgba(255,255,255,.35); box-shadow: none; color: var(--mt-green) !important; }
.mt-note { font-size: 13px !important; margin-top: 20px; max-width: 650px; opacity: .76; }
.mt-visual-label { position: absolute; right: 20px; bottom: 18px; max-width: min(370px, calc(100% - 40px)); padding: 9px 13px; border: 1px solid rgba(255,255,255,.46); border-radius: 7px; background: rgba(17,49,40,.78); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; line-height: 1.35; text-align: left; text-transform: uppercase; }

.mt-proof { background: var(--mt-white); border-block: 1px solid rgba(38,95,74,.16); }
.mt-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.mt-proof-item { border-right: 1px solid var(--mt-line); padding: 29px 20px; text-align: center; }
.mt-proof-item:last-child { border: 0; }
.mt-proof-item strong { display: block; font-size: 21px; }
.mt-proof-item span { font-size: 14px; }

.mt-section { padding: 100px 0; }
.mt-section--white { background: var(--mt-white); }
.mt-section--mint { background: var(--mt-mint); }
.mt-section--botanical { background: #f5f0e3; }
.mt-section--timeline { background: #f9f6ed; }
.mt-section--faq { background: #eef3ed; }
.mt-story-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 8vw, 110px); align-items: start; }
.mt-copy-large { font-size: 20px !important; margin-top: 0; }
.mt-list { list-style: none; margin: 30px 0 0; padding: 0; }
.mt-list li { border-bottom: 1px solid var(--mt-line); font-size: 16px; padding: 14px 0 14px 31px; position: relative; }
.mt-list li::before { content: "✓"; color: var(--mt-green); font-weight: 900; left: 0; position: absolute; }

.mt-feature-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.mt-feature-grid .mt-feature-visual { aspect-ratio: 1.12; position: relative; overflow: hidden; border-radius: 36px 8px 36px 8px; box-shadow: 0 28px 55px rgba(41,67,49,.16); }
.mt-feature-visual--botanical { background: radial-gradient(circle at 68% 35%, #f7e5b6 0 5%, transparent 5.5%), radial-gradient(ellipse at 50% 85%, rgba(255,255,255,.8) 0 21%, transparent 21.5%), linear-gradient(145deg, #dfe8cf 0%, #9fbea0 52%, #315f4c 100%); }
.mt-feature-visual--botanical::before,
.mt-feature-visual--botanical::after { content: ""; position: absolute; width: 36%; height: 68%; border: 2px solid rgba(255,255,255,.46); border-radius: 100% 0 100% 0; }
.mt-feature-visual--botanical::before { left: 19%; top: 9%; transform: rotate(-24deg); }
.mt-feature-visual--botanical::after { right: 14%; top: 20%; transform: scale(.72) rotate(34deg); }
.mt-feature-copy p:not(.mt-eyebrow) { max-width: 520px; }
.mt-inline-note { border-left: 3px solid var(--mt-gold); font-size: 14px !important; margin: 28px 0; padding-left: 18px; }
.mt-text-link { color: var(--mt-green) !important; font-size: 15px; font-weight: 800; text-decoration: none !important; }

.mt-section-heading { max-width: 700px; margin-bottom: 42px; }
.mt-section-heading > p:last-child { margin-bottom: 0; }
.mt-section-heading--center { margin-inline: auto; text-align: center; }
.mt-card-grid { counter-reset: steps; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.mt-card { background: var(--mt-white); border: 1px solid var(--mt-line); border-radius: 20px; padding: 30px; }
.mt-card-number { align-items: center; background: #e7f1e8; border-radius: 50%; color: var(--mt-green); display: inline-flex; font-weight: 800; height: 36px; justify-content: center; width: 36px; }
.mt-card h3 { margin: 20px 0 9px; }
.mt-card p { font-size: 15px; margin: 0; }

.mt-timeline { list-style: none; margin: 60px auto 0; max-width: 920px; padding: 0; position: relative; }
.mt-timeline::before { content: ""; position: absolute; left: 111px; top: 20px; bottom: 20px; width: 1px; background: var(--mt-sage); }
.mt-timeline-item { display: grid; grid-template-columns: 86px 1fr; gap: 52px; padding: 0 0 44px; position: relative; }
.mt-timeline-item:last-child { padding-bottom: 0; }
.mt-timeline-item::before { content: ""; position: absolute; left: 103px; top: 13px; width: 17px; height: 17px; border: 4px solid #f9f6ed; border-radius: 50%; background: var(--mt-green); box-shadow: 0 0 0 1px var(--mt-green); }
.mt-timeline-range { color: var(--mt-green); font-size: 13px; font-weight: 900; letter-spacing: .06em; padding-top: 13px; text-transform: uppercase; }
.mt-timeline-item > div { background: var(--mt-white); border: 1px solid var(--mt-line); border-radius: 18px; padding: 26px 30px; }
.mt-timeline-item h3 { margin-bottom: 8px; }
.mt-timeline-item p { font-size: 15px; margin: 0; }

.mt-rhythm { min-height: 660px; position: relative; display: grid; align-items: end; isolation: isolate; background: var(--mt-green-dark); }
.mt-rhythm-visual { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(circle at 76% 25%, rgba(245,218,161,.72) 0 7%, transparent 7.5%), radial-gradient(ellipse at 70% 65%, rgba(137,169,139,.23) 0 23%, transparent 23.5%), linear-gradient(115deg, #102e28 0%, #285747 52%, #777854 100%); }
.mt-rhythm-visual::before { content: ""; position: absolute; right: 10%; bottom: -170px; width: 430px; height: 520px; border: 2px solid rgba(255,255,255,.2); border-radius: 50% 50% 18% 82%; transform: rotate(-12deg); }
.mt-rhythm::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,40,33,.96) 0 43%, rgba(12,40,33,.63) 62%, transparent 90%); }
.mt-rhythm-content { color: #eaf2ea; padding-block: 100px; }
.mt-rhythm-content h2 { color: #fff; max-width: 610px; }
.mt-rhythm-content p:not(.mt-eyebrow) { max-width: 650px; }
.mt-rhythm-content .mt-eyebrow { color: #f5cf8e; }

.mt-comparison { display: grid; grid-template-columns: 1fr 52px 1fr; align-items: stretch; margin-top: 48px; }
.mt-ritual-card { border: 1px solid var(--mt-line); padding: 42px; }
.mt-ritual-card--morning { background: #fffaf0; border-radius: 28px 8px 8px 28px; }
.mt-ritual-card--evening { background: #eef4ef; border-radius: 8px 28px 28px 8px; }
.mt-ritual-time { color: var(--mt-green); display: block; font-size: 12px; font-weight: 900; letter-spacing: .13em; margin-bottom: 18px; text-transform: uppercase; }
.mt-ritual-card > p { font-size: 15px; min-height: 72px; }
.mt-ritual-card dl { border-top: 1px solid var(--mt-line); margin: 26px 0 0; }
.mt-ritual-card dl div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--mt-line); padding: 13px 0; }
.mt-ritual-card dt { font-size: 13px; font-weight: 800; }
.mt-ritual-card dd { font-size: 13px; margin: 0; text-align: right; }
.mt-comparison-mark { align-items: center; display: flex; justify-content: center; position: relative; z-index: 1; }
.mt-comparison-mark span { align-items: center; background: var(--mt-green); border: 6px solid #fff; border-radius: 50%; color: #fff; display: flex; font-family: Georgia, serif; font-style: italic; height: 52px; justify-content: center; width: 52px; }

.mt-faq { max-width: 820px; }
.mt-faq details { background: var(--mt-white); border: 1px solid var(--mt-line); border-radius: 14px; margin: 12px 0; padding: 19px 22px; }
.mt-faq summary { color: var(--mt-ink); cursor: pointer; font-size: 17px; font-weight: 800; }
.mt-faq details p { font-size: 15px; margin: 15px 0 0; }

.mt-cta { background: linear-gradient(135deg, #163c32, #2f725b); color: var(--mt-white); padding: 105px 0; text-align: center; }
.mt-cta-inner { max-width: 860px; }
.mt-cta .mt-eyebrow { color: #f5cf8e; }
.mt-cta h2 { color: var(--mt-white); }
.mt-cta p { margin-inline: auto; max-width: 710px; }
.mt-button--light { background: #f5cf8e; border-color: #f5cf8e; box-shadow: none; color: #183d31 !important; }
.mt-button--outline-light { background: transparent; border-color: rgba(255,255,255,.62); box-shadow: none; color: #fff !important; }
.mt-cta-caption { font-size: 12px !important; margin-top: 22px !important; opacity: .78; }
.mt-disclaimer { background: #102d25; color: #d6e4d9; padding: 24px 0; text-align: center; }
.mt-disclaimer p { font-size: 12px; line-height: 1.5; margin: 0 auto; max-width: 940px; }

@media (max-width: 900px) {
  .mt-hero { min-height: 680px; }
  .mt-hero::after { background: linear-gradient(90deg, rgba(255,250,241,.97) 0 55%, rgba(255,250,241,.58) 79%, rgba(255,250,241,.2) 100%); }
  .mt-feature-grid { gap: 42px; }
  .mt-ritual-card { padding: 32px 25px; }
}

@media (max-width: 767px) {
  .mt-detox-page { margin: -20px -10px 0; }
  .mt-detox-page .mt-wrap { width: min(100% - 30px, 1120px); }
  .mt-detox-page h1 { font-size: clamp(39px, 12vw, 55px); }
  .mt-section { padding: 68px 0; }
  .mt-hero { min-height: 720px; align-items: end; }
  .mt-hero-visual { inset: 0 0 auto; height: 250px; }
  .mt-hero::after { background: linear-gradient(180deg, rgba(255,250,241,.08) 0 22%, rgba(255,250,241,.98) 36% 100%); }
  .mt-hero-content { padding-block: 275px 55px; }
  .mt-hero .mt-visual-label { bottom: auto; top: 15px; }
  .mt-proof-grid,
  .mt-story-intro,
  .mt-feature-grid,
  .mt-card-grid { grid-template-columns: 1fr; }
  .mt-proof-item { border-bottom: 1px solid var(--mt-line); border-right: 0; }
  .mt-proof-item:last-child { border-bottom: 0; }
  .mt-story-intro,
  .mt-feature-grid { gap: 30px; }
  .mt-feature-copy { padding-top: 12px; }
  .mt-feature-grid .mt-feature-visual { aspect-ratio: 1; border-radius: 25px 7px; }
  .mt-section-heading { margin-bottom: 30px; }
  .mt-timeline { margin-top: 40px; }
  .mt-timeline::before { left: 8px; }
  .mt-timeline-item { grid-template-columns: 1fr; gap: 10px; padding-left: 31px; }
  .mt-timeline-item::before { left: 0; top: 11px; }
  .mt-timeline-range { padding-top: 10px; }
  .mt-timeline-item > div { padding: 22px; }
  .mt-rhythm { min-height: 640px; align-items: end; }
  .mt-rhythm-visual { inset: 0 0 auto; height: 285px; }
  .mt-rhythm::after { background: linear-gradient(180deg, transparent 0 23%, rgba(12,40,33,.98) 47% 100%); }
  .mt-rhythm-content { padding-block: 330px 65px; }
  .mt-rhythm .mt-visual-label { bottom: auto; top: 15px; }
  .mt-comparison { grid-template-columns: 1fr; margin-top: 35px; }
  .mt-ritual-card--morning { border-radius: 24px 24px 8px 8px; }
  .mt-ritual-card--evening { border-radius: 8px 8px 24px 24px; }
  .mt-ritual-card > p { min-height: auto; }
  .mt-comparison-mark { height: 46px; margin-block: -2px; }
  .mt-cta { padding: 75px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-button { transition: none; }
}
