@charset "UTF-8";
:root {
  --olive: #525a4e;
  --olive-dark: #3d433a;
  --yellow: #ece312;
  --cream: #fbfaf5;
  --ink: #23271f;
  --muted: #5d6358;
  --line: #e2e2d9;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3 { font-family: "Montserrat", sans-serif; line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.center { text-align: center; }
.sub { max-width: 720px; margin: 0 auto 2.5rem; color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--olive-dark);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: .85em 1.6em;
  border-radius: 6px;
  border: 2px solid var(--yellow);
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-small { padding: .45em 1em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--olive);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand img { height: 46px; display: block; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--yellow); }
.nav-links .btn { color: var(--olive-dark); }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); font-size: 1.8rem; cursor: pointer; }

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(61,67,58,.96), rgba(82,90,78,.9)),
    repeating-linear-gradient(45deg, #4a5146 0 2px, transparent 2px 24px);
  color: var(--cream);
  padding: 6rem 0 5rem;
}
.eyebrow { color: var(--yellow); font-weight: 600; letter-spacing: .04em; font-size: .9rem; text-transform: uppercase; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 820px; }
.lead { font-size: 1.15rem; max-width: 700px; opacity: .92; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Stats */
.stats { background: var(--yellow); padding: 2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stats strong { display: block; font-family: "Montserrat", sans-serif; font-size: 2.2rem; color: var(--olive-dark); }
.stats span { font-size: .92rem; color: var(--olive-dark); }

/* Sections */
.section { padding: 5rem 0; }
.section.alt { background: #f0efe6; }
.section.dark { background: var(--olive); color: var(--cream); }
.section.dark .sub, .section.dark .small, .section.dark .note { color: #dcdcd0; }

.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.card.highlight { border-top: 5px solid var(--yellow); }
.card ul { padding-left: 1.1rem; margin: 0; }
.card li { margin-bottom: .45rem; }

/* Disasters */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 2rem; }
.tags span {
  border: 2px solid var(--yellow);
  color: var(--cream);
  padding: .5em 1.1em;
  border-radius: 999px;
  font-weight: 600;
}
.note { max-width: 760px; margin: 0 auto; }

/* Process */
.steps {
  list-style: none; padding: 0; margin: 0 0 3rem;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem;
}
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.25rem; }
.steps span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--olive); color: var(--yellow);
  font-family: "Montserrat", sans-serif; font-weight: 700; margin-bottom: .75rem;
}
.steps p { font-size: .93rem; color: var(--muted); margin: 0; }
.lists { grid-template-columns: 1fr 1fr; }
.check { list-style: none; padding: 0 !important; }
.check li::before { content: "\2022"; color: var(--olive); font-weight: 700; font-size: 1.2em; line-height: 1; margin-right: .6rem; }

/* Values */
.values { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.value { border-left: 4px solid var(--yellow); padding: .5rem 0 .5rem 1rem; }
.value p { color: var(--muted); font-size: .95rem; }

/* Team */
.role { color: var(--olive); font-weight: 700; margin-top: -.4rem; }

/* Contact */
.contact { text-align: center; max-width: 720px; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1.25rem 0; }
.contact .btn { font-size: 1.05rem; }
.footer-contact a { color: var(--yellow); text-decoration: none; font-weight: 600; }

/* Footer */
.site-footer { background: var(--olive-dark); color: #cfd0c5; padding: 2rem 0; font-size: .88rem; text-align: center; }
.disclaimer { opacity: .8; max-width: 720px; margin: 0 auto; }

/* Responsive */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .two-col, .lists { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; background: var(--olive); padding: 1rem 0 1.5rem; gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3.5rem; }
}

/* ContentsEase */
.software { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.software .eyebrow { color: var(--olive); }
.software h2 { max-width: 760px; }
.sub-left { max-width: 720px; color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }
.ce-compare {
  display: inline-flex; align-items: center; gap: 1.5rem;
  background: var(--olive); color: var(--cream);
  border-radius: var(--radius); padding: 1.25rem 2rem; margin-bottom: 2.5rem;
}
.ce-compare strong { display: block; font-family: "Montserrat", sans-serif; font-size: 2rem; }
.ce-compare span { font-size: .9rem; opacity: .9; }
.ce-compare .ce-after strong { color: var(--yellow); }
.ce-compare .arrow { font-size: 1.8rem; color: var(--yellow); }
.ce-heading { margin-bottom: 1rem; }
.ce-flow {
  list-style: none; padding: 0; margin: 0 0 2.5rem; counter-reset: ce;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
.ce-flow li {
  counter-increment: ce;
  background: var(--cream); border: 1px solid var(--line); border-top: 4px solid var(--yellow);
  border-radius: var(--radius); padding: 1.1rem;
}
.ce-flow li::before { content: counter(ce); font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--olive); }
.ce-flow h4 { font-family: "Montserrat", sans-serif; margin: .25rem 0; }
.ce-flow p { margin: 0; font-size: .9rem; color: var(--muted); }
.ce-bottom { align-items: center; }
.ce-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1rem; }
.text-link { color: var(--olive); font-weight: 600; }
@media (max-width: 960px) { .ce-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .ce-flow { grid-template-columns: 1fr; }
  .ce-compare { display: flex; padding: 1rem 1.25rem; gap: 1rem; }
}

/* ContentsEase branded link */
.ce-link {
  --ce-teal: #17B795;
  --ce-blue: #2D7DBC;
  --ce-slate: #394148;
  position: relative;
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .6rem 1rem .6rem .8rem;
  background: var(--ce-slate);
  color: #fff; text-decoration: none;
  font-family: "Inter", system-ui, sans-serif;
  border-radius: 8px;
  isolation: isolate;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 14px rgba(45, 125, 188, .25);
}
/* animated blue-to-teal gradient border */
.ce-link::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, var(--ce-blue), var(--ce-teal), var(--ce-blue));
  background-size: 200% 100%;
  animation: ce-border 3s linear infinite;
}
.ce-link::after {
  content: ""; position: absolute; inset: 2px; z-index: -1;
  background: var(--ce-slate); border-radius: 6px;
}
/* light sweep across the button */
.ce-link .ce-link-text::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg);
  animation: ce-sweep 3.5s ease-in-out infinite;
  pointer-events: none;
}
.ce-mark { width: 30px; height: 21px; flex-shrink: 0; }
.ce-mark rect { transform-box: fill-box; transform-origin: left center; animation: ce-bars 2.4s ease-in-out infinite; }
.ce-mark rect:nth-of-type(2) { animation-delay: .15s; }
.ce-mark rect:nth-of-type(3) { animation-delay: .3s; }
.ce-link-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: .98rem; }
.ce-link-text small { font-weight: 500; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ce-teal); }
.ce-link-arrow { color: var(--ce-teal); font-size: 1.15rem; transition: transform .2s ease; }
.ce-link:hover, .ce-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(23, 183, 149, .35);
}
.ce-link:hover .ce-link-arrow, .ce-link:focus-visible .ce-link-arrow { transform: translateX(4px); }
.ce-link:focus-visible { outline: 3px solid var(--ce-teal); outline-offset: 3px; }

@keyframes ce-border { to { background-position: -200% 0; } }
@keyframes ce-sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes ce-bars { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.7); } }

@media (prefers-reduced-motion: reduce) {
  .ce-link::before, .ce-link .ce-link-text::after, .ce-mark rect { animation: none; }
}

/* Animated service icons */
.svc-icon {
  width: 60px; height: 60px; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: var(--olive); color: var(--cream);
  border-radius: 14px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.15);
  transition: transform .25s ease;
}
.svc-icon svg { width: 40px; height: 40px; overflow: visible; }
.card:hover .svc-icon { transform: translateY(-3px) rotate(-3deg); }
.svc-icon .accent-fill { fill: var(--yellow); stroke: var(--yellow); }

/* 1. Inventory: checklist ticks draw in one by one */
.svc-inventory .tick { stroke: var(--yellow); stroke-dasharray: 10; stroke-dashoffset: 10; animation: svc-draw 4s ease infinite; }
.svc-inventory .line { stroke-dasharray: 8; stroke-dashoffset: 8; animation: svc-draw 4s ease infinite; }
.svc-inventory .t2, .svc-inventory .l2 { animation-delay: .4s; }
.svc-inventory .t3, .svc-inventory .l3 { animation-delay: .8s; }

/* 2. Specialty: gem shimmer + twinkling sparkles */
.svc-specialty .gem { fill: rgba(236,227,18,.15); animation: svc-shimmer 3s ease-in-out infinite; }
.svc-specialty .spark { stroke: var(--yellow); transform-box: fill-box; transform-origin: center; animation: svc-twinkle 2s ease-in-out infinite; }
.svc-specialty .s2 { animation-delay: 1s; }

/* 3. Business: office windows light up */
.svc-business .win { fill: var(--cream); stroke: none; opacity: .25; animation: svc-light 3.2s steps(1) infinite; }
.svc-business .w2 { animation-delay: .4s; } .svc-business .w3 { animation-delay: .8s; }
.svc-business .w4 { animation-delay: 1.2s; } .svc-business .w5 { animation-delay: 1.6s; }
.svc-business .w6 { animation-delay: 2s; } .svc-business .w7 { animation-delay: .6s; }
.svc-business .w8 { animation-delay: 1.4s; }

/* 4. Insurance: shield pulse + check draws */
.svc-shield .shield-body { transform-box: fill-box; transform-origin: center; animation: svc-pulse 3s ease-in-out infinite; }
.svc-shield .check { stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 22; stroke-dashoffset: 22; animation: svc-draw 3s ease infinite; }

/* 5. Litigation: scales gently balance */
.svc-scales .beam { transform-origin: 24px 12px; animation: svc-tilt 4s ease-in-out infinite; }
.svc-scales .pan-l { transform-origin: 10px 12px; animation: svc-tilt-r 4s ease-in-out infinite; }
.svc-scales .pan-r { transform-origin: 38px 12px; animation: svc-tilt-r 4s ease-in-out infinite; }
.svc-scales .pan-l path, .svc-scales .pan-r path { stroke: var(--yellow); }

/* 6. Technology: dashboard bars grow */
.svc-tech .bar { stroke: var(--yellow); stroke-width: 3.5; transform-box: fill-box; transform-origin: bottom; animation: svc-grow 2.4s ease-in-out infinite; }
.svc-tech .b2 { animation-delay: .2s; } .svc-tech .b3 { animation-delay: .4s; } .svc-tech .b4 { animation-delay: .6s; }

/* 7. Strategy: growth line draws upward */
.svc-strategy .trend { stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 46; stroke-dashoffset: 46; animation: svc-draw 3.5s ease infinite; }
.svc-strategy .trend-head { stroke: var(--yellow); stroke-width: 3; opacity: 0; animation: svc-appear 3.5s ease infinite; }

@keyframes svc-draw { 0% { stroke-dashoffset: var(--len, 50); } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes svc-appear { 0%, 35% { opacity: 0; } 45%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes svc-shimmer { 0%, 100% { fill: rgba(236,227,18,.1); } 50% { fill: rgba(236,227,18,.45); } }
@keyframes svc-twinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
@keyframes svc-light { 0% { opacity: .25; } 50% { opacity: 1; fill: var(--yellow); } }
@keyframes svc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes svc-tilt { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes svc-tilt-r { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-6deg); } }
@keyframes svc-grow { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1.15); } }

@media (prefers-reduced-motion: reduce) {
  .svc-icon *, .svc-icon { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; }
}
.svc-inventory .tick { --len: 10; } .svc-inventory .line { --len: 8; }
.svc-shield .check { --len: 22; } .svc-strategy .trend { --len: 46; }

/* ContentsEase section in ContentsEase brand colors */
.software {
  --ce-teal: #17B795;
  --ce-blue: #2D7DBC;
  --ce-slate: #394148;
  --ce-slate-dark: #2E353B;
  --ce-slate-light: #434C55;
  background: var(--ce-slate);
  color: #fff;
  border: 0;
  font-family: "Inter", system-ui, sans-serif;
}
.software .eyebrow { color: var(--ce-teal); }
.software .sub-left { color: #c9d1d8; }
.software .ce-compare { background: var(--ce-slate-dark); border: 1px solid rgba(255,255,255,.08); }
.software .ce-compare .ce-after strong, .software .ce-compare .arrow { color: var(--ce-teal); }
.software .ce-flow li { background: var(--ce-slate-light); border-color: rgba(255,255,255,.08); border-top: 4px solid var(--ce-teal); }
.software .ce-flow li:nth-child(even) { border-top-color: var(--ce-blue); }
.software .ce-flow li::before { color: var(--ce-teal); }
.software .ce-flow p { color: #c9d1d8; }
.software .check li::before { color: var(--ce-teal); }
.software .card {
  background: var(--ce-slate-dark); color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-top: 5px solid var(--ce-teal);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.software .card p { color: #c9d1d8; }
.software .btn { background: var(--ce-teal); border-color: var(--ce-teal); color: #fff; border-radius: 8px; }
.software .ce-link { box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.software .ce-link::after { background: var(--ce-slate-light); }
.software .ce-link { background: var(--ce-slate-light); }
