:root {
  --ink: #102033;
  --muted: #607089;
  --line: #d6e2ef;
  --paper: #ffffff;
  --wash: #f4f8fb;
  --green: #16865f;
  --green-dark: #0f6449;
  --amber: #e59b22;
  --coral: #ef6f5e;
  --blue: #3677d4;
  --violet: #7a5ce1;
  --mint: #dff8ec;
  --sky: #dff0ff;
  --shadow-sm: 0 12px 32px rgba(16, 32, 51, 0.08);
  --shadow-lg: 0 28px 80px rgba(16, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f9fcff 0%, var(--wash) 36%, #eef7f3 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(214, 226, 239, 0.9);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 28px rgba(16, 32, 51, 0.05);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: clamp(128px, 12vw, 164px);
  height: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #ffffff;
  padding: 0 18px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(22, 134, 95, 0.22);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
  box-shadow: 0 16px 34px rgba(22, 134, 95, 0.28);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
}

.button-secondary:hover {
  border-color: #b7c4d6;
  background: #eef4fa;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 75px));
  place-items: center;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px) 20px;
  background: #eef7fb;
}

.hero::before {
  position: absolute;
  inset: auto -10% 22px -10%;
  height: 96px;
  background: rgba(22, 134, 95, 0.12);
  content: "";
  transform: rotate(-2deg);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10px;
  background: var(--green);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  border: 1px solid rgba(22, 134, 95, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 12px;
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.06);
}

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

.hero-logo-mark {
  display: block;
  width: auto;
  max-width: min(500px, 76vw);
  max-height: clamp(96px, 15vw, 150px);
  height: auto;
  margin: -8px auto 10px;
}

.hero h1 {
  width: min(820px, 100%);
  margin: 0 auto 16px;
  font-size: clamp(2.35rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-logo-title {
  display: flex;
  justify-content: center;
  margin: -10px auto 8px;
}

.hero-logo-title img {
  display: block;
  width: auto;
  max-width: min(620px, 86vw);
  max-height: clamp(150px, 24vw, 240px);
  height: auto;
}

.hero-copy {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #31425c;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.hero-highlights span {
  border: 1px solid rgba(214, 226, 239, 0.96);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 9px 12px;
  color: #31425c;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.06);
}

.hero-highlights span:nth-child(2) {
  border-color: rgba(228, 154, 50, 0.55);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 236, 202, 0.9));
  color: #162a3d;
  padding: 11px 16px;
  box-shadow: 0 14px 34px rgba(104, 67, 20, 0.16);
  transform: translateY(-1px);
}

.tenant-preview {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 12px 14px;
  color: var(--muted);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.08);
}

.tenant-preview strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 90px) 0;
}

.seo-hero {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 94px) 0;
}

.seo-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.seo-hero p,
.seo-band .section-heading p,
.workflow-list p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.seo-hero-copy > p:not(.eyebrow) {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.seo-hero .hero-actions {
  justify-content: flex-start;
}

.seo-hero-media {
  position: relative;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  transform: none;
}

.seo-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  border-radius: 4px;
}

.product-collage {
  min-height: clamp(600px, 66vw, 760px);
  isolation: isolate;
}

.product-collage::before {
  position: absolute;
  inset: auto 8% 8% auto;
  width: 62%;
  height: 62%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(54, 119, 212, 0.12), rgba(54, 119, 212, 0));
  content: "";
  z-index: -1;
}

.product-collage::after {
  position: absolute;
  inset: 6% auto auto 18%;
  width: 58%;
  height: 54%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(22, 134, 95, 0.12), rgba(22, 134, 95, 0));
  content: "";
  z-index: -1;
}

.collage-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 8px;
  background: #ffffff;
  padding: 0;
  cursor: zoom-in;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.15);
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.gallery-trigger:hover,
.gallery-trigger:focus-visible {
  box-shadow: 0 28px 78px rgba(16, 32, 51, 0.22);
  outline: 3px solid rgba(54, 119, 212, 0.24);
  outline-offset: 3px;
}

.collage-main {
  top: 18px;
  right: 0;
  left: 0;
  height: 52%;
  z-index: 5;
  box-shadow: 0 30px 78px rgba(16, 32, 51, 0.22);
}

.collage-detail {
  top: 38%;
  right: 2%;
  left: auto;
  width: 54%;
  height: 30%;
  z-index: 4;
  box-shadow: 0 20px 54px rgba(16, 32, 51, 0.18);
  transform: rotate(1.5deg);
}

.collage-services {
  bottom: 38px;
  left: 2%;
  width: 46%;
  height: 29%;
  z-index: 2;
  transform: rotate(-2deg);
}

.collage-customers {
  bottom: 132px;
  left: 12%;
  width: 42%;
  height: 24%;
  z-index: 1;
  transform: rotate(1.5deg);
}

.collage-reviews {
  right: 1%;
  bottom: 94px;
  width: 45%;
  height: 30%;
  z-index: 3;
  transform: rotate(2deg);
}

.collage-email {
  right: 11%;
  bottom: 20px;
  width: 42%;
  height: 26%;
  z-index: 3;
  transform: rotate(-1deg);
}

.collage-detail img {
  object-position: 50% 0;
}

.collage-reviews img,
.collage-email img {
  object-position: 45% 0;
}

.collage-caption {
  position: absolute;
  right: 4px;
  bottom: -34px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.collage-caption::before {
  content: "↗ ";
}

body.gallery-open {
  overflow: hidden;
}

.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(16, 32, 51, 0.76);
  padding: clamp(14px, 2vw, 28px);
}

.gallery-overlay[hidden] {
  display: none;
}

.gallery-dialog {
  display: grid;
  width: min(1460px, 100%);
  max-height: min(900px, 94vh);
  overflow: hidden;
  border: 1px solid rgba(214, 226, 239, 0.5);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.gallery-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px clamp(18px, 3vw, 30px);
}

.gallery-topbar .eyebrow,
.gallery-topbar h2,
.gallery-topbar p {
  margin-bottom: 0;
}

.gallery-topbar h2 {
  margin-top: 4px;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.1;
}

.gallery-topbar p:not(.eyebrow) {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.gallery-close {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  background: #f5f8fb;
  padding: clamp(14px, 2.5vw, 30px);
}

.gallery-image {
  display: block;
  max-width: 100%;
  max-height: min(660px, 68vh);
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.18);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  display: grid;
  width: 46px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(214, 226, 239, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 2.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 14px clamp(18px, 3vw, 30px);
}

.gallery-count {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #cbd7e4;
  cursor: pointer;
  padding: 0;
}

.gallery-dot[aria-current="true"] {
  background: var(--green);
}

.seo-band .section-heading {
  width: min(820px, 100%);
}

.workflow-section {
  padding-top: clamp(46px, 6vw, 72px);
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-list article {
  display: grid;
  align-items: start;
  gap: 18px;
  grid-template-columns: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.workflow-list h3,
.faq-grid h3 {
  margin-bottom: 8px;
}

.workflow-list p,
.faq-grid p {
  margin-bottom: 0;
}

.faq-section {
  padding-top: 0;
}

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

.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

nav a[aria-current="page"] {
  color: var(--ink);
}

.comparison-section,
.buyer-section {
  padding-top: 0;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 1.15fr;
  border-top: 1px solid #e4edf5;
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row span {
  min-width: 0;
  padding: 16px;
  color: var(--muted);
  line-height: 1.5;
}

.comparison-row span:not(:first-child) {
  border-left: 1px solid #e4edf5;
}

.comparison-row span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.comparison-head {
  background: #f3f8fc;
}

.comparison-head span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comparison-row span:last-child {
  background: #f3fbf6;
  color: #123d30;
}

.buyer-panel {
  display: grid;
  align-items: start;
  gap: clamp(24px, 5vw, 54px);
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 252, 0.9));
  padding: clamp(26px, 5vw, 42px);
  box-shadow: var(--shadow-sm);
}

.buyer-panel h2,
.mid-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.05;
}

.buyer-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.check-list li {
  position: relative;
  border: 1px solid #dce8f2;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px 16px 14px 44px;
  color: #31425c;
  line-height: 1.5;
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.05);
}

.check-list li::before {
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
}

.mid-cta {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
  border: 1px solid rgba(214, 226, 239, 0.95);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--shadow-sm);
}

.mid-cta .eyebrow,
.mid-cta h2 {
  margin-bottom: 0;
}

.mid-cta .button {
  flex: 0 0 auto;
}

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

.product-strip div,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.product-strip div {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.product-strip div::before,
.feature-grid article::before {
  display: block;
  width: 46px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  content: "";
}

.product-strip div:nth-child(1)::before,
.feature-grid article:nth-child(1)::before,
.feature-grid article:nth-child(4)::before {
  background: var(--blue);
}

.product-strip div:nth-child(2)::before,
.feature-grid article:nth-child(2)::before,
.feature-grid article:nth-child(5)::before {
  background: var(--green);
}

.product-strip div:nth-child(3)::before,
.feature-grid article:nth-child(3)::before,
.feature-grid article:nth-child(6)::before {
  background: var(--amber);
}

.product-strip strong,
.feature-grid h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.product-strip p,
.feature-grid p,
.cta p {
  color: var(--muted);
  line-height: 1.65;
}

.stat {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #fff7e8;
  color: #9f5f08;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 900;
}

.product-strip div:nth-child(1) .stat {
  background: #eaf3ff;
  color: #24589d;
}

.product-strip div:nth-child(2) .stat {
  background: var(--mint);
  color: #116246;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 28px;
}

.preview-note {
  margin-top: -8px;
  color: var(--muted);
  line-height: 1.6;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.app-preview {
  padding-top: 0;
}

.preview-shell {
  display: grid;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  grid-template-columns: 210px 1fr;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background:
    linear-gradient(180deg, #243448 0%, #334155 58%, #1f3f38 100%);
  padding: 18px;
  color: #dbe3ef;
  font-weight: 800;
}

.preview-sidebar img {
  width: 150px;
  height: auto;
  margin: 0 auto 12px;
}

.preview-sidebar span {
  border-radius: 8px;
  padding: 12px 14px;
}

.preview-sidebar .active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--amber);
}

.preview-board {
  min-width: 0;
  background:
    linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
  padding: 24px;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.preview-toolbar strong {
  display: block;
  color: #0f172a;
  font-size: 1.45rem;
}

.preview-toolbar span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.preview-toolbar button,
.booking-preview button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  padding: 0 16px;
  font: inherit;
  font-weight: 900;
}

.preview-toolbar button {
  box-shadow: 0 10px 20px rgba(22, 134, 95, 0.2);
}

.kanban-sample {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.kanban-sample article {
  min-height: 360px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f0f5fa;
  overflow: hidden;
}

.kanban-sample h3,
.phone-preview h3,
.booking-preview h3,
.stats-preview h3 {
  margin-bottom: 0;
  color: #0f172a;
  font-size: 1rem;
}

.kanban-sample h3 {
  margin: 0 0 12px;
  padding: 12px 14px;
  color: #ffffff;
}

.kanban-sample article > .job-card {
  margin-right: 12px;
  margin-left: 12px;
}

.kanban-sample article > .job-card:last-child {
  margin-bottom: 12px;
}

.stage-booked h3 {
  background: #64748b;
}

.stage-working h3 {
  background: #f59e0b;
}

.stage-ready h3 {
  background: #10b981;
}

.job-card {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  border: 1px solid #d9e5f2;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.job-card strong,
.job-card span {
  color: #0f172a;
}

.job-card small {
  color: var(--muted);
}

.job-card.selected {
  border-color: rgba(31, 122, 92, 0.4);
  box-shadow: 0 10px 28px rgba(31, 122, 92, 0.18);
}

.preview-grid {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  grid-template-columns: 0.82fr 1fr 0.82fr;
}

.phone-preview,
.booking-preview,
.stats-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.phone-preview {
  max-width: 340px;
  justify-self: stretch;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.phone-top {
  width: 76px;
  height: 6px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #cbd5e1;
}

.phone-preview p {
  color: var(--muted);
  line-height: 1.55;
}

.status-pill {
  display: inline-flex;
  margin: 8px 0 16px;
  border-radius: 999px;
  background: var(--mint);
  padding: 8px 12px;
  color: #166534;
  font-size: 0.86rem;
  font-weight: 900;
}

.chat-bubble {
  max-width: 86%;
  margin-top: 10px;
  border-radius: 8px;
  background: #e2e8f0;
  padding: 10px 12px;
  color: #1e293b;
  font-size: 0.92rem;
}

.chat-bubble.staff {
  margin-left: auto;
  background: var(--green);
  color: #ffffff;
}

.booking-preview {
  display: grid;
  gap: 12px;
}

.booking-preview label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.booking-preview label span {
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
  color: #0f172a;
  font-size: 0.96rem;
  font-weight: 700;
}

.stats-preview {
  display: grid;
  gap: 12px;
}

.stats-preview div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}

.stats-preview div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stats-preview strong {
  color: var(--blue);
  font-size: 2rem;
}

.stats-preview div:nth-of-type(2) strong {
  color: var(--green);
}

.stats-preview div:nth-of-type(3) strong {
  color: var(--amber);
}

.stats-preview span {
  color: var(--muted);
  font-weight: 700;
}

.web-showcase {
  min-height: 500px;
  margin-bottom: 18px;
}

.web-showcase .preview-board {
  background:
    linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%),
    linear-gradient(90deg, rgba(54, 119, 212, 0.08), rgba(22, 134, 95, 0.08));
}

.web-showcase .preview-toolbar strong {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.web-showcase .kanban-sample article {
  min-height: 318px;
}

.device-showcase {
  position: relative;
  display: grid;
  min-height: clamp(640px, 72vw, 860px);
  overflow: hidden;
  border: 1px solid rgba(214, 226, 239, 0.95);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(236, 246, 252, 0.92) 50%, rgba(225, 247, 236, 0.9) 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.device-showcase::before {
  position: absolute;
  inset: 72px -90px auto auto;
  width: min(540px, 50vw);
  height: 96px;
  background: rgba(54, 119, 212, 0.1);
  content: "";
  transform: rotate(-8deg);
  z-index: -1;
}

.device-showcase::after {
  position: absolute;
  bottom: 70px;
  left: -120px;
  width: min(680px, 62vw);
  height: 120px;
  background: rgba(22, 134, 95, 0.11);
  content: "";
  transform: rotate(9deg);
  z-index: -1;
}

.device-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(16, 32, 51, 0.18);
}

.device-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tablet-frame {
  border-radius: 8px;
  padding: 10px;
}

.phone-frame {
  border-radius: 34px;
  padding: 9px;
}

.phone-frame img {
  border-radius: 26px;
}

.tablet-primary {
  top: 52px;
  left: clamp(22px, 5vw, 62px);
  width: min(68%, 720px);
  aspect-ratio: 1668 / 2388;
  transform: rotate(-2deg);
}

.tablet-secondary {
  right: clamp(20px, 4vw, 56px);
  bottom: 46px;
  width: min(54%, 560px);
  aspect-ratio: 1668 / 2388;
  transform: rotate(2.5deg);
}

.phone-primary {
  top: 88px;
  right: clamp(24px, 5vw, 70px);
  width: min(29%, 250px);
  aspect-ratio: 1179 / 2556;
  transform: rotate(6deg);
  z-index: 3;
}

.phone-secondary {
  bottom: 62px;
  left: clamp(32px, 8vw, 130px);
  width: min(25%, 218px);
  aspect-ratio: 1179 / 2556;
  transform: rotate(-7deg);
  z-index: 4;
}

.preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.preview-grid article {
  display: grid;
  align-content: start;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.preview-grid h3 {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 1rem;
}

.preview-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.chat-preview-card {
  grid-template-columns: 1fr 92px;
  gap: 14px;
  overflow: hidden;
}

.chat-preview-card img {
  align-self: center;
  width: 92px;
  height: 142px;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 14px 28px rgba(16, 32, 51, 0.12);
}

.feature-grid article {
  position: relative;
  min-height: 200px;
  padding: 22px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.feature-grid article:hover {
  border-color: #bdd0e6;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.12);
  transform: translateY(-2px);
}

.cta {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto clamp(48px, 7vw, 80px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #102033 0%, #173f44 52%, #145f49 100%);
  color: #ffffff;
  padding: clamp(32px, 5vw, 54px);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta p {
  width: min(660px, 100%);
  margin: 0 auto 24px;
  color: #dbe3ef;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
}

footer nav a:hover {
  color: var(--ink);
}

.legal-main {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px) clamp(48px, 6vw, 80px);
}

.legal-hero {
  margin-bottom: 32px;
}

.legal-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.legal-hero > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.legal-content {
  display: grid;
  gap: 28px;
}

.legal-content section {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.legal-content h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.legal-content p,
.legal-content li {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-content ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

.legal-content li:last-child,
.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--green);
}

.legal-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  color: var(--ink);
  background: var(--wash);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.support-cards {
  display: grid;
  gap: 16px;
}

.support-card {
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--wash);
  border: 1px solid var(--line);
}

.support-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.support-card p:last-child {
  margin-bottom: 0;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    text-align: center;
  }

  .brand img {
    width: clamp(118px, 36vw, 148px);
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .button-small {
    min-height: 34px;
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
    place-items: center;
    text-align: center;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-logo-mark,
  .hero-logo-title img {
    max-width: min(380px, 86vw);
    max-height: 160px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .tenant-preview {
    justify-content: center;
  }

  .seo-hero-copy {
    text-align: center;
  }

  .seo-hero .hero-actions {
    justify-content: center;
  }

  .seo-hero,
  .buyer-panel,
  .product-strip,
  .feature-grid,
  .faq-grid,
  .preview-grid,
  .kanban-sample {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    display: grid;
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .comparison-row {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    grid-template-columns: 1fr;
  }

  .comparison-head {
    display: none;
  }

  .comparison-row span,
  .comparison-row span:not(:first-child) {
    border-left: 0;
    padding: 12px 16px;
  }

  .comparison-row span:not(:first-child) {
    border-top: 1px solid #e4edf5;
  }

  .comparison-row span:nth-child(2)::before {
    content: "Paper or spreadsheet: ";
    font-weight: 900;
  }

  .comparison-row span:nth-child(3)::before {
    content: "Generic POS: ";
    font-weight: 900;
  }

  .comparison-row span:nth-child(4)::before {
    content: "Bike Ops: ";
    font-weight: 900;
  }

  .mid-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-hero-media {
    transform: none;
  }

  .product-collage {
    min-height: 620px;
  }

  .collage-main {
    top: 18px;
    right: 16px;
    left: 16px;
    height: 46%;
  }

  .collage-detail {
    top: 43%;
    right: 18px;
    left: auto;
    width: 68%;
    height: 25%;
  }

  .collage-services {
    bottom: 104px;
    left: 16px;
    width: 52%;
    height: 23%;
  }

  .collage-customers {
    bottom: 144px;
    left: 44px;
    width: 50%;
    height: 20%;
  }

  .collage-reviews {
    right: 16px;
    bottom: 58px;
    width: 52%;
    height: 24%;
  }

  .collage-email {
    right: 54px;
    bottom: 18px;
    width: 50%;
    height: 20%;
  }

  .collage-caption {
    right: 0;
    bottom: -30px;
    left: 0;
    font-size: 0.82rem;
    text-align: center;
  }

  .preview-shell {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-board {
    padding: 16px;
  }

  .gallery-dialog {
    max-height: 96vh;
  }

  .gallery-topbar,
  .gallery-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-stage {
    padding: 12px;
  }

  .gallery-image {
    max-height: 58vh;
  }

  .gallery-nav {
    top: auto;
    bottom: 14px;
    width: 42px;
    height: 44px;
    font-size: 2rem;
    transform: none;
  }

  .gallery-prev {
    left: 18px;
  }

  .gallery-next {
    right: 18px;
  }

  .preview-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .kanban-sample article {
    min-height: auto;
  }

  .web-showcase {
    min-height: auto;
  }

  .phone-preview {
    max-width: none;
  }

  .device-showcase {
    min-height: 760px;
  }

  .tablet-primary {
    top: 28px;
    left: 18px;
    width: 76%;
  }

  .tablet-secondary {
    right: 16px;
    bottom: 30px;
    width: 64%;
  }

  .phone-primary {
    top: 180px;
    right: 18px;
    width: 34%;
  }

  .phone-secondary {
    bottom: 94px;
    left: 22px;
    width: 30%;
  }

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

  .chat-preview-card {
    grid-template-columns: 1fr 88px;
  }

}
