/* template1 · generated by shared/site/build_site.py — edit the template source, not this file */

:root{--ink:#111;--ink-2:#3f3f46;--mute:#71717a;--mute-2:#a1a1aa;--line:#e4e4e7;--sunk:#f4f4f5;--soft:#fafafa;--sand:#f1ece5;--well:#f3f2ef;--ember:#f25a24;--ember-soft:#fff1ea;--ok:#26936b;--glass:rgba(255,255,255,.16);--glass-line:rgba(255,255,255,.28);--chip:rgba(28,24,20,.58)}
*{box-sizing:border-box;margin:0;padding:0}
body{width:1440px;background:#fff;color:var(--ink);font-family:'Inter Tight',Arial,sans-serif;-webkit-font-smoothing:antialiased;letter-spacing:-.01em;overflow-x:hidden}
.logo-svg{display:block;height:100%;width:auto}
h1{font-size:76px;line-height:.98;letter-spacing:-.04em;font-weight:400}
h2{font-size:52px;line-height:1.03;letter-spacing:-.032em;font-weight:400}
h3{font-size:22px;line-height:1.2;letter-spacing:-.02em;font-weight:400}
.eyebrow{font-size:14px;color:var(--mute)}
.body{font-size:16px;line-height:1.5;color:var(--mute)}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 22px;border-radius:999px;font-size:15px;white-space:nowrap}
.dark{background:var(--ink);color:#fff}.light{background:#fff;color:var(--ink)}.line{background:#fff;border:1px solid var(--line);color:var(--ink)}
.glassbtn{background:var(--glass);border:1px solid var(--glass-line);color:#fff}
.sec{padding:120px 64px}
.head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:48px}
.ck{width:20px;height:20px;border-radius:50%;background:var(--ink);color:#fff;font-size:11px;display:grid;place-items:center;flex:none}
.stars{color:var(--ember);letter-spacing:2px;font-size:15px}
.rating{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--mute)}
/* UI chip over photos */
.chip{position:absolute;background:var(--chip);backdrop-filter:blur(10px);color:#fff;border-radius:14px;padding:12px 16px;font-size:14px;line-height:1.35;z-index:2}
.chip small{display:block;color:rgba(255,255,255,.62);font-size:12px;margin-bottom:2px}
.chip.light{background:rgba(255,255,255,.88);color:var(--ink)}
.chip.light small{color:var(--mute)}
.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--ok);margin-right:6px}
.dot.o{background:var(--ember)}

/* header */
.ann{height:40px;background:var(--ember);color:#fff;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px}
.ann u{text-underline-offset:3px}
header{height:76px;display:flex;align-items:center;padding:0 40px}
header .brand{height:24px;margin-right:56px}
header .menu{display:flex;gap:30px;font-size:15px;flex:1}
header .menu span{display:flex;align-items:center;gap:6px}
header .menu svg{width:10px;height:10px}
header .right{display:flex;gap:22px;align-items:center;font-size:15px}

/* hero (Henry's layout: inset glow card, trust row inside) */
.hero{margin:0 16px;height:760px;border-radius:22px;position:relative;overflow:hidden;background:#1a0c06 url('/template1/img/v4-hero.jpg') 70% center/cover no-repeat;color:#fff}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,10,6,.7) 0%,rgba(4,10,6,.3) 40%,rgba(4,10,6,0) 60%),linear-gradient(0deg,rgba(4,10,6,.55) 0%,rgba(4,10,6,0) 28%)}
.hero .in{position:absolute;left:64px;top:184px;width:560px;z-index:1}
.hero .eyebrow{color:rgba(255,255,255,.75);margin-bottom:18px;display:flex;align-items:center;gap:10px}
.hero .eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--ember)}
.hero h1{font-size:72px;margin-bottom:22px}
.hero p{font-size:19px;line-height:1.42;color:rgba(255,255,255,.82);width:470px;margin-bottom:34px}
.hero .ctas{display:flex;gap:12px}
.htrust{position:absolute;left:64px;width:740px;bottom:40px;display:grid;grid-template-columns:repeat(4,185px);border-top:1px solid rgba(255,255,255,.2);padding-top:22px;z-index:1}
.htrust div{font-size:15px;line-height:1.4;color:rgba(255,255,255,.62);padding-right:24px}
.htrust b{display:block;color:#fff;font-weight:400}
/* categories */
.cats-sec{padding:96px 64px 0}
.cats-sec .top{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:44px}
.cats-sec h2{font-size:64px;line-height:1;width:700px}
.cats-sec .side{width:380px}
.cats-sec .side p{font-size:18px;line-height:1.42;color:var(--ink-2);margin-bottom:22px}
.cats-sec .side small{display:block;margin-top:12px;font-size:13px;color:var(--mute)}
.cats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.cat{height:440px;border-radius:18px;position:relative;overflow:hidden;background:#ddd center/cover no-repeat;color:#fff}
.cat:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 50%,rgba(0,0,0,.55) 100%)}
.cat .tx{position:absolute;left:20px;right:20px;bottom:20px;z-index:1;display:flex;justify-content:space-between;align-items:flex-end}
.cat h3{font-size:24px;margin-bottom:4px}
.cat .pr{font-size:14px;color:rgba(255,255,255,.85)}
.cat .go{width:40px;height:40px;border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center;font-size:16px}
.cat .tag{position:absolute;left:16px;top:16px;z-index:1;height:28px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.9);color:var(--ink);font-size:12px;display:flex;align-items:center}

/* weight loss over image */
.wl{margin:120px 16px 0;border-radius:22px;height:1150px;position:relative;overflow:hidden;background:#f1ece5 url('/template1/img/v5-wl-model.jpg') center top/100% auto no-repeat}
.wl:after{content:"";position:absolute;left:0;right:0;top:520px;height:120px;background:linear-gradient(180deg,rgba(241,236,229,0),#f1ece5)}
.wl .in{position:absolute;left:56px;top:230px;width:520px;z-index:2}
.wl h2{margin:12px 0 16px}
.wl .body{color:var(--ink-2)}
.wl ul{list-style:none;display:flex;gap:22px;margin:22px 0 28px;font-size:15px}
.wl li{display:flex;gap:8px;align-items:center}
.wl .cards3{position:absolute;left:56px;right:56px;bottom:56px;z-index:2}
.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.pcard{border-radius:18px;overflow:hidden;background:#fff;display:flex;flex-direction:column;box-shadow:0 20px 50px rgba(30,25,20,.08)}
.pcard .well{height:260px;background:var(--well) center/contain no-repeat;position:relative}
.pcard .badge{position:absolute;left:14px;top:14px;height:26px;padding:0 10px;border-radius:999px;background:#fff;font-size:12px;display:flex;align-items:center;gap:6px}
.pcard .badge i{width:6px;height:6px;border-radius:50%;background:var(--ember)}
.pcard .c{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.pcard .form{font-size:13px;color:var(--mute);margin-bottom:6px}
.pcard h3{margin-bottom:8px}
.pcard .d{font-size:14px;line-height:1.45;color:var(--mute);margin-bottom:18px;flex:1}
.pcard .row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:16px}
.price{font-size:13px;color:var(--mute)}
.price b{font-weight:400;font-size:24px;letter-spacing:-.03em;color:var(--ink)}
.pcard .pill{height:40px;padding:0 18px;font-size:14px}

/* longevity dark */
.lon{margin:16px 16px 0;border-radius:22px;position:relative;overflow:hidden;background:#14272b url('/template1/img/v5-lon-model.jpg') center top/100% auto no-repeat;color:#fff;padding:120px 0 80px 56px}
.lon .head{margin-bottom:250px}
.lon:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,39,43,0) 40%,#14272b 62%)}
.lon>*{position:relative;z-index:1}
.lon .head{padding-right:56px}
.lon .eyebrow{color:rgba(255,255,255,.7)}
.lon .body{color:rgba(255,255,255,.75)}
.ctrls{display:flex;gap:8px}
.ctrls span{width:44px;height:44px;border-radius:50%;border:1px solid var(--glass-line);background:var(--glass);display:grid;place-items:center;font-size:16px;color:#fff}
.track{display:flex;gap:16px;width:auto;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-right:56px}
.track::-webkit-scrollbar,.cats::-webkit-scrollbar,.docs::-webkit-scrollbar,.cards3::-webkit-scrollbar{display:none}
.gcard{scroll-snap-align:start}
.ctrls span{cursor:pointer;transition:opacity .2s}
.gcard{flex:0 0 300px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);backdrop-filter:blur(18px);overflow:hidden}
.gcard .well{height:250px;background:center/contain no-repeat;position:relative}
.gcard .badge{position:absolute;left:14px;top:14px;height:26px;padding:0 10px;border-radius:999px;background:var(--ember);font-size:12px;display:flex;align-items:center}
.gcard .c{padding:18px 20px 20px}
.gcard .form{font-size:13px;color:rgba(255,255,255,.65);margin-bottom:6px}
.gcard h3{margin-bottom:6px}
.gcard .d{font-size:14px;color:rgba(255,255,255,.72);margin-bottom:16px;height:40px}
.gcard .row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(255,255,255,.2);padding-top:14px}
.gcard .price{color:rgba(255,255,255,.7)}.gcard .price b{color:#fff}
.gcard .pill{height:38px;padding:0 16px;font-size:14px;background:#fff;color:var(--ink)}
.prog{display:flex;align-items:center;gap:16px;margin-top:36px}
.prog .b{width:300px;height:3px;background:rgba(255,255,255,.25);border-radius:3px;position:relative}
.prog .b:before{content:"";position:absolute;left:0;top:0;width:var(--p,40%);transition:width .25s;height:3px;background:#fff;border-radius:3px}

/* goal picker: sand tiles with vials */
.goals{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.goal{height:260px;border-radius:18px;position:relative;overflow:hidden;background:var(--sand);padding:22px}
.goal h3{font-size:22px;margin-bottom:6px}
.goal .n{font-size:14px;color:var(--mute)}
.goal .p{font-size:14px;margin-top:2px}
.goal .v{position:absolute;right:-18px;bottom:-26px;width:200px;height:200px;background:center/contain no-repeat}
.goal .go{position:absolute;left:22px;bottom:22px;font-size:14px;display:flex;align-items:center;gap:8px}
.goal .go i{font-style:normal;width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:13px}
.goal.quiz{background:var(--ink);color:#fff}
.goal.quiz .n{color:rgba(255,255,255,.7);line-height:1.45;font-size:15px}
.goal.quiz .go i{background:#fff;color:var(--ink)}

/* how it works */
.how{background:var(--sand)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.step .ph{height:500px;border-radius:18px;background:#ddd center/cover no-repeat;margin-bottom:22px;position:relative;overflow:hidden}
.step .num{position:absolute;left:16px;top:16px;width:32px;height:32px;border-radius:10px;background:rgba(255,255,255,.9);font-size:14px;display:grid;place-items:center;z-index:2}
.step h3{margin-bottom:8px}

/* lab band */
.lab{height:760px;position:relative;overflow:hidden;background:#d8d0c5 url('/template1/img/v5-lab.jpg') center/cover no-repeat}
.lab:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(244,240,234,.95) 0%,rgba(244,240,234,.75) 30%,rgba(244,240,234,0) 52%)}
.lab .in{position:absolute;left:64px;top:110px;width:480px;z-index:1}
.lab h2{margin:12px 0 18px;width:540px}
.lab .body{color:var(--ink-2);margin-bottom:28px}
.kcard{display:flex;gap:18px;align-items:center;background:#fff;border-radius:18px;padding:12px 18px 12px 12px;box-shadow:0 20px 50px rgba(30,25,20,.10)}
.kcard .kimg{width:132px;height:132px;border-radius:12px;background:var(--well) center/86% no-repeat;flex:none;position:relative}
.kcard .kimg i{position:absolute;left:8px;top:8px;font-style:normal;font-size:11px;background:#fff;border-radius:999px;padding:3px 8px}
.kcard .kc{flex:1}
.kcard .form{font-size:13px;color:var(--mute);margin-bottom:4px}
.kcard h3{font-size:21px;margin-bottom:4px}
.kcard .d{font-size:13px;color:var(--mute);margin-bottom:12px}
.kcard .row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:12px}
.kcard .pill{height:38px;padding:0 16px;font-size:14px}
.resultcard{position:absolute;left:600px;bottom:56px;width:280px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-radius:18px;padding:22px;z-index:2;box-shadow:0 20px 50px rgba(0,0,0,.12)}
.resultcard .t{font-size:12px;color:var(--mute)}
.resultcard .big{font-size:40px;letter-spacing:-.03em;margin:4px 0 12px}
.resultcard .r{display:flex;justify-content:space-between;font-size:13px;padding:9px 0;border-top:1px solid var(--line)}

/* proof */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.qcard{border-radius:18px;overflow:hidden;background:var(--soft)}
.qcard .ph{height:440px;background:#ddd center/cover no-repeat;position:relative}
.qcard .c{padding:24px}
.qcard q{display:block;font-size:20px;line-height:1.38;letter-spacing:-.02em;margin:12px 0 18px;quotes:"\201C" "\201D"}
.qcard .who{display:flex;justify-content:space-between;align-items:center;font-size:14px;border-top:1px solid var(--line);padding-top:16px}
.qcard .who span{color:var(--mute)}
.res{height:26px;padding:0 10px;border-radius:999px;background:var(--ember-soft);color:#b8431a;font-size:12px;display:inline-flex;align-items:center}
.vary{font-size:12px;color:var(--mute-2);margin-top:20px}

/* manifesto */
.mani{margin:0 16px;height:720px;border-radius:22px;position:relative;overflow:hidden;background:#b9c0bf url('/template1/img/v4-sea.jpg') center/cover no-repeat;color:#fff}
.mani:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,15,30,.35),rgba(5,15,30,0) 60%)}
.mani .in{position:absolute;left:64px;bottom:72px;width:760px;z-index:1}
.mani h2{font-size:64px;line-height:1.02;margin-bottom:28px}
.mani .stats{display:flex;gap:48px;font-size:14px;color:rgba(255,255,255,.8)}
.mani .stats b{display:block;font-weight:400;font-size:34px;letter-spacing:-.03em;color:#fff}

/* team */
.team{display:grid;grid-template-columns:420px 1fr;gap:56px}
.team .stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:36px}
.team .stats div{background:var(--soft);border-radius:14px;padding:18px}
.team .stats b{display:block;font-weight:400;font-size:30px;letter-spacing:-.03em;margin-bottom:4px}
.team .stats span{font-size:13px;color:var(--mute)}
.docs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.doc .ph{height:400px;border-radius:18px;background:#ddd center/cover no-repeat;margin-bottom:16px;position:relative}
.doc h3{font-size:19px;margin-bottom:4px}
.doc span{font-size:14px;color:var(--mute);line-height:1.4}

/* faq */
.faqw{background:var(--sand)}
.faq{display:grid;grid-template-columns:420px 1fr;gap:56px}
.q{border-bottom:1px solid #ddd5ca;padding:22px 0;font-size:18px;display:flex;justify-content:space-between;flex-wrap:wrap}
.q:first-child{border-top:1px solid #ddd5ca}
.q i{font-style:normal;color:var(--mute);font-size:22px;line-height:1}
.q p{width:100%;font-size:15px;line-height:1.55;color:var(--mute);margin-top:12px;max-width:700px}

/* final */
.final{margin:16px 16px 0;height:640px;border-radius:22px;background:#f4f4f2 url('/template1/img/v5-final.jpg') right center/cover no-repeat;position:relative;color:#fff;overflow:hidden}
.final:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.7) 0%,rgba(255,255,255,.3) 35%,rgba(255,255,255,0) 55%)}
.final{color:var(--ink)!important}.final .pill.light{background:var(--ink);color:#fff}
.final .in{position:absolute;left:64px;top:150px;width:520px}
.final h2{font-size:72px;line-height:1;margin:18px 0 20px}
.final p{font-size:19px;line-height:1.42;color:var(--ink-2);margin-bottom:30px}
.final .rating{color:var(--ink-2)}
.final small{display:block;margin-top:14px;font-size:13px;color:var(--mute)}
.disc{margin:28px 64px 0;font-size:12px;line-height:1.6;color:var(--mute);border-top:1px solid var(--line);padding-top:24px}
footer{padding:56px 64px 40px;display:grid;grid-template-columns:380px repeat(4,1fr);gap:32px}
footer .lg{height:28px;margin-bottom:18px}
footer p{font-size:15px;color:var(--mute);line-height:1.5;width:300px}
footer h5{font-size:14px;font-weight:400;color:var(--mute);margin-bottom:16px}
footer ul{list-style:none;display:flex;flex-direction:column;gap:11px;font-size:15px}
.legal{grid-column:1/-1;border-top:1px solid var(--line);padding-top:22px;margin-top:12px;display:flex;justify-content:space-between;font-size:13px;color:var(--mute-2)}
/* center the fixed-width page on wide screens */
html{background:#fff}
body{margin:0 auto}
/* links look like regular text */
a{color:inherit;text-decoration:none}
footer a:hover,.legal a:hover{color:#e8622c}

/* ---------- mobile (<= 820px), laid out at 390px ---------- */
@media (max-width: 820px) {
/* T7 mobile overrides (390px). Injected after the desktop <style> by shared/tools/mk_mobile.py */
body{width:390px}
h2{font-size:34px;line-height:1.06}
.sec{padding:56px 20px}
.head{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:28px}

/* announcement + header */
.ann{font-size:12px;padding:0 12px;text-align:center}
header{height:64px;padding:0 16px}
header .menu,header .right>span:first-child{display:none}
header .brand{height:20px;margin-right:auto}
header .right .pill{height:40px;padding:0 18px;font-size:14px}

/* hero: photo on top, copy on deep shade below */
.hero{margin:0 8px;height:930px;border-radius:20px;background:#08120b url('/template1/img/v4-hero.jpg') 78% 0/auto 470px no-repeat}
.hero:before{background:linear-gradient(180deg,rgba(8,18,11,0) 28%,rgba(8,18,11,.85) 44%,#08120b 52%)}
.hero .in{left:20px;right:20px;top:400px;width:auto}
.hero h1{font-size:42px;margin-bottom:16px}
.hero p{width:auto;font-size:15px;margin-bottom:24px}
.hero .ctas{flex-wrap:wrap;gap:10px}
.htrust{left:20px;right:20px;width:auto;bottom:24px;grid-template-columns:1fr 1fr;gap:14px 12px;padding-top:18px}
.htrust div{font-size:13px;padding-right:0}

/* categories */
.cats-sec{padding:56px 0 0 20px}
.cats-sec .top{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:28px;padding-right:20px}
.cats-sec h2{font-size:36px;width:auto}
.cats-sec .side{width:auto}
.cats-sec .side p{font-size:16px}
.cats{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-right:20px}
.cat{scroll-snap-align:start}
.cat{flex:0 0 230px;height:330px}
.cat h3{font-size:20px}

/* weight loss: model on top, content below on sand */
.wl{margin:56px 8px 0;height:auto;border-radius:20px;padding:360px 0 20px;background:#f1ece5 url('/template1/img/v5-wl-model.jpg') 80% 0/auto 360px no-repeat}
.wl:after{top:270px;height:90px}
.wl .in{position:relative;left:auto;top:auto;width:auto;padding:0 16px 24px}
.wl ul{flex-direction:column;gap:10px}
.wl .chip{left:16px!important;right:auto!important;top:200px!important}
.wl .cards3{position:relative;left:auto;right:auto;bottom:auto;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:0 16px}
.wl .cards3 .pcard{flex:0 0 280px}
.pcard .well{height:210px}

/* longevity dark carousel */
.lon{margin:12px 8px 0;border-radius:20px;padding:320px 0 32px 16px;background:#14272b url('/template1/img/v5-lon-model.jpg') 75% 0/auto 340px no-repeat}
.lon:before{background:linear-gradient(180deg,rgba(20,39,43,0) 18%,#14272b 33%)}
.lon .head{margin-bottom:24px;padding-right:16px}
.gcard{flex:0 0 260px}
.gcard .well{height:200px}
.prog{flex-wrap:wrap;padding-right:16px!important;gap:12px}
.prog .b{width:120px}
.prog>div:last-child{margin-left:0!important;width:100%;justify-content:space-between}

/* goals */
.goals{grid-template-columns:1fr 1fr;gap:10px}
.goal{height:200px;padding:16px}
.goal h3{font-size:18px}
.goal .n,.goal .p{font-size:12px}
.goal .v{width:120px;height:120px;right:-16px;bottom:-18px}
.goal .go{left:16px;bottom:16px;font-size:0;gap:0}
.goal .go i{font-size:13px}
.goal.quiz .go{font-size:12px;gap:8px}
.goal.quiz h3{font-size:20px!important}
.goal.quiz .n{font-size:12px}

/* how it works */
.steps{grid-template-columns:1fr;gap:28px}
.step .ph{height:420px}

/* lab band */
.lab{height:auto;padding:300px 20px 28px;background:#f4f0ea url('/template1/img/v5-lab.jpg') 80% 0/auto 320px no-repeat}
.lab:before{background:linear-gradient(180deg,rgba(244,240,234,0) 22%,#f4f0ea 36%)}
.lab .in{position:relative;left:auto;top:auto;width:auto}
.lab h2{width:auto}
.kcard{gap:12px;padding:10px 14px 10px 10px}
.kcard .kimg{width:96px;height:96px}
.kcard h3{font-size:18px}
.resultcard{position:relative;left:auto;bottom:auto;width:auto;margin-top:14px;z-index:1}
.lab>.chip{right:16px!important;bottom:auto!important;top:220px}

/* proof */
.quotes{grid-template-columns:1fr;gap:16px}
.qcard .ph{height:360px}
.qcard q{font-size:18px}

/* manifesto */
.mani{margin:0 8px;height:640px;border-radius:20px;background-position:70% center}
.mani .in{left:20px;right:20px;width:auto;bottom:32px}
.mani h2{font-size:36px}
.mani .stats{gap:22px;flex-wrap:wrap}
.mani .stats b{font-size:28px}

/* team */
.team{grid-template-columns:1fr;gap:28px}
.docs{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;margin-right:-20px;padding-right:20px}
.doc{flex:0 0 240px}
.doc .ph{height:300px}

/* faq */
.faq{grid-template-columns:1fr;gap:24px}
.q{font-size:16px}

/* final */
.final{margin:12px 8px 0;height:790px;border-radius:20px;background:#f4f4f2 url('/template1/img/v5-final.jpg') 80% 100%/auto 440px no-repeat}
.final:before{background:linear-gradient(180deg,#f4f4f2 38%,rgba(244,244,242,0) 52%)}
.final .in{left:20px;right:20px;top:40px;width:auto}
.final h2{font-size:44px}
.final p{font-size:16px}
.disc{margin:24px 20px 0}
footer{padding:40px 20px 28px;grid-template-columns:1fr 1fr;gap:24px}
footer>div:first-child{grid-column:1/-1}
footer p{width:auto}
.legal{flex-direction:column;gap:10px}
}
