:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --brand: #0f766e;
  --brand-bright: #14b8a6;
  --brand-pale: #ccfbf1;
  --accent: #f59e0b;
  --accent-pale: #ffedd5;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.12);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.55);
  outline-offset: 4px;
}

p {
  margin: 0 0 1.1rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.7rem);
  max-width: 850px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.84);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 28px;
}

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

.brand img {
  width: 245px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  color: var(--brand);
  background: var(--brand-pale);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-pale);
}

.nav-cta {
  border: 1px solid var(--brand);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 76px;
  background:
    radial-gradient(circle at 92% 4%, rgba(245, 158, 11, 0.13), transparent 27%),
    radial-gradient(circle at 8% 48%, rgba(20, 184, 166, 0.11), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 13px;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(204, 251, 241, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.14);
}

.hero h1 span,
.page-intro h1 span {
  color: var(--brand);
}

.hero-lead {
  max-width: 700px;
  margin: 25px 0 31px;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
}

.button-primary:hover {
  background: #115e59;
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.26);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  border-color: #99f6e4;
  background: #f0fdfa;
}

.button svg {
  width: 18px;
  height: 18px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 3% 2% 8%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.12);
  filter: blur(55px);
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 28px 45px rgba(15, 23, 42, 0.08));
}

.integration-strip {
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.integration-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.integration-label {
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 800;
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-bright);
}

.section {
  padding: 96px 0;
}

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

.section-dark {
  color: #e2e8f0;
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .section-heading p,
.section-dark p {
  color: #cbd5e1;
}

.kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-dark .kicker {
  color: #5eead4;
}

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #99f6e4;
  box-shadow: var(--shadow-sm);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  margin-bottom: 23px;
  border-radius: 13px;
  color: var(--brand);
  background: var(--brand-pale);
  font-size: 0.92rem;
  font-weight: 900;
}

.card h3 {
  margin-bottom: 11px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-accent .card-number {
  color: #b45309;
  background: var(--accent-pale);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  counter-increment: flow;
}

.flow-step::before {
  content: "0" counter(flow);
  display: block;
  margin-bottom: 42px;
  color: var(--brand-bright);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--brand);
  background: #ccfbf1;
  font-weight: 900;
}

.flow-step h3 {
  margin-bottom: 10px;
}

.flow-step p {
  color: var(--muted);
  font-size: 0.96rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: 70px;
}

.split-copy > p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
  font-weight: 650;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-pale);
  font-size: 0.79rem;
  font-weight: 900;
}

.tech-panel {
  padding: 31px;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(20, 184, 166, 0.14), transparent 50%),
    #020617;
  box-shadow: var(--shadow-lg);
}

.tech-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 19px;
  border-bottom: 1px solid #1e293b;
}

.tech-panel-title {
  color: #fff;
  font-weight: 900;
}

.tech-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.1);
}

.tech-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tech-item {
  padding: 16px;
  border: 1px solid #1e293b;
  border-radius: 14px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.72);
  font-size: 0.92rem;
  font-weight: 750;
}

.tech-item strong {
  display: block;
  margin-bottom: 4px;
  color: #5eead4;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta {
  padding: 78px 0;
  background: #f0fdfa;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 52px;
  border: 1px solid #99f6e4;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 30%, rgba(245, 158, 11, 0.13), transparent 24%),
    #fff;
  box-shadow: var(--shadow-sm);
}

.cta-box h2 {
  margin-bottom: 13px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.cta-box p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: 88px 0 70px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 8%, rgba(245, 158, 11, 0.12), transparent 25%),
    linear-gradient(180deg, #fff, #f8fafc);
}

.page-intro {
  max-width: 900px;
}

.page-intro h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.page-intro p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

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

.integration-card {
  padding: 29px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}

.integration-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 19px;
}

.integration-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  color: var(--brand);
  background: var(--brand-pale);
  font-size: 0.88rem;
  font-weight: 950;
}

.integration-card:nth-child(2) .integration-icon {
  color: #b45309;
  background: var(--accent-pale);
}

.integration-card:nth-child(3) .integration-icon {
  color: #1d4ed8;
  background: #dbeafe;
}

.integration-card p {
  margin: 0;
  color: var(--muted);
}

.media-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.media-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.media-card small {
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.media-card code {
  display: inline-block;
  margin-top: 9px;
  padding: 5px 9px;
  border-radius: 8px;
  color: #0f766e;
  background: #f0fdfa;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  align-items: start;
  gap: 70px;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.quote-card {
  padding: 35px;
  border-radius: var(--radius-lg);
  color: #e2e8f0;
  background:
    radial-gradient(circle at 100% 0, rgba(20, 184, 166, 0.23), transparent 38%),
    var(--ink);
  box-shadow: var(--shadow-lg);
}

.quote-card blockquote {
  margin: 0 0 27px;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.quote-card p {
  margin: 0;
  color: #94a3b8;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.contact-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-item a {
  color: var(--brand);
  font-weight: 850;
}

.site-footer {
  padding: 58px 0 30px;
  color: #cbd5e1;
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 44px;
  padding-bottom: 40px;
}

.footer-brand img {
  width: 210px;
  padding: 8px 12px;
  border-radius: 13px;
  background: #fff;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 20px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-title {
  display: block;
  margin-bottom: 13px;
  color: #fff;
  font-weight: 850;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #5eead4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  color: #64748b;
  font-size: 0.88rem;
}

@media (max-width: 1040px) {
  .hero-grid,
  .split,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

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

  .hero-visual {
    width: min(100%, 850px);
    margin-inline: auto;
  }

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

  .flow-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 18px 0;
  }

  .brand img {
    width: 215px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero {
    padding-top: 65px;
  }

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

  .section-heading,
  .cta-box,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 22px;
  }

  .card-grid,
  .integration-cards {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 38px 30px;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header {
    position: relative;
  }

  .navbar {
    gap: 15px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .site-nav a {
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 11px;
  }

  .nav-cta {
    grid-column: 1 / -1;
  }

  .hero,
  .page-hero {
    padding: 54px 0 48px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .integration-row {
    justify-content: flex-start;
  }

  .integration-label {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .flow-grid,
  .media-panel,
  .tech-stack {
    grid-template-columns: 1fr;
  }

  .card,
  .integration-card,
  .tech-panel,
  .quote-card,
  .contact-card {
    padding: 24px;
  }

  .cta {
    padding: 55px 0;
  }

  .cta-box {
    padding: 30px 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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