/* WriteToPower (standalone) — ported from the Odoo landing redesign.
   Self-contained: all tokens defined here (no shared main.css). */
:root{
  --ink:#101f38; --indigo:#1d4ed8; --indigo-deep:#14307c; --indigo-ink:#0d1f52;
  --brass:#b3730a; --gold:#d9a441; --paper:#f4f0e6; --surface:#ffffff;
  --line:#e4ddcb; --muted:#5c6a80;
  --serif:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,'Times New Roman',serif;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;}
body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--paper);line-height:1.55;-webkit-font-smoothing:antialiased;}
a{color:inherit;}
.wtpl-wrap{max-width:1160px;margin:0 auto;padding:0 clamp(1rem,4vw,2.5rem);}

/* topbar / footer */
.wtpl-topbar{background:var(--indigo-ink);color:#eaf0ff;}
.wtpl-topbar .wtpl-wrap{display:flex;align-items:center;justify-content:space-between;height:58px;}
.wtpl-brand{display:flex;align-items:center;gap:.55rem;font-weight:800;letter-spacing:.02em;text-decoration:none;color:#fff;font-size:1.05rem;}
.wtpl-brand-mark{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,var(--gold),var(--brass));display:grid;place-items:center;color:#2b1c00;font-size:.85rem;}
.wtpl-nav{display:flex;gap:1.4rem;font-size:.9rem;}
.wtpl-nav a{text-decoration:none;color:#cdd8f2;}
.wtpl-nav a:hover{color:#fff;}
@media(max-width:600px){.wtpl-nav a:not(:last-child){display:none;}}
.wtpl-footer{background:var(--indigo-ink);color:#aebbdc;font-size:.85rem;padding:2rem 0;margin-top:0;}
.wtpl-footer p{margin:.25rem 0;}
.wtpl-footer a{color:#dbe4fb;}
.wtpl-footer-sub{opacity:.85;}

h1,h2,h3{font-family:var(--serif);font-weight:600;color:var(--ink);text-wrap:balance;margin:0;line-height:1.15;}
.wtpl-eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--brass);display:inline-flex;align-items:center;gap:.5rem;}

/* HERO */
.wtpl-hero{position:relative;overflow:hidden;color:#eef2fb;
  background:radial-gradient(120% 80% at 88% -10%, rgba(217,164,65,.16), transparent 55%),
             linear-gradient(160deg,#0f2a6b 0%,#14307c 38%,#1a3a8f 100%);}
.wtpl-hero::before{content:"";position:absolute;inset:0;opacity:.5;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 0l24 24-24 24L0 24z' fill='none' stroke='%23ffffff' stroke-opacity='.06'/%3E%3Ccircle cx='24' cy='24' r='3' fill='%23ffffff' fill-opacity='.05'/%3E%3C/svg%3E");}
.wtpl-hero-grid{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(1.5rem,4vw,3.5rem);align-items:center;padding-top:clamp(2.4rem,5vw,3.8rem);padding-bottom:clamp(2.4rem,5vw,3.8rem);}
.wtpl-hero .wtpl-eyebrow{color:var(--gold);}
.wtpl-hero h1{color:#fff;font-size:clamp(2.2rem,5vw,3.5rem);line-height:1.04;letter-spacing:-.01em;margin:.85rem 0 .7rem;}
.wtpl-u{background:linear-gradient(transparent 62%, rgba(217,164,65,.5) 62%);padding:0 .05em;}
.wtpl-lede{font-size:clamp(1rem,1.6vw,1.16rem);color:#d7e0f4;max-width:36ch;margin:0 0 1.3rem;}
.wtpl-starter{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:1rem;max-width:540px;}
.wtpl-starter label{display:block;font-size:.8rem;font-weight:600;color:#eaf0ff;margin:.1rem 0 .5rem;}
.wtpl-field{display:flex;gap:.6rem;flex-wrap:wrap;}
.wtpl-field textarea{flex:1;min-width:220px;min-height:50px;resize:vertical;border-radius:11px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.96);color:#16223a;padding:.7rem .85rem;font-size:.95rem;font-family:inherit;}
.wtpl-field textarea::placeholder{color:#8590a6;}
.wtpl-btn{border:0;cursor:pointer;font-weight:700;border-radius:11px;padding:.72rem 1.15rem;display:inline-flex;align-items:center;gap:.4rem;text-decoration:none;font-size:.95rem;white-space:nowrap;transition:transform .12s ease, box-shadow .12s ease;font-family:inherit;}
.wtpl-btn:hover{transform:translateY(-1px);}
.wtpl-btn-gold{background:linear-gradient(135deg,var(--gold),var(--brass));color:#2a1a00;box-shadow:0 8px 20px rgba(179,115,10,.35);}
.wtpl-starter-foot{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.7rem;flex-wrap:wrap;}
.wtpl-starter-foot a{color:#dbe4fb;font-size:.86rem;font-weight:600;text-decoration:none;}
.wtpl-starter-foot a:hover{text-decoration:underline;color:#fff;}
.wtpl-chips{display:flex;gap:.4rem 1.1rem;flex-wrap:wrap;margin-top:1.1rem;font-size:.82rem;color:#c3cfe9;}
.wtpl-chips span{display:inline-flex;align-items:center;gap:.4rem;}
.wtpl-chips i{color:var(--gold);}

/* letter-to-power signature */
.wtpl-letter{position:relative;background:var(--surface);color:var(--ink);border-radius:14px;box-shadow:0 18px 44px rgba(16,31,56,.28);padding:1.4rem 1.5rem 1.6rem;transform:rotate(-1.4deg);border:1px solid #ece5d4;}
.wtpl-letter::before{content:"";position:absolute;inset:7px;border-radius:11px;border:1px solid rgba(179,115,10,.18);pointer-events:none;}
.wtpl-letter-to{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--brass);font-weight:700;}
.wtpl-letter-addr{font-family:var(--serif);font-size:1.15rem;margin:.15rem 0 .9rem;color:var(--ink);}
.wtpl-ln{height:9px;border-radius:5px;background:#eef1f6;margin:.5rem 0;}
.wtpl-ln.s{width:92%;} .wtpl-ln.m{width:78%;} .wtpl-ln.k{width:60%;}
.wtpl-letter-sig{font-family:var(--serif);font-style:italic;color:#3a465e;margin-top:1rem;font-size:1rem;}
.wtpl-seal{position:absolute;right:-16px;bottom:-16px;width:78px;height:78px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#e7b85a,var(--brass) 70%);box-shadow:0 8px 18px rgba(122,78,6,.4), inset 0 2px 6px rgba(255,255,255,.35);display:grid;place-items:center;text-align:center;color:#3a2400;transform:rotate(-8deg);border:2px solid #caa24a;}
.wtpl-seal b{font-size:.56rem;letter-spacing:.1em;line-height:1.15;font-weight:800;text-transform:uppercase;}
.wtpl-seal-star{font-size:1rem;line-height:1;}

/* ribbon */
.wtpl-ribbon{background:var(--indigo-ink);color:#cdd8f2;font-size:.83rem;}
.wtpl-ribbon .wtpl-wrap{display:flex;gap:.6rem 2rem;flex-wrap:wrap;justify-content:center;padding:.7rem 1rem;}
.wtpl-ribbon span{display:inline-flex;align-items:center;gap:.5rem;}
.wtpl-ribbon i{color:var(--gold);}

/* bands */
.wtpl-band{padding:clamp(2.4rem,5vw,4rem) 0;}
.wtpl-paper{background:var(--paper);}
.wtpl-white{background:var(--surface);}
.wtpl-sec-head{max-width:640px;margin:0 auto 2rem;text-align:center;}
.wtpl-sec-head h2{font-size:clamp(1.55rem,3vw,2.1rem);}
.wtpl-sec-head p{color:var(--muted);margin:.5rem 0 0;}

/* how it works */
.wtpl-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem;}
.wtpl-step{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:1.5rem 1.4rem;}
.wtpl-n{font-family:var(--serif);font-size:1.05rem;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#eef2ff;color:var(--indigo);font-weight:700;border:1px solid #dbe4ff;}
.wtpl-step h3{font-size:1.1rem;margin:.9rem 0 .4rem;}
.wtpl-step p{color:var(--muted);font-size:.93rem;margin:0;}
.wtpl-thread{position:absolute;top:2.3rem;right:-.85rem;color:var(--gold);font-size:1.05rem;z-index:2;}
.wtpl-reassure{text-align:center;margin-top:1.4rem;color:var(--muted);font-size:.92rem;}
.wtpl-reassure b{color:var(--ink);}

/* topics */
.wtpl-tgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;}
.wtpl-topic{display:flex;gap:.85rem;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:1rem 1.05rem;text-decoration:none;color:var(--ink);transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;}
.wtpl-topic:hover{border-color:var(--brass);box-shadow:0 8px 22px rgba(16,31,56,.08);transform:translateY(-2px);}
.wtpl-topic-ic{flex:0 0 auto;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#eef2ff;color:var(--indigo);font-size:1.05rem;}
.wtpl-topic:hover .wtpl-topic-ic{background:#fbf1dc;color:var(--brass);}
.wtpl-topic-tt{min-width:0;}
.wtpl-topic-tt b{display:block;font-size:.96rem;font-weight:700;line-height:1.2;color:var(--ink);}
.wtpl-topic-tt small{color:var(--muted);font-size:.81rem;display:block;margin-top:.15rem;}

/* campaigns */
.wtpl-camps{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem;}
.wtpl-camp{position:relative;display:block;text-decoration:none;color:var(--ink);background:linear-gradient(180deg,#ffffff,#fcfaf3);border:1px solid var(--line);border-left:4px solid var(--brass);border-radius:14px;padding:1.3rem 1.4rem;transition:box-shadow .15s ease, transform .15s ease;}
.wtpl-camp:hover{box-shadow:0 18px 44px rgba(16,31,56,.13);transform:translateY(-2px);}
.wtpl-pill{position:absolute;top:1rem;right:1rem;font-size:.64rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--brass);background:#fbf1dc;border-radius:999px;padding:.2rem .55rem;display:inline-flex;align-items:center;gap:.35rem;}
.wtpl-dot{width:6px;height:6px;border-radius:50%;background:var(--brass);}
.wtpl-camp h3{font-size:1.16rem;margin:.1rem 0 .4rem;padding-right:5rem;color:var(--ink);}
.wtpl-camp p{color:var(--muted);font-size:.9rem;margin:0 0 .9rem;}
.wtpl-go{font-weight:700;color:var(--brass);font-size:.9rem;display:inline-flex;align-items:center;gap:.35rem;}

/* closing */
.wtpl-closing{background:linear-gradient(160deg,#14307c,#0f2a6b);color:#eef2fb;text-align:center;border-radius:20px;padding:clamp(2rem,4vw,3rem);max-width:900px;margin:0 auto;}
.wtpl-closing h2{color:#fff;font-size:clamp(1.5rem,3vw,2.1rem);}
.wtpl-closing p{color:#cdd8f2;max-width:46ch;margin:.6rem auto 1.4rem;}

@media(max-width:860px){
  .wtpl-hero-grid{grid-template-columns:1fr;}
  .wtpl-letter{max-width:360px;margin:.5rem auto 0;transform:rotate(-1deg);}
  .wtpl-tgrid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:760px){
  .wtpl-steps{grid-template-columns:1fr;}
  .wtpl-thread{display:none;}
  .wtpl-camps{grid-template-columns:1fr;}
}
@media(max-width:560px){
  .wtpl-tgrid{grid-template-columns:1fr;}
  .wtpl-camp h3{padding-right:0;}
}
@media(prefers-reduced-motion:reduce){
  .wtpl-btn,.wtpl-topic,.wtpl-camp{transition:none;}
}
