:root {
  color-scheme: light;
  --ink: #1e2936;
  --soft-ink: #4d5d6e;
  --line: #d7dee7;
  --paper: #ffffff;
  --paper-2: #f8fbff;
  --bg-top: #fff8ef;
  --bg-bottom: #eef6f4;
  --mint: #dff7ea;
  --mint-ink: #14553b;
  --green: #1f8a5d;
  --green-strong: #156746;
  --blue: #2f6bb2;
  --coral: #d3654a;
  --gold: #b87b24;
  --berry: #b54c68;
  --shadow-soft: 0 14px 34px rgba(30, 41, 54, 0.09);
  --shadow-strong: 0 26px 60px rgba(31, 138, 93, 0.19);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI Variable Text", "Segoe UI", "Trebuchet MS", "Gill Sans MT", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, var(--bg-top) 0%, #f4f8ff 48%, var(--bg-bottom) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(47, 107, 178, 0.04) 0,
      rgba(47, 107, 178, 0.04) 1px,
      transparent 1px,
      transparent 36px
    );
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-family: "Segoe UI Variable Display", "Franklin Gothic Demi Cond", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
}

p {
  margin-top: 0;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 64px;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0;
  animation: reveal-up 620ms ease-out both;
}

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  padding: 13px 24px;
  border: 2px solid #b6cbe4;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 107, 178, 0.14), rgba(31, 138, 93, 0.16));
  color: #173f66;
  box-shadow: 0 12px 26px rgba(31, 45, 61, 0.14);
  font-size: 2.9rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.site-name-icon {
  width: clamp(30px, 1em, 64px);
  height: clamp(30px, 1em, 64px);
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 9px 18px rgba(19, 40, 64, 0.3);
}

.site-name-text {
  display: inline-block;
  line-height: 0.98;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: 4.25rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.05rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: var(--soft-ink);
  font-size: 1.1rem;
  line-height: 1.68;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 16px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  color: #27394c;
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-row span::before {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

.trial-panel {
  position: relative;
  overflow: hidden;
  align-self: center;
  min-height: 328px;
  padding: 26px;
  background:
    linear-gradient(140deg, rgba(47, 107, 178, 0.13) 0%, rgba(211, 101, 74, 0.08) 54%, rgba(255, 255, 255, 0.92) 100%);
  border: 1px solid #cdd8e5;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  animation: reveal-up 760ms ease-out 80ms both;
}

.trial-panel::before {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 94px;
  height: 94px;
  background:
    linear-gradient(var(--green), var(--green)) 22px 28px / 50px 8px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 22px 48px / 36px 8px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 22px 68px / 46px 8px no-repeat,
    #f5f8fc;
  border: 1px solid #c5d1e0;
  border-radius: 10px;
  content: "";
  transform: rotate(4deg);
}

.trial-header {
  max-width: 275px;
  margin-bottom: 24px;
}

.trial-header strong {
  display: block;
  margin-top: 12px;
  font-size: 1.47rem;
  line-height: 1.14;
}

.trial-badge,
.popular-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  background: var(--mint);
  color: var(--mint-ink);
  border: 1px solid rgba(31, 138, 93, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trial-steps {
  display: grid;
  gap: 11px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: trial-step;
}

.trial-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 11px;
  align-items: center;
  color: #2e3f52;
  font-weight: 700;
  counter-increment: trial-step;
}

.trial-steps li::before {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #cfd9e4;
  border-radius: 50%;
  color: var(--blue);
  content: counter(trial-step);
  font-size: 0.85rem;
}

.trial-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  color: #4f6172;
  font-size: 0.9rem;
}

.trial-includes span {
  padding-left: 12px;
  border-left: 3px solid var(--green);
}

.billing-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 58px 0 24px;
  animation: reveal-up 600ms ease-out 120ms both;
}

.billing-copy {
  display: grid;
  gap: 10px;
}

.checkout-status {
  margin: 0;
  color: #3e5267;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.5;
}

.checkout-status.is-error {
  color: #a14f39;
}

.billing-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4px;
  min-width: 286px;
  padding: 5px;
  background: #e8eff7;
  border: 1px solid #d2dbe6;
  border-radius: 8px;
}

.billing-option {
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #3f5265;
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: background-color 180ms ease, color 180ms ease;
}

.billing-option span {
  color: var(--green-strong);
  font-size: 0.78rem;
}

.billing-option.is-active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(30, 41, 54, 0.12);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  --accent: var(--blue);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.95) 100%);
  border: 1px solid #d6deea;
  border-top: 5px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(30, 41, 54, 0.08);
  animation: card-rise 620ms ease-out both;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.plan-card:nth-child(1) {
  --accent: var(--blue);
  animation-delay: 80ms;
}

.plan-card:nth-child(2) {
  --accent: var(--green);
  animation-delay: 140ms;
}

.plan-card:nth-child(3) {
  --accent: var(--gold);
  animation-delay: 200ms;
}

.plan-card:nth-child(4) {
  --accent: var(--berry);
  animation-delay: 260ms;
}

.plan-card.featured {
  border-color: rgba(31, 138, 93, 0.45);
  box-shadow: var(--shadow-strong);
  transform: translateY(-8px);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(30, 41, 54, 0.16);
}

.plan-card.featured:hover {
  transform: translateY(-10px);
}

.popular-label {
  align-self: flex-start;
  margin-bottom: 16px;
}

.plan-top {
  min-height: 122px;
}

.plan-name {
  margin-bottom: 8px;
  color: #18222f;
  font-size: 1.3rem;
  font-weight: 800;
}

.plan-fit {
  margin-bottom: 0;
  color: var(--soft-ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-height: 64px;
  margin-top: 12px;
}

.price {
  color: #141d28;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}

.custom-price {
  font-size: 2.2rem;
}

.term {
  color: var(--soft-ink);
  font-weight: 700;
}

.billing-note {
  min-height: 42px;
  margin-bottom: 18px;
  color: var(--soft-ink);
  font-size: 0.9rem;
  line-height: 1.35;
}

.plan-action,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #bbc8d8;
  border-radius: 8px;
  color: #1f3041;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.plan-action:hover,
.cta-button:hover {
  transform: translateY(-2px);
}

.plan-action.primary,
.cta-button {
  background: linear-gradient(180deg, #249667 0%, #1c7e56 100%);
  border-color: #18724d;
  color: #ffffff;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  color: #314255;
  font-size: 0.93rem;
  line-height: 1.35;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 23px;
}

.feature-list li::before {
  position: absolute;
  top: 0.36em;
  left: 0;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  content: "";
  transform: rotate(-45deg);
}

.addons-section {
  margin-top: 48px;
  padding: 34px 0;
  border-top: 1px solid #d2dbe6;
  border-bottom: 1px solid #d2dbe6;
  animation: reveal-up 650ms ease-out 260ms both;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 22px;
}

.workflow-section,
.showcase-section,
.comparison-section,
.proof-section {
  margin-top: 52px;
  animation: reveal-up 650ms ease-out 220ms both;
}

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

.workflow-card,
.showcase-panel,
.proof-card,
.trust-card,
.faq-grid details {
  border: 1px solid #d4dce7;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 100%);
  box-shadow: var(--shadow-soft);
}

.workflow-card {
  position: relative;
  padding: 22px 22px 20px;
  overflow: hidden;
}

.workflow-card::after {
  position: absolute;
  inset: auto -24px -24px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 123, 36, 0.14) 0%, rgba(184, 123, 36, 0) 70%);
  content: "";
  pointer-events: none;
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 32px;
  margin: 0 0 14px;
  padding: 0 12px;
  border: 1px solid #d6dfe9;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.workflow-card h3,
.showcase-panel h3,
.trust-card h3,
.faq-block h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.workflow-card p:last-child,
.trust-card p,
.faq-grid p,
.schedule-summary p,
.showcase-lede {
  margin-bottom: 0;
  color: var(--soft-ink);
  line-height: 1.58;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.showcase-panel {
  padding: 18px;
}

.mock-topbar {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(47, 107, 178, 0.28);
}

.conversation-header {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.conversation-header strong {
  font-size: 1rem;
}

.conversation-header span,
.message-time,
.schedule-list span {
  color: var(--soft-ink);
  font-size: 0.85rem;
}

.message-stack {
  display: grid;
  gap: 10px;
}

.message-bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #d6e0ea;
  background: #fff;
  box-shadow: 0 8px 18px rgba(30, 41, 54, 0.08);
}

.message-bubble p {
  margin: 6px 0 8px;
  line-height: 1.5;
}

.message-role {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.message-bubble.landlord {
  margin-right: auto;
  background: rgba(255, 255, 255, 0.95);
}

.message-bubble.landlord .message-role {
  background: rgba(47, 107, 178, 0.12);
  color: #254f7f;
}

.message-bubble.vendor {
  margin-left: auto;
  background: rgba(223, 247, 234, 0.76);
}

.message-bubble.vendor .message-role {
  background: rgba(31, 138, 93, 0.14);
  color: #1a6846;
}

.message-bubble.tenant {
  margin-right: auto;
  background: rgba(248, 242, 229, 0.92);
}

.message-bubble.tenant .message-role {
  background: rgba(184, 123, 36, 0.14);
  color: #8a5e18;
}

.message-bubble.system {
  max-width: 100%;
  background: rgba(240, 245, 250, 0.88);
}

.message-bubble.system .message-role {
  background: rgba(77, 93, 110, 0.14);
  color: #475a6c;
}

.schedule-summary {
  margin-bottom: 14px;
}

.schedule-day {
  margin: 0 0 8px;
  color: var(--green-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.schedule-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d7dfe9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.schedule-list time {
  color: var(--green-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

.schedule-list strong {
  display: block;
  margin-bottom: 4px;
}

.showcase-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.showcase-points span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d6dfe9;
  background: rgba(255, 255, 255, 0.82);
  color: #344558;
  font-size: 0.84rem;
  font-weight: 700;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid #d4dce7;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 100%);
  box-shadow: var(--shadow-soft);
}

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

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #d9e2ed;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(248, 251, 255, 0.96);
  color: #344a61;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.comparison-table thead th:nth-child(3),
.comparison-table tbody td:nth-child(3) {
  background: rgba(223, 247, 234, 0.34);
}

.comparison-table tbody th {
  width: 180px;
  color: #223242;
  font-size: 0.9rem;
}

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

.proof-metrics,
.trust-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.proof-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.proof-card {
  padding: 18px;
}

.proof-card strong {
  display: block;
  margin-bottom: 8px;
  color: #1c2a38;
  font-size: 2rem;
  line-height: 1;
}

.proof-card p {
  margin: 0;
  color: var(--soft-ink);
  line-height: 1.55;
}

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

.trust-card {
  padding: 18px;
}

.faq-block {
  padding-top: 4px;
}

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

.faq-grid details {
  padding: 16px 18px;
}

.faq-grid summary {
  cursor: pointer;
  color: #213243;
  font-weight: 800;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  float: right;
  color: var(--green-strong);
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  margin-top: 12px;
}

.addon-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  color: #2c3f53;
  font-weight: 700;
  list-style: none;
}

.addon-list li {
  position: relative;
  min-height: 28px;
  padding-left: 17px;
}

.addon-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.final-cta {
  display: grid;
  justify-items: center;
  margin-top: 40px;
  padding: 52px 24px 20px;
  text-align: center;
  animation: reveal-up 640ms ease-out 320ms both;
}

.final-cta h2 {
  max-width: 780px;
  margin-bottom: 24px;
}

.cta-button {
  min-width: 220px;
}

.admin-link {
  margin-top: 12px;
  color: #395571;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-link {
  margin-top: 16px;
  color: #2f4f70;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-link {
  margin-top: 6px;
  color: #1f5d46;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid,
  .proof-metrics,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 24px, 680px);
    padding-top: 28px;
  }

  .pricing-hero,
  .billing-section {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .site-name {
    font-size: 1.92rem;
    padding: 11px 18px;
  }

  h1 {
    font-size: 3.05rem;
    line-height: 1;
  }

  h2 {
    font-size: 1.7rem;
  }

  .billing-section {
    align-items: stretch;
    margin-top: 40px;
  }

  .billing-toggle {
    width: 100%;
    min-width: 0;
  }

  .pricing-grid,
  .addon-list,
  .workflow-grid,
  .proof-metrics,
  .trust-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .plan-card:hover,
  .plan-card.featured:hover {
    transform: none;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 18px, 460px);
  }

  h1 {
    font-size: 2.52rem;
  }

  .site-name {
    font-size: 1.54rem;
    padding: 10px 16px;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .trial-panel,
  .plan-card {
    padding: 20px;
  }

  .trial-panel::before {
    opacity: 0.42;
    right: 14px;
  }

  .trial-includes {
    grid-template-columns: 1fr;
  }

  .billing-toggle {
    grid-template-columns: 1fr;
  }

  .schedule-list li {
    grid-template-columns: 1fr;
  }

  .plan-top {
    min-height: auto;
  }

  .price {
    font-size: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
