:root {
  --bg: #f6f3ee;
  --panel: #ffffff;
  --text: #1f2933;
  --muted: #667085;
  --line: #e6e0d7;
  --accent: #8b5e34;
  --accent-dark: #5f3f23;
  --accent-soft: #efe2d2;
  --blue: #132238;
  --shadow: 0 24px 70px rgba(31, 41, 51, .12);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 238, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 224, 215, .75);
}

.header-grid {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a:hover,
.login-link:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.login-link {
  color: var(--muted);
  font-size: 15px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(139, 94, 52, .24);
}

.button:hover {
  background: var(--accent-dark);
}

.button-secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.hero {
  padding-top: 82px;
  background:
    radial-gradient(circle at 80% 20%, rgba(139, 94, 52, .18), transparent 34%),
    linear-gradient(180deg, #faf7f1 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: .96;
  letter-spacing: -.055em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  background: var(--blue);
  color: #fff;
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.card-topline,
.metric-grid,
.chart-mock,
.note {
  position: relative;
  z-index: 1;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .78);
}

.card-topline strong {
  color: #b8f7c6;
  font-size: 24px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.metric-grid div {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 16px;
}

.metric-grid span {
  display: block;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  margin-bottom: 8px;
}

.metric-grid strong {
  font-size: 22px;
}

.chart-mock {
  height: 180px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, .07);
  border-radius: 22px;
  margin-bottom: 16px;
}

.chart-mock span {
  flex: 1;
  display: block;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #f0d6b7, #8b5e34);
}

.note {
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
  margin-bottom: 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 40px;
  align-items: end;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.cards,
.price-grid,
.screens-grid {
  display: grid;
  gap: 18px;
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.product-card,
.price-card,
.screen-card,
.option-panel,
.security-card,
.lead-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 38px rgba(31, 41, 51, .06);
}

.card p,
.product-card p,
.price-card p,
.screen-card p,
.security-card li,
.steps span,
.form-note {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.product-card.featured {
  grid-row: span 2;
  background: linear-gradient(145deg, #fff, #f4eadf);
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.product-card ul {
  padding-left: 20px;
  margin-bottom: 0;
  color: var(--muted);
}

.pricing {
  background: #eee7dc;
}

.price-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 20px;
}

.price-card.highlighted {
  border-color: rgba(139, 94, 52, .55);
  transform: translateY(-8px);
}

.price {
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -.04em;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.option-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.option-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.option-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.option-list span {
  color: var(--muted);
}

.screens-grid {
  grid-template-columns: repeat(3, 1fr);
}

.screen-mock {
  height: 210px;
  border-radius: 18px;
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.7) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(180deg, rgba(31,41,51,.10) 0 10px, transparent 10px 26px),
    linear-gradient(135deg, #f3e3d1, #fff);
  border: 1px solid var(--line);
}

.screen-mock.stocks {
  background:
    repeating-linear-gradient(90deg, rgba(31,41,51,.08) 0 12px, transparent 12px 32px),
    linear-gradient(135deg, #fff, #e8eef7);
}

.screen-mock.reconcile {
  background:
    linear-gradient(90deg, rgba(139,94,52,.18), transparent),
    repeating-linear-gradient(180deg, rgba(31,41,51,.09) 0 8px, transparent 8px 24px),
    #fff;
}

.process {
  background: var(--blue);
  color: #fff;
}

.process .eyebrow,
.process .section-heading h2 {
  color: #fff;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  padding: 20px;
}

.steps li::before {
  content: counter(steps);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 850;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  color: rgba(255, 255, 255, .7);
  margin-top: 4px;
}

.security-grid,
.proposal-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.security-card ul {
  margin: 0;
  padding-left: 20px;
}

.security-card li + li {
  margin-top: 12px;
}

.proposal {
  background: linear-gradient(180deg, var(--bg), #efe7db);
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-note {
  margin-bottom: 0;
  font-size: 13px;
}

.site-footer {
  padding: 38px 0;
  background: #171b22;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 42px;
  align-items: start;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .68);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 980px) {
  .header-grid,
  .hero-grid,
  .section-heading.split,
  .security-grid,
  .proposal-grid,
  .option-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    order: 3;
    justify-content: start;
    overflow-x: auto;
  }

  .cards.four,
  .price-grid,
  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-card.featured {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 58px 0;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .cards.four,
  .price-grid,
  .screens-grid,
  .product-grid,
  .option-list,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }
}

/* BEGIN proposal calculator */
.proposal-builder {
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 24px;
  align-items: start;
}

.proposal-form,
.proposal-preview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 38px rgba(31, 41, 51, .06);
}

.proposal-form {
  display: grid;
  gap: 22px;
}

.form-block {
  display: grid;
  gap: 15px;
}

.form-block h3 {
  margin-bottom: 2px;
}

.proposal-form label {
  display: grid;
  gap: 8px;
  font-weight: 750;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.check-row {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px !important;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.check-row small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

.check-row.is-disabled {
  opacity: .55;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proposal-preview {
  position: sticky;
  top: 96px;
}

.proposal-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.proposal-total {
  white-space: nowrap;
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -.04em;
  color: var(--accent-dark);
}

.summary-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.summary-line span {
  color: var(--muted);
}

.summary-line strong {
  text-align: right;
}

.proposal-text {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  color: var(--text);
  white-space: pre-wrap;
  font-size: 15px;
}

.proposal-warning {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .proposal-builder {
    grid-template-columns: 1fr;
  }

  .proposal-preview {
    position: static;
  }
}
/* END proposal calculator */

/* BEGIN local order flow */
.order-section {
  background: #f8f4ed;
}

.order-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 24px;
  align-items: start;
}

.order-panel,
.order-preview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 38px rgba(31, 41, 51, .06);
}

.order-preview {
  position: sticky;
  top: 96px;
}

.order-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.order-summary-row span {
  color: var(--muted);
}

.order-summary-row strong {
  text-align: right;
}

.order-comment-label {
  display: grid;
  gap: 8px;
  font-weight: 750;
  margin-bottom: 16px;
}

.technical-payload {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfaf7;
  color: var(--muted);
  overflow: hidden;
}

.technical-payload summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 750;
}

.technical-payload pre {
  margin: 0;
  padding: 0 16px 16px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  font-size: 13px;
}

@media (max-width: 980px) {
  .order-grid {
    grid-template-columns: 1fr;
  }

  .order-preview {
    position: static;
  }
}
/* END local order flow */

/* BEGIN trust and materials sections */
.deliverables {
  background: #fffaf2;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.deliverable-card,
.fit-card,
.material-card,
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 38px rgba(31, 41, 51, .06);
}

.deliverable-number {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
  margin-bottom: 18px;
}

.fit-section {
  background: #f2eadf;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fit-card ul {
  margin-bottom: 0;
  padding-left: 20px;
  color: var(--muted);
}

.fit-card li + li {
  margin-top: 10px;
}

.fit-card.negative {
  background: #fff;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.material-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 850;
  margin-bottom: 18px;
}

.material-status {
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.faq {
  background: #fffaf2;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent-dark);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  padding: 0 24px 20px;
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .deliverables-grid,
  .materials-grid,
  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .deliverables-grid,
  .materials-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }
}
/* END trust and materials sections */

/* BEGIN screenshot gallery */
.screenshots-section {
  background: #f7efe4;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.screenshot-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(31, 41, 51, .06);
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #fffaf2;
}

.screenshot-card div {
  padding: 22px;
}

.screenshot-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.screenshot-note {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--muted);
}

.screenshot-note strong {
  color: var(--text);
}

@media (max-width: 980px) {
  .screenshot-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .screenshot-gallery {
    grid-template-columns: 1fr;
  }
}
/* END screenshot gallery */

/* BEGIN premium visual refinement */
.visual-v2 {
  background:
    radial-gradient(circle at 14% 8%, rgba(139, 94, 52, .11), transparent 28rem),
    radial-gradient(circle at 88% 3%, rgba(19, 34, 56, .10), transparent 34rem),
    var(--bg);
}

.visual-v2 .site-header {
  background: rgba(255, 252, 247, .82);
  box-shadow: 0 14px 40px rgba(31, 41, 51, .06);
}

.visual-v2 .brand {
  padding: 8px 10px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(230, 224, 215, .78);
}

.visual-v2 .brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(19, 34, 56, .12);
}

.visual-v2 .main-nav {
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(230, 224, 215, .76);
  border-radius: 999px;
  padding: 9px 14px;
  gap: 18px;
}

.visual-v2 .main-nav a {
  white-space: nowrap;
}

.visual-v2 .hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(239, 226, 210, .40)),
    radial-gradient(circle at 72% 24%, rgba(139, 94, 52, .18), transparent 28rem),
    radial-gradient(circle at 18% 74%, rgba(19, 34, 56, .09), transparent 30rem);
}

.visual-v2 .hero-copy {
  position: relative;
}

.visual-v2 .hero-copy::before {
  content: "";
  position: absolute;
  left: -34px;
  top: -42px;
  width: 90px;
  height: 90px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(139, 94, 52, .16), rgba(239, 226, 210, .26));
  transform: rotate(-10deg);
  z-index: -1;
}

.visual-v2 h1 {
  max-width: 780px;
  text-wrap: balance;
}

.visual-v2 h2 {
  text-wrap: balance;
}

.visual-v2 .lead {
  color: #536171;
}

.hero-visual-wrap {
  position: relative;
  min-height: 580px;
  display: grid;
  align-items: center;
}

.hero-illustration {
  position: absolute;
  inset: -56px -74px auto auto;
  width: min(760px, 118%);
  max-width: none;
  opacity: .98;
  filter: drop-shadow(0 34px 70px rgba(19, 34, 56, .16));
}

.hero-visual-wrap .hero-card {
  width: min(460px, 100%);
  margin-left: auto;
  transform: translateY(42px);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 34px 90px rgba(19, 34, 56, .30);
}

.visual-v2 .button {
  min-height: 52px;
  padding-inline: 24px;
  box-shadow: 0 16px 36px rgba(139, 94, 52, .26);
}

.visual-v2 .button-secondary {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(10px);
}

.proof-strip {
  margin-top: -34px;
  position: relative;
  z-index: 5;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
  box-shadow: 0 26px 70px rgba(31, 41, 51, .11);
}

.proof-grid div {
  background: rgba(255, 255, 255, .88);
  padding: 22px;
  backdrop-filter: blur(18px);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--blue);
  font-size: 16px;
  margin-bottom: 6px;
}

.proof-grid span {
  color: var(--muted);
  font-size: 14px;
}

.visual-v2 .card,
.visual-v2 .product-card,
.visual-v2 .price-card,
.visual-v2 .screen-card,
.visual-v2 .option-panel,
.visual-v2 .security-card,
.visual-v2 .lead-form,
.visual-v2 .proposal-form,
.visual-v2 .proposal-preview,
.visual-v2 .order-panel,
.visual-v2 .order-preview,
.visual-v2 .deliverable-card,
.visual-v2 .fit-card,
.visual-v2 .material-card,
.visual-v2 .faq-list details,
.visual-v2 .screenshot-card {
  box-shadow: 0 18px 48px rgba(31, 41, 51, .075);
}

.visual-v2 .product-card,
.visual-v2 .price-card,
.visual-v2 .deliverable-card,
.visual-v2 .material-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.visual-v2 .product-card:hover,
.visual-v2 .price-card:hover,
.visual-v2 .deliverable-card:hover,
.visual-v2 .material-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 94, 52, .28);
  box-shadow: 0 24px 70px rgba(31, 41, 51, .10);
}

.visual-v2 .pricing,
.visual-v2 .fit-section,
.visual-v2 .screenshots-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(139, 94, 52, .10), transparent 30rem),
    #eee7dc;
}

.process-illustration {
  display: block;
  width: min(100%, 960px);
  margin: 0 auto 28px;
  border-radius: 32px;
  box-shadow: 0 28px 78px rgba(0, 0, 0, .18);
}

.security-grid {
  grid-template-columns: .78fr .72fr .9fr;
}

.security-art {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 18px 48px rgba(31, 41, 51, .075);
}

.security-illustration {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.visual-v2 .site-footer {
  background:
    radial-gradient(circle at 80% 12%, rgba(139, 94, 52, .22), transparent 24rem),
    #111821;
}

@media (max-width: 1180px) {
  .hero-illustration {
    opacity: .26;
    inset: -30px -160px auto auto;
  }

  .hero-visual-wrap .hero-card {
    margin: 0;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-visual-wrap {
    min-height: auto;
  }

  .hero-illustration {
    display: none;
  }

  .hero-visual-wrap .hero-card {
    width: 100%;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .visual-v2 .main-nav {
    border-radius: 18px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: 0;
  }
}
/* END premium visual refinement */

/* BEGIN brand logo refinement */
.brand-logo-wide {
  width: 164px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.visual-v2 .brand-logo-wide {
  width: 172px;
  border-radius: 0;
  box-shadow: none;
}

.visual-v2 .brand {
  padding: 8px 14px 8px 10px;
}

@media (max-width: 680px) {
  .brand-logo-wide {
    width: 142px;
  }

  .visual-v2 .brand-logo-wide {
    width: 148px;
  }
}
/* END brand logo refinement */

/* BEGIN marketplace disclaimer */
.footer-disclaimer-wrap {
  margin-top: 22px;
}

.footer-disclaimer {
  max-width: 920px;
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.55;
}
/* END marketplace disclaimer */

/* BEGIN sales copy conversion polish */
.conversion-copy {
  background:
    radial-gradient(circle at 12% 10%, rgba(139, 94, 52, .10), transparent 28rem),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(246,243,238,.92));
}

.conversion-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: 34px;
  align-items: start;
}

.section-heading.compact {
  margin-bottom: 0;
}

.conversion-list {
  display: grid;
  gap: 14px;
}

.conversion-list article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 48px rgba(31, 41, 51, .075);
}

.conversion-list strong,
.conversion-list span {
  display: block;
}

.conversion-list strong {
  color: var(--blue);
  font-size: 17px;
  margin-bottom: 7px;
}

.conversion-list span {
  color: var(--muted);
  line-height: 1.55;
}

.recommended-start {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 1px solid rgba(139, 94, 52, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--text);
  box-shadow: 0 14px 38px rgba(31, 41, 51, .065);
}

.recommended-start strong {
  color: var(--blue);
}

.recommended-start span {
  color: var(--muted);
}

@media (max-width: 880px) {
  .conversion-grid {
    grid-template-columns: 1fr;
  }

  .recommended-start {
    border-radius: 22px;
    justify-content: flex-start;
  }
}
/* END sales copy conversion polish */

/* BEGIN real product screenshots */
.real-screenshots-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(139, 94, 52, .10), transparent 30rem),
    #eee7dc;
}

.real-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.real-screen-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 70px rgba(31, 41, 51, .10);
}

.real-screen-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
  background: #eef1f5;
}

.real-screen-card div {
  padding: 22px 24px 24px;
}

.real-screen-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 20px;
}

.real-screen-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.screenshot-real-note {
  max-width: 980px;
  margin: 24px auto 0;
  padding: 16px 20px;
  border: 1px solid rgba(139, 94, 52, .20);
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 900px) {
  .real-screenshot-grid {
    grid-template-columns: 1fr;
  }
}
/* END real product screenshots */

/* BEGIN process section responsive fix */
.process-section {
  background:
    radial-gradient(circle at 82% 12%, rgba(139, 94, 52, .22), transparent 26rem),
    radial-gradient(circle at 14% 76%, rgba(255, 255, 255, .08), transparent 24rem),
    #132238;
  color: #fff;
}

.process-section .section-heading {
  max-width: 820px;
}

.process-section .section-heading h2 {
  color: #fff;
}

.process-section .section-heading p {
  color: rgba(255, 255, 255, .72);
}

.process-section .eyebrow {
  color: #D7B58A;
  background: rgba(255, 255, 255, .08);
}

.process-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.process-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: rgba(255, 255, 255, .075);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}

.process-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #F6F3EE;
  color: #132238;
  font-weight: 850;
}

.process-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 20px;
  line-height: 1.18;
}

.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  line-height: 1.58;
  font-size: 15px;
}

@media (max-width: 1120px) {
  .process-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .process-card-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    padding: 22px;
    border-radius: 22px;
  }
}
/* END process section responsive fix */

/* BEGIN data ownership and multi-cabinet messaging */
.data-ownership-section {
  background:
    radial-gradient(circle at 78% 18%, rgba(139, 94, 52, .14), transparent 28rem),
    linear-gradient(180deg, #fff, rgba(246, 243, 238, .86));
}

.data-ownership-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(340px, 1.12fr);
  gap: 34px;
  align-items: start;
}

.data-principles {
  display: grid;
  gap: 14px;
}

.data-principles article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 48px rgba(31, 41, 51, .075);
}

.data-principles strong,
.data-principles span {
  display: block;
}

.data-principles strong {
  color: var(--blue);
  font-size: 17px;
  margin-bottom: 8px;
}

.data-principles span {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 880px) {
  .data-ownership-grid {
    grid-template-columns: 1fr;
  }
}
/* END data ownership and multi-cabinet messaging */

/* BEGIN multi-cabinet aggregation section */
.aggregation-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(139, 94, 52, .18), transparent 28rem),
    radial-gradient(circle at 92% 6%, rgba(19, 34, 56, .12), transparent 34rem),
    linear-gradient(180deg, #fff, #F6F3EE);
}

.aggregation-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.aggregation-copy h2 {
  margin: 14px 0 18px;
  color: var(--blue);
  font-size: clamp(34px, 4vw, 56px);
  line-height: .98;
  letter-spacing: -1.7px;
  text-wrap: balance;
}

.aggregation-copy p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.aggregation-panel {
  position: relative;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 18%, rgba(139, 94, 52, .18), transparent 16rem),
    #132238;
  box-shadow: 0 30px 90px rgba(19, 34, 56, .22);
  overflow: hidden;
}

.aggregation-panel::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 26px;
}

.cabinet-node,
.business-result-node {
  position: absolute;
  z-index: 2;
  border-radius: 22px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .20);
}

.cabinet-node {
  width: 190px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(14px);
}

.cabinet-node-a {
  left: 34px;
  top: 54px;
}

.cabinet-node-b {
  left: 34px;
  top: 190px;
}

.cabinet-node-c {
  left: 34px;
  top: 326px;
}

.cabinet-node span,
.cabinet-node strong,
.business-result-node span,
.business-result-node strong {
  display: block;
}

.cabinet-node span {
  color: #EFE2D2;
  font-weight: 800;
  margin-bottom: 6px;
}

.cabinet-node strong {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.business-result-node {
  right: 34px;
  top: 156px;
  width: min(320px, calc(100% - 300px));
  padding: 28px;
  background: #F6F3EE;
}

.business-result-node span {
  color: #132238;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}

.business-result-node strong {
  color: #8B5E34;
  font-size: 14px;
  line-height: 1.5;
}

.aggregation-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.aggregation-lines i {
  position: absolute;
  left: 226px;
  width: calc(100% - 610px);
  height: 2px;
  background: linear-gradient(90deg, rgba(215, 181, 138, .88), rgba(215, 181, 138, .12));
  transform-origin: left center;
}

.aggregation-lines i:nth-child(1) {
  top: 103px;
  transform: rotate(17deg);
}

.aggregation-lines i:nth-child(2) {
  top: 239px;
}

.aggregation-lines i:nth-child(3) {
  top: 375px;
  transform: rotate(-17deg);
}

.aggregation-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.aggregation-benefits article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 48px rgba(31, 41, 51, .075);
}

.aggregation-benefits strong,
.aggregation-benefits span {
  display: block;
}

.aggregation-benefits strong {
  color: var(--blue);
  font-size: 17px;
  margin-bottom: 8px;
}

.aggregation-benefits span {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1020px) {
  .aggregation-grid {
    grid-template-columns: 1fr;
  }

  .aggregation-panel {
    min-height: 430px;
  }
}

@media (max-width: 760px) {
  .aggregation-panel {
    min-height: auto;
    padding: 22px;
    display: grid;
    gap: 14px;
  }

  .aggregation-panel::before,
  .aggregation-lines {
    display: none;
  }

  .cabinet-node,
  .business-result-node {
    position: static;
    width: auto;
  }

  .business-result-node {
    order: 4;
  }

  .aggregation-benefits {
    grid-template-columns: 1fr;
  }
}
/* END multi-cabinet aggregation section */

/* BEGIN demo report download */
.material-card-highlight {
  border-color: rgba(139, 94, 52, .32);
  background:
    radial-gradient(circle at 88% 10%, rgba(139, 94, 52, .12), transparent 14rem),
    rgba(255, 255, 255, .92);
}

.material-link,
.real-screen-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 94, 52, .35);
}

.material-link:hover,
.real-screen-link:hover {
  color: var(--accent);
}
/* END demo report download */

/* BEGIN after-payment instruction material */
.material-card .material-link {
  margin-top: 16px;
}

.material-card-highlight .material-icon {
  background: rgba(139, 94, 52, .12);
  color: var(--accent);
}
/* END after-payment instruction material */

/* BEGIN selected AMI logo integration */
.brand-logo-wide {
  display: block;
  width: auto;
  height: 48px;
  max-width: 190px;
  object-fit: contain;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 14px;
}

@media (max-width: 1100px) {
  .brand-logo-wide {
    height: 42px;
    max-width: 170px;
  }
}

@media (max-width: 720px) {
  .brand-logo-wide {
    height: 38px;
    max-width: 150px;
  }

  .footer-logo {
    height: 36px;
    max-width: 150px;
  }
}
/* END selected AMI logo integration */

/* BEGIN simplified header navigation */
.header-grid {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
}

.brand {
  min-width: 210px;
}

.brand-logo-wide {
  display: block;
  width: auto;
  height: 64px;
  max-width: 240px;
  object-fit: contain;
}

.main-nav {
  justify-self: center;
}

.main-nav a {
  white-space: nowrap;
}

.nav-login-link {
  font-weight: 800;
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-order-button {
  min-width: 164px;
  justify-content: center;
}

@media (max-width: 1180px) {
  .header-grid {
    gap: 18px;
  }

  .brand {
    min-width: 180px;
  }

  .brand-logo-wide {
    height: 56px;
    max-width: 210px;
  }

  .main-nav {
    gap: 14px;
  }

  .header-order-button {
    min-width: 148px;
  }
}

@media (max-width: 980px) {
  .header-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo-wide {
    height: 58px;
    max-width: 220px;
  }

  .main-nav {
    justify-self: center;
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
  }
}
/* END simplified header navigation */

/* BEGIN final header logo sizing */
.brand {
  min-width: 260px;
  height: 76px;
  padding: 10px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-wide {
  display: block;
  width: auto;
  height: 58px;
  max-width: 230px;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 14px;
}

@media (max-width: 1180px) {
  .brand {
    min-width: 220px;
    height: 70px;
    padding: 10px 24px;
  }

  .brand-logo-wide {
    height: 52px;
    max-width: 200px;
  }
}

@media (max-width: 720px) {
  .brand {
    min-width: 190px;
    height: 64px;
    padding: 8px 20px;
  }

  .brand-logo-wide {
    height: 46px;
    max-width: 175px;
  }

  .footer-logo {
    height: 40px;
    max-width: 180px;
  }
}
/* END final header logo sizing */

/* BEGIN logo without capsule */
.site-header .brand {
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.site-header .brand::before,
.site-header .brand::after {
  display: none;
  content: none;
}

.site-header .brand-logo-wide {
  display: block;
  width: auto;
  height: 64px;
  max-width: 260px;
  object-fit: contain;
}

@media (max-width: 1180px) {
  .site-header .brand-logo-wide {
    height: 58px;
    max-width: 230px;
  }
}

@media (max-width: 720px) {
  .site-header .brand-logo-wide {
    height: 50px;
    max-width: 200px;
  }
}
/* END logo without capsule */

/* BEGIN offer publication */
.offer-acceptance-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 70, 162, 0.18);
  border-radius: 14px;
  background: rgba(23, 70, 162, 0.06);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.offer-acceptance-note a,
.footer-offer-link a {
  color: var(--blue);
  font-weight: 700;
}

.footer-offer-link {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
/* END offer publication */

/* BEGIN product page v2 */
.product-page-v2-notice {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 12px 18px;
  border: 1px solid rgba(23, 70, 162, 0.18);
  border-radius: 14px;
  background: rgba(23, 70, 162, 0.06);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-page-v2-notice a {
  color: var(--blue);
  font-weight: 800;
}

.product-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-v2-card,
.product-details-v2-card {
  border: 1px solid rgba(20, 33, 61, 0.10);
  border-radius: 24px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 18px 48px rgba(20, 33, 61, 0.07);
}

.product-v2-card h3,
.product-details-v2-card h3 {
  margin: 10px 0 12px;
}

.product-v2-card p,
.product-details-v2-card p {
  color: var(--muted);
}

.product-v2-card ul,
.product-details-v2-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.product-v2-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(23, 70, 162, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-details-v2-list {
  display: grid;
  gap: 22px;
}

.product-details-v2-card {
  padding: 30px;
}

.product-details-v2-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.product-details-v2-columns h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

@media (max-width: 920px) {
  .product-v2-grid,
  .product-details-v2-columns {
    grid-template-columns: 1fr;
  }
}
/* END product page v2 */

/* BEGIN process step links */
.process-step-link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 900;
  color: var(--blue);
  text-decoration: none;
}

.process-step-link:hover {
  text-decoration: underline;
}
/* END process step links */

/* BEGIN protected checkout */
.checkout-hero {
  background: linear-gradient(180deg, var(--bg), #efe7db);
  padding-top: 72px;
}

.checkout-notice {
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 1px solid rgba(139, 94, 52, .22);
  border-radius: 18px;
  background: rgba(139, 94, 52, .07);
  color: var(--text);
  font-weight: 700;
}

.checkout-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.checkout-card h2,
.checkout-order-form h2 {
  margin-top: 0;
}

.checkout-status {
  min-height: 22px;
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-status.success {
  color: #166534;
}

.checkout-status.error {
  color: #991b1b;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout-form-grid .wide {
  grid-column: 1 / -1;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
}

.checkbox-line input {
  width: auto;
}

.checkout-order-form {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .checkout-grid,
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .checkout-form-grid .wide {
    grid-column: auto;
  }
}
/* END protected checkout */

/* BEGIN process step link contrast fix */
.process-section .process-step-link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.process-section .process-step-link:hover {
  color: #f3c98b;
  text-decoration: underline;
}
/* END process step link contrast fix */

/* BEGIN proposal breakdown preview */
.proposal-preview [data-summary-lines] {
  display: block !important;
  min-height: 0 !important;
  margin-top: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.proposal-breakdown {
  display: grid;
  gap: 16px;
}

.proposal-breakdown-group {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(20, 33, 61, 0.10);
  border-radius: 16px;
  background: rgba(246, 248, 251, 0.72);
}

.proposal-breakdown-title {
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proposal-breakdown-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.proposal-breakdown-line span {
  min-width: 0;
}

.proposal-breakdown-line strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.proposal-breakdown-total {
  padding-top: 4px;
}

.proposal-breakdown-line-total {
  padding-top: 12px;
  border-top: 1px solid rgba(20, 33, 61, 0.14);
  color: var(--ink);
  font-size: 16px;
}

.proposal-breakdown-line-total strong {
  font-size: 20px;
}

.proposal-breakdown-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(161, 106, 49, 0.10);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .proposal-breakdown-line {
    flex-direction: column;
    gap: 4px;
  }
}
/* END proposal breakdown preview */

/* BEGIN proposal contact visibility */
.proposal-contact-email {
  font-weight: 900;
  color: var(--blue);
  white-space: nowrap;
}

.proposal-preview .proposal-contact-email {
  color: var(--blue);
  font-weight: 900;
}

.print-contact-box {
  margin: 26px 0 0;
  padding: 18px 20px;
  border: 2px solid rgba(23, 70, 162, 0.22);
  border-radius: 18px;
  background: rgba(23, 70, 162, 0.06);
}

.print-contact-title {
  margin: 0 0 8px;
  color: #1746a2;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.print-contact-box p {
  margin: 6px 0;
}

.print-contact-email {
  color: #14213d;
  font-size: 20px;
  font-weight: 900;
}
/* END proposal contact visibility */

/* BEGIN proposal contact email emphasis */
.proposal-contact-email {
  font-weight: 900;
  color: var(--blue);
  white-space: nowrap;
}
/* END proposal contact email emphasis */

/* BEGIN proposal VAT note */
.proposal-vat-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(23, 70, 162, 0.07);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}
/* END proposal VAT note */

/* BEGIN checkout floating status */
.checkout-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: min(460px, calc(100vw - 32px));
  padding: 16px 18px;
  border: 1px solid rgba(217, 226, 239, 0.95);
  border-left: 6px solid var(--blue);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 34, 69, 0.22);
  color: var(--ink);
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.checkout-toast--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.checkout-toast--success {
  border-left-color: #1f8f5f;
}

.checkout-toast--error {
  border-left-color: #c2410c;
}

.checkout-toast--warning {
  border-left-color: #b7791f;
}

.checkout-toast__message {
  flex: 1;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}

.checkout-toast__close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 33, 61, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.checkout-toast__close:hover {
  background: rgba(20, 33, 61, 0.14);
}

@media (max-width: 640px) {
  .checkout-toast {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
    border-radius: 16px;
  }
}
/* END checkout floating status */


/* AMI completed-period selector START */
.checkout-period-result {
  border: 1px solid rgba(19, 34, 56, 0.14);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(19, 34, 56, 0.06);
}

.checkout-period-result span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(19, 34, 56, 0.62);
  margin-bottom: 6px;
}

.checkout-period-result strong {
  display: block;
  color: var(--color-heading, #132238);
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.checkout-period-result small {
  display: block;
  color: rgba(19, 34, 56, 0.68);
  line-height: 1.45;
}
/* AMI completed-period selector END */


/* AMI checkout period flow START */
.checkout-period-flow {
  display: grid;
  gap: 16px;
}

.checkout-period-step {
  border: 1px solid rgba(19, 34, 56, 0.12);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.checkout-period-step-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 239, 228, 0.72));
}

.checkout-period-step-copy {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.checkout-period-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(19, 34, 56, 0.1);
  color: var(--color-heading, #132238);
  font-weight: 800;
  font-size: 0.88rem;
}

.checkout-period-step-copy strong {
  display: block;
  color: var(--color-heading, #132238);
  font-size: 1rem;
  margin-bottom: 3px;
}

.checkout-period-step-copy small {
  display: block;
  color: rgba(19, 34, 56, 0.68);
  line-height: 1.45;
}

.checkout-period-type-label {
  display: block;
}

.checkout-period-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-period-selector-grid .wide {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .checkout-period-selector-grid {
    grid-template-columns: 1fr;
  }
}
/* AMI checkout period flow END */


/* AMI checkout inline summary START */
.checkout-inline-summary {
  border: 1px solid rgba(19, 34, 56, 0.13);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(19, 34, 56, 0.07);
}

.checkout-inline-summary-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.checkout-inline-summary-head span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(19, 34, 56, 0.6);
  margin-bottom: 5px;
}

.checkout-inline-summary-head strong {
  display: block;
  color: var(--color-heading, #132238);
  font-size: 1.08rem;
  margin-bottom: 5px;
}

.checkout-inline-summary-head small {
  display: block;
  color: rgba(19, 34, 56, 0.68);
  line-height: 1.45;
}

.checkout-inline-total {
  white-space: nowrap;
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--color-heading, #132238);
}

@media (max-width: 720px) {
  .checkout-inline-summary-head {
    grid-template-columns: 1fr;
  }

  .checkout-inline-total {
    white-space: normal;
  }
}
/* AMI checkout inline summary END */


/* AMI period inactive controls guard START */
.is-period-control-hidden,
[data-period-year-field].is-period-control-hidden,
[data-period-month-field].is-period-control-hidden,
[data-period-quarter-field].is-period-control-hidden,
[data-period-week-field].is-period-control-hidden {
  display: none !important;
}
/* AMI period inactive controls guard END */


/* AMI checkout option help START */
.checkout-labeled-field small {
  display: block;
  margin-top: 7px;
  color: rgba(19, 34, 56, 0.64);
  font-size: 0.9rem;
  line-height: 1.45;
}

.checkout-option-line {
  align-items: flex-start;
  gap: 12px;
}

.checkout-option-line input {
  margin-top: 4px;
}

.checkout-option-copy {
  display: block;
}

.checkout-option-copy strong {
  display: block;
  color: var(--color-heading, #132238);
  font-size: 1rem;
  line-height: 1.35;
}

.checkout-option-copy small {
  display: block;
  margin-top: 5px;
  color: rgba(19, 34, 56, 0.66);
  font-size: 0.9rem;
  line-height: 1.45;
}
/* AMI checkout option help END */


/* AMI checkout INN lookup START */
.checkout-inn-lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.checkout-inn-lookup label {
  min-width: 0;
}

.checkout-inn-lookup .button {
  min-height: 64px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .checkout-inn-lookup {
    grid-template-columns: 1fr;
  }

  .checkout-inn-lookup .button {
    width: 100%;
    min-height: 52px;
  }
}
/* AMI checkout INN lookup END */

/* AMI checkout verify button START */
.checkout-verify-button {
  background: #157347;
  border-color: #157347;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(21, 115, 71, 0.22);
}

.checkout-verify-button:hover,
.checkout-verify-button:focus-visible {
  background: #0f623a;
  border-color: #0f623a;
  color: #ffffff;
  transform: translateY(-1px);
}

.checkout-verify-button:active {
  transform: translateY(0);
}
/* AMI checkout verify button END */

/* AMI proposal summary line items */
[data-summary-lines] {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

[data-summary-lines] li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(91, 68, 48, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(32, 25, 18, 0.04);
}

[data-summary-lines] li span {
  min-width: 0;
  color: #243244;
  font-size: 14px;
  line-height: 1.35;
}

[data-summary-lines] li strong {
  color: #5b3b23;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  text-align: right;
}

@media (max-width: 560px) {
  [data-summary-lines] li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  [data-summary-lines] li strong {
    text-align: left;
  }
}
