/*
  Design system matched to the Studio M pilot landing page / pilot email
  (STUDIO M - EMAIL TEST/studio-m-design-system/project/Studio M -
  Place Management Pilot Landing - Working Copy.html). Every token below
  is pulled from that file: purple #534DA0, cool ink/neutrals (not warm
  paper), Inter at weight 900 for headings with zero letter-spacing.
*/
:root {
  --purple: #534DA0;
  --purple-deep: #3F3A80;
  --purple-bright: #6F67CE;
  --purple-wash: #FBFBFD;
  --purple-soft: rgba(83, 77, 160, 0.08);
  --purple-line: rgba(83, 77, 160, 0.18);
  --purple-22: rgba(83, 77, 160, 0.24);

  --signal: #534DA0;

  --ink: #18172E;
  --body: #3E405C;
  --faint: #6F7188;
  --hair: #E6E5EC;
  --hair-soft: #EFEFF4;
  --surface: #FFFFFF;
  --page: #F4F3F7;
  --dark: #3F3A80;

  --shadow-sm: 0 1px 2px rgba(24, 23, 46, 0.04);
  --shadow-card: 0 1px 2px rgba(24, 23, 46, 0.05), 0 7px 18px rgba(24, 23, 46, 0.06);
  --shadow-panel: 0 1px 3px rgba(24, 23, 46, 0.05), 0 18px 54px rgba(24, 23, 46, 0.08);
  --shadow-btn: 0 1px 2px rgba(24, 23, 46, 0.12), 0 7px 18px rgba(83, 77, 160, 0.24);

  --r-sm: 10px;
  --r: 13px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-full: 999px;

  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --mono: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.58;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#assistant {
  flex: 1;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--purple);
  outline-offset: 2px;
}

.wrap {
  width: min(720px, 100% - 2.5rem);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

@media (min-width: 640px) {
  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 1.1rem 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair-soft);
}

.brand-logo-link {
  display: inline-block;
  line-height: 0;
  border-radius: var(--r-sm);
}

.brand-logo-link:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.brand-logo {
  display: block;
  height: clamp(30px, 8vw, 38px);
  width: auto;
}

.header-demo {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--purple);
}

.hero {
  position: relative;
  padding: clamp(3rem, 9vw, 4.5rem) 0 clamp(2.5rem, 10vw, 5rem);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 46% at 50% -6%, rgba(83, 77, 160, 0.14), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FBFBFD 62%, #F4F3F7 100%);
}

.hero-panel {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-panel);
  text-align: center;
}

.hero-panel__accent {
  display: none;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--purple);
}

.hero-title {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  color: var(--ink);
}

.hero-title__line {
  display: block;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.hero-title__accent {
  display: block;
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0;
  color: var(--purple);
}

.hero-lead {
  margin: 0 auto;
  max-width: 46ch;
  color: var(--faint);
  font-size: 1.0625rem;
  line-height: 1.62;
}

.hero-lead a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--purple-22);
}

.hero-lead a:hover {
  color: var(--purple-deep);
  border-bottom-color: var(--purple-deep);
}

.hero-lead a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.85rem;
  margin: 1.85rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-highlights__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--r-full);
  padding: 10px 18px;
  border: 1px solid var(--hair);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .12s ease, background .12s ease;
}

.hero-highlights__item:hover {
  border-color: var(--purple-line);
  background: var(--purple-wash);
}

.hero-highlights__icon {
  display: flex;
  color: var(--purple);
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 0 0 2rem;
  margin-top: auto;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}

.footer-wave {
  display: none;
}

.footer-line {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  letter-spacing: 0;
}

.footer-line a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}

.footer-line a:hover {
  color: var(--purple-deep);
  text-decoration: underline;
}

.footer-line a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
}

.footer-powered {
  margin: 0.75rem 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

.footer-powered a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--faint);
  text-decoration: none;
  font-weight: 500;
}

.footer-powered a:hover {
  color: var(--purple);
}

.footer-powered a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-powered__logo {
  height: 16px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.hero-highlights__item {
  cursor: pointer;
}

.hero-highlights__item:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
