@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/instrument-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/instrument-sans-600.woff2") format("woff2");
}

:root {
  --bg: #0e1620;
  --raise: #182838;
  --white: #f7fafc;
  --line: rgba(247, 250, 252, 0.16);
  --line-strong: rgba(247, 250, 252, 0.32);
  --ink: #f7fafc;
  --body: #d5e1ec;
  --soft: #b7c6d4;
  --accent: #8fd0ef;
  --dot: #5eb6e0;
  --footer: #090f16;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --header: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
}

[id] {
  scroll-margin-top: 5.25rem;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

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

.visually-hidden {
  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 {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(68rem, calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 720px) {
  .wrap {
    width: min(68rem, calc(100% - 3rem));
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 22, 32, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.045em;
  text-decoration: none;
  line-height: 1;
}

.wordmark-text {
  display: inline-flex;
  align-items: baseline;
}

.i-wrap {
  position: relative;
  display: inline-block;
  margin-right: 0.01em;
}

.i-stem {
  display: inline-block;
  clip-path: inset(0.3em 0 0 0);
}

.i-dot {
  position: absolute;
  left: 0.045em;
  top: 0.07em;
  width: 0.2em;
  height: 0.2em;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 0.16em rgba(94, 182, 224, 0.28);
}

.wordmark-on-dark {
  color: var(--white);
}

.nav-toggle {
  margin-left: auto;
  min-height: 44px;
  padding: 0.35rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--white);
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.4rem 1rem 1.1rem;
  background: var(--raise);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
}

.nav-apps,
.nav-pages {
  display: flex;
  flex-direction: column;
}

.nav-apps a,
.nav-pages a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.nav-apps a::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 3px rgba(94, 182, 224, 0.28);
  flex: 0 0 auto;
}

.nav-pages {
  margin-top: 0.35rem;
}

.nav-cta {
  margin-top: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--bg);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  margin-left: 0.4rem;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    flex: 1;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-row {
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
  }

  .nav-apps,
  .nav-pages {
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
  }

  .nav-apps a,
  .nav-pages a {
    min-height: 0;
    padding: 0.35rem 0;
    border-bottom: 0;
    color: var(--body);
  }

  .nav-apps a {
    color: var(--ink);
    font-weight: 600;
  }

  .nav-pages {
    margin-top: 0;
    padding-left: 1.35rem;
    border-left: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0;
    margin-left: auto;
  }

  .nav-apps a:hover,
  .nav-pages a:hover {
    color: var(--accent);
  }
}

.hero {
  background:
    radial-gradient(720px 340px at 92% -8%, rgba(94, 182, 224, 0.22), transparent 62%),
    var(--bg);
  padding: 3.25rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
}

.kicker {
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 600;
}

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

h1 {
  max-width: 12em;
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  letter-spacing: -0.042em;
}

.lead,
.section-lead {
  max-width: 38rem;
  margin-top: 1.15rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.15rem;
  margin-top: 1.75rem;
}

.hero-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--raise);
}

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 40%;
}

.section {
  padding: 4rem 0;
}

.section-mist {
  background: #121c2a;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.service-grid {
  display: grid;
  gap: 0.9rem;
}

.service {
  padding: 1.35rem 1.3rem 1.45rem;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.service-no {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.service h3,
.steps h3 {
  margin-top: 0.45rem;
  font-size: 1.28rem;
}

.service p:last-child,
.steps p {
  margin-top: 0.55rem;
}

.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps h3::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-mail {
  margin-top: 1.35rem;
}

.contact-mail a {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-decoration: underline;
  text-decoration-color: var(--dot);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

.contact-mail a:hover {
  color: var(--accent);
}

.fine,
.form-status {
  margin-top: 0.9rem;
  color: var(--soft);
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
  padding: 1.2rem;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--white);
  font: inherit;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input:focus,
textarea:focus,
.button:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 2px solid var(--dot);
  outline-offset: 2px;
}

.form-status:empty {
  display: none;
}

.site-footer {
  background: var(--footer);
  color: var(--soft);
  border-top: 1px solid var(--line);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 1.4rem 0;
}

.footer-meta a {
  color: var(--white);
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

::selection {
  background: #1d5678;
  color: var(--white);
}

@media (min-width: 720px) {
  .hero {
    padding: 5.25rem 0 5.5rem;
  }

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

  .section {
    padding: 5.5rem 0;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
    gap: 4rem;
    align-items: stretch;
  }

  .hero-photo {
    position: relative;
    min-height: 100%;
  }

  .hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-height: none;
    object-fit: cover;
    object-position: center 42%;
  }

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

  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
