/* Shared styles for the Meta ads landing pages (/demo, /masterclass, /partner).
   Mobile-first, no web fonts, same brand tokens as the main site. */
:root{
  color-scheme:light;
  --red:#fd4100;
  --red-dk:#d93800;
  --ink:#111;
  --text:#3a3a3a;
  --muted:#6b6b6b;
  --line:#dcdcdc;
  --bg:#fdfdfd;
  --band:#f3f3f3;
  --dark:#181818;
  --foot:#111;
  --ok:#1f8a4c;
  --err:#c62828;
  --serif:"Times New Roman",Times,"Liberation Serif","Noto Serif",serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--serif);font-size:17px;line-height:1.5}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,p{margin:0}
.wrap{max-width:1180px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* header: logo + WhatsApp only */
.top{background:var(--bg);border-bottom:1px solid #eee}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:60px;gap:12px}
.top .logo{height:26px;width:auto}
.wa{display:none;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:19px;background:#25d366;color:#fff;font-family:var(--sans);font-weight:600;font-size:14px;text-decoration:none;white-space:nowrap}
.wa svg{width:18px;height:18px;fill:currentColor;flex:none}
.has-wa .wa{display:inline-flex}

/* hero */
.hero{padding:22px 0 36px;background:linear-gradient(180deg,#fff7f3 0,var(--bg) 70%)}
.hero-grid{display:grid;gap:22px}
.kicker{display:inline-block;font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red);margin-bottom:8px}
.hero h1{font-size:30px;line-height:1.2;font-weight:700;letter-spacing:-.01em}
.hero .sub{margin-top:10px;font-size:17px;color:var(--text)}
.hero-art{display:none}

/* form card */
.card{background:#fff;border:1px solid #ececec;border-radius:16px;box-shadow:0 8px 28px rgba(0,0,0,.07);padding:18px 16px 20px;scroll-margin-top:12px}
.card h2{font-size:22px;font-weight:700;line-height:1.25}
.card .note{font-family:var(--sans);font-size:13px;color:var(--muted);margin-top:4px}
.steps-bar{display:flex;gap:6px;margin:14px 0 4px}
.steps-bar span{flex:1;height:4px;border-radius:2px;background:#eee}
.steps-bar span.on{background:var(--red)}
.fld{margin-top:12px}
.fld label,.fld legend{display:block;font-family:var(--sans);font-size:14px;font-weight:600;color:#222;margin-bottom:5px;padding:0}
.fld .opt{font-weight:400;color:var(--muted)}
.fld fieldset{border:0;margin:0;padding:0;min-width:0}
input[type=text],input[type=email],input[type=tel],select,textarea{width:100%;height:48px;padding:0 12px;border:1.5px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-family:var(--sans);font-size:16px;appearance:none;-webkit-appearance:none}
textarea{height:96px;padding:10px 12px;resize:vertical}
select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px;padding-right:38px}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(253,65,0,.15)}
.was-checked :invalid{border-color:var(--err)}
.tel{display:flex}
.tel span{display:flex;align-items:center;padding:0 12px;border:1.5px solid var(--line);border-right:0;border-radius:10px 0 0 10px;background:var(--band);font-family:var(--sans);font-size:16px;color:#444}
.tel input{border-radius:0 10px 10px 0}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips label{display:inline-flex;align-items:center;gap:6px;margin:0;height:40px;padding:0 14px;border:1.5px solid var(--line);border-radius:20px;font-weight:500;cursor:pointer;background:#fff}
.chips input{accent-color:var(--red);width:16px;height:16px;margin:0}
.chips label:has(input:checked){border-color:var(--red);background:#fff4ef}
.consent{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-family:var(--sans);font-size:13px;line-height:1.45;color:#444}
.consent input{accent-color:var(--red);width:20px;height:20px;margin:1px 0 0;flex:none}
.consent a{color:var(--red)}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:52px;margin-top:16px;border:0;border-radius:26px;background:var(--red);color:#fff;font-family:var(--serif);font-size:18px;font-weight:700;cursor:pointer;text-decoration:none;transition:background .15s}
.btn:hover{background:var(--red-dk)}
.btn[disabled]{opacity:.65;cursor:progress}
.btn svg{width:20px;height:20px}
.btn.ghost{background:transparent;color:#444;border:0;height:auto;margin-top:12px;font-family:var(--sans);font-size:14px;font-weight:500;text-decoration:underline}
.micro{font-family:var(--sans);font-size:12.5px;color:var(--muted);margin-top:10px;text-align:center}
.form-err{display:none;margin-top:12px;padding:10px 12px;border-radius:10px;background:#fdecea;color:var(--err);font-family:var(--sans);font-size:14px}
.form-err.show{display:block}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
:focus-visible{outline:2px solid var(--red);outline-offset:2px}
/* two-step: only when JS runs */
.js .step2{display:none}
.js .on2 .step1{display:none}
.js .on2 .step2{display:block}
.nojs-hide{display:none}
.js .nojs-hide{display:flex}

/* sections */
.sec{padding:44px 0}
.sec.band{background:var(--band)}
.sec.dark{background:var(--dark);color:#fff}
.sec h2{font-size:26px;line-height:1.25;font-weight:700}
.sec .lede{margin-top:8px;color:var(--text);font-size:17px}
.dark .lede{color:#bbb}
.list4{display:grid;gap:14px;margin-top:22px;padding:0;list-style:none;counter-reset:n}
.list4 li{background:#fff;border:1px solid #ececec;border-radius:14px;overflow:hidden;counter-increment:n}
.list4 .pic{aspect-ratio:16/10;background:#f6f6f6;overflow:hidden}
.list4 .pic img{width:100%;height:100%;object-fit:cover}
.list4 .tx{padding:14px 16px 16px;display:flex;gap:12px;align-items:baseline}
.list4 .tx::before{content:counter(n);flex:none;width:28px;height:28px;border-radius:50%;background:var(--red);color:#fff;font-family:var(--sans);font-size:14px;font-weight:700;display:grid;place-items:center;transform:translateY(4px)}
.list4 h3{font-size:19px;line-height:1.3;font-weight:700}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding:0;list-style:none}
.tags li{padding:8px 14px;border-radius:20px;background:#fff;border:1px solid #e3e3e3;font-size:16px}
.dark .tags li{background:#262626;border-color:#333;color:#fff}
.ticks{display:grid;gap:12px;margin-top:20px;padding:0;list-style:none}
.ticks li{display:flex;gap:12px;align-items:flex-start;font-size:18px;line-height:1.4}
.ticks li::before{content:"";flex:none;width:24px;height:24px;margin-top:1px;border-radius:50%;background:var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/16px no-repeat}
.flow{display:grid;gap:0;margin-top:22px;padding:0;list-style:none;counter-reset:n}
.flow li{position:relative;padding:0 0 22px 46px;counter-increment:n;font-size:18px;line-height:1.35}
.flow li::before{content:counter(n);position:absolute;left:0;top:-2px;width:30px;height:30px;border-radius:50%;background:var(--red);color:#fff;font-family:var(--sans);font-size:14px;font-weight:700;display:grid;place-items:center}
.flow li::after{content:"";position:absolute;left:14px;top:32px;bottom:2px;width:2px;background:#ddd}
.flow li:last-child{padding-bottom:0}
.flow li:last-child::after{display:none}
.two>div+div{margin-top:36px}
.info{margin-top:20px;padding:16px;border-radius:14px;background:#fff;border:1px solid #ececec;font-size:17px}
.dark .info{background:#222;border-color:#333}
.faq{margin-top:18px}
.faq details{border-bottom:1px solid #e3e3e3}
.faq summary{list-style:none;cursor:pointer;padding:16px 32px 16px 0;position:relative;font-size:19px;font-weight:700}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;top:12px;font-family:var(--sans);font-size:24px;font-weight:400;color:var(--red)}
.faq details[open] summary::after{content:"\2212"}
.faq p{padding:0 0 16px;color:var(--text)}
.final{text-align:center}
.final .btn{max-width:360px;margin:20px auto 0}
.final .wa{margin:14px auto 0;height:46px;padding:0 20px;border-radius:23px;font-size:15px}

/* footer */
.foot{background:var(--foot);color:#cfcfcf;font-family:var(--sans);font-size:13px;line-height:1.55;padding:32px 0 calc(32px + env(safe-area-inset-bottom,0px))}
.foot img{height:30px;width:auto;margin-bottom:16px}
.foot .cols{display:grid;gap:14px}
.foot b{color:#fff;font-weight:600}
.foot .legal{margin-top:20px;padding-top:16px;border-top:1px solid #2a2a2a;display:flex;flex-wrap:wrap;gap:8px 18px;color:#999}
.foot a{color:#fff}

/* sticky mobile CTA (shown once the form scrolls out of view) */
.sticky{position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px max(16px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));background:rgba(255,255,255,.96);border-top:1px solid #eee;box-shadow:0 -4px 16px rgba(0,0,0,.06);transform:translateY(110%);transition:transform .25s}
.sticky.show{transform:none}
.sticky .btn{margin:0}

/* thank-you */
.ty{min-height:calc(100vh - 60px - 160px);display:flex;align-items:center;padding:48px 0}
.ty .box{max-width:560px;margin:0 auto;text-align:center}
.ty .ok{width:72px;height:72px;margin:0 auto 18px;border-radius:50%;background:var(--ok);display:grid;place-items:center}
.ty .ok svg{width:38px;height:38px}
.ty h1{font-size:30px;line-height:1.2}
.ty p{margin-top:12px;font-size:18px;color:var(--text)}
.ty .btn{max-width:320px;margin:26px auto 0}
.ty .wa{margin:14px auto 0;height:46px;padding:0 20px;border-radius:23px;font-size:15px}

/* plain text page (privacy) */
.doc{max-width:760px;padding:36px 0 56px}
.doc h1{font-size:32px;line-height:1.2}
.doc h2{font-size:22px;margin-top:28px}
.doc p,.doc li{font-size:17px;color:var(--text);margin-top:10px}
.doc ul{padding-left:20px}

@media (min-width:600px){
  .list4{grid-template-columns:1fr 1fr}
  .foot .cols{grid-template-columns:1fr 1fr;gap:24px}
}
@media (min-width:960px){
  body{font-size:18px}
  .top .wrap{height:76px}
  .top .logo{height:32px}
  .hero{padding:56px 0 72px}
  .hero-grid{grid-template-columns:1fr 440px;gap:56px;align-items:start}
  .hero h1{font-size:46px}
  .hero .sub{font-size:20px;margin-top:16px;max-width:560px}
  .hero-art{display:block;margin-top:34px;max-width:560px}
  .hero-art img{border-radius:16px}
  .card{padding:26px 26px 26px;position:sticky;top:20px}
  .sec{padding:72px 0}
  .sec h2{font-size:36px}
  .list4{grid-template-columns:repeat(4,1fr);gap:18px}
  .two{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
  .two>div+div{margin-top:0}
  .sticky{display:none}
  .ty h1{font-size:40px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* phones: fit headline + the first four fields on the first screen */
@media (max-width:959px){
  .hero{padding:14px 0 28px}
  .hero-grid{gap:14px}
  .kicker{display:none}
  .hero h1{font-size:26px}
  .hero .sub{font-size:16px;margin-top:6px;line-height:1.4}
  .card{padding:14px 14px 16px;border-radius:14px}
  .card h2{font-size:20px}
  .card .note{margin-top:2px}
  .steps-bar{margin:10px 0 0}
  .fld{margin-top:9px}
  .fld label,.fld legend{margin-bottom:3px}
  input[type=text],input[type=email],input[type=tel],select{height:44px}
  .btn{height:50px;margin-top:14px}
}
