:root {
  --ink: #161a1d;
  --muted: #687078;
  --paper: #f5f3ec;
  --white: #fff;
  --line: #d9d7ce;
  --soft: #ebe9e1;
  --blue: #2454e6;
  --blue-dark: #173cb1;
  --lime: #d9ff66;
  --radius-lg: 28px;
  --radius-md: 16px;
  --shadow: 0 22px 60px rgba(22, 26, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.header-nav .header-pro-link {
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--blue);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 800 20px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark,
.mini-mark {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font: 800 16px/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px 10px 4px 10px;
}

.edition-badge,
.coming-soon {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.7fr);
  gap: 30px;
  align-items: end;
  padding: 70px 0 62px;
}

.hero > *,
.builder > *,
.field-grid > *,
.card-options > * {
  min-width: 0;
}

.eyebrow,
.quote-kicker,
.note-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 28px;
  color: #454c52;
  font-size: 19px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  color: #3e464d;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.trust-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--blue);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.text-link,
.comparison-cta {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-note {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--muted);
  font-size: 14px;
}

.hero-note p:last-child {
  margin-bottom: 0;
}

.resource-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  background: rgba(255, 255, 255, 0.48);
}

.resource-callout h2 {
  margin-bottom: 8px;
  font-size: clamp(27px, 4vw, 40px);
}

.resource-callout p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.builder {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(350px, 0.75fr);
  gap: 24px;
  align-items: start;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form {
  padding: 10px 18px 10px 10px;
}

.form-section {
  padding: 22px 0 34px;
  border-bottom: 1px solid var(--soft);
}

.form-section:first-child {
  padding-top: 4px;
}

.form-section:last-child {
  border-bottom: 0;
  padding-bottom: 10px;
}

.section-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.section-heading > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--lime);
  font-size: 12px;
  font-weight: 800;
}

.section-heading h2 {
  margin-bottom: 2px;
  font-size: 22px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

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

label {
  color: #3d444a;
  font-size: 13px;
  font-weight: 700;
}

.optional {
  color: #8a9197;
  font-weight: 500;
}

input[type="text"],
input[type="number"],
select {
  min-width: 0;
  width: 100%;
  height: 48px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input[type="text"],
select {
  padding: 0 13px;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 84, 230, 0.12);
}

.money-input {
  display: flex;
  align-items: center;
  height: 48px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.money-input > span {
  padding-left: 13px;
  color: var(--muted);
}

.money-input input {
  height: 46px;
  margin: 0;
  border: 0;
  padding: 0 13px 0 8px;
  box-shadow: none;
}

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

.choice-card {
  position: relative;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card-body {
  display: block;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.choice-card:hover .choice-card-body {
  transform: translateY(-1px);
  border-color: #a7abb0;
}

.choice-card input:checked + .choice-card-body {
  border-color: var(--blue);
  background: #f3f6ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.choice-card input:focus-visible + .choice-card-body {
  outline: 3px solid rgba(36, 84, 230, 0.2);
  outline-offset: 2px;
}

.choice-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.choice-card-topline strong {
  color: var(--ink);
  font-size: 15px;
}

.choice-card-topline span {
  color: var(--blue);
  white-space: nowrap;
}

.choice-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.addon-options {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  border-bottom: 1px solid var(--soft);
  padding: 10px 14px;
  cursor: pointer;
}

.addon-row:last-child {
  border-bottom: 0;
}

.addon-row > span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.addon-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.addon-row strong {
  color: var(--muted);
  font-size: 13px;
}

.quote-panel {
  position: sticky;
  top: 18px;
}

.quote-card {
  min-height: 570px;
  border-radius: 22px;
  padding: 26px;
  background: var(--ink);
  color: var(--white);
}

.quote-topline,
.quote-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.quote-kicker {
  margin-bottom: 2px;
  color: #aabaff;
}

.quote-number {
  margin-bottom: 0;
  color: #9aa0a5;
  font-size: 12px;
}

.mini-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px 11px 4px 11px;
}

.quote-customer {
  margin: 54px 0 32px;
}

.quote-customer p:first-child {
  margin-bottom: 6px;
  color: #8e959b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quote-customer h2 {
  margin-bottom: 4px;
  font-size: 31px;
}

.quote-customer p:last-child {
  color: #aeb4b9;
  font-size: 14px;
}

.quote-lines {
  border-top: 1px solid #3a3e42;
  border-bottom: 1px solid #3a3e42;
  padding: 14px 0;
}

.quote-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  color: #e4e6e7;
  font-size: 13px;
}

.quote-line-muted {
  color: #9da4aa;
}

.quote-line strong {
  white-space: nowrap;
}

.quote-total {
  padding: 24px 0;
}

.quote-total span {
  color: #aeb4b9;
  font-size: 14px;
}

.quote-total strong {
  color: var(--lime);
  font: 800 34px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.quote-disclaimer {
  margin-bottom: 0;
  color: #858c92;
  font-size: 11px;
}

.quote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

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

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  background: var(--soft);
  color: var(--ink);
}

.action-status {
  min-height: 20px;
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 12px;
}

.contextual-upgrade {
  margin-top: 12px;
  border: 1px solid #cfd7f7;
  border-radius: 14px;
  padding: 18px;
  background: #f3f6ff;
}

.contextual-upgrade p {
  margin-bottom: 10px;
  color: #4d5867;
  font-size: 13px;
}

.contextual-upgrade .upgrade-label {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.contextual-upgrade a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
  margin: 84px 0 36px;
  border-radius: var(--radius-lg);
  padding: 50px;
  background: var(--ink);
  color: var(--white);
}

.proof-copy h2,
.section-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
}

.proof-copy > p:not(.eyebrow) {
  color: #c9ced3;
}

.proof-list {
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.proof-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 25px;
  color: #e4e7ea;
  font-size: 14px;
}

.proof-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--lime);
  font-weight: 900;
}

.inline-button {
  background: var(--lime);
  color: var(--ink);
}

.proof-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid #3c434a;
  border-radius: 20px;
  background: #20252b;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .32);
}

.proof-image-link img {
  display: block;
  width: 100%;
  height: auto;
}

.comparison-section {
  margin: 72px 0 40px;
}

.section-intro {
  max-width: 820px;
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--soft);
  padding: 16px 18px;
  text-align: left;
}

.comparison-table thead th {
  background: #eef2ff;
  color: #343c48;
  font-size: 13px;
}

.comparison-table tbody th {
  width: 42%;
  font-size: 14px;
}

.comparison-table td {
  color: #525b63;
  font-size: 14px;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  color: var(--blue);
  font-weight: 800;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-cta {
  display: inline-block;
  margin-top: 18px;
}

.guide-callout {
  border-color: #cfd7f7;
  background: #eef2ff;
}

.article-main {
  width: min(980px, calc(100% - 40px));
}

.article-hero {
  padding: 76px 0 58px;
}

.article-hero h1 {
  max-width: 920px;
}

.article-dek {
  max-width: 760px;
  color: #454c52;
  font-size: 21px;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.article-section {
  margin: 36px 0 86px;
}

.article-section > h2,
.example-section h2,
.article-cta h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.article-grid .guide-card {
  background: var(--white);
}

.example-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(380px, 1.2fr);
  gap: 46px;
  align-items: start;
}

.example-section > div:first-child > p:last-child {
  color: var(--muted);
}

.estimate-example {
  border-radius: 22px;
  padding: 30px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.estimate-example-head,
.estimate-example dl > div,
.estimate-example-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.estimate-example-head {
  margin-bottom: 48px;
  color: #aeb4b9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.estimate-example-head strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px 11px 4px 11px;
  background: var(--blue);
}

.estimate-example h3 {
  margin: 0 0 4px;
  font-size: 30px;
  letter-spacing: -.04em;
}

.estimate-example > p:not(.small-print) {
  color: #aeb4b9;
}

.estimate-example dl {
  margin: 30px 0 0;
  border-top: 1px solid #3a3e42;
  border-bottom: 1px solid #3a3e42;
  padding: 14px 0;
}

.estimate-example dl > div {
  padding: 6px 0;
  color: #d9dde0;
  font-size: 13px;
}

.estimate-example dd {
  margin: 0;
  font-weight: 800;
}

.estimate-example-total {
  padding: 24px 0;
  color: #aeb4b9;
}

.estimate-example-total strong {
  color: var(--lime);
  font-size: 34px;
}

.small-print {
  margin-bottom: 0;
  color: #858c92;
  font-size: 11px;
}

.article-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.article-list li {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: #4c545b;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 30px 0 20px;
  border-radius: var(--radius-lg);
  padding: 42px;
  background: var(--blue);
  color: var(--white);
}

.article-cta .eyebrow {
  color: var(--lime);
}

.article-cta h2 {
  margin-bottom: 10px;
}

.article-cta p:last-child {
  margin-bottom: 0;
  color: #dfe5ff;
}

.pro-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-top: 80px;
  border-radius: var(--radius-lg);
  padding: 50px;
  background: var(--blue);
  color: var(--white);
}

.pro-callout .eyebrow {
  color: var(--lime);
}

.pro-callout h2 {
  max-width: 660px;
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.04;
}

.pro-callout p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: #dbe2ff;
}

.coming-soon {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 46px 0;
  color: var(--muted);
  font-size: 13px;
}

footer span {
  color: var(--ink);
  font: 800 17px/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

footer p {
  margin-bottom: 0;
}

.footer-links a,
.legal-page a {
  color: var(--blue);
  font-weight: 700;
}

.legal-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-page .brand {
  margin-bottom: 72px;
}

.legal-page h1 {
  margin-bottom: 32px;
  font-size: clamp(46px, 8vw, 72px);
}

.legal-page p {
  color: #454c52;
  font-size: 18px;
  line-height: 1.7;
}

.template-main {
  width: min(1080px, calc(100% - 40px));
}

.template-hero {
  max-width: 850px;
  padding: 64px 0 40px;
}

.template-hero h1 {
  font-size: clamp(44px, 7vw, 74px);
}

.template-byline {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.template-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
  align-items: start;
}

.estimate-sheet {
  border-radius: var(--radius-lg);
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.estimate-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 20px;
}

.estimate-heading h2 {
  margin-bottom: 4px;
  font-size: 30px;
}

.estimate-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.template-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.template-form input,
.template-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--white);
  color: var(--ink);
}

.template-form input {
  height: 44px;
  padding: 0 11px;
}

.template-form textarea {
  min-height: 105px;
  padding: 11px;
  resize: vertical;
  font: inherit;
}

.template-form input:focus,
.template-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 84, 230, 0.12);
}

.line-items {
  width: 100%;
  margin-bottom: 22px;
  border-collapse: collapse;
}

.line-items th,
.line-items td {
  border-bottom: 1px solid var(--soft);
  padding: 10px 6px;
  text-align: left;
  vertical-align: middle;
}

.line-items th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.line-items th:nth-child(n + 2) {
  text-align: right;
}

.line-items th:nth-child(1) { width: 43%; }
.line-items th:nth-child(2) { width: 15%; }
.line-items th:nth-child(3) { width: 22%; }
.line-items th:nth-child(4) { width: 20%; }

.line-items input {
  margin: 0;
}

.line-items .item-qty,
.line-items .item-rate {
  text-align: right;
}

.line-total {
  min-width: 86px;
  text-align: right !important;
  font-weight: 800;
}

.estimate-summary {
  width: min(340px, 100%);
  margin: 0 0 26px auto;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 8px 0;
}

.summary-row input {
  width: 130px;
  margin: 0;
  text-align: right;
}

.summary-total {
  margin-top: 4px;
  border-top: 2px solid var(--ink);
  padding-top: 14px;
  font-size: 20px;
  font-weight: 800;
}

.template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.template-actions .button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.template-sidebar {
  position: sticky;
  top: 20px;
}

.template-sidebar .hero-note + .hero-note {
  margin-top: 14px;
}

.template-guide {
  margin: 70px 0 34px;
}

.template-guide h2 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 54px);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.guide-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: rgba(255, 255, 255, 0.46);
}

.guide-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}

.guide-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.price-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.price-package {
  background: #fafafa;
}

.price-package label {
  display: block;
}

.price-package label + label {
  margin-top: 14px;
}

.price-package textarea {
  min-height: 150px;
}

.price-list-subheading {
  margin: 0 0 10px;
  font-size: 20px;
}

.price-addons th:first-child {
  width: 70%;
}

.price-addons th:last-child,
.price-addons td:last-child input {
  text-align: right;
}

@media (max-width: 900px) {
  .hero,
  .builder,
  .template-layout,
  .proof-section,
  .example-section,
  .article-cta {
    grid-template-columns: 1fr;
  }

  .proof-section {
    padding: 38px;
  }

  .hero {
    padding-top: 46px;
  }

  .quote-panel {
    position: static;
  }

  .template-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .template-sidebar .hero-note + .hero-note {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 24px), 1180px);
  }

  .hero {
    padding: 34px 0 42px;
  }

  h1 {
    font-size: 47px;
  }

  .header-nav {
    gap: 10px;
  }

  .header-nav > a:first-child {
    display: none;
  }

  .header-nav .header-pro-link {
    padding: 8px 11px;
    font-size: 12px;
  }

  .builder {
    padding: 12px;
    border-radius: 20px;
  }

  .quote-form {
    padding: 8px;
  }

  .field-grid,
  .card-options,
  .quote-actions,
  .template-fields,
  .guide-grid,
  .article-grid,
  .template-sidebar,
  .price-packages {
    grid-template-columns: 1fr;
  }

  .resource-callout,
  .estimate-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .estimate-sheet {
    padding: 22px 12px;
  }

  .line-items {
    font-size: 12px;
  }

  .line-items th,
  .line-items td {
    padding-inline: 3px;
  }

  .quote-card {
    min-height: auto;
    padding: 22px;
  }

  .quote-customer {
    margin-top: 38px;
  }

  .pro-callout {
    grid-template-columns: 1fr;
    margin-top: 52px;
    padding: 32px 24px;
  }

  .proof-section {
    margin-top: 52px;
    padding: 30px 22px;
  }

  .coming-soon {
    justify-self: start;
  }

  footer {
    flex-direction: column;
  }
}

@media print {
  body {
    background: white;
  }

  .site-header,
  .hero,
  .quote-form,
  .quote-actions,
  .action-status,
  .pro-callout,
  footer {
    display: none !important;
  }

  main,
  .builder {
    width: 100%;
    margin: 0;
    padding: 0;
    background: white;
    box-shadow: none;
  }

  .builder {
    display: block;
  }

  .quote-panel {
    position: static;
  }

  .quote-card {
    min-height: auto;
    border-radius: 0;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .template-page .template-hero,
  .template-page .template-sidebar,
  .template-page .template-guide,
  .template-page .template-actions {
    display: none !important;
  }

  .price-list-page .price-packages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .template-page .template-main,
  .template-page .template-layout {
    width: 100%;
    display: block;
  }

  .template-page .estimate-sheet {
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .template-page .template-form input,
  .template-page .template-form textarea {
    border-color: transparent;
    box-shadow: none;
  }
}
