@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #0f766e;
  --accent-2: #14b8a6;
  --accent-soft: #e6f7f4;
  --nav: #07111f;
  --danger: #be123c;
  --shadow: 0 24px 70px -54px rgba(15, 23, 42, 0.56);
  --shadow-soft: 0 14px 40px -32px rgba(15, 23, 42, 0.34);
  font-family: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #f7fafc 0%, #eef4f7 100%);
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

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

h1,
h2,
h3,
.brand strong,
.price,
.console-panel strong,
.console-metrics strong,
.workflow-list strong,
.feature-grid strong {
  color: var(--ink);
  letter-spacing: 0;
}

.site-shell {
  min-height: 100vh;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 76px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand,
.site-nav nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.logo-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  background: #fff;
}

.logo-box span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.site-nav nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #53657a;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav nav a:not(.nav-button):hover {
  color: var(--ink);
}

.primary,
.secondary,
.nav-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.primary:hover,
.secondary:hover,
.nav-button:hover {
  transform: translateY(-1px);
}

.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 34px -24px rgba(15, 118, 110, 0.75);
}

.primary:hover {
  background: #0d6b64;
}

.secondary,
.nav-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.link-button {
  width: fit-content;
  min-height: auto;
  padding: 0;
  color: var(--accent);
  background: transparent;
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 116px) 0 46px;
}

.hero-copy {
  max-width: 710px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 9vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero p,
.section-head p,
.signup-copy p,
.platform-strip p,
.feature-grid p,
.workflow-copy p,
.workflow-list p,
.plan-card p {
  color: var(--muted);
  line-height: 1.72;
}

.hero p {
  max-width: 640px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-stats,
.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats {
  max-width: 600px;
  margin-top: 30px;
}

.hero-stats span,
.console-metrics div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-stats strong,
.console-metrics strong {
  color: var(--ink);
  font-size: 1.28rem;
}

.hero-media {
  display: grid;
  place-items: center;
}

.console-frame,
.platform-strip article,
.feature-grid article,
.workflow-list div,
.signup-card,
.docs-grid article,
.plan-card,
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.console-frame {
  position: relative;
  width: min(100%, 520px);
  min-height: 560px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  overflow: hidden;
  padding: 20px;
  color: #dbeafe;
  border: 0;
  background:
    linear-gradient(145deg, rgba(20, 184, 166, 0.17), transparent 38%),
    linear-gradient(160deg, #06111f 0%, #10233d 62%, #0d5f59 100%);
}

.console-top,
.console-grid,
.console-metrics {
  position: relative;
  z-index: 1;
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.console-top strong {
  color: #fff;
}

.status-pill,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #0f766e;
  background: #d7f8f1;
  font-size: 0.72rem;
  font-weight: 900;
}

.console-grid {
  display: grid;
  gap: 12px;
}

.console-panel {
  width: 88%;
  padding: 17px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.console-panel.dark,
.console-panel.accent {
  justify-self: end;
}

.console-panel.light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.console-panel.accent {
  color: #083f3b;
  background: #d7f8f1;
}

.console-panel.dark strong {
  color: #fff;
}

.console-panel small,
.console-panel span,
.console-metrics span {
  display: block;
  color: inherit;
  opacity: 0.72;
  font-size: 0.76rem;
  font-weight: 800;
}

.console-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 1.16rem;
}

.console-metrics div {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.console-metrics strong {
  color: #fff;
}

.platform-strip,
.section,
.signup-section {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 62px;
}

.platform-strip article,
.feature-grid article,
.workflow-list div {
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.platform-strip span,
.workflow-list span {
  color: var(--accent);
  font-weight: 900;
}

.platform-strip h2,
.section h2,
.signup-section h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section {
  padding: 14px 0 68px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 24px;
}

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

.feature-grid strong,
.workflow-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 22px;
  align-items: start;
}

.workflow-copy {
  position: sticky;
  top: 94px;
}

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

.workflow-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
}

.workflow-list span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
}

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

.plan-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
}

.plan-card.featured {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1), var(--shadow);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 2.5rem;
  font-weight: 900;
}

.price span,
.price small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.plan-included {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  color: #095e4f;
  background: var(--accent-soft);
}

.plan-included strong {
  color: var(--ink);
  font-size: 1.36rem;
}

.plan-included span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--text);
}

.plan-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.plan-card li::before {
  content: "+";
  color: var(--accent);
  font-weight: 900;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 28px;
  align-items: center;
  margin-bottom: 68px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.1), transparent 38%),
    #ffffff;
  box-shadow: var(--shadow);
}

.signup-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

label {
  display: grid;
  gap: 7px;
  color: #53657a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input::placeholder {
  color: #94a3b8;
}

input:focus,
select:focus {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.form-message {
  min-height: 22px;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-message.ok {
  color: var(--accent);
}

.form-message.error {
  color: var(--danger);
}

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

.docs-grid article {
  min-width: 0;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.docs-grid h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

pre {
  max-width: 100%;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-radius: 10px;
  color: #dbeafe;
  background: #08111f;
  line-height: 1.55;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
}

dialog {
  width: min(440px, calc(100vw - 28px));
  border: 0;
  padding: 22px;
}

dialog::backdrop {
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(3px);
}

dialog form {
  display: grid;
  gap: 14px;
}

dialog p {
  color: var(--muted);
  line-height: 1.6;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer strong {
  color: var(--ink);
}

.loading {
  grid-column: 1 / -1;
  padding: 26px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

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

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

@media (max-width: 900px) {
  .site-nav,
  .site-nav nav,
  .hero-actions,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .workflow-section,
  .signup-section,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 6.2rem);
  }

  .workflow-copy {
    position: static;
  }

  .console-frame {
    min-height: 460px;
  }

  .primary,
  .secondary,
  .nav-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-stats,
  .console-metrics,
  .platform-strip,
  .plans-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .hero,
  .platform-strip,
  .section,
  .signup-section,
  footer {
    width: min(100% - 20px, 1220px);
  }

  .site-nav {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .console-panel {
    width: 100%;
  }
}
