:root {
  --ink-950: #07111f;
  --ink-900: #0b1728;
  --ink-800: #12233a;
  --ink-700: #1f3857;
  --steel-600: #526173;
  --steel-200: #d7dee7;
  --steel-100: #eef3f8;
  --white: #ffffff;
  --cyan: #16b7df;
  --cyan-strong: #00d5ff;
  --teal: #12a991;
  --amber: #f2a73b;
  --product-blue: #071a34;
  --product-red: #e6415a;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.16);
  --radius: 8px;
  --shell: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--white);
  background: var(--ink-900);
  border-radius: var(--radius);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 17, 31, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.95), rgba(7, 17, 31, 0.64) 56%, rgba(7, 17, 31, 0.24)),
    linear-gradient(0deg, rgba(7, 17, 31, 0.82), transparent 44%);
}

.hero-content {
  padding: 140px 0 96px;
}

.eyebrow,
.section-kicker,
.role {
  margin: 0 0 12px;
  color: var(--cyan-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.product-section h2,
.contact-section h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
}

.button-primary {
  color: var(--ink-950);
  background: var(--cyan-strong);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.button-product {
  margin-top: 28px;
  color: var(--white);
  background: var(--product-red);
}

.section {
  padding: 92px 0;
}

.intro-band {
  padding: 34px 0;
  color: var(--white);
  background: var(--ink-950);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.feature-grid article {
  padding: 28px;
  background: var(--ink-950);
}

.feature-icon {
  color: var(--cyan-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.founder-card h3,
.panel-content h3,
.training-grid h3 {
  margin: 10px 0 8px;
  color: inherit;
  font-size: 1.1rem;
  line-height: 1.25;
}

.feature-grid h2 {
  margin: 10px 0 8px;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.25;
}

.feature-grid p,
.text-stack p,
.section-heading p,
.panel-content p,
.training-grid p,
.product-section p,
.contact-section p {
  margin: 0;
  color: var(--steel-600);
}

.feature-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 72px;
  align-items: start;
}

.section h2,
.product-section h2,
.contact-section h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--ink-950);
}

.intro-band .feature-grid h2 {
  color: var(--white);
}

.text-stack {
  display: grid;
  gap: 18px;
}

.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.founder-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.founder-card img {
  width: 150px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.founder-card img.founder-photo-fernando {
  object-position: center top;
}

.founder-card p {
  margin: 0;
  color: var(--steel-600);
}

.founder-card .role {
  margin-bottom: 8px;
}

.section-muted {
  background: var(--steel-100);
}

.section-heading {
  max-width: 900px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.accordion-list {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.portfolio-panel {
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.08);
  overflow: hidden;
}

.portfolio-panel summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.portfolio-panel summary::-webkit-details-marker {
  display: none;
}

.portfolio-panel summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink-900);
  font-weight: 800;
}

.portfolio-panel[open] summary::after {
  content: "-";
}

.portfolio-panel summary span {
  display: block;
  color: var(--ink-950);
  font-size: 1.24rem;
  font-weight: 800;
}

.portfolio-panel summary small {
  display: block;
  color: var(--steel-600);
  font-size: 0.95rem;
}

.panel-content {
  padding: 0 24px 28px;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--steel-600);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

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

.training-grid article {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  background: #fbfdff;
}

.training-grid span {
  display: inline-flex;
  margin-top: 14px;
  color: var(--ink-800);
  font-size: 0.85rem;
  font-weight: 800;
}

.note {
  margin-top: 22px;
  padding: 16px;
  border-left: 4px solid var(--amber);
  background: #fff8ed;
}

.software-panel {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 26px;
  align-items: center;
}

.software-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.software-panel h3 + p {
  margin-bottom: 18px;
}

.quote-box {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  margin-top: 34px;
  padding: 30px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.08);
}

.quote-box h3 {
  margin: 0 0 14px;
  color: var(--ink-950);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.06;
}

.quote-box p {
  margin: 0;
  color: var(--steel-600);
}

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

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--ink-800);
  font-size: 0.86rem;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  color: var(--ink-900);
  background: #fbfdff;
  font: inherit;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(22, 183, 223, 0.18);
}

.is-hidden {
  display: none;
}

.product-section {
  position: relative;
  padding: 104px 0 92px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(0, 213, 255, 0.18), transparent 34%),
    radial-gradient(circle at 60% 68%, rgba(230, 65, 90, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(7, 26, 52, 0.98), rgba(11, 23, 40, 0.94)),
    var(--product-blue);
  overflow: hidden;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(500px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.product-section h2 {
  color: var(--white);
}

.product-copy h2 {
  max-width: 620px;
  font-size: clamp(2.5rem, 3.6vw, 3.8rem);
  line-height: 1.02;
}

.product-copy p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.product-tags span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 700;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-actions .button {
  width: auto;
  min-height: 48px;
}

.button-product-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.product-showcase {
  position: relative;
  min-height: 500px;
}

.product-badge {
  position: absolute;
  z-index: 4;
  top: 32px;
  left: 18%;
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(0, 213, 255, 0.28);
  border-radius: 999px;
  color: var(--cyan-strong);
  background: rgba(7, 17, 31, 0.52);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.browser-mockup,
.product-floating,
.module-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.browser-mockup {
  position: relative;
  margin: 0;
  padding-top: 34px;
}

.browser-mockup::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 17px 0 #ffbd2e, 34px 0 #28c840;
}

.browser-mockup figcaption,
.product-floating figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-main-screen {
  width: 84%;
  margin: 64px 0 0 auto;
  transform: translateX(-4px);
}

.product-main-screen img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 58%;
}

.product-floating {
  position: absolute;
  z-index: 3;
  margin: 0;
  background: rgba(255, 255, 255, 0.1);
}

.product-floating img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-floating-radar {
  left: 0;
  bottom: 20px;
  width: 42%;
  transform: rotate(-2deg);
}

.product-floating-radar img {
  aspect-ratio: 4 / 3;
  object-position: center 52%;
}

.product-floating-calendar {
  top: 22px;
  right: 0;
  width: 39%;
  transform: rotate(2deg);
}

.product-floating-calendar img {
  aspect-ratio: 16 / 10;
  object-position: center 48%;
}

.product-modules {
  margin-top: 88px;
}

.product-modules-heading {
  max-width: 790px;
}

.product-modules h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.08;
}

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

.module-card {
  display: grid;
  grid-template-rows: 170px 1fr;
  transition: transform 180ms ease, border-color 180ms ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 213, 255, 0.42);
}

.module-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.module-card div {
  padding: 18px;
}

.module-card h4 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
}

.module-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: center;
}

.contact-section p {
  max-width: 680px;
  margin-top: 20px;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink-950);
  box-shadow: var(--shadow);
}

.contact-card a {
  color: var(--white);
  font-size: 1.04rem;
  font-weight: 800;
  word-break: break-word;
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink-950);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-layout p {
  margin: 0;
}

.footer-layout a {
  font-weight: 800;
}

@media (max-width: 1120px) {
  .product-layout {
    grid-template-columns: minmax(380px, 0.88fr) minmax(460px, 1.12fr);
    gap: 34px;
  }

  .product-copy h2 {
    font-size: clamp(2.35rem, 4.2vw, 3.35rem);
  }

  .product-showcase {
    min-height: 460px;
  }
}

@media (max-width: 980px) {
  .feature-grid,
  .founders,
  .service-columns,
  .software-panel,
  .quote-box,
  .product-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .product-layout {
    gap: 36px;
  }

  .product-showcase {
    min-height: 520px;
  }

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

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 28px, 1120px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 74px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(7, 17, 31, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu a {
    padding: 12px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding: 128px 0 68px;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .section,
  .product-section {
    padding: 68px 0;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-card img {
    width: 100%;
    max-height: 360px;
  }

  .portfolio-panel summary {
    grid-template-columns: 1fr 32px;
    padding: 18px;
  }

  .panel-content {
    padding: 0 18px 22px;
  }

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

  .quote-box {
    padding: 22px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .product-actions {
    display: grid;
  }

  .product-showcase {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .product-badge {
    position: static;
    width: fit-content;
  }

  .product-main-screen,
  .product-floating {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .product-main-screen {
    margin: 0;
  }

  .product-floating img {
    aspect-ratio: 16 / 9;
  }

  .product-modules {
    margin-top: 54px;
  }

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

  .module-card {
    grid-template-rows: 190px 1fr;
  }

  .training-grid article {
    min-height: auto;
  }

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