:root {
  --bg: #e9eae6;
  --ink: #0b0b0b;
  --ink-2: #4b4d48;
  --line: #0b0b0b;
  --soft: #cfd1cb;
  --lime: #d4ff3d;
  --white: #fbfbf9;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(1rem, 3.2vw, 2.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-stretch: 100%;
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--lime); }

.skip { position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: var(--lime); padding: .5rem .9rem; z-index: 20; }
.skip:focus { top: 1rem; }

.tag {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .02em;
  text-transform: uppercase; color: var(--ink-2);
}
.tag--dark { color: #9a9c96; }

/* ---------- bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.logo {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 1rem var(--pad); text-decoration: none;
  font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; font-size: .95rem;
}
.logo__mark { flex: none; width: 1.3rem; height: 1.3rem; overflow: visible; }
.logo__mark rect { transition: transform .35s cubic-bezier(.3,.7,.2,1); }
.logo:hover .m-a { transform: translate(3px, 3px); }
.logo:hover .m-b { transform: translate(-3px, -3px); }
.bar__nav { display: flex; gap: 2rem; font-family: var(--mono); font-size: .8rem; text-transform: uppercase; }
.bar__nav a { text-decoration: none; position: relative; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1.5px; background: var(--ink); transition: right .25s ease; }
.bar__nav a:hover::after { right: 0; }
.bar__cta {
  justify-self: end; align-self: stretch; display: flex; align-items: center; gap: .5rem;
  padding: 0 var(--pad); border-left: 1px solid var(--line);
  font-family: var(--mono); font-size: .8rem; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background .2s ease;
}
.bar__cta:hover { background: var(--lime); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--lime); color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: .9rem 1.25rem; text-decoration: none;
  font-weight: 700; font-stretch: 112%; font-size: .95rem;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--lime); box-shadow: 4px 4px 0 var(--white); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--white); }
.ul { font-family: var(--mono); font-size: .85rem; text-transform: uppercase; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.ul:hover { background: var(--lime); }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) var(--pad) clamp(3rem, 6vw, 5.5rem); }
.hero__title {
  margin-top: 1.25rem;
  font-weight: 800; font-stretch: 125%;
  font-size: min(10.4vw, clamp(2.6rem, .9rem + 6.6vw, 8rem));
  line-height: .92; letter-spacing: -.045em;
  text-transform: uppercase; max-width: 15ch;
}
.hero__title mark {
  background: linear-gradient(var(--lime), var(--lime)) 0 88% / 100% 42% no-repeat;
  color: inherit; padding: 0 .05em;
}
.hero__grid {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: end;
}
.hero__lede { max-width: 30rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.45; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }

/* the intro email: the site's one design move */
.mail { margin: 0; }
.mail__cap { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
.mail__win { background: var(--white); border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.mail__chrome { display: flex; gap: .4rem; padding: .7rem .9rem; border-bottom: 1.5px solid var(--ink); }
.mail__chrome i { width: .6rem; height: .6rem; border: 1.5px solid var(--ink); border-radius: 50%; }
.mail__chrome i:first-child { background: var(--lime); }
.mail__head { font-family: var(--mono); font-size: .82rem; border-bottom: 1px solid var(--soft); }
.mail__head > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; padding: .55rem 1.1rem; border-bottom: 1px dashed var(--soft); align-items: center; }
.mail__head > div:last-child { border-bottom: 0; }
.mail__head dt { color: var(--ink-2); }
.mail__head strong { font-family: var(--sans); font-weight: 700; font-size: .95rem; }
.mail__body { padding: 1.25rem 1.1rem 1.5rem; display: grid; gap: .8rem; font-size: 1rem; line-height: 1.6; }
.chip {
  display: inline-block; font-family: var(--mono); font-size: .78em; line-height: 1.3;
  padding: .1em .45em; border: 1.5px solid var(--ink); background: var(--lime); white-space: nowrap;
}
.chip--b { background: var(--ink); color: var(--lime); }

/* ---------- strip ---------- */
.strip { background: var(--ink); color: var(--lime); overflow: hidden; border-block: 1px solid var(--ink); }
.strip__track {
  display: flex; gap: 2rem; width: max-content; padding: 1rem 0;
  font-weight: 700; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1rem, .8rem + .8vw, 1.5rem);
  white-space: nowrap;
}

/* ---------- how ---------- */
.how { background: var(--ink); color: var(--white); padding: clamp(4rem, 9vw, 8rem) var(--pad); }
.how__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.h2 { overflow-wrap: break-word; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; font-size: clamp(2rem, 1rem + 3.6vw, 4.5rem); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid #3a3b38; }
.row {
  display: grid; grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: baseline;
  padding: 1.75rem .75rem; border-bottom: 1px solid #3a3b38;
  transition: background .25s ease, color .25s ease;
}
.row:hover { background: var(--lime); color: var(--ink); }
.row:hover .row__b, .row:hover .row__n { color: var(--ink); }
.row__n { font-family: var(--mono); font-size: .9rem; color: var(--lime); transition: color .25s ease; }
.row__t { font-weight: 700; font-stretch: 112%; font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); letter-spacing: -.02em; line-height: 1.1; }
.row__b { color: #b9bbb5; max-width: 36rem; transition: color .25s ease; }

/* ---------- who ---------- */
.who { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.panel { padding: clamp(3rem, 7vw, 6rem) var(--pad); display: flex; flex-direction: column; gap: 1.25rem; background: var(--white); }
.panel--lime { background: var(--lime); border-right: 1px solid var(--line); }
.panel__t { font-weight: 800; font-stretch: 115%; font-size: clamp(1.75rem, 1.1rem + 2vw, 3rem); line-height: 1; letter-spacing: -.035em; max-width: 16ch; }
.panel__b { max-width: 30rem; }
.panel .btn { margin-top: auto; align-self: flex-start; }
.panel .tag { color: var(--ink); }

/* ---------- faq ---------- */
.faq { padding: clamp(4rem, 9vw, 8rem) var(--pad); }
.faq__head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.qa { padding: clamp(1.5rem, 3vw, 2.25rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease; }
.qa:hover { background: var(--white); }
.qa dt { font-weight: 700; font-stretch: 112%; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); letter-spacing: -.02em; margin-bottom: .6rem; }
.qa dd { color: var(--ink-2); max-width: 34rem; }

/* ---------- contact ---------- */
.contact { background: var(--lime); padding: clamp(4rem, 10vw, 8rem) var(--pad); border-top: 1px solid var(--line); }
.contact .tag { color: var(--ink); }
.contact__t { margin-top: 1rem; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.045em; line-height: .92; font-size: clamp(2.4rem, .8rem + 6vw, 7.5rem); max-width: 14ch; }
.contact__mail {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border-block: 2px solid var(--ink); padding: 1.25rem 0;
  font-family: var(--mono); font-size: clamp(1.1rem, .6rem + 2.4vw, 2.6rem);
  text-decoration: none; overflow-wrap: anywhere;
}
.contact__arrow { font-family: var(--sans); font-size: 1.4em; line-height: 1; transition: transform .25s ease; }
.contact__mail:hover .contact__arrow { transform: translate(6px, -6px); }
.contact__mail:hover span:first-child { text-decoration: underline; text-underline-offset: 6px; }
.contact__note { margin-top: 1.25rem; font-family: var(--mono); font-size: .85rem; }

/* ---------- footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem;
  background: var(--ink); color: #b9bbb5; padding: 0 var(--pad) 0 0;
  font-family: var(--mono); font-size: .8rem;
}
.logo--foot { color: var(--white); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--lime); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .hero__title mark { background-size: 0 42%; transition: background-size .9s cubic-bezier(.6,0,.2,1) .5s; }
  .js .hero__title.is-in mark { background-size: 100% 42%; }
  .js .mail__body .chip { transform: scale(.6); opacity: 0; transition: transform .4s cubic-bezier(.3,1.6,.5,1), opacity .2s ease; }
  .js .mail.is-in .mail__body .chip { transform: none; opacity: 1; }
  .js .mail.is-in .mail__body .chip:nth-of-type(1) { transition-delay: .7s; }
  .js .mail.is-in .mail__body .chip:nth-of-type(2) { transition-delay: .9s; }
  .strip__track { animation: slide 32s linear infinite; }
  .strip:hover .strip__track { animation-play-state: paused; }
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar__nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .mail { margin-right: 10px; }
  .row { grid-template-columns: 3.5rem 1fr; }
  .row__b { grid-column: 2; }
  .who { grid-template-columns: 1fr; }
  .panel--lime { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .faq__grid { grid-template-columns: 1fr; }
  .mail__head > div { grid-template-columns: 4.25rem 1fr; padding: .5rem .8rem; }
  .mail__body { padding: 1rem .8rem 1.25rem; }
  .row { grid-template-columns: 2.5rem 1fr; gap: .9rem; padding: 1.4rem 0; }
  .foot { flex-direction: column; align-items: flex-start; padding: 0 var(--pad) 1.25rem 0; }
  .foot > a, .foot > span:last-child { padding-left: var(--pad); }
}
@media (max-width: 380px) {
  .logo { font-size: .82rem; padding-right: .5rem; }
  .bar__cta { padding: 0 .9rem; }
  .h2 { font-size: 1.7rem; }
}
