:root{--ink:#273641;--brand:#e94661;--soft:#f4f6f8;--line:#dce2e7;--muted:#687782;--ok:#18865b}*{box-sizing:border-box}body{margin:0;background:var(--soft);color:var(--ink);font:16px/1.45 system-ui,-apple-system,Segoe UI,sans-serif}header{max-width:760px;margin:auto;padding:22px 18px 12px;display:flex;justify-content:space-between;align-items:center}header h1{margin:2px 0;font-size:27px}header a{color:var(--muted)}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.09em;color:var(--brand);font-weight:800}main{max-width:760px;margin:auto;padding:10px 14px 40px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 7px 25px #2537420c}label,legend{font-weight:700}label>span{float:right;color:var(--muted);font-size:12px;font-weight:500}input,textarea{display:block;width:100%;margin:7px 0 20px;padding:13px;border:1px solid #cbd3d9;border-radius:11px;background:#fff;color:var(--ink);font:inherit}input:focus,textarea:focus,.visual-editor:focus{outline:3px solid #e9466125;border-color:var(--brand)}fieldset{border:0;padding:0;margin:22px 0 0}legend{font-size:16px}.editor-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.editor-label span{color:var(--muted);font-size:12px}.editor-toolbar{display:flex;gap:6px;overflow-x:auto;padding:7px;background:#f1f3f5;border:1px solid #cbd3d9;border-bottom:0;border-radius:11px 11px 0 0;scrollbar-width:none}.editor-toolbar::-webkit-scrollbar{display:none}.editor-toolbar button{flex:0 0 auto;min-width:44px;min-height:42px;padding:8px 11px;border:1px solid transparent;border-radius:8px;background:#fff;color:var(--ink);box-shadow:0 1px 2px #0000000c}.editor-toolbar button:active,.editor-toolbar button.is-active{background:#ffdce2;border-color:#e94661;color:#a51f36;box-shadow:inset 0 0 0 1px #e94661}.editor-toolbar button span{font-size:13px}.visual-editor{min-height:330px;max-height:60vh;overflow-y:auto;padding:15px;border:1px solid #cbd3d9;border-radius:0 0 11px 11px;background:#fff;font:17px/1.55 Arial,sans-serif;-webkit-user-select:text;user-select:text}.visual-editor:empty:before{content:attr(data-placeholder);color:#8a969e;pointer-events:none}.visual-editor p{margin:0 0 1em}.visual-editor a{color:#1867c0;text-decoration:underline}.visual-editor ul,.visual-editor ol{padding-left:24px}.group-tools{display:flex;justify-content:space-between;align-items:center;margin:8px 0;color:var(--muted);font-size:13px}.link{border:0;background:transparent;color:var(--brand);padding:4px 0;font-weight:700}.groups{border:1px solid var(--line);border-radius:12px;max-height:300px;overflow:auto}.group{display:flex;padding:11px 12px;border-bottom:1px solid var(--line);gap:11px;align-items:center}.group:last-child{border:0}.group input{width:21px;height:21px;margin:0;accent-color:var(--brand);flex:none}.group span{float:none;font-size:inherit;color:inherit}.group small{display:block;color:var(--muted);font-weight:400}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}button,.button{min-height:48px;border-radius:11px;border:0;padding:12px 16px;font:inherit;font-weight:800;text-align:center;text-decoration:none;cursor:pointer}.primary{background:var(--brand);color:#fff}.secondary{background:#edf1f4;color:var(--ink)}.danger{background:#ba243a;color:#fff}button:disabled{opacity:.5}.alert,.warning{border-radius:11px;padding:12px 14px;margin-bottom:14px}.error{background:#ffe9ed;color:#942137}.warning{background:#fff3d2;color:#765400}.login{min-height:100vh;display:grid;place-items:center;padding:18px}.login-card,.result{width:min(100%,420px);text-align:center}.login-card form{text-align:left}.logo{width:54px;height:54px;border-radius:16px;background:var(--brand);color:#fff;font-size:28px;font-weight:900;display:grid;place-items:center;margin:auto}.muted{color:var(--muted)}dialog{width:min(94vw,720px);height:min(88vh,800px);border:0;border-radius:17px;padding:14px;box-shadow:0 20px 70px #0004}dialog::backdrop{background:#1c2731aa}.small-dialog{height:auto;max-width:440px}.small-dialog form{margin:0}.dialog-head{display:flex;justify-content:space-between;align-items:center}.icon{font-size:28px;background:transparent;padding:0;min-height:auto}.preview-subject{padding:10px 2px;font-weight:800;border-bottom:1px solid var(--line)}iframe{width:100%;height:calc(100% - 120px);border:0;background:#fff}.full{width:100%}.confirm dl{margin:20px 0}.confirm dt{font-size:12px;color:var(--muted);text-transform:uppercase;font-weight:800;margin-top:14px}.confirm dd{margin:3px 0;font-weight:700}.result-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:auto;font-size:36px;color:#fff}.result-icon.ok{background:var(--ok)}.result-icon.ko{background:#ba243a}.result .button{display:block;margin-top:22px}@media(max-width:520px){header{padding-top:16px}.card{padding:14px;border-radius:14px}.visual-editor{min-height:44vh;max-height:none}.editor-toolbar{position:sticky;top:0;z-index:2}.actions{position:sticky;bottom:8px;background:#fff;padding:10px 0 2px;z-index:3;box-shadow:0 -10px 18px #fff}.editor-toolbar button span{display:none}}
.audience-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 8px}.audience-tabs label{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#f7f8f9}.audience-tabs input{width:18px;height:18px;margin:0;accent-color:var(--brand)}.audience-panel[hidden]{display:none}.review-title{font-size:16px;margin:22px 0 8px}.confirm-preview{display:block;width:100%;height:360px;border:1px solid var(--line);border-radius:11px;background:#fff}.hidden-content{display:none!important}@media(max-width:520px){.confirm-preview{height:50vh}}
header nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap;justify-content:flex-end}header nav a{font-size:14px;font-weight:700;white-space:nowrap}.legal-note{font-size:12px;color:var(--muted);margin-top:18px}.legal-note a{text-decoration:underline}.account-card{max-width:620px;margin:auto}.account-card h2{font-size:18px;margin:22px 0 12px}.account-card h2:first-child{margin-top:0}.profile-row{display:flex;align-items:center;gap:12px;padding:12px;background:var(--soft);border-radius:11px}.profile-row div{display:grid;gap:3px}.profile-row small{color:var(--muted)}.avatar{width:48px;height:48px;border-radius:50%;object-fit:cover}.field-help{display:block;margin:-8px 0 14px;color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:28px 0}.danger-outline{background:#fff!important;color:#a51e35!important;border:1px solid #cf5a6d}.success{background:#e4f7ec;color:#17633b}.history-list{display:grid;gap:10px}.history-item{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:13px;border:1px solid var(--line);border-radius:11px}.history-item div{display:grid;gap:4px}.history-item small{color:var(--muted)}.status{align-self:start;font-size:12px;font-weight:800;padding:5px 8px;border-radius:999px}.status-sent{background:#e4f7ec;color:#17633b}.status-error{background:#ffe9ed;color:#942137}.history-error{grid-column:1/-1;margin:4px 0 0;color:#942137;font-size:13px}@media(max-width:520px){header{align-items:flex-start}header nav{width:100%;justify-content:space-between;gap:8px}.history-item{grid-template-columns:1fr}.status{justify-self:start}}
.legal-page{max-width:760px;margin:auto;line-height:1.65}.legal-page p:first-child{margin-top:0}.legal-page p:last-child{margin-bottom:0}

/* Mobile editor and header corrections. */
.editor-toolbar{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x}.editor-toolbar button{touch-action:pan-x;-webkit-user-select:none;user-select:none}
@media(max-width:520px){
  header{display:block;padding:16px 14px 10px}
  header>div{width:100%}
  header h1{font-size:26px;line-height:1.15;margin:4px 0 0}
  header nav{display:flex;width:100%;margin-top:14px;gap:16px;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  header nav::-webkit-scrollbar{display:none}
  header nav a{font-size:13px}
  .editor-toolbar{max-width:100%;position:sticky;top:0;overflow-x:auto;overflow-y:hidden}
}

/* Public landing page. */
.landing{background:#fff}.landing-header{max-width:1120px;padding:22px 24px;margin:auto}.landing-header,.landing-header nav,.brand,.hero-actions,.landing-footer,.landing-footer nav{display:flex;align-items:center}.landing-header{justify-content:space-between}.landing-header nav{gap:18px}.brand{gap:10px;color:var(--ink);font-size:18px;font-weight:900;text-decoration:none}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--brand);color:#fff;font-size:15px;letter-spacing:-.03em}.landing-nav-cta{min-height:42px;padding:9px 15px;color:#fff}.landing-main{max-width:1120px;padding:28px 24px 70px}.hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:70px;align-items:center;min-height:590px}.landing-kicker{color:var(--brand);font-size:12px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.hero h1{max-width:720px;margin:13px 0 20px;font-size:clamp(45px,7vw,76px);line-height:.98;letter-spacing:-.055em}.hero-copy>p{max-width:620px;margin:0;color:var(--muted);font-size:20px;line-height:1.55}.hero-actions{gap:12px;margin:30px 0 17px}.hero-actions .button{min-width:145px}.hero-note{font-size:13px!important}.phone-demo{max-width:390px;margin:auto;padding:16px;border:1px solid var(--line);border-radius:30px;background:var(--soft);box-shadow:0 28px 70px #27364120;transform:rotate(1.5deg)}.phone-top{display:grid;grid-template-columns:1fr auto 1fr;padding:6px 4px 17px;text-align:center}.phone-top span:first-child{justify-self:start;width:9px;height:9px;border-radius:50%;background:var(--brand)}.demo-field,.demo-content{background:#fff;border:1px solid var(--line)}.demo-field{padding:12px 13px;border-radius:13px 13px 0 0}.demo-field small{display:block;margin-bottom:5px;color:var(--muted)}.demo-toolbar{display:flex;gap:6px;padding:8px;background:#edf1f4;border-left:1px solid var(--line);border-right:1px solid var(--line)}.demo-toolbar>*{display:grid;place-items:center;width:35px;height:34px;margin:0;border-radius:8px;background:#fff;font-style:normal;text-decoration:none}.demo-content{min-height:215px;padding:16px;border-radius:0 0 13px 13px}.demo-content p{margin:0 0 17px}.demo-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.demo-actions span,.demo-actions strong{padding:12px 7px;border-radius:10px;text-align:center}.demo-actions span{background:#fff}.demo-actions strong{background:var(--brand);color:#fff}.landing-section{padding:90px 0}.section-heading{max-width:650px;margin:0 auto 42px;text-align:center}.section-heading h2,.landing-cta h2{margin:10px 0 12px;font-size:clamp(32px,5vw,48px);line-height:1.08;letter-spacing:-.04em}.section-heading p{color:var(--muted);font-size:18px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature-grid article{padding:25px;border:1px solid var(--line);border-radius:18px;background:var(--soft)}.feature-grid article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#ffdce2;color:#a51f36;font-size:20px;font-weight:900}.feature-grid h3{margin:17px 0 8px;font-size:18px}.feature-grid p{margin:0;color:var(--muted)}.landing-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:35px;padding:42px;border-radius:24px;background:var(--ink);color:#fff}.landing-cta h2{max-width:660px;margin-bottom:0}.landing-cta .button{flex:none}.landing-footer{max-width:1120px;justify-content:space-between;gap:20px;margin:auto;padding:28px 24px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.landing-footer nav{gap:18px}.landing-footer a{color:var(--muted)}
@media(max-width:760px){.landing-header{display:flex;padding:16px 18px}.landing-header>div{width:auto}.landing-header nav{width:auto;margin:0;gap:12px;overflow:visible}.landing-header nav a{font-size:13px}.landing-header nav>a:first-child:not(.button){display:none}.brand{font-size:16px}.hero{grid-template-columns:1fr;gap:45px;min-height:0;padding:48px 0 35px}.hero h1{font-size:48px}.hero-copy>p{font-size:18px}.phone-demo{width:min(100%,370px);transform:none}.feature-grid{grid-template-columns:1fr 1fr}.landing-section{padding:65px 0}.landing-cta{align-items:flex-start;flex-direction:column;padding:30px}.landing-footer{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.landing-main{padding:15px 16px 55px}.landing-header{padding:14px 16px}.landing-header nav{flex-wrap:nowrap}.landing-nav-cta{min-height:40px;padding:8px 12px}.hero{padding-top:38px}.hero h1{font-size:42px}.hero-actions{align-items:stretch;flex-direction:column}.hero-actions .button{width:100%}.feature-grid{grid-template-columns:1fr}.landing-section{padding:55px 0}.section-heading{text-align:left}.landing-cta{border-radius:18px}.landing-footer{padding:24px 16px}}
