:root {
  --ink: #101722;
  --muted: #5a6575;
  --line: rgba(16, 23, 34, 0.12);
  --bg: #edf3f7;
  --panel: #ffffff;
  --deep: #07111d;
  --deep-2: #0b2033;
  --soft-blue: #eaf3f8;
  --soft-graphite: #dfe8ee;
  --cyan: #27c5d8;
  --green: #6ee7a8;
  --blue: #3c82f6;
  --shadow: 0 24px 70px rgba(7, 17, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(39, 197, 216, 0.09), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1280px, calc(100% - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.74);
  color: #fff;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #06111b;
  font-size: 0.82rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.header-cta {
  background: #fff;
  color: #07111d;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #06111b;
  box-shadow: 0 16px 38px rgba(39, 197, 216, 0.24);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.button-secondary.dark {
  border-color: rgba(16, 23, 34, 0.16);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 140px 0 78px;
  background:
    radial-gradient(circle at 16% 20%, rgba(39, 197, 216, 0.24), transparent 30%),
    radial-gradient(circle at 80% 12%, rgba(110, 231, 168, 0.18), transparent 28%),
    linear-gradient(145deg, var(--deep), var(--deep-2) 54%, #08141f);
  color: #fff;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(247, 249, 251, 0.08));
  content: "";
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(480px, 0.94fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3.6rem, 5.2vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

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

.hero-visual {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  border-radius: 28px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(8, 20, 31, 0.72);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.floating-card span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.floating-card strong {
  display: block;
  margin-top: 3px;
  font-size: 0.98rem;
}

.metric-card {
  right: -16px;
  bottom: 72px;
}

.flow-card {
  top: 36px;
  left: -22px;
}

.build-card {
  right: 28px;
  top: 34px;
}

.section {
  padding: 88px 0;
}

.section-light {
  background:
    radial-gradient(circle at 14% 16%, rgba(39, 197, 216, 0.09), transparent 26%),
    linear-gradient(180deg, #f5f9fb, #eaf2f7);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p,
.about-copy p,
.product-feature p,
.final-cta p,
.contact-section p,
.solution-card p,
.steps p,
.profile-card p {
  color: var(--muted);
}

.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

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

.solution-card,
.steps article,
.product-feature,
.profile-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 52px rgba(7, 17, 29, 0.08);
}

.solution-card {
  min-height: 260px;
  padding: 32px;
}

.icon-box,
.steps span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 12px;
  background: #e7fbfd;
  color: #08788a;
  font-weight: 800;
}

.vesta-section,
.products-section,
.about-section,
.contact-section {
  background:
    radial-gradient(circle at 80% 10%, rgba(39, 197, 216, 0.13), transparent 26%),
    linear-gradient(180deg, #eaf3f8, #dfe8ee);
}

.vesta-section {
  position: relative;
  overflow: hidden;
}

.vesta-section::before {
  position: absolute;
  inset: 8% auto auto 0;
  width: 42%;
  height: 52%;
  background: radial-gradient(circle, rgba(110, 231, 168, 0.2), transparent 64%);
  content: "";
  pointer-events: none;
}

.vesta-case {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: 44px;
  padding: 44px;
  border: 1px solid rgba(16, 23, 34, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 20% 20%, rgba(39, 197, 216, 0.14), transparent 30%);
  box-shadow: var(--shadow);
}

.vesta-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.vesta-copy p {
  color: var(--muted);
}

.vesta-copy .button {
  margin-top: 16px;
}

.vesta-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 54px;
  margin-bottom: 24px;
  padding: 0 22px;
  border: 1px solid rgba(39, 197, 216, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(39, 197, 216, 0.11), rgba(110, 231, 168, 0.14));
  color: #07111d;
  font-size: 1.36rem;
  font-weight: 800;
}

.vesta-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 10%, rgba(39, 197, 216, 0.26), transparent 32%),
    linear-gradient(145deg, #07111d, #102b43);
  color: #fff;
  box-shadow: 0 26px 64px rgba(7, 17, 29, 0.26);
}

.vesta-panel::after {
  display: block;
  height: 92px;
  margin: 0 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(39, 197, 216, 0.35), rgba(110, 231, 168, 0.18)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.08) 34px 36px);
  content: "";
}

.panel-top {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 28px 18px;
}

.panel-header span,
.panel-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
}

.panel-header strong {
  display: block;
  max-width: 340px;
  margin-top: 6px;
  font-size: 1.48rem;
  line-height: 1.15;
}

.panel-header small {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(110, 231, 168, 0.14);
  color: var(--green);
  font-weight: 800;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 28px 28px;
}

.panel-grid div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.panel-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.products-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(520px, 1fr);
  align-items: start;
  gap: 48px;
}

.product-feature {
  padding: 34px;
}

.product-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: #08788a;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-feature h3 {
  font-size: 2.2rem;
}

.product-feature .button {
  margin-top: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.steps article {
  padding: 28px;
}

.work-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(39, 197, 216, 0.2), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(110, 231, 168, 0.14), transparent 24%),
    linear-gradient(145deg, #07111d, #102638);
  color: #fff;
}

.work-section .section-heading p,
.work-section .steps p {
  color: rgba(255, 255, 255, 0.68);
}

.work-section .steps article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.work-section .steps span {
  background: rgba(39, 197, 216, 0.14);
  color: var(--green);
}

.team-note {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.profile-card {
  overflow: hidden;
}

.about-section {
  background:
    radial-gradient(circle at 10% 24%, rgba(110, 231, 168, 0.12), transparent 28%),
    linear-gradient(180deg, #eef5f9, #f7fafc);
}

.thinking-card {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(16, 23, 34, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(7, 17, 29, 0.06);
}

.thinking-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.thinking-card li {
  padding: 12px 14px;
  border: 1px solid rgba(16, 23, 34, 0.09);
  border-radius: 8px;
  background: #fff;
  color: #253144;
  font-weight: 700;
}

.profile-photo {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(39, 197, 216, 0.12), rgba(110, 231, 168, 0.16)),
    #eaf1f6;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.profile-photo-fallback {
  display: grid;
  width: calc(100% - 48px);
  min-height: 248px;
  place-items: center;
  padding: 24px;
  border: 1px dashed rgba(16, 23, 34, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.profile-photo-fallback span {
  color: #07111d;
  font-weight: 800;
}

.profile-photo-fallback small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-card > div:last-child {
  padding: 28px;
}

.role {
  font-weight: 700;
}

.final-cta {
  padding: 70px 0;
  background: var(--deep);
  color: #fff;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-cta h2 {
  max-width: 720px;
}

.final-cta p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
}

.contact-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(39, 197, 216, 0.2), transparent 25%),
    radial-gradient(circle at 92% 20%, rgba(110, 231, 168, 0.12), transparent 24%),
    linear-gradient(145deg, #0a1623, #10283b);
  color: #fff;
}

.contact-section .section-heading {
  align-self: center;
}

.contact-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.contact-section .contact-form {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.28);
}

.contact-form label,
.contact-form .full {
  grid-column: span 2;
}

.contact-form label:not(.full) {
  grid-column: span 1;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  color: #253144;
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 23, 34, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

input {
  height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 132px;
  padding: 13px 14px;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(39, 197, 216, 0.12);
}

.contact-form button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-success,
.form-error {
  grid-column: span 2;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.form-success {
  background: #e9fbf2;
  color: #10653f;
}

.form-error {
  background: #fff1f1;
  color: #9b1c1c;
}

.site-footer {
  padding: 32px 0;
  background: #050b12;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid p:last-child {
  text-align: right;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    border-radius: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-cta {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.is-open .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 4px;
  }

  .site-header.is-open .header-cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-grid,
  .vesta-case,
  .products-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 40px, 1280px);
  }

  .solutions-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    max-width: 620px;
  }

  h1 {
    font-size: clamp(3rem, 9vw, 4.8rem);
  }

  .metric-card {
    right: 12px;
  }

  .flow-card {
    left: 12px;
  }

  .build-card {
    right: 12px;
    top: auto;
    bottom: 150px;
  }

  .final-cta-inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .footer-grid p:last-child {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .hero {
    padding-bottom: 58px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .hero-visual img {
    aspect-ratio: 1 / 1.18;
  }

  .floating-card {
    position: static;
    margin: 12px;
  }

  .section {
    padding: 68px 0;
  }

  .solutions-grid,
  .steps,
  .contact-form,
  .thinking-card ul {
    grid-template-columns: 1fr;
  }

  .contact-form label,
  .contact-form label:not(.full),
  .contact-form .full,
  .form-success,
  .form-error {
    grid-column: 1;
  }

  .profile-photo {
    min-height: 260px;
  }

  .profile-photo img {
    min-height: 260px;
  }

  .vesta-case {
    padding: 22px;
  }

  .contact-form {
    padding: 22px;
  }

  .panel-header,
  .panel-grid {
    grid-template-columns: 1fr;
    padding-right: 18px;
    padding-left: 18px;
  }

  .panel-header {
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
