:root {
  color-scheme: dark;
  --bg: #07080A;
  --bg-2: #0B0D10;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #F3F5F6;
  --text-2: #C3C9CE;
  --muted: #9AA2A9;
  --dim: #7D858C;
  --accent: #46E0A0;
  --pad: clamp(20px, 4vw, 40px);
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
html.menu-open { overflow: hidden; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.nav__links .nav__cta-m, .foot__legal { display: none; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(7, 8, 10, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.035em; }
.brand svg { width: 22px; height: 22px; flex: none; }
.brand__sub { font-weight: 500; color: var(--muted); }
.nav__links { display: flex; gap: 4px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.nav__links a { padding: 7px 14px; border-radius: 8px; transition: background-color .2s, color .2s; }
.nav__links a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.nav__end { justify-self: end; }
.menu-btn {
  display: none; justify-self: end; width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px var(--line-2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.menu-btn span { width: 16px; height: 1.5px; border-radius: 1px; background: var(--text); transition: transform .3s var(--ease); }
.nav.is-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding-inline: 20px;
  border-radius: 10px; border: 0; font: 600 15px/1 var(--sans); letter-spacing: -.01em; cursor: pointer;
  transition: background-color .2s;
}
.btn--sm { height: 36px; padding-inline: 14px; border-radius: 8px; font-size: 14px; }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { display: grid; align-items: center; min-height: calc(100svh - 65px); }
.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 80px 104px; }
.hero__mark { width: 56px; height: 56px; }
.hero__name { margin-top: 32px; font-size: clamp(3.1rem, 10vw, 8.8rem); font-weight: 600; line-height: .95; letter-spacing: -.045em; }
.hero__line { margin-top: 24px; max-width: 48ch; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.45; color: var(--text-2); text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.actions--start { justify-content: flex-start; margin-top: 28px; }

/* ---------- sections: title on the left, content on the right ---------- */
.section { padding-block: clamp(80px, 10vw, 128px); }
.section--line { border-top: 1px solid var(--line); }
.ed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 24px clamp(32px, 6vw, 96px); }
.ed__title { align-self: start; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.ed__body { min-width: 0; }
/* lists start on a rule that lines up with the title's rule; text starts a little lower, level with the title */
.ed__body > .lead:first-child { padding-top: 6px; }
.lead { max-width: 34ch; font-size: clamp(1.5rem, 2.4vw, 2.05rem); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; text-wrap: pretty; }
.lead a, .prose a { border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.lead a:hover, .prose a:hover { border-color: var(--accent); }
.lead + .prose, .lead + .caps, .lead + .mark { margin-top: 28px; }
.prose { max-width: 60ch; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.prose p + p { margin-top: 16px; }

/* ---------- what we build ---------- */
.caps { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.caps li { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.caps h3, .rules h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.caps p { margin-top: 8px; max-width: 42ch; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ---------- how we work ---------- */
.rules { list-style: none; }
.rules li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 40px; padding: 22px 0 24px; border-top: 1px solid var(--line); }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.rules p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ---------- our name: a product footer with the credit in it ---------- */
.mark { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.mark__shot { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 230px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); }
.mark__page { position: absolute; inset: 26px 26px auto; display: grid; gap: 12px; }
.mark__page em { width: var(--w); height: 10px; border-radius: 4px; background: rgba(255, 255, 255, .06); }
.mark__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); }
.mark__foot > :last-child { justify-self: end; }
.mark__ph { display: block; width: var(--w); height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03); font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap;
}
.badge svg { width: 13px; height: 13px; flex: none; }
.badge b { font-weight: 700; color: var(--text); }

/* ---------- contact page ---------- */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--text-2); }
.h2 { margin-top: 14px; font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 600; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.sub { max-width: 52ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.label { font-size: 13px; font-weight: 600; color: var(--muted); }
.contact-page { padding-block: clamp(56px, 8vw, 104px) clamp(80px, 10vw, 128px); }
.contact__title { max-width: 13ch; }
.contact .sub { margin-top: 20px; }
.contact__list { list-style: none; max-width: 760px; margin-top: 48px; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 24px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--line); }
.contact__list a { justify-self: start; font-size: 20px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.contact__list a:hover { border-color: var(--accent); }
.contact__list p { max-width: 46ch; font-size: 15.5px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { padding-block: 56px 32px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot__brand p { margin-top: 14px; max-width: 34ch; font-size: 14.5px; color: var(--muted); }
.foot nav { display: grid; align-content: start; gap: 12px; }
.foot__h { margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.foot nav a { font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.foot nav a:hover { color: var(--text); }
.foot__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot__pb { display: inline-flex; align-items: center; gap: 8px; }
.foot__pb svg { width: 13px; height: 13px; }
.foot__legal { gap: 20px; }
.foot__legal a { color: var(--text-2); }

@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .mark { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }

  /* nav + full-screen menu */
  .nav__in { grid-template-columns: 1fr auto; height: 60px; }
  .nav__links, .nav__end { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.is-open { background: var(--bg); }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - 60px); height: calc(100dvh - 60px); overflow-y: auto;
    padding: 8px var(--pad) calc(28px + env(safe-area-inset-bottom)); background: var(--bg);
    animation: menuIn .3s var(--ease) both;
  }
  .nav.is-open .nav__links a {
    padding: 18px 2px; border-radius: 0; border-bottom: 1px solid var(--line);
    font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--text);
  }
  .nav.is-open .nav__links a.nav__cta-m {
    display: flex; justify-content: center; height: 52px; margin-top: auto; padding: 0; border: 0; border-radius: 12px;
    font-size: 16px; color: var(--bg);
  }

  /* hero */
  .hero { min-height: 0; }
  .hero__in { padding-block: 72px 80px; }
  .hero__mark { width: 44px; height: 44px; }
  .hero__name { margin-top: 24px; }
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 400px; margin-top: 32px; }
  .hero .btn { padding-inline: 10px; }

  /* sections: title above content */
  .section { padding-block: 64px; }
  .ed { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ed__title { font-size: 16px; }
  .ed__body > .lead:first-child { padding-top: 0; }
  .lead { font-size: clamp(1.35rem, 5.6vw, 1.6rem); }
  .prose p { font-size: 16px; }
  .caps { grid-template-columns: minmax(0, 1fr); }
  .rules li { grid-template-columns: minmax(0, 1fr); }
  .mark { gap: 28px; }
  .mark__shot { height: 190px; }
  .mark__foot { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .mark__foot > :not(.badge) { display: none; }

  /* contact page */
  .h2 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .contact-page { padding-block: 36px 64px; }
  .contact__list { margin-top: 36px; }
  .contact__list li { grid-template-columns: minmax(0, 1fr); }
  .contact__list a { font-size: 18px; }

  /* footer */
  .foot { padding-block: 48px 28px; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot nav.foot__legal-col { display: none; }
  .foot nav a { font-size: 15px; }
  .foot__end { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 36px; }
  .foot__legal { display: flex; }
}
@media (max-width: 379px) {
  .hero .actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
