:root{
  --bg: #FFFFFF;
  --bg-soft: #F6F7FB;
  --panel: #FFFFFF;
  --panel-soft: #F6F7FB;

  --text: #0B1220;
  --muted: #5A6475;

  --line: #E3E6ED;

  /* From your logo */
  --brand: #B91F3C;     /* vibrant red */
  --brand-2: #27236B;   /* deep navy */
  --accent: #5472B7;    /* bright blue */
  --teal: #254859;      /* deep teal */

  --ok: #17B26A;

  --shadow: 0 16px 34px rgba(11,18,32,.12);
  --shadow-soft: 0 10px 22px rgba(11,18,32,.08);

  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button, input, textarea, select{font:inherit}
.main{min-height:60vh}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section{padding: 72px 0}
.section.alt{
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head{
  margin-bottom: 18px;
  display:flex;
  gap: 10px;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
}
.section-head h2{margin:0; font-size: 28px; letter-spacing:-.02em; color: var(--brand-2)}
.section-head p{margin:0}

h1,h2,h3,h4{line-height:1.1; letter-spacing:-.03em}
h1{font-size: 42px; margin: 8px 0 10px; color: var(--brand-2)}
h2{font-size: 30px; margin: 0 0 12px; color: var(--brand-2)}
h3{font-size: 18px; margin: 0 0 8px; color: var(--brand-2)}

p{margin: 0 0 12px}
.muted{color: var(--muted)}
.tiny{font-size: 12px}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #FFF4F6;
  border: 1px solid rgba(185,31,60,.22);
  color: var(--brand-2);
  font-weight: 800;
  font-size: 12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(39,35,107,.14);
  background: var(--panel);
  color: var(--brand-2);
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(185,31,60,.22);
}
.btn:active{transform: translateY(0px)}

.btn-primary{
  background: var(--brand);
  border-color: rgba(185,31,60,.30);
  color: #FFFFFF;
}
.btn-primary:hover{background: #A61A35}

.btn-ghost{
  background: var(--panel);
  border-color: rgba(39,35,107,.18);
  color: var(--brand-2);
}

.btn-block{width:100%}
.btn-sm{padding: 10px 12px; font-size: 13px}

.tag{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #EEF2FF;
  border: 1px solid rgba(84,114,183,.22);
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-2);
}

.card{
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
}

.grid{
  display:grid;
  gap: 16px;
}

.field{display:flex; flex-direction:column; gap:8px}
.field label{font-weight:800; font-size: 13px; color: var(--brand-2)}
.field input, .field textarea, .field select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--text);
  outline:none;
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: rgba(84,114,183,.55);
  box-shadow: 0 0 0 4px rgba(84,114,183,.14);
}
.field-error{
  margin-top: 6px;
  font-size: 12px;
  color: #C0263A;
}

.field-row{display:flex; gap: 10px}
.field-row.two > *{flex:1}
.field-row.three > *{flex:1}

.toggle{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  user-select:none;
}
.toggle input[type="checkbox"]{
  position:absolute;
  opacity:0;
  width:1px;height:1px;
}
.toggle-ui{
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #EEF2FF;
  border: 1px solid rgba(84,114,183,.25);
  position:relative;
}
.toggle-ui:after{
  content:"";
  position:absolute;
  left: 4px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--brand-2);
  transition: transform .15s ease;
}
.toggle input[type="checkbox"]:checked + .toggle-ui:after{
  transform: translateX(18px);
}
.toggle input[type="checkbox"]:checked + .toggle-ui{
  background: #EAFBF2;
  border-color: rgba(23,178,106,.28);
}
.toggle input[type="checkbox"]:checked + .toggle-ui:after{
  background: var(--ok);
}

.page-hero{
  padding: 72px 0 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.page-hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top: 14px}

.content-card{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  margin-bottom: 25px;
}

.ticks{margin: 10px 0 0; padding-left: 18px}
.ticks li{margin: 6px 0}

.steps-list{margin: 10px 0 0; padding-left: 18px}
.steps-list li{margin: 8px 0}

@media (max-width: 720px){
  .section{padding: 54px 0}
  h1{font-size: 34px}
  .field-row{flex-direction:column}
}
