:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius: 0.875rem;
  --background: oklch(0.12 0.003 270);
  --foreground: oklch(0.98 0.001 95);
  --surface: oklch(0.16 0.004 270);
  --surface-2: oklch(0.2 0.005 270);
  --hairline: oklch(0.26 0.008 270);
  --card: oklch(0.15 0.004 270);
  --muted-foreground: oklch(0.62 0.012 90);
  --accent: oklch(0.8 0.11 85);
  --accent-foreground: oklch(0.12 0.003 270);
  --border: oklch(0.26 0.008 270);
  --shadow-soft: 0 1px 2px rgb(0 0 0 / 0.25), 0 4px 16px rgb(0 0 0 / 0.2);
  --shadow-card: 0 1px 2px rgb(0 0 0 / 0.25), 0 8px 32px rgb(0 0 0 / 0.3);
  --shadow-elev: 0 2px 4px rgb(0 0 0 / 0.3), 0 16px 48px rgb(0 0 0 / 0.4);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-feature-settings: "cv11", "ss01", "ss03";
}

::selection {
  background: color-mix(in oklab, var(--accent) 25%, transparent);
  color: var(--foreground);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

svg {
  display: block;
}

.site {
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
}

.container {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container.narrow {
  max-width: 56rem;
}

.center {
  text-align: center;
}

.display {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-weight: 600;
  text-wrap: balance;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 500;
}

.muted {
  color: var(--muted-foreground);
}

.accent-text {
  color: var(--accent);
}

.glass {
  background: color-mix(in oklab, var(--background) 70%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  width: min(100%, 72rem);
  height: 4rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand,
.wordmark,
.header-actions,
.main-nav,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.625rem;
  flex: 0 0 auto;
}

.logo-mark {
  color: var(--foreground);
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.wordmark {
  align-items: baseline;
}

.wordmark-main {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.wordmark-accent {
  font-size: 0.8125rem;
  letter-spacing: -0.025em;
  color: var(--accent);
}

.main-nav {
  display: none;
  gap: 2rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.main-nav a,
.footer-links a,
.signin-link {
  transition: color 160ms ease;
}

.main-nav a:hover,
.footer-links a:hover,
.signin-link:hover {
  color: var(--foreground);
}

.header-actions {
  gap: 0.5rem;
  flex: 0 0 auto;
}

.signin-link {
  display: none;
  height: 2.25rem;
  align-items: center;
  padding-inline: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.button {
  min-width: max-content;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-inline: 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 160ms ease, background-color 160ms ease;
}

.button-small {
  height: 2.25rem;
  padding-inline: 1rem;
}

.button-primary {
  background: var(--foreground);
  color: var(--background);
  box-shadow: var(--shadow-soft);
}

.button-primary:hover {
  opacity: 0.9;
}

.button-secondary {
  border: 1px solid var(--hairline);
  background: var(--card);
  color: var(--foreground);
}

.button-secondary:hover {
  background: var(--surface);
}

.icon {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 5rem 6rem;
}

.hero-bg {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 600px;
  z-index: -1;
  background: radial-gradient(
    60% 50% at 50% 0%,
    color-mix(in oklab, var(--accent) 10%, transparent),
    transparent 70%
  );
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  background: var(--card);
  padding: 0.375rem 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1rem;
  box-shadow: var(--shadow-soft);
}

.dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  flex: 0 0 auto;
}

.dot-accent,
.notification-dot.dot-accent {
  background: var(--accent);
}

.dot-green {
  background: oklch(0.7 0.15 150);
}

.dot-muted {
  background: color-mix(in oklab, var(--muted-foreground) 40%, transparent);
}

.hero-title {
  margin-top: 2rem;
  font-size: 3rem;
}

.hero-lead {
  max-width: 42rem;
  margin: 1.75rem auto 0;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.75rem;
  text-wrap: pretty;
}

.hero-sublead {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.cta-row {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-visual-wrap {
  margin-top: 5rem;
  padding-inline: 1.5rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
}

.hero-ambient {
  position: absolute;
  inset-inline: 2.5rem;
  top: -2.5rem;
  height: 16rem;
  border-radius: 9999px;
  filter: blur(64px);
  opacity: 0.6;
  background: radial-gradient(
    60% 60% at 50% 50%,
    color-mix(in oklab, var(--accent) 18%, transparent),
    transparent 70%
  );
}

.dashboard-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: var(--shadow-elev);
}

.window-chrome {
  height: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 1.25rem;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}

.chrome-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
}

.chrome-dot-one {
  background: oklch(0.88 0.02 30);
}

.chrome-dot-two {
  background: oklch(0.9 0.02 90);
}

.chrome-dot-three {
  background: oklch(0.9 0.02 150);
}

.window-url {
  margin-left: 1rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.5rem;
}

.dashboard-card {
  grid-column: span 12;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: var(--background);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.dashboard-card-header,
.automation-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-card-header > span,
.inquiry-time,
.automation-list li > span:last-child {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.metric-line {
  margin-top: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.metric-value {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.metric-label,
.stat-card p,
.inquiry-topic {
  color: var(--muted-foreground);
}

.metric-label,
.inquiry-name,
.automation-copy,
.notification-list li {
  font-size: 0.875rem;
}

.inquiry-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.inquiry-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9999px;
  background: var(--surface-2);
  font-size: 0.75rem;
  font-weight: 500;
}

.inquiry-copy {
  min-width: 0;
  flex: 1;
}

.inquiry-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inquiry-name {
  font-weight: 500;
}

.inquiry-topic {
  font-size: 0.75rem;
}

.stats-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card {
  border-radius: 0.75rem;
  background: var(--surface);
  padding: 1rem;
}

.stat-card p {
  font-size: 0.75rem;
}

.stat-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: -0.025em;
}

.chart-shell {
  position: relative;
  overflow: hidden;
  height: 5rem;
  margin-top: 1rem;
  border-radius: 0.75rem;
  background: var(--surface);
}

.chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.automation-list {
  margin-top: 1rem;
}

.automation-list li {
  padding-block: 0.75rem;
}

.automation-list li + li {
  border-top: 1px solid var(--hairline);
}

.automation-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.automation-icon {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background: var(--surface-2);
}

.notification-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notification-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background: var(--surface);
  padding: 0.75rem;
  line-height: 1.375;
}

.notification-dot {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.25rem;
  border-radius: 9999px;
  flex: 0 0 auto;
}

.connector-pill {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -1.25rem;
  transform: translateX(-50%);
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  background: var(--card);
  padding: 0.5rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  box-shadow: var(--shadow-card);
}

.section {
  padding-block: 6rem;
}

.surface-section {
  background: var(--surface);
}

.section-intro {
  max-width: 48rem;
  margin-bottom: 3.5rem;
}

.section-intro .eyebrow {
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-card {
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.feature-card:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--surface);
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.value-column h3 {
  letter-spacing: -0.025em;
  font-weight: 600;
}

.feature-card h3 {
  margin-top: 1.5rem;
  font-size: 1.125rem;
}

.feature-card p,
.value-column p:last-child {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.625;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.value-column {
  border-top: 1px solid var(--hairline);
  padding-top: 2rem;
}

.value-index {
  color: var(--muted-foreground);
  font: 0.75rem ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}

.value-column h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.value-column p:last-child {
  max-width: 20rem;
  margin-top: 0.75rem;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.pricing-card.highlighted {
  border-color: transparent;
  background: var(--foreground);
  color: var(--background);
  box-shadow: var(--shadow-elev);
}

.recommended {
  position: absolute;
  left: 50%;
  top: -0.75rem;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.plan-name {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.highlighted .plan-name,
.highlighted .plan-description {
  color: color-mix(in oklab, var(--background) 70%, transparent);
}

.plan-price {
  margin-top: 1rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.plan-description {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.625;
}

.plan-features {
  margin-top: 1.5rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
}

.highlighted .plan-features li {
  color: color-mix(in oklab, var(--background) 85%, transparent);
}

.check {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex: 0 0 auto;
  color: var(--muted-foreground);
  background:
    linear-gradient(45deg, transparent 45%, currentColor 45% 58%, transparent 58%) 3px 8px / 5px 5px
      no-repeat,
    linear-gradient(135deg, transparent 42%, currentColor 42% 58%, transparent 58%) 7px 4px / 8px 9px
      no-repeat;
}

.highlighted .check {
  color: color-mix(in oklab, var(--background) 70%, transparent);
}

.plan-button {
  height: 2.75rem;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 160ms ease;
}

.highlighted .plan-button {
  background: var(--background);
  color: var(--foreground);
}

.plan-button:hover {
  opacity: 0.9;
}

.system-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.system-title {
  margin-top: 1rem;
  font-size: 2.25rem;
}

.system-copy > p:last-child {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.625;
  text-wrap: pretty;
}

.system-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.system-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
}

.system-lines line {
  stroke: var(--hairline);
  stroke-width: 0.4;
}

.system-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  background: var(--background);
  padding: 0.375rem 0.75rem;
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.system-node.primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-foreground);
}

.guarantee-card {
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  background: var(--card);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.guarantee-title {
  max-width: 48rem;
  margin: 1.25rem auto 0;
  font-size: 1.875rem;
}

.guarantee-copy {
  max-width: 36rem;
  margin: 1.25rem auto 0;
  color: var(--muted-foreground);
}

.final-cta {
  padding-block: 7rem;
}

.final-title {
  font-size: 3rem;
}

.final-copy {
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.site-footer {
  border-top: 1px solid var(--hairline);
}

.footer-main,
.footer-bottom {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 3rem;
}

.footer-brand {
  gap: 0.625rem;
  flex-wrap: wrap;
}

.footer-tagline {
  margin-left: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-links {
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--hairline);
  padding-block: 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .signin-link {
    display: inline-flex;
  }

  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }

  .hero {
    padding-block: 7rem 8rem;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .hero-lead {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .hero-visual-wrap {
    margin-top: 6rem;
  }

  .dashboard-grid {
    padding: 2rem;
  }

  .span-md-5 {
    grid-column: span 5;
  }

  .span-md-7 {
    grid-column: span 7;
  }

  .connector-pill {
    display: flex;
  }

  .section {
    padding-block: 8rem;
  }

  .section-intro {
    margin-bottom: 5rem;
  }

  .section-title,
  .system-title {
    font-size: 3rem;
  }

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

  .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .guarantee-card {
    padding: 3.5rem;
  }

  .guarantee-title {
    font-size: 2.25rem;
  }

  .final-cta {
    padding-block: 9rem;
  }

  .final-title {
    font-size: 3.75rem;
  }

  .footer-main {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .system-copy,
  .system-map {
    grid-column: span 6;
  }
}

@media (max-width: 520px) {
  .header-inner {
    gap: 0.75rem;
  }

  .dashboard-grid {
    padding: 1rem;
  }

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

  .automation-list li {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
