/* Cardinal shared styles: used by every page (home, trade pages, legal pages).
   Home-only animation styles live inline in index.html. */
@font-face{font-family:'Baloo 2'; font-style:normal; font-weight:500 800; font-display:swap; src:url(fonts/baloo2-latin.woff2) format('woff2');}
@font-face{font-family:'Nunito Sans'; font-style:normal; font-weight:400 800; font-display:swap; src:url(fonts/nunitosans-latin.woff2) format('woff2');}

:root{
  --cream:#FFF8F1;
  --paper:#FFFBF7;
  --card:#FFFFFF;
  --ink:#3A2420;
  --muted:#76615A;        /* darkened from #8A7369 for WCAG AA on cream */
  --line:#F3E3D4;
  --coral:#F2452E;        /* decorative only, not for text */
  --coral-deep:#D43820;   /* text on white/cream */
  --coral-ink:#B8301A;    /* text on coral-soft */
  --coral-soft:#FDE0D6;
  --amber:#FFB24D;        /* decorative only */
  --cardinal:#B23420;
  --sage:#4A6B51;         /* darkened from #6E8F74 for AA */
  --sage-soft:#E6EEE4;
  --btn-grad:linear-gradient(100deg,#D43820,#C2410C,#D43820);
  --out-grad:linear-gradient(135deg,#D43820,#C2410C);
  --ok-grad:linear-gradient(135deg,#4F7A56,#456C4C);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation:none !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}
body{margin:0; background:var(--cream); color:var(--ink); font-family:'Nunito Sans', system-ui, sans-serif; font-size:16px; line-height:1.6; font-weight:400; -webkit-font-smoothing:antialiased;}
img,svg{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
::selection{background:var(--coral); color:#fff;}
:focus-visible{outline:3px solid var(--coral-deep); outline-offset:3px;}
h1,h2,h3{font-family:'Baloo 2', sans-serif; margin:0; line-height:1.1; color:var(--ink); font-weight:700; letter-spacing:-0.005em; text-wrap:balance;}
.wrap{max-width:1160px; margin:0 auto; padding:0 28px;}
@media (max-width:600px){.wrap{padding:0 16px;}}
.sr-only{position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}
.skip-link{position:absolute; left:12px; top:-60px; z-index:100; background:var(--ink); color:#fff; padding:10px 16px; border-radius:10px; font-weight:800;}
.skip-link:focus{top:12px;}

/* BUTTONS */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:0.55em; min-height:48px; font-family:'Nunito Sans', sans-serif; font-weight:800; font-size:1rem; padding:0.85em 1.8em; border-radius:16px; border:none; cursor:pointer; transition:transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease; background-size:160% 160%; text-align:center;}
.btn--primary{background-image:var(--btn-grad); background-position:0% 50%; color:#fff; box-shadow:0 12px 26px -10px rgba(212,56,32,0.55);}
.btn--primary:hover{background-position:100% 50%; transform:translateY(-2px); box-shadow:0 16px 32px -10px rgba(212,56,32,0.6);}
.btn--ghost{border:2px solid var(--line); color:var(--ink); background:var(--card);}
.btn--ghost:hover{border-color:var(--coral); color:var(--coral-deep); transform:translateY(-2px);}
.btn--on-dark{background:#fff; color:var(--coral-deep);}
.btn--on-dark:hover{transform:translateY(-2px); box-shadow:0 14px 28px -10px rgba(0,0,0,0.3);}
.btn--sm{min-height:44px; padding:0.55em 1.3em; font-size:0.92rem;}

.eyebrow{display:inline-flex; align-items:center; gap:0.5em; font-size:0.8rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--coral-ink); font-weight:800; background:var(--coral-soft); padding:6px 14px; border-radius:999px;}

/* NAV */
.nav{position:sticky; top:0; z-index:50; background:rgba(255,248,241,0.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--line);}
.nav__row{display:flex; align-items:center; justify-content:space-between; padding:14px 28px; position:relative;}
@media (max-width:600px){.nav__row{padding:10px 16px;}}
.mark{display:inline-flex; align-items:center; gap:10px; min-height:44px;}
.mark__icon{height:46px; width:auto;}
.mark__word{font-family:'Baloo 2', sans-serif; font-weight:700; font-size:1.4rem; color:var(--ink);}
.nav__links{display:flex; align-items:center; gap:28px; font-size:0.96rem; font-weight:700;}
.nav__links a{color:var(--muted); transition:color 0.2s ease; padding:10px 0;}
.nav__links a:hover{color:var(--coral-deep);}
.nav__toggle{display:none; background:none; border:none; cursor:pointer; width:44px; height:44px; padding:11px;}
.nav__toggle span,.nav__toggle::before,.nav__toggle::after{content:""; display:block; width:22px; height:2px; border-radius:2px; background:var(--ink); margin:5px 0;}
.nav__cta{display:flex; align-items:center; gap:16px;}
@media (max-width:880px){
  .nav__links{position:absolute; top:100%; left:0; right:0; background:var(--card); border-bottom:1px solid var(--line); flex-direction:column; align-items:flex-start; gap:0; padding:6px 28px 18px; display:none;}
  .nav__links.is-open{display:flex;}
  .nav__links a{width:100%;}
  .nav__toggle{display:block; order:3;}
  .nav__cta{order:2; margin-left:auto; margin-right:8px;}
}
@media (max-width:420px){.nav__cta .btn{padding:0.5em 0.9em; font-size:0.85rem;} .mark__word{font-size:1.2rem;} .mark__icon{height:38px;}}

/* SECTIONS */
section{padding:96px 0;}
@media (max-width:600px){section{padding:64px 0;}}
.section__head{max-width:62ch; margin:0 auto 48px; text-align:center;}
.section__head h2{font-size:clamp(1.9rem,3.2vw,2.5rem); margin-top:12px;}
.section__lede{font-size:1.06rem; color:var(--muted); margin-top:16px; max-width:56ch; margin-left:auto; margin-right:auto;}
.band{background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}

/* HERO (shared bits) */
.hero{padding:64px 0 80px;}
.hero__grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;}
@media (max-width:980px){.hero__grid{grid-template-columns:1fr; gap:44px;}}
.hero h1{font-size:clamp(2.2rem,4.6vw,3.4rem); margin:18px 0 0;}
.hero h1 em{font-style:normal; color:var(--coral-deep);}
.hero__sub{color:var(--muted); font-size:1.12rem; max-width:52ch; margin:22px 0 30px; line-height:1.7;}
.hero__ctas{display:flex; align-items:center; gap:16px; flex-wrap:wrap;}
.hero__note{font-size:0.92rem; color:var(--muted); margin-top:18px;}

/* DEMO LINE (call-to-action for the live demo number) */
.demo-line{margin-top:22px; display:flex; flex-direction:column; gap:6px; max-width:52ch;}
.demo-line__soon{display:inline-flex; align-items:center; gap:10px; align-self:flex-start; font-weight:800; font-size:0.95rem; color:var(--ink); background:var(--card); border:1px dashed var(--coral-deep); padding:10px 16px; border-radius:14px;}
.demo-line__soon .dot{width:9px; height:9px; border-radius:50%; background:var(--coral-deep); flex:none;}
.demo-line__small{font-size:0.86rem; color:var(--muted); margin:0;}

/* PHONE MOCKUP */
.phone{position:relative; max-width:360px; margin:0 auto;}
.phone__label{text-align:center; font-size:0.8rem; font-weight:800; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); margin:0 0 10px;}
.phone__body{background:var(--card); border-radius:30px; border:1px solid var(--line); box-shadow:0 30px 60px -20px rgba(58,36,32,0.22), 0 4px 16px -4px rgba(58,36,32,0.1); padding:20px 18px 24px; position:relative;}
.phone__header{display:flex; align-items:center; gap:10px; padding-bottom:14px; border-bottom:1px solid var(--line); margin-bottom:14px;}
.phone__avatar{width:50px; height:50px; border-radius:14px; background:var(--sage-soft); flex:none; display:flex; align-items:center; justify-content:center; overflow:hidden;}
.phone__avatar img{width:42px; height:42px; object-fit:contain;}
.phone__who b{display:block; font-size:0.94rem; font-family:'Baloo 2',sans-serif;}
.phone__who span{display:block; font-size:0.76rem; color:var(--sage); font-weight:700;}
.phone__thread{display:flex; flex-direction:column; justify-content:flex-start; position:relative;}
.phone__thread > *{margin-bottom:10px;}
.phone__thread > *:last-child{margin-bottom:0;}
.bubble{max-width:82%; padding:11px 15px; border-radius:16px; font-size:0.9rem; line-height:1.45;}
.bubble--banner{align-self:center; background:var(--sage-soft); color:#3F5A44; font-size:0.78rem; font-weight:700; padding:7px 14px; border-radius:999px; max-width:none;}
.bubble--in{align-self:flex-start; background:#F4ECE4; color:var(--ink); border-bottom-left-radius:5px;}
.bubble--out{align-self:flex-end; background:var(--out-grad); color:#fff; border-bottom-right-radius:5px; font-weight:600;}
.bubble--ok{background:var(--ok-grad);}

/* SIMPLE STEPS (trade pages) */
.steps3{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:980px; margin:0 auto; padding:0; list-style:none;}
@media (max-width:800px){.steps3{grid-template-columns:1fr;}}
.steps3 li{background:var(--card); border:1px solid var(--line); border-radius:22px; padding:24px;}
.steps3 .num{display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:10px; background:var(--out-grad); color:#fff; font-family:'Baloo 2',sans-serif; font-weight:700; margin-bottom:10px;}
.steps3 h3{font-size:1.15rem;}
.steps3 p{color:var(--muted); margin:6px 0 0; font-size:0.95rem;}

/* PRICING CARDS (trade pages) + shared pricing bits */
.setup-note{display:inline-flex; align-items:center; gap:0.5em; font-size:0.9rem; font-weight:700; color:var(--ink); background:var(--card); border:1px solid var(--line); padding:8px 16px; border-radius:999px; margin-top:20px;}
.plans{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:1000px; margin:0 auto;}
@media (max-width:860px){.plans{grid-template-columns:1fr; max-width:480px;}}
.plan{background:var(--card); border:1px solid var(--line); border-radius:22px; padding:24px 24px 26px; display:flex; flex-direction:column;}
.plan--start{border:2px solid var(--coral-deep);}
.plan__top{display:flex; justify-content:space-between; align-items:baseline; gap:10px; flex-wrap:wrap;}
.plan__name{font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.4rem;}
.plan__price{font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.5rem; color:var(--coral-deep);}
.plan__price small{font-size:0.6em; font-weight:600; color:var(--muted);}
.plan__badge{display:inline-block; align-self:flex-start; font-size:0.7rem; font-weight:800; letter-spacing:0.05em; text-transform:uppercase; padding:4px 10px; border-radius:999px; background:var(--coral-soft); color:var(--coral-ink); margin-bottom:10px;}
.plan p{color:var(--muted); margin:8px 0 0; font-size:0.95rem;}
.ticks{list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:9px;}
.ticks li,.ticks .tick{display:flex; gap:10px; align-items:flex-start; font-size:0.94rem; line-height:1.5;}
.ticks li::before,.ticks .tick::before{content:""; flex:none; width:18px; height:18px; margin-top:2px; border-radius:50%; background:var(--coral-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%23AD2E1E' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;}

.guarantee{max-width:760px; margin:36px auto 0; background:var(--card); border:1px solid var(--line); border-radius:22px; padding:26px 28px;}
.guarantee__tag{display:inline-block; font-size:0.7rem; font-weight:800; letter-spacing:0.06em; text-transform:uppercase; padding:4px 11px; border-radius:999px; margin-bottom:10px; background:var(--sage-soft); color:#3F5A44;}
.guarantee h3{font-size:1.35rem;}
.guarantee p{margin:10px 0 0; color:var(--muted); font-size:0.98rem;}
.guarantee .ticks li{font-weight:700;}
.pricing__note{text-align:center; color:var(--muted); font-size:0.95rem; max-width:56ch; margin:28px auto 0;}

/* CALCULATOR */
.calc{max-width:760px; margin:0 auto; background:var(--card); border:1px solid var(--line); border-radius:22px; padding:28px;}
.calc__inputs{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
@media (max-width:600px){.calc__inputs{grid-template-columns:1fr;} .calc{padding:22px 18px;}}
.calc__out{margin-top:22px; padding-top:20px; border-top:1px solid var(--line); text-align:center;}
.calc__out-label{font-weight:700; color:var(--muted); margin:0;}
.calc__out-value{font-family:'Baloo 2',sans-serif; font-weight:800; font-size:clamp(2rem,6vw,2.8rem); color:var(--coral-deep); line-height:1.2; margin:4px 0;}
.calc__fine{font-size:0.86rem; color:var(--muted); margin:8px auto 0; max-width:60ch;}

/* FORMS */
.field{display:flex; flex-direction:column; gap:6px;}
.field label,.field .label{font-weight:800; font-size:0.92rem;}
.field .opt{font-weight:600; color:var(--muted);}
.input{font:inherit; font-size:1rem; color:var(--ink); background:#fff; border:2px solid #E2CDBB; border-radius:12px; padding:11px 14px; min-height:48px; width:100%;}
.input:focus{outline:none; border-color:var(--coral-deep); box-shadow:0 0 0 3px var(--coral-soft);}
select.input{appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233A2420' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:38px;}
.input[aria-invalid="true"]{border-color:#B3261E;}
.field__err{color:#B3261E; font-size:0.86rem; font-weight:700; min-height:0;}

.start{background:linear-gradient(135deg,#B8301A,#9E2A18); color:#fff;}
.start .section__head h2{color:#fff;}
.start .section__lede{color:#FFE3D4;}
.start .eyebrow{background:rgba(255,255,255,0.16); color:#FFE3D4;}
.lead-form{max-width:720px; margin:0 auto; background:var(--card); color:var(--ink); border-radius:24px; padding:30px; box-shadow:0 30px 60px -30px rgba(0,0,0,0.45);}
@media (max-width:600px){.lead-form{padding:22px 16px;}}
.lead-form__grid{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
@media (max-width:640px){.lead-form__grid{grid-template-columns:1fr;}}
.lead-form__full{grid-column:1 / -1;}
.hp{position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden;}
.consent{display:flex; gap:12px; align-items:flex-start; margin-top:20px; padding:14px; background:var(--paper); border:1px solid var(--line); border-radius:14px;}
.consent input{flex:none; width:24px; height:24px; margin:2px 0 0; accent-color:var(--coral-deep);}
.consent label{font-size:0.86rem; line-height:1.55; color:var(--ink);}
.consent a,.form-legal a,.prose a{color:var(--coral-deep); text-decoration:underline; text-underline-offset:2px; font-weight:700;}
.form-legal{font-size:0.84rem; color:var(--muted); margin:14px 0 0;}
.lead-form__submit{margin-top:20px; width:100%;}
.form-status{margin-top:16px; border-radius:14px; padding:16px 18px; font-weight:700;}
.form-status[hidden]{display:none;}
.form-status--ok{background:var(--sage-soft); color:#2F4A35;}
.form-status--err{background:#FDECEA; color:#8C1D18;}
.form-status .btn{margin-top:12px;}

/* FAQ */
.faq{max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px;}
.faq details{background:var(--card); border:1px solid var(--line); border-radius:18px;}
.faq summary{cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 22px; min-height:56px; font-family:'Baloo 2',sans-serif; font-weight:700; font-size:1.12rem;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+"; flex:none; width:30px; height:30px; border-radius:50%; background:var(--coral-soft); color:var(--coral-ink); display:flex; align-items:center; justify-content:center; font-family:'Nunito Sans',sans-serif; font-weight:800; font-size:1.2rem; transition:transform 0.2s ease;}
.faq details[open] summary::after{transform:rotate(45deg);}
.faq summary:focus-visible{border-radius:18px;}
.faq .faq__a{padding:0 22px 20px; color:var(--muted); margin:0;}

/* EXAMPLE LABEL */
.example-tag{display:inline-block; font-size:0.68rem; font-weight:800; letter-spacing:0.06em; text-transform:uppercase; padding:3px 9px; border-radius:999px; background:#F4ECE4; color:var(--muted); vertical-align:middle;}

/* LEGAL PAGES */
.legal{padding:56px 0 80px;}
.prose{max-width:760px; margin:0 auto;}
.prose h1{font-size:clamp(2rem,4vw,2.7rem);}
.prose .effective{color:var(--muted); font-weight:700; margin:10px 0 28px;}
.prose h2{font-size:1.45rem; margin:38px 0 10px;}
.prose h3{font-size:1.12rem; margin:22px 0 6px;}
.prose p,.prose li{font-size:1rem; line-height:1.7;}
.prose ul{padding-left:1.3em;}
.prose li{margin:4px 0;}
.prose blockquote{margin:14px 0; padding:12px 18px; border-left:4px solid var(--coral-deep); background:var(--card); border-radius:0 12px 12px 0; font-weight:700;}
.prose .toc{background:var(--card); border:1px solid var(--line); border-radius:16px; padding:16px 22px;}

/* FOOTER */
footer{background:var(--ink); color:#D9C7BC; padding:56px 0 34px; position:relative; z-index:2;}
.footer__row{display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:24px;}
footer .mark__word{color:#fff;}
.footer__info{font-size:0.92rem; line-height:1.8; margin:0;}
.footer__info a,.footer__links a{color:#fff; font-weight:700;}
.footer__info a:hover,.footer__links a:hover{color:var(--amber);}
.footer__links{display:flex; flex-wrap:wrap; gap:4px 22px; list-style:none; margin:0; padding:0; font-size:0.92rem;}
.footer__links a{display:inline-block; padding:10px 0;}
.footer__copy{font-size:0.85rem; margin:22px 0 0; color:#D9C7BC;}
