:root {
  --bg: #fff3df;
  --paper: #fff9ee;
  --ink: #0c2730;
  --muted: #6d675f;
  --line: #ead7b8;
  --accent: #f47a12;
  --accent-dark: #0b2831;
  --rust: #de5f00;
  --gold: #ffad32;
  --cream: #ffefd5;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(86, 55, 18, 0.14);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.86), rgba(255, 243, 223, 0.96)),
    var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(222, 216, 204, 0.86);
  background: rgba(255, 245, 229, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 174px;
}

.brand img {
  width: 154px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.header-contact:hover,
.footer a:hover {
  color: var(--accent);
}

.header-contact {
  color: var(--accent);
  font-weight: 700;
}

.home-hero,
.industry-hero {
  min-height: calc(100vh - 64px);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 249, 238, 0.98), rgba(255, 242, 218, 0.84), rgba(255, 190, 92, 0.42)),
    url("/assets/images/mashtab-style.png");
  background-position: center;
  background-size: cover;
}

.home-copy,
.industry-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--accent-dark);
}

.button.primary svg {
  color: var(--gold);
}

.button.secondary {
  color: var(--accent-dark);
  border-color: rgba(244, 122, 18, 0.34);
  background: rgba(255, 249, 238, 0.78);
}

.button:hover {
  transform: translateY(-1px);
}

.launch-panel {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 249, 238, 0.9);
  box-shadow: var(--shadow);
}

.brand-panel img {
  width: min(100%, 260px);
  margin: 0 auto 12px;
}

.launch-panel span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.launch-panel strong {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.industry-grid,
.solution-grid,
.case-grid,
.architecture-grid,
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.industry-card,
.solution-grid article,
.case-grid article,
.architecture-grid div,
.reviews figure,
.lead-form,
.calculator {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.industry-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 26px;
}

.industry-card span,
.case-grid span {
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
}

.industry-card p,
.solution-grid p,
.case-grid p,
.architecture-grid p,
.lead-form-section p,
.calculator-section p {
  color: var(--muted);
  line-height: 1.6;
}

.industry-card b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--accent-dark);
}

.industry-card.muted {
  background: #fff0d4;
}

.architecture {
  background: #fff1d8;
}

.architecture-grid div,
.solution-grid article,
.case-grid article {
  padding: 24px;
}

code {
  color: var(--accent-dark);
  font-weight: 700;
}

.industry-hero {
  position: relative;
  display: flex;
  align-items: end;
  padding: clamp(54px, 10vw, 118px) clamp(18px, 5vw, 72px);
  color: white;
  background-image:
    linear-gradient(90deg, rgba(11, 40, 49, 0.9), rgba(11, 40, 49, 0.58), rgba(222, 95, 0, 0.08)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.industry-copy .eyebrow {
  color: #ffb24a;
}

.industry-copy .lead {
  color: rgba(255, 255, 255, 0.84);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.metric-strip div {
  padding: 26px clamp(18px, 5vw, 72px);
  border-right: 1px solid var(--line);
}

.metric-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.metric-strip span {
  color: var(--muted);
}

.two-column,
.calculator-section,
.lead-form-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.pain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pain-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
}

.pain-list svg {
  color: var(--accent);
}

.solution-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 7px;
  color: white;
  background: var(--accent-dark);
}

.solution-grid article > span svg {
  color: var(--gold);
}

.calculator-section {
  background:
    linear-gradient(135deg, rgba(255, 248, 237, 0.98), rgba(255, 224, 172, 0.72));
}

.calculator {
  display: grid;
  gap: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.calculator label,
.lead-form label {
  display: grid;
  gap: 9px;
}

.calculator label span,
.lead-form span {
  color: var(--muted);
  font-weight: 700;
}

.calculator output {
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.calculator-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.calculator-result span {
  color: var(--muted);
}

.calculator-result strong {
  color: var(--accent);
  font-size: clamp(28px, 4vw, 42px);
  white-space: nowrap;
}

.case-grid article {
  min-height: 230px;
}

.reviews {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--accent-dark);
}

.reviews figure {
  margin: 0;
  padding: 30px;
  border-color: rgba(255, 255, 255, 0.14);
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

blockquote {
  margin: 0 0 24px;
  font-size: 22px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

figcaption {
  display: grid;
  gap: 3px;
  color: var(--gold);
  font-weight: 800;
}

figcaption span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.offer {
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.footer div {
  display: grid;
  gap: 8px;
  max-width: 560px;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px 18px;
  }

  .brand img {
    width: 132px;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-contact {
    justify-self: end;
    white-space: nowrap;
  }

  .home-hero,
  .two-column,
  .calculator-section,
  .lead-form-section {
    grid-template-columns: 1fr;
  }

  .industry-grid,
  .solution-grid,
  .case-grid,
  .architecture-grid,
  .reviews,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .industry-hero {
    min-height: 760px;
    background-image:
      linear-gradient(180deg, rgba(13, 25, 21, 0.36), rgba(13, 25, 21, 0.9)),
      var(--hero-image);
  }

  .metric-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 40px;
  }

  .button {
    width: 100%;
  }

  .calculator-result {
    align-items: flex-start;
    flex-direction: column;
  }
}

.hero-note {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.6;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.problem-grid article,
.scenario-grid article,
.reason-grid article,
.steps article,
.founder-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.problem-grid article,
.scenario-grid article,
.reason-grid article,
.steps article,
.founder-card {
  padding: 24px;
}

.problem-grid p,
.scenario-grid p,
.reason-grid p,
.steps p,
.about-section p,
.faq-list p,
.final-cta p {
  color: var(--muted);
  line-height: 1.6;
}

.scenario-grid article {
  display: flex;
  min-height: 520px;
  flex-direction: column;
}

.scenario-grid .actions {
  margin-top: auto;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.45;
}

.check-list svg {
  margin-top: 2px;
  color: var(--accent);
}

.note,
.price-anchor {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.48);
}

.promise-section,
.about-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.promise-section {
  color: white;
  background: var(--accent-dark);
}

.promise-section .eyebrow {
  color: var(--gold);
}

.promise-section p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.6;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.addon-fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.addon-fieldset legend {
  padding: 0 8px;
  color: var(--muted);
  font-weight: 800;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  align-items: flex-start;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.steps article span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-weight: 900;
}

.trust-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reviews {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.founder-photo {
  display: grid;
  min-height: 240px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(255, 173, 50, 0.2), rgba(255, 249, 238, 0.9)),
    var(--paper);
  font-weight: 800;
}

.faq-section {
  background: #fff1d8;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list summary {
  padding: 18px 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.final-cta {
  color: white;
  background:
    linear-gradient(90deg, rgba(11, 40, 49, 0.96), rgba(11, 40, 49, 0.82)),
    url("/assets/images/mashtab-style.png");
  background-position: center;
  background-size: cover;
}

.final-cta .eyebrow {
  color: var(--gold);
}

.final-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.consent span {
  font-size: 14px;
  line-height: 1.45;
}

.sticky-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  gap: 8px;
}

.sticky-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 173, 50, 0.38);
  border-radius: var(--radius);
  color: white;
  background: var(--accent-dark);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.sticky-actions svg {
  color: var(--gold);
}

.visitor-toast {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 21;
  max-width: 360px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-weight: 750;
}

.text-page {
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .problem-grid,
  .reason-grid,
  .scenario-grid,
  .steps,
  .reviews,
  .promise-section,
  .about-section,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .scenario-grid article {
    min-height: auto;
  }

  .sticky-actions {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: calc(100vw - 20px);
  }

  .sticky-actions a {
    min-width: 0;
    min-height: 44px;
    padding: 8px 6px;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .sticky-actions svg {
    width: 15px;
    height: 15px;
  }

  .visitor-toast {
    right: 10px;
    bottom: 70px;
    left: 10px;
    max-width: none;
  }
}
