:root {
  --bg: #EEF7F6;
  --ink: #0A2236;
  --muted: #4B6672;
  --card: rgba(255, 255, 255, .4);
  --line: rgba(10, 34, 54, .14);
  --accent: #0B8F7C;
  --sun: #FFC857;
  --sunink: #1B1500;
  --node: 29, 127, 147;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #06172A;
    --ink: #EAF6F5;
    --muted: #9DB7BF;
    --card: rgba(9, 30, 50, .78);
    --line: rgba(140, 220, 230, .18);
    --accent: #3DDBC0;
    --node: 127, 214, 232;
  }
}

:root[data-theme="dark"] {
  --bg: #06172A;
  --ink: #EAF6F5;
  --muted: #9DB7BF;
  --card: rgba(9, 30, 50, .78);
  --line: rgba(140, 220, 230, .18);
  --accent: #3DDBC0;
  --node: 127, 214, 232;
}

html {
  height: 100%;
  scroll-padding-top: env(safe-area-inset-top, 0px);
  scroll-behavior: smooth
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.05rem/1.6 "Instrument Sans", system-ui, sans-serif;
  overflow-x: hidden
}

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block
}

main,
header,
footer,
.band {
  position: relative;
  z-index: 1
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.02em
}

a {
  color: inherit
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  flex-wrap: wrap
}

.logo {
  font: 800 1.35rem "Bricolage Grotesque", sans-serif;
  text-decoration: none;
  letter-spacing: -.03em
}

.mail {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
  overflow-wrap: anywhere
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.5rem;
  font: 600 1rem "Instrument Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s
}

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

.btn.sun {
  background: var(--sun);
  color: var(--sunink)
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line)
}

.hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 4rem
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 800;
  max-width: 14ch;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both
}

.hero p.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  max-width: 46ch;
  color: var(--muted);
  margin: 1.4rem 0 2rem;
  animation: rise .9s .12s cubic-bezier(.2, .7, .2, 1) both
}

.cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  animation: rise .9s .24s cubic-bezier(.2, .7, .2, 1) both
}

.hint {
  margin-top: 2rem;
  color: var(--muted);
  font-size: .95rem
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.band {
  overflow: hidden;
  background: var(--sun);
  color: var(--sunink);
  transform: rotate(-1.4deg);
  margin: 2.5rem -2vw;
  padding: .7rem 0;
  border-block: 2px solid var(--ink)
}

.band.alt {
  transform: rotate(1.2deg);
  background: var(--ink);
  color: var(--bg)
}

.track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
  font: 700 1.25rem "Bricolage Grotesque", sans-serif;
  white-space: nowrap;
  filter:blur(0.2px)
}

.band.alt .track {
  animation-direction: reverse
}

.track span {
  padding: 0 1.1rem
}

@keyframes slide {
  to {
    transform: translateX(-50%)
  }
}

section {
  padding: 3rem 0
}

.head {
  max-width: 60ch;
  margin-bottom: 2rem
}

.head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem)
}

.head p {
  color: var(--muted);
  margin: .8rem 0 0
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr))
}

.card {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem
}

.card .ic {
  font-size: 1.7rem;
  line-height: 1
}

.card h3 {
  font-size: 1.25rem;
  margin: .7rem 0 .4rem
}

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

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .9rem
}

.tags b {
  font: 500 .8rem "Instrument Sans", sans-serif;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .15rem .65rem
}

.feature {
  grid-column: 1/-1;
  border-radius: 26px;
  padding: 1.8rem;
  border-color: var(--accent)
}

.feature h3 {
  font-size: 1.7rem;
  margin-top: 0
}

.feature p {
  max-width: 64ch;
  font-size: 1.05rem
}

.steps {
  list-style: none;
  counter-reset: s;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
}

.steps li {
  counter-increment: s;
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem
}

.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--sun);
  color: var(--sunink);
  font: 800 1rem "Bricolage Grotesque", sans-serif;
  margin-bottom: .8rem
}

.steps h3 {
  font-size: 1.25rem;
  margin-bottom: .3rem
}

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

.contact {
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--accent);
  border-radius: 30px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  text-align: center
}

.contact h2 {
  font-size: clamp(2rem, 6vw, 4rem)
}

.contact p {
  color: var(--muted);
  max-width: 48ch;
  margin: 1rem auto
}

.big {
  display: block;
  font: 800 clamp(1.1rem, 4.6vw, 2.4rem) "Bricolage Grotesque", sans-serif;
  margin: 1.2rem 0;
  overflow-wrap: anywhere;
  text-decoration: none
}

.big:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent)
}

footer {
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: .95rem
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap
}

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 150%);
  background: var(--ink);
  color: var(--bg);
  padding: .7rem 1.2rem;
  border-radius: 999px;
  z-index: 5;
  transition: transform .25s;
  font-weight: 600
}

#toast.on {
  transform: translate(-50%, 0)
}

@media (prefers-reduced-motion:reduce) {
  .track {
    animation: none
  }

  .hero h1,
  .hero p.lead,
  .cta {
    animation: none
  }

  html {
    scroll-behavior: auto
  }
}