/* Production responsive refinements for the static export. */
html {
  max-width: 100%;
}

body {
  max-width: 100%;
}

img,
video,
canvas {
  max-width: 100%;
  height: auto;
}

input[type="range"] {
  min-height: 2.75rem;
}

header.fixed {
  background: #3a2115;
  border-bottom: 1px solid rgba(246, 238, 224, 0.16);
  box-shadow: 0 4px 18px rgba(18, 10, 7, 0.22);
}

header.fixed a.btn-solid {
  min-height: 2.5rem;
  padding: 0.75rem 1.1rem !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.08em;
}

header.fixed a.btn-solid::after {
  content: none;
}

.mobile-growth-roadmap {
  display: none;
}

.mobile-site-nav {
  display: none;
}

.static-faq-answer {
  padding: 0 0 1.25rem;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  header.fixed > div {
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }

  header.fixed > div > a:first-child {
    flex: 1 1 0;
    min-width: 0;
    min-height: 2.75rem;
    justify-content: center;
  }

  header.fixed > div > a:first-child > span:first-child {
    font-size: 0.875rem;
    overflow-wrap: normal;
  }

  header.fixed > div > div {
    flex: 0 0 auto;
    gap: 0.5rem;
  }

  header.fixed > div > div > a.btn-solid {
    flex: 0 0 7.25rem;
    width: 7.25rem;
    height: 3rem;
    min-height: 3rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0 !important;
    padding: 0.35rem 0.5rem !important;
    font-size: 0.875rem !important;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    white-space: normal;
  }

  header.fixed > div > div > a.btn-solid.hde-mobile-header-cta span {
    display: block;
    width: 100%;
    text-align: center;
  }

  header.fixed button[aria-label="Open menu"] {
    width: 2.75rem;
    height: 2.75rem;
  }

  header.fixed .mobile-site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    padding: 0.25rem 1.25rem 1rem;
    background: #3a2115;
    border-top: 1px solid rgba(246, 238, 224, 0.12);
    border-bottom: 1px solid rgba(246, 238, 224, 0.16);
    box-shadow: 0 12px 22px rgba(18, 10, 7, 0.24);
  }

  header.fixed .mobile-site-nav[hidden] {
    display: none;
  }

  header.fixed .mobile-site-nav a {
    display: flex;
    min-height: 3rem;
    align-items: center;
    color: rgba(246, 238, 224, 0.86);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(246, 238, 224, 0.12);
  }

  header.fixed .mobile-site-nav a:last-child {
    border-bottom: 0;
  }

  #sample-growth-plan .overflow-x-auto {
    overflow: visible;
  }

  #sample-growth-plan img {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 360px) {
  header.fixed > div {
    gap: 0.375rem;
    padding-inline: 0.75rem;
  }

  header.fixed > div > a:first-child > span:first-child {
    font-size: 0.8125rem;
  }

  header.fixed > div > a:first-child {
    min-height: 3rem;
  }

  header.fixed > div > div > a.btn-solid {
    flex-basis: 6.75rem;
    width: 6.75rem;
    padding-inline: 0.25rem !important;
    font-size: 0.875rem !important;
  }
}

.footer-copyright-mark {
  position: static;
  font-size: inherit;
  font-variant-position: normal;
  line-height: inherit;
  vertical-align: baseline;
}

@media (max-width: 640px) {
  body {
    font-size: 1.125rem;
  }

  main,
  footer {
    overflow-wrap: normal;
    word-break: normal;
  }

  main section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  main section#top {
    padding-top: 7.5rem;
    padding-bottom: 0;
  }

  main section#top > div:last-child {
    padding-bottom: 4rem;
  }

  main h1 {
    font-size: 2.5rem;
    line-height: 1.08;
  }

  main h2 {
    font-size: 2rem;
    line-height: 1.16;
  }

  main .text-base {
    font-size: 1.125rem;
    line-height: 1.6;
  }

  main .text-sm,
  footer .text-sm {
    font-size: 1rem;
    line-height: 1.55;
  }

  main .text-xs,
  footer .text-xs {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  main [class*="text-[0.625rem]"],
  main [class*="text-[0.6875rem]"] {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }

  main .text-lg {
    font-size: 1.25rem;
    line-height: 1.45;
  }

  main .text-xl {
    font-size: 1.375rem;
    line-height: 1.35;
  }

  main .text-2xl {
    font-size: 1.625rem;
    line-height: 1.25;
  }

  main .text-4xl,
  main .text-5xl {
    line-height: 1.08;
  }

  .eyebrow {
    font-size: 0.875rem;
    line-height: 1.45;
    letter-spacing: 0.1em;
  }

  main .btn-solid,
  main .btn-outline-light {
    width: 100%;
    min-height: 3rem;
    padding: 0.9rem 1rem;
    font-size: 0.875rem;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: normal;
  }

  main [class~="p-7"],
  main [class~="p-8"],
  main [class~="p-10"] {
    padding: 1.25rem;
  }

  main [class~="py-20"] {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #faq button[data-radix-collection-item] {
    min-height: 3.5rem;
    gap: 1rem;
    padding-block: 1rem;
    font-size: 1.0625rem;
    line-height: 1.4;
  }

  #faq button[data-radix-collection-item] svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  #faq .static-faq-answer {
    font-size: 1rem;
    line-height: 1.6;
  }

  footer {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }

  footer nav {
    gap: 0.5rem 1.25rem;
  }

  footer nav a {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding-inline: 0.5rem;
  }

  #sample-growth-plan.has-mobile-roadmap .overflow-x-auto {
    display: none;
  }

  #sample-growth-plan .mobile-growth-roadmap {
    display: block;
    border: 1px solid var(--border);
    padding: 1.25rem;
  }

  #sample-growth-plan .mobile-growth-roadmap dl {
    display: grid;
    margin-top: 1.25rem;
    border-top: 1px solid var(--border);
  }

  #sample-growth-plan .mobile-growth-roadmap dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: baseline;
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
  }

  #sample-growth-plan .mobile-growth-roadmap dt {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.5;
  }

  #sample-growth-plan .mobile-growth-roadmap dd {
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-align: right;
  }

  #projections .overflow-x-auto {
    overflow: visible;
  }

  #projections table {
    min-width: 0;
  }

  #projections thead {
    display: none;
  }

  #projections tbody,
  #projections tr,
  #projections td {
    display: block;
    width: 100%;
  }

  #projections tr {
    border-bottom: 1px solid rgba(246, 238, 224, 0.16);
    padding: 0.35rem 0;
  }

  #projections tr:last-child {
    border-bottom: 0;
  }

  #projections td {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: baseline;
    padding: 0.7rem 1rem;
    font-size: 1.0625rem;
    line-height: 1.45;
  }

  #projections td::before {
    color: rgba(246, 238, 224, 0.72);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  #projections td:nth-child(1)::before { content: "Project value"; }
  #projections td:nth-child(2)::before { content: "1 extra / month"; }
  #projections td:nth-child(3)::before { content: "2 extra / month"; }
  #projections td:nth-child(4)::before { content: "3 extra / month"; }
}

@media (max-width: 360px) {
  main h1 {
    font-size: 2.1875rem;
    line-height: 1.1;
  }

  main h2 {
    font-size: 1.875rem;
  }

  #sample-growth-plan .mobile-growth-roadmap dl > div,
  #projections td {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  #sample-growth-plan .mobile-growth-roadmap dd,
  #projections td {
    text-align: left;
  }
}

@media (min-width: 1200px) {
  #calculator {
    padding-top: 1.2rem;
    padding-bottom: 3rem;
  }

  #calculator > div > .max-w-3xl {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(12rem, 0.38fr) minmax(0, 1fr);
    gap: 0.75rem 1.5rem;
    align-items: end;
  }

  #calculator > div > .max-w-3xl > .eyebrow {
    display: none;
  }

  #calculator > div > .max-w-3xl > h2 {
    margin-top: 0;
    font-size: clamp(1.75rem, 2vw, 2.2rem);
    line-height: 1.08;
  }

  #calculator > div > .max-w-3xl > p:last-child {
    margin-top: 0;
    font-size: 0.9375rem;
    line-height: 1.45;
  }

  #calculator > div > .mt-10.grid {
    margin-top: 0.75rem;
    gap: 1rem;
    align-items: start;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  }

  #calculator > div > .mt-10.grid > .grid:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
  }

  #calculator > div > .mt-10.grid > .grid:first-child > div {
    padding: 0.85rem;
  }

  #calculator > div > .mt-10.grid > .grid:first-child > div:nth-child(3) {
    grid-column: 1 / -1;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  #calculator > div > .mt-10.grid label {
    font-size: 0.75rem;
    line-height: 1.18;
  }

  #calculator > div > .mt-10.grid .text-xs {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  #calculator > div > .mt-10.grid input[type="text"],
  #calculator > div > .mt-10.grid input[type="number"] {
    min-height: 2.55rem;
    padding: 0.55rem 0.75rem;
    font-size: 1.45rem;
    line-height: 1;
  }

  #calculator > div > .mt-10.grid input[type="range"] {
    min-height: 1.8rem;
    margin-top: 0.45rem;
  }

  #calculator button[aria-pressed] {
    flex: 0 0 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
  }

  #calculator > div > .mt-10.grid > .min-w-0:last-child > .grid:first-child > div {
    padding: 0.8rem;
  }

  #calculator > div > .mt-10.grid > .min-w-0:last-child > .grid:first-child p.mt-3 {
    margin-top: 0.4rem;
    font-size: 1.65rem;
  }

  #calculator > div > .mt-10.grid > .min-w-0:last-child > p.mt-6 {
    margin-top: 0.85rem;
    line-height: 1.35;
  }

  #calculator > div > .mt-10.grid > .min-w-0:last-child > .mt-10 {
    margin-top: 1rem;
  }

  #calculator > div > .mt-10.grid > .min-w-0:last-child > .mt-10 h3 {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  #calculator > div > .mt-10.grid > .min-w-0:last-child > .mt-10 .mt-5 {
    margin-top: 0.55rem;
  }

  #calculator table th {
    padding: 0.48rem 0.8rem;
  }

  #calculator table td {
    padding: 0.48rem 0.8rem;
  }

  #calculator > div > .mt-14 {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
  }
}

.hde-slide-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
  background: var(--cream);
}

.hde-video-frame {
  background: #000;
}

button[data-hde-slide-tab="true"] {
  letter-spacing: 0.08em;
}

aside[id^="hde-slide-panel-"] {
  color: var(--cream);
}

@media (max-width: 767px) {
  button[data-hde-slide-tab="true"] {
    right: 0;
    width: 3rem;
  }

  button[aria-label="View video"][data-hde-slide-tab="true"] {
    height: 12rem;
  }

  button[aria-label="Book a call"][data-hde-slide-tab="true"] {
    height: 10rem;
  }

  .hde-slide-frame {
    min-height: 540px;
  }
}
