:root {
  --ink: #10242f;
  --ink-muted: #52646d;
  --paper: #f6f4ef;
  --paper-deep: #ece9e1;
  --white: #fff;
  --night: #091b26;
  --night-soft: #102b38;
  --line: #d6d9d4;
  --accent: #35d6a0;
  --accent-dark: #087656;
  --blue: #8eb9ff;
  --radius: 14px;
  --shadow: 0 24px 70px rgba(10, 30, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--night);
  background: var(--accent);
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.shell {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: var(--night);
  background: var(--accent);
  border-radius: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.brand-name span {
  color: #aebdc4;
  font-weight: 500;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: 0.88rem;
}

nav a {
  color: #d6e1e5;
  text-decoration: none;
}

nav a:hover {
  color: var(--white);
}

nav .nav-contact {
  padding: 0.55rem 0.8rem;
  color: var(--accent);
  border: 1px solid rgba(53, 214, 160, 0.45);
  border-radius: 7px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 180px 0 104px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 27%, rgba(37, 132, 135, 0.34), transparent 27%),
    linear-gradient(135deg, #071823 0%, #0a2431 58%, #09202a 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  top: -250px;
  right: -90px;
  border: 1px solid rgba(142, 185, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(142, 185, 255, 0.025), 0 0 0 150px rgba(142, 185, 255, 0.02);
}

.hero::after {
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 0%, black 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.82fr);
  gap: clamp(3rem, 8vw, 7.5rem);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent);
}

.eyebrow span {
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6.1vw, 5.9rem);
  font-weight: 670;
  letter-spacing: -0.063em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 2rem;
  color: #c6d2d7;
  font-size: clamp(1.08rem, 1.6vw, 1.27rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

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

.button-primary {
  color: var(--night);
  background: var(--accent);
}

.button-primary:hover {
  background: #64e2b7;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.26);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-note {
  margin: 0;
  color: #8fa3ad;
  font-size: 0.78rem;
}

.validation-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(5, 20, 28, 0.7);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.panel-topline,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-topline {
  padding: 0.85rem 1.1rem;
  color: #91a5ae;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status {
  color: #bcebdc;
}

.status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0.35rem 0.08rem 0;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(53, 214, 160, 0.1);
}

.panel-body {
  padding: 1.45rem;
}

.panel-label {
  margin-bottom: 0.8rem;
  color: #7e939d;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 0;
  color: #e6edf0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

.check-list b {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.panel-footer {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  color: #9fb2ba;
  background: rgba(53, 214, 160, 0.055);
  border: 1px solid rgba(53, 214, 160, 0.12);
  border-radius: 6px;
  font-size: 0.72rem;
}

.section {
  padding: 104px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(380px, 1.3fr);
  column-gap: 4rem;
  align-items: start;
  margin-bottom: 3.3rem;
}

.section-heading .section-kicker {
  grid-row: 1 / span 2;
  padding-top: 0.75rem;
}

.section-heading h2 {
  max-width: 720px;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-height: 275px;
  padding: 1.5rem 1.5rem 1.75rem;
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: 0;
}

.card-number {
  display: inline-block;
  margin-bottom: 5.7rem;
  color: var(--accent-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.service-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.section-dark {
  color: var(--white);
  background: var(--night);
}

.section-heading-light > p:last-child {
  color: #91a4ad;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  position: relative;
  min-height: 220px;
  padding: 1.3rem 1rem 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
}

.workflow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: -0.82rem;
  right: 0.5rem;
  padding-left: 0.5rem;
  color: var(--accent);
  background: var(--night);
}

.workflow span,
.workflow strong,
.workflow small {
  display: block;
}

.workflow span {
  margin-bottom: 4.2rem;
  color: #6f8995;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.workflow strong {
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
}

.workflow small {
  max-width: 130px;
  color: #8fa1aa;
  font-size: 0.72rem;
  line-height: 1.55;
}

.demo-section {
  background: var(--paper-deep);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.demo-copy h2 {
  max-width: 540px;
}

.demo-copy > p:not(.section-kicker, .disclosure) {
  max-width: 580px;
  color: var(--ink-muted);
}

.disclosure {
  max-width: 600px;
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: #425760;
  border-left: 3px solid var(--accent-dark);
  font-size: 0.87rem;
}

.demo-link {
  margin-top: 0.25rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.demo-screen {
  overflow: hidden;
  color: #dce7e9;
  background: #07161e;
  border: 1px solid #29424d;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(0.6deg);
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #07161e;
}

.demo-video a {
  color: var(--accent);
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  color: #657d87;
  background: #0b202b;
  border-bottom: 1px solid #243b45;
}

.screen-bar span {
  width: 7px;
  height: 7px;
  background: #38515c;
  border-radius: 50%;
}

.screen-bar b {
  margin-left: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 500;
}

.screen-body {
  padding: 1.6rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.screen-heading,
.screen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.screen-heading {
  padding-bottom: 1.2rem;
  color: #718a94;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.screen-row {
  padding: 1rem 0;
  border-top: 1px solid #1d333d;
  font-size: 0.78rem;
}

.result {
  color: var(--accent);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.screen-caption {
  margin-top: 1.25rem;
  padding: 0.8rem;
  color: #8fa3aa;
  background: #0d2631;
  border-radius: 5px;
  font-size: 0.63rem;
  text-align: center;
  text-transform: uppercase;
}

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

.deliverables-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.section-heading.compact {
  display: block;
  margin-bottom: 0;
}

.section-heading.compact .section-kicker {
  padding-top: 0;
}

.deliverables-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.deliverables-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

.deliverables-list span {
  color: var(--accent-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 500;
}

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

.agency-section::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -200px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(8, 118, 86, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(8, 118, 86, 0.035), 0 0 0 120px rgba(8, 118, 86, 0.025);
  pointer-events: none;
}

.agency-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.agency-grid h2 {
  max-width: 520px;
}

.agency-copy {
  max-width: 660px;
  color: var(--ink-muted);
  font-size: 1.04rem;
}

.text-link {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.6rem;
  color: var(--accent-dark);
  font-weight: 720;
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 118, 86, 0.4);
}

.contact-section {
  padding: 84px 0;
  color: var(--white);
  background: #102e3a;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.contact-inner h2 {
  max-width: 620px;
  margin-bottom: 0.85rem;
}

.contact-inner > div:first-child > p:not(.section-kicker) {
  max-width: 610px;
  color: #aabcc4;
}

.contact-inner > div:first-child > p:last-child {
  margin-bottom: 0;
}

.contact-section .section-kicker {
  color: var(--accent);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.contact-card span {
  margin-bottom: 1.7rem;
  color: #8fa6b0;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong {
  margin-bottom: 0.4rem;
  font-size: 1.45rem;
}

.contact-card a {
  color: var(--accent);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  text-underline-offset: 4px;
}

.site-footer {
  padding: 2.3rem 0 1.5rem;
  color: #95a7af;
  background: #07161e;
  font-size: 0.76rem;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-grid strong {
  color: #d8e0e3;
  font-size: 0.78rem;
}

.footer-grid a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.footer-legal {
  margin-top: 1.7rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-legal p {
  max-width: 850px;
  margin: 0;
  color: #6f838d;
  font-size: 0.69rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .demo-grid,
  .deliverables-grid,
  .agency-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 3.5rem;
  }

  .validation-panel {
    max-width: 650px;
  }

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

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .workflow {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 1rem;
  }

  .workflow li {
    min-height: 190px;
  }

  .demo-screen {
    max-width: 720px;
  }

  .contact-card {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 2rem, 1180px);
  }

  .site-header {
    position: absolute;
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand-name span,
  nav a:not(.nav-contact) {
    display: none;
  }

  nav {
    gap: 0;
  }

  nav .nav-contact {
    padding: 0.48rem 0.65rem;
  }

  .hero {
    padding: 132px 0 76px;
  }

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

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-note {
    max-width: 440px;
  }

  .panel-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 2.5rem;
  }

  .section-heading .section-kicker {
    padding-top: 0;
  }

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

  .service-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .card-number {
    margin-bottom: 2.8rem;
  }

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

  .workflow li {
    min-height: 170px;
  }

  .workflow li:nth-child(even)::after {
    display: none;
  }

  .workflow span {
    margin-bottom: 2.9rem;
  }

  .demo-grid {
    gap: 2.7rem;
  }

  .demo-screen {
    transform: none;
  }

  .screen-bar b {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .agency-grid,
  .deliverables-grid,
  .contact-inner {
    gap: 2rem;
  }

  .contact-section {
    padding: 70px 0;
  }

  .footer-grid {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 0.9rem;
  }

  .validation-panel {
    margin-inline: -0.15rem;
  }

  .panel-body,
  .screen-body {
    padding: 1.1rem;
  }

  .check-list li {
    grid-template-columns: 1fr auto;
    gap: 0.4rem;
    font-size: 0.78rem;
  }

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

  .workflow li {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .workflow li::after {
    display: none;
  }

  .workflow span {
    margin-bottom: 1.7rem;
  }

  .workflow small {
    max-width: 250px;
  }

  .screen-row {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
