:root {
  --bg: #f6efe5;
  --bg-deep: #eee2d0;
  --paper: rgba(255, 252, 247, 0.9);
  --surface: #fffaf4;
  --surface-strong: #fffefb;
  --ink: #183842;
  --ink-soft: #365058;
  --muted: #6f7875;
  --line: rgba(24, 56, 66, 0.12);
  --line-strong: rgba(24, 56, 66, 0.18);
  --accent: #eb6b17;
  --accent-deep: #cc5610;
  --teal: #173b43;
  --teal-soft: #dce6e2;
  --green: #72ad8b;
  --gold: #efba47;
  --orange: #ef8a2d;
  --red: #d95e35;
  --shadow-lg: 0 32px 70px rgba(42, 42, 30, 0.14);
  --shadow-md: 0 18px 40px rgba(42, 42, 30, 0.1);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: 1220px;
  --headline: "Agency FB", "Arial Narrow", "Bahnschrift Condensed", sans-serif;
  --body: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 38%),
    radial-gradient(circle at 90% 14%, rgba(19, 59, 67, 0.08), transparent 16%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 46%, #f3eadf 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    linear-gradient(rgba(24, 56, 66, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 56, 66, 0.03) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 72%);
}

body::after {
  background:
    radial-gradient(circle at 20% 30%, rgba(235, 107, 23, 0.08), transparent 18%),
    radial-gradient(circle at 70% 12%, rgba(23, 59, 67, 0.08), transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(239, 138, 45, 0.08), transparent 24%);
  z-index: -3;
}

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

button,
a.button {
  font: inherit;
}

.page-shell {
  max-width: calc(var(--content-width) + 96px);
  margin: 0 auto;
  padding: 28px 24px 38px;
  overflow: hidden;
}

.section {
  position: relative;
}

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

.site-header {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--headline);
  font-size: clamp(2.6rem, 4vw, 4.1rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
}

.brand-small {
  font-size: 2.2rem;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.site-nav a,
.footer-nav a,
.site-footer p {
  font-size: 1rem;
  color: var(--ink);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.32fr);
  gap: 24px;
  padding: 44px 0 54px;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero-section::before {
  left: -80px;
  bottom: 10px;
  width: 230px;
  height: 180px;
  background: linear-gradient(135deg, #d8b58b 0%, #c89e6d 100%);
  clip-path: polygon(0 100%, 70% 86%, 100% 100%, 0 100%, 0 30%);
  opacity: 0.78;
}

.hero-section::after {
  right: -48px;
  top: 20px;
  width: 340px;
  height: 300px;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, #173b43 0%, #244851 100%);
  clip-path: polygon(26% 0, 100% 0, 100% 88%, 62% 100%, 0 100%, 0 20%);
  opacity: 0.96;
}

.hero-copy {
  padding: 18px 12px 0 18px;
  min-width: 0;
}

.hero-title {
  margin: 12px 0 18px;
  display: grid;
  gap: 4px;
  font-family: var(--headline);
  letter-spacing: 0;
  line-height: 0.93;
}

.hero-title span,
.hero-title strong {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 700;
  max-width: 100%;
}

.hero-title strong {
  color: var(--accent);
}

.hero-summary {
  max-width: 32rem;
  margin: 0 0 28px;
  font-size: 1.55rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.button:hover,
.button:focus-visible,
.date-filter:hover,
.date-filter:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(180deg, #ef7a22 0%, #e8640f 100%);
  color: white;
  box-shadow: 0 16px 28px rgba(235, 107, 23, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(180deg, #f28634 0%, #df5907 100%);
}

.button-secondary {
  background: rgba(255, 253, 249, 0.8);
  border-color: rgba(24, 56, 66, 0.25);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.95);
}

.button-small {
  min-height: 46px;
  padding-inline: 18px;
  font-size: 0.96rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.proof-card {
  display: grid;
  gap: 10px;
}

.proof-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--accent);
}

.proof-icon svg {
  width: 26px;
  height: 26px;
}

.proof-card h2 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.proof-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-app {
  position: relative;
  padding-top: 34px;
  min-width: 0;
}

.hero-app::before {
  content: "";
  position: absolute;
  inset: -8px 44px auto auto;
  width: 320px;
  height: 250px;
  background:
    linear-gradient(rgba(24, 56, 66, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 56, 66, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.42;
  z-index: -1;
}

.app-frame {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  height: 790px;
  min-width: 0;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 251, 245, 0.9);
  border: 1px solid rgba(24, 56, 66, 0.1);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px 20px;
  min-width: 0;
  background:
    linear-gradient(180deg, #173943 0%, #143139 100%);
  color: white;
}

.app-wordmark {
  font-family: var(--headline);
  font-size: 2.1rem;
  letter-spacing: 0;
}

.app-menu {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.app-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  transition: background 180ms ease, color 180ms ease;
}

.app-menu a.is-current,
.app-menu a:hover,
.app-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.app-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
}

.user-avatar {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.app-user strong,
.app-user span {
  display: block;
}

.app-user span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.app-main {
  padding: 26px 24px 24px;
  min-width: 0;
}

.app-main-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.micro-label,
.section-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.app-main-top h2,
.problem-copy h2,
.steps-section h2,
.pricing-copy h2,
.cta-copy h2 {
  margin: 0;
  font-family: var(--headline);
  letter-spacing: 0;
  line-height: 0.98;
}

.app-main-top h2 {
  font-size: 2.5rem;
}

.date-filter {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  cursor: pointer;
}

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

.metric-card {
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(24, 56, 66, 0.08);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  letter-spacing: 0;
}

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

.estimate-table,
.message-panel {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(24, 56, 66, 0.08);
  overflow: hidden;
  min-width: 0;
}

.estimate-head,
.estimate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.estimate-head span:nth-child(2),
.estimate-head span:nth-child(3),
.estimate-row span:nth-child(2),
.estimate-row span:nth-child(3) {
  display: none;
}

.estimate-head {
  padding: 14px 18px 10px;
  color: var(--muted);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(24, 56, 66, 0.08);
}

.estimate-head span,
.estimate-row span {
  min-width: 0;
}

.estimate-rows {
  padding: 6px 8px 10px;
}

.estimate-row {
  width: 100%;
  margin: 0;
  min-height: 70px;
  padding: 12px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: background 180ms ease, box-shadow 180ms ease;
  font-size: 0.92rem;
}

.estimate-row:hover,
.estimate-row:focus-visible {
  background: rgba(23, 59, 67, 0.04);
}

.estimate-row strong,
.estimate-row small {
  display: block;
}

.estimate-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
}

.estimate-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.estimate-row span:nth-child(1),
.estimate-row span:nth-child(4) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estimate-row span:nth-child(4) {
  justify-self: end;
}

.estimate-row.is-active {
  background: rgba(23, 59, 67, 0.06);
  box-shadow: inset 0 0 0 1px rgba(23, 59, 67, 0.1);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-style: normal;
}

.status-opened {
  color: #3574a7;
  background: rgba(77, 148, 210, 0.14);
}

.status-replied {
  color: #2c7851;
  background: rgba(89, 176, 125, 0.14);
}

.status-idle {
  color: #6d5f49;
  background: rgba(147, 127, 92, 0.15);
}

.status-sent {
  color: #815a17;
  background: rgba(239, 186, 71, 0.18);
}

.message-panel {
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  max-height: 100%;
  background: rgba(255, 252, 247, 0.93);
}

.message-panel-head h3 {
  margin: 0;
  font-size: 1.14rem;
}

.message-panel-head p,
#automation-note {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.message-sequence {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  min-height: 254px;
}

.message-sequence li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
}

.message-sequence li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 999px;
  border: 2px solid rgba(23, 59, 67, 0.28);
  background: white;
  box-shadow: inset 0 0 0 4px white;
}

.message-sequence li.is-complete::before {
  border-color: rgba(44, 120, 81, 0.6);
  background: rgba(114, 173, 139, 0.95);
}

.sequence-step strong,
.sequence-step span {
  display: block;
}

.sequence-step strong {
  font-size: 0.96rem;
}

.sequence-step span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.38;
}

.message-footer {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  gap: 10px;
}

.conversation-drawer[hidden] {
  display: none;
}

.conversation-drawer {
  position: absolute;
  inset: 56px 26px auto auto;
  width: min(360px, calc(100% - 52px));
  z-index: 4;
}

.conversation-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(24, 56, 66, 0.12);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: var(--shadow-lg);
}

.conversation-card h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0;
}

.conversation-thread {
  display: grid;
  gap: 10px;
}

.conversation-message {
  display: grid;
  gap: 4px;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(23, 59, 67, 0.07);
}

.conversation-message.is-reply {
  justify-self: end;
  background: rgba(235, 107, 23, 0.12);
}

.conversation-message strong {
  font-size: 0.82rem;
}

.conversation-message span {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.45;
}

.problem-section {
  padding: 34px 0 18px;
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.problem-copy h2,
.steps-section h2,
.pricing-copy h2,
.cta-copy h2 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

.problem-copy p,
.pricing-copy p,
.cta-copy p {
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.35rem;
  line-height: 1.6;
}

.stat-grid,
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.stat-card,
.mini-metrics article {
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.stat-card strong,
.mini-metrics strong {
  display: block;
  font-family: var(--headline);
  font-size: 2.5rem;
  letter-spacing: 0;
}

.stat-card span,
.mini-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.paper-panel {
  position: relative;
  padding: 38px 34px 34px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(252, 246, 238, 0.92));
  border: 1px solid rgba(24, 56, 66, 0.09);
  box-shadow: var(--shadow-md);
}

.paper-panel::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 82px;
  height: 20px;
  transform: translateX(-50%) rotate(-1.5deg);
  background: rgba(225, 183, 123, 0.58);
  border-radius: 4px;
}

.paper-panel h3 {
  margin: 0 0 28px;
  font-size: 2rem;
  text-align: center;
  letter-spacing: 0;
}

.loss-flow {
  display: grid;
  grid-template-columns: repeat(7, auto);
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.loss-step {
  max-width: 148px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.loss-step strong {
  font-size: 1.06rem;
}

.loss-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.loss-dot {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: inline-block;
}

.loss-green {
  background: #68af89;
}

.loss-gold {
  background: #f1bb45;
}

.loss-orange {
  background: #eb8d34;
}

.loss-red {
  background: #db6438;
}

.loss-arrow {
  font-size: 2.2rem;
  color: rgba(24, 56, 66, 0.44);
}

.hand-note {
  margin: 28px 0 0;
  text-align: center;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 2rem;
  color: var(--ink);
}

.steps-section {
  padding: 58px 0 68px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 34px;
}

.step-card {
  position: relative;
  padding: 22px 22px 14px;
}

.step-number {
  position: absolute;
  left: 28px;
  top: 168px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  font-weight: 700;
}

.step-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #e8efe9 0%, #dfe7e1 100%);
  color: var(--ink);
}

.step-icon svg {
  width: 44px;
  height: 44px;
}

.step-card h3 {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: 0;
}

.step-card p {
  margin: 14px auto 0;
  max-width: 20rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  align-items: start;
  padding: 26px 0 54px;
}

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

.mini-metrics strong {
  font-size: 1.5rem;
  font-family: var(--body);
  letter-spacing: 0;
}

.pricing-card {
  position: relative;
  padding: 44px 34px 28px;
  border-radius: 24px;
  background: rgba(255, 251, 245, 0.93);
  border: 1px solid rgba(24, 56, 66, 0.1);
  box-shadow: var(--shadow-lg);
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 20px;
  right: 20px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #28515a 0%, #1a3d45 100%);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pricing-card h3 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: 0;
}

.price-line {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.price-line strong {
  font-family: var(--headline);
  font-size: 4.8rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.price-line span {
  padding-bottom: 12px;
  font-size: 1.3rem;
  color: var(--ink-soft);
}

.pricing-card p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

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

.pricing-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 12px;
  height: 7px;
  border-left: 2px solid #5f9a6f;
  border-bottom: 2px solid #5f9a6f;
  transform: rotate(-45deg);
  color: #5f9a6f;
  font-weight: 700;
}

.pricing-card .button {
  width: 100%;
}

.pricing-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-top: 22px;
  padding: 42px 38px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(22, 54, 62, 0.96), rgba(18, 46, 53, 0.98));
  color: white;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 110px 110px;
  opacity: 0.32;
}

.cta-copy,
.cta-actions {
  position: relative;
  z-index: 1;
}

.cta-copy .section-kicker {
  color: #f2ac5b;
}

.cta-copy h2 {
  font-size: clamp(2.8rem, 4vw, 4.8rem);
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-band .button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
}

.site-footer {
  padding: 26px 0 6px;
}

.site-footer p {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .hero-section,
  .problem-layout,
  .pricing-section,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-inline: 0;
  }

  .hero-app {
    padding-top: 10px;
  }

  .app-frame {
    height: auto;
  }

  .pricing-card {
    max-width: 520px;
  }

  .cta-actions {
    justify-content: start;
  }
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: start;
  }

  .hero-proof,
  .metric-grid,
  .steps-grid,
  .mini-metrics,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-frame {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    gap: 18px;
  }

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

  .estimates-grid {
    grid-template-columns: 1fr;
  }

  .loss-flow {
    grid-template-columns: 1fr;
  }

  .loss-arrow {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding-inline: 16px;
  }

  .hero-section::after {
    display: none;
  }

  .hero-section::before {
    left: -16px;
    top: 520px;
    bottom: auto;
    width: 168px;
    height: 96px;
  }

  .site-nav,
  .footer-nav {
    gap: 18px;
  }

  .hero-proof,
  .metric-grid,
  .steps-grid,
  .mini-metrics,
  .stat-grid,
  .pricing-meta {
    grid-template-columns: 1fr;
  }

  .hero-title span,
  .hero-title strong,
  .problem-copy h2,
  .steps-section h2,
  .pricing-copy h2,
  .cta-copy h2 {
    line-height: 0.98;
  }

  .hero-title span,
  .hero-title strong {
    font-size: 3.55rem;
  }

  .hero-summary,
  .problem-copy p,
  .pricing-copy p,
  .cta-copy p {
    max-width: 92%;
    font-size: 1.12rem;
  }

  .app-main-top {
    flex-direction: column;
  }

  .app-menu {
    grid-template-columns: 1fr;
  }

  .estimate-head {
    display: none;
  }

  .estimate-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 12px;
  }

  .estimate-row span {
    display: block;
  }

  .estimate-row span:nth-child(2),
  .estimate-row span:nth-child(3) {
    display: block;
  }

  .step-number {
    top: 146px;
  }

  .pricing-card {
    padding-inline: 22px;
  }

  .cta-band {
    padding: 30px 22px;
  }
}
