/* ==========================================================================
   Inspirations Software Design LLC — Design System
   Modern, clean, responsive. Single stylesheet.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  /* Brand palette */
  --brand:        #2563eb;   /* primary blue */
  --brand-dark:   #1d4ed8;
  --brand-darker: #1e3a8a;
  --accent:       #0ea5e9;   /* sky accent */
  --accent-teal:  #0d9488;

  /* Neutrals */
  --ink:      #0f172a;       /* headings */
  --body:     #475569;       /* body text */
  --muted:    #64748b;       /* secondary text */
  --bg:       #ffffff;
  --bg-soft:  #f8fafc;
  --bg-alt:   #f1f5f9;
  --border:   #e2e8f0;
  --border-strong: #cbd5e1;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow:    0 4px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
  --radius:    14px;
  --radius-sm: 8px;

  /* Layout */
  --maxw: 1140px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--soft { background: var(--bg-soft); }
.section--alt  { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section__head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .75rem;
}
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--body); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); background: #fff; }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: #f1f5ff; color: var(--brand-dark); transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.nav__brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.nav__brand img { height: 40px; width: auto; }
.nav__brand span { font-size: 1.05rem; line-height: 1.1; }
.nav__brand small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.nav__menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  display: block; padding: .5rem .85rem; border-radius: var(--radius-sm);
  color: var(--body); font-weight: 500; font-size: .97rem;
}
.nav__menu a:hover { color: var(--brand); background: var(--bg-soft); }
.nav__menu a.is-active { color: var(--brand); background: #eff4ff; }
.nav__cta { margin-left: .5rem; }
/* Override the .nav__menu a color rules so the CTA button keeps button text colors */
.nav__cta .btn--primary { color: #fff; border: 1px solid var(--bg-soft); }
.nav__cta .btn--primary:hover { color: var(--body); border: 1px solid var(--brand); }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
  color: var(--ink);
}
.nav__toggle svg { display: block; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 1rem var(--gutter) 1.5rem; box-shadow: var(--shadow-lg);
    transform: translateY(-140%); transition: transform .25s ease; visibility: hidden;
  }
  .nav__menu.is-open { transform: translateY(0); visibility: visible; }
  .nav__menu a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav__cta { margin: .5rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f8fbff 0%, #eef4ff 45%, #e7f0ff 100%);
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: ""; position: absolute; top: -30%; right: -10%; width: 55%; height: 160%;
  background: radial-gradient(circle at center, rgba(37,99,235,.10), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero h1 { margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; max-width: 44ch; }
.hero__media img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin-top: 2rem; }
.hero__badges img { height: 46px; width: auto; opacity: .9; }
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
}

/* ---- Cards ---- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card__media { margin: -1.6rem -1.6rem 1.2rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 190px; object-fit: contain; padding: 1rem; }
.card__link { margin-top: auto; font-weight: 600; }
.card__link::after { content: " →"; }

/* Feature icon cards */
.feature { text-align: left; }
.feature__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: #eff4ff; color: var(--brand); margin-bottom: 1rem;
}
.feature__icon svg { width: 24px; height: 24px; }

/* ---- Media rows (alternating) ---- */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.media-row--top { align-items: start; }
.media-row + .media-row { margin-top: clamp(2.5rem, 5vw, 4rem); }
.media-row--rev .media-row__text { order: 2; }
.media-row img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
@media (max-width: 760px) {
  .media-row { grid-template-columns: 1fr; }
  .media-row--rev .media-row__text { order: 0; }
}

/* ---- Lists ---- */
.ticks { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--body); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232563eb'%3E%3Cpath d='M16.7 5.3a1 1 0 0 1 0 1.4l-7 7a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L9 11.6l6.3-6.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
}

/* ---- Pricing ---- */
.pricing { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.price-card--featured { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.price-card--featured::before {
  content: "Best value"; position: absolute; top: -.75rem; right: 1.5rem;
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px;
}
.price-card h3 { margin-bottom: .25rem; }
.price-card .price { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price-card .price s { font-size: 1.3rem; color: var(--muted); font-weight: 500; margin-right: .4rem; }
.price-card .price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price-card .ticks { flex: 1; }
.price-card .btn { width: 100%; justify-content: center; margin-top: 1rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; }
table.compare th, table.compare td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th { background: var(--bg-soft); color: var(--ink); font-size: .95rem; }
table.compare tbody th { font-weight: 500; color: var(--body); }
table.compare td { text-align: center; }
table.compare td:first-child, table.compare th:first-child { text-align: left; }
table.compare .yes { color: var(--accent-teal); font-weight: 700; }
table.compare .no  { color: var(--border-strong); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }

/* ---- Quote / testimonial ---- */
.quote {
  border-left: 4px solid var(--brand); background: var(--bg-soft);
  padding: 1.5rem 1.75rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.quote p { font-size: 1.15rem; font-style: italic; color: var(--ink); margin-bottom: .5rem; }
.quote cite { font-style: normal; color: var(--muted); font-size: .95rem; }

/* ---- Video embed ---- */
.video { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); margin: 1.25rem 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.contact-grid--2col { grid-template-columns: repeat(2, 1fr); }
.contact-card--wide { grid-column: 1 / -1; }
@media (max-width: 480px) { .contact-grid--2col { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.contact-card a { font-weight: 600; }
address { font-style: normal; color: var(--body); }

/* Form status banner */
.form-status { padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 500; margin-bottom: 1.25rem; border: 1.5px solid; }
.form-status--ok  { background: #ecfdf5; color: #065f46; border-color: #6ee7b7; }
.form-status--err { background: #fef2f2; color: #991b1b; border-color: #fca5a5; }

/* Simple form */
.form { display: grid; gap: 1.1rem; max-width: 640px; }
.form .g-recaptcha { margin-top: .25rem; }
.form label { font-weight: 600; color: var(--ink); font-size: .95rem; display: block; margin-bottom: .35rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); padding: .75rem .9rem;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form .field--half { }
@media (min-width: 560px) { .form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; } }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--brand-darker), var(--brand)); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe6ff; max-width: 52ch; margin: 0 auto 1.5rem; font-size: 1.1rem; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cbd5e1; padding-block: 3.5rem 2rem; margin-top: 0; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
/* logo.gif has a solid background, so sit it on a white chip rather than
   recoloring it with a filter (which would render as a blank white box) */
.footer__brand img { height: 42px; margin-bottom: 1rem; background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer__brand p { color: #94a3b8; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .88rem; color: #94a3b8;
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---- Page header (interior pages) ---- */
.page-hero { background: linear-gradient(160deg, #f8fbff, #eef4ff); border-bottom: 1px solid var(--border); }
.page-hero__inner { padding-block: clamp(2.5rem, 6vw, 4rem); max-width: 760px; }
.page-hero h1 { margin-bottom: .75rem; }
.page-hero p { font-size: 1.15rem; color: var(--body); margin: 0; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ---- Prose (long-form content) ---- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 1.25rem 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }

/* ---- Utilities ---- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }
.small { font-size: .9rem; }
.divider { height: 1px; background: var(--border); border: 0; margin: 2.5rem 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.badge-row img { height: 54px; width: auto; }