@font-face {
  font-family: "LeagueSpartan";
  src: url("/assets/landing/fonts/LeagueSpartan-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "WorkSans";
  src: url("/assets/landing/fonts/WorkSans-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --main: #172851;
  --text: #060f45;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.84);
  --background: #fbefe5;
  --background-light: #f8f5f0;
  --grey-5: #f8f5f0;
  --grey-10: #f1ede6;
  --grey-20: #dfd8cf;
  --grey-40: #918a80;
  --grey-50: #6e6860;
  --soft: #ffd8d0;
  --soft-30: rgba(255, 216, 208, 0.3);
  --rose: #efc0b6;
  --deep: #e5a199;
  --mint-light: #e0f2f1;
  --mint-dark: #00695c;
  --blue-light: #e8f1fa;
  --blue-dark: #1565c0;
  --lavender-light: #ede7f9;
  --lavender-dark: #6a1b9a;
  --roman-coffee: #7d6448;
  --shadow: 0 24px 50px -20px rgba(125, 100, 72, 0.20);
  /* horizontal inset == the centered 1120 content column, so the header bar
     and hero content line up with the intro band, feature cards, and footer */
  --content-max: 1120px;
  --page-x: max(20px, calc((100% - var(--content-max)) / 2));
  /* softer, more premium curvature than the original 8px */
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background-light);
  color: var(--text);
  font-family: "WorkSans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px var(--page-x);
  background: rgba(248, 245, 240, 0.86);
  border-bottom: 1px solid rgba(223, 216, 207, 0.7);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--main);
  font-family: "LeagueSpartan", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.brand-link img {
  flex: 0 0 auto;
  border-radius: 10px;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--grey-50);
  font-size: 14px;
  font-weight: 500;
}

.header-nav a,
.footer-links a {
  text-decoration: none;
  transition: color 160ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--main);
  text-decoration: underline;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.store-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--rose);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--main);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 26px -10px rgba(125, 100, 72, 0.16);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease);
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  background: #fffdfb;
  border-color: var(--deep);
  box-shadow: 0 16px 32px -12px rgba(125, 100, 72, 0.22);
}

.store-button-compact {
  min-width: 126px;
  padding: 10px 16px;
  font-size: 14px;
}

.store-button-large {
  min-width: 172px;
  padding: 11px 20px;
}

.store-button-large span {
  display: grid;
  line-height: 1.08;
}

html[data-platform="ios"] [data-store-link="ios"],
html[data-platform="android"] [data-store-link="android"] {
  order: -1;
}

.store-button small {
  color: var(--grey-50);
  font-size: 11px;
  font-weight: 500;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 52px;
  padding: 124px var(--page-x) 72px;
  background:
    linear-gradient(90deg, rgba(248, 245, 240, 0.97) 0%, rgba(248, 245, 240, 0.86) 39%, rgba(248, 245, 240, 0.14) 72%),
    linear-gradient(180deg, rgba(6, 15, 69, 0) 58%, rgba(248, 245, 240, 0.82) 100%);
  background-color: var(--background-light);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%;
  background-position: center, center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: clamp(700px, 50vw, 1000px);
  background-image: url("/assets/landing/images/hero_desktop.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 40%;
  opacity: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 16%, rgba(0, 0, 0, 0.7) 42%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 16%, rgba(0, 0, 0, 0.7) 42%, #000 60%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--roman-coffee);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

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

h1,
h2,
h3 {
  font-family: "LeagueSpartan", Georgia, serif;
  color: var(--main);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: 72px;
  line-height: 0.94;
  font-weight: 600;
}

h2 {
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1.04;
  font-weight: 600;
}

h3 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 600;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.55;
}

.hero-store-actions {
  gap: 12px;
}

.hero-panel {
  position: relative;
  min-height: 480px;
}

.phone-frame {
  position: absolute;
  width: 260px;
  border: 1px solid rgba(125, 100, 72, 0.12);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: transform 400ms var(--ease);
}

.phone-frame-client {
  top: 20px;
  right: 320px;
  padding: 18px;
  transform: rotate(-2deg);
}

.hero-panel:hover .phone-frame-client {
  transform: rotate(-1deg) translateY(-4px);
}

.phone-frame-business {
  right: 48px;
  bottom: 26px;
  width: 238px;
  padding: 16px;
  background: rgba(248, 245, 240, 0.88);
  transform: rotate(2deg);
}

.hero-panel:hover .phone-frame-business {
  transform: rotate(1deg) translateY(-4px);
}

.phone-status,
.phone-profile,
.service-row,
.metric-row,
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-status {
  margin-bottom: 18px;
  color: var(--grey-50);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.phone-section {
  padding: 14px;
  border: 1px solid rgba(223, 216, 207, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.phone-section + .phone-section {
  margin-top: 12px;
}

.phone-profile {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.phone-profile strong,
.phone-profile span {
  display: block;
}

.phone-profile span,
.phone-section-title,
.metric-row span,
.dashboard-header span {
  color: var(--grey-50);
  font-size: 12px;
}

.service-row {
  padding: 8px 0;
  color: var(--grey-50);
  font-size: 13px;
}

.service-row + .service-row {
  border-top: 1px solid rgba(223, 216, 207, 0.7);
}

.service-row strong,
.metric-row strong {
  color: var(--main);
}

.service-row strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.time-grid span {
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--soft-30);
  color: var(--main);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* signature: one slot reads as the chosen time, the way a client picks it */
.time-grid span:nth-child(2) {
  background: var(--main);
  color: var(--white);
}

.metric-row {
  align-items: stretch;
  margin-bottom: 12px;
}

.metric-row div {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--white);
}

.metric-row span,
.metric-row strong {
  display: block;
}

.availability-bars {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.availability-bars span {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--rose);
}

.availability-bars span:nth-child(2) {
  width: 72%;
  background: var(--deep);
}

.availability-bars span:nth-child(3) {
  width: 54%;
  background: var(--main);
}

/* ===== INTRO BAND ===== */
.intro-band {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: -38px auto 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.intro-item {
  min-height: 132px;
  padding: 26px;
  background: var(--white);
  transition: background 220ms var(--ease);
}

.intro-item:hover {
  background: #fffdfb;
}

.intro-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--roman-coffee);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-item strong {
  display: block;
  color: var(--main);
  font-family: "LeagueSpartan", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.08;
}

/* ===== SECTIONS ===== */
.content-section,
.trust-section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.content-section {
  padding: 112px 0 0;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 40px;
}

.section-heading p:not(.eyebrow),
.trust-section p,
.site-footer p {
  color: var(--grey-50);
}

.section-heading p:not(.eyebrow) {
  font-size: 18px;
}

/* ===== CLIENT FEATURE GRID — numbered editorial cards, not generic shadow cards ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: feature;
}

.feature-card {
  position: relative;
  min-height: 254px;
  padding: 24px;
  border: 1px solid var(--grey-20);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: none;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--rose);
  background: #fffdfb;
}

.feature-card::after {
  counter-increment: feature;
  content: "0" counter(feature);
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--roman-coffee);
  font-family: "LeagueSpartan", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

/* delicate line icons get a soft chip so they read with intent */
.feature-card img,
.workspace-item img {
  width: 60px;
  height: 60px;
  padding: 14px;
  border-radius: 16px;
  background: var(--soft-30);
  transition: background 240ms var(--ease), transform 240ms var(--ease);
}

.feature-card img {
  margin-bottom: 22px;
}

.feature-card:hover img {
  background: var(--soft);
  transform: translateY(-2px);
}

.feature-card p,
.workspace-item p {
  margin-bottom: 0;
  color: var(--grey-50);
  font-size: 15px;
}

/* ===== SPECIALIST WORKSPACE ===== */
.specialist-section {
  padding-bottom: 32px;
}

.workspace-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: stretch;
}

.workspace-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.workspace-item {
  display: flex;
  gap: 16px;
  min-height: 162px;
  padding: 24px;
  border: 1px solid var(--grey-20);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}

.workspace-item:hover {
  transform: translateY(-3px);
  border-color: var(--rose);
}

.workspace-item img {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  margin-top: 2px;
}

.dashboard-preview {
  display: grid;
  align-content: space-between;
  min-height: 338px;
  padding: 24px;
  border: 1px solid rgba(125, 100, 72, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(255, 216, 208, 0.55) 0%, rgba(255, 216, 208, 0.14) 55%, var(--white) 100%);
  box-shadow: var(--shadow);
}

.dashboard-header strong {
  color: var(--main);
}

.dashboard-menu {
  display: grid;
  gap: 12px;
}

.dashboard-menu span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--main);
  font-weight: 600;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.dashboard-menu span:hover {
  background: var(--white);
  transform: translateX(4px);
}

/* ===== TRUST ===== */
.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  margin-top: 72px;
  padding: 48px;
  border: 1px solid rgba(223, 216, 207, 0.86);
  border-radius: var(--radius-lg);
  background: var(--main);
  color: var(--white);
}

.trust-section h2,
.trust-section .eyebrow {
  color: var(--white);
}

.trust-section .eyebrow {
  color: var(--soft);
}

.trust-section p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.trust-list li {
  padding: 16px 16px 16px 20px;
  border-left: 3px solid var(--soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  transition: background 200ms var(--ease);
}

.trust-list li:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ===== FOOTER ===== */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 54px 0 36px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--grey-50);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1040px) {
  .site-header {
    gap: 18px;
  }

  .header-nav {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-panel {
    display: none;
  }

  .phone-frame-client {
    left: 0;
    right: auto;
  }

  .phone-frame-business {
    right: 0;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 36px;
  }

  .intro-band,
  .feature-grid,
  .workspace-layout,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .workspace-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-preview {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  :root {
    --page-x: 16px;
  }

  .site-header {
    height: 68px;
    padding: 10px var(--page-x);
    grid-template-columns: 1fr auto;
  }

  .brand-link {
    font-size: 22px;
  }

  .brand-link img {
    width: 42px;
    height: 42px;
  }

  .header-actions {
    display: none;
  }

  .hero-section {
    min-height: 90svh;
    padding: 100px var(--page-x) 52px;
    background:
      linear-gradient(180deg, rgba(248, 245, 240, 0.92) 0%, rgba(248, 245, 240, 0.74) 44%, rgba(248, 245, 240, 0.1) 100%),
      linear-gradient(0deg, rgba(248, 245, 240, 0.88), rgba(248, 245, 240, 0.06) 44%),
      url("/assets/landing/images/native_splash_background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
  }

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

  .hero-content {
    max-width: 100%;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .store-actions {
    align-items: stretch;
  }

  .store-button-large {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .phone-frame {
    width: 210px;
    border-radius: 28px;
  }

  .phone-frame-client {
    top: 0;
  }

  .phone-frame-business {
    top: 142px;
    bottom: auto;
    width: 190px;
  }

  .phone-section,
  .metric-row div {
    padding: 11px;
  }

  .metric-row {
    gap: 8px;
  }

  .phone-frame-business .phone-section {
    display: none;
  }

  .intro-band {
    width: calc(100% - 32px);
    margin-top: 0;
  }

  .content-section,
  .trust-section,
  .site-footer {
    width: calc(100% - 32px);
  }

  .content-section {
    padding-top: 76px;
  }

  .feature-grid,
  .workspace-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .workspace-item {
    min-height: 0;
  }

  .dashboard-preview {
    min-height: 0;
    padding: 18px;
    gap: 16px;
  }

  .dashboard-header {
    display: grid;
    justify-content: start;
    gap: 4px;
  }

  .dashboard-header strong {
    font-size: 28px;
    line-height: 1;
  }

  .dashboard-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .dashboard-menu span {
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1.1;
  }

  .dashboard-menu span:hover {
    transform: none;
  }

  .dashboard-menu img {
    width: 22px;
    height: 22px;
  }

  .trust-section {
    margin-top: 48px;
    padding: 28px;
  }

  .footer-store-actions {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero-section {
    min-height: 92svh;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-panel {
    display: none;
  }

  .phone-frame {
    width: 184px;
  }

  .phone-frame-client {
    padding: 12px;
  }

  .phone-frame-business {
    top: 150px;
    width: 166px;
    padding: 12px;
  }

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

  .time-grid span:nth-child(3) {
    display: none;
  }

  .dashboard-preview {
    padding: 16px;
  }

  .dashboard-header strong {
    font-size: 25px;
  }

  .dashboard-menu span {
    min-height: 78px;
    font-size: 13px;
  }
}

/* ===== borderless blocks + borderless store buttons ===== */
.site-header { border-bottom: none; }
.store-button { border: none; }
.store-button:hover,
.store-button:focus-visible { border: none; }
.phone-frame { border: none; display: none; }
.feature-card,
.workspace-item { border: none; box-shadow: 0 16px 38px -16px rgba(125, 100, 72, 0.13); }
.feature-card:hover,
.workspace-item:hover { border: none; box-shadow: 0 26px 50px -18px rgba(125, 100, 72, 0.18); }
.intro-band { border: none; }
.dashboard-preview { border: none; }
.trust-section { border: none; display: none; }
.trust-list li { border-left: none; padding-left: 16px; }
