/* palette: bg=#FFF4E0 fg=#0B0B14 accent=#FF2D78 */
/* fonts: display="Bricolage Grotesque" body="DM Sans" mono="Space Mono" */

:root {
  --bg: #FFF4E0;
  --bg-alt: #0B0B14;
  --bg-cream: #F8E8C8;
  --fg: #0B0B14;
  --fg-soft: #1A1B28;
  --muted: #5A5B6A;
  --accent: #FF2D78;
  --accent-deep: #D71F61;
  --turquoise: #15D4C2;
  --yellow: #FFD23F;
  --cobalt: #2D43F5;
  --lilac: #C2A6F0;
  --border: rgba(11, 11, 20, 0.14);
  --border-strong: rgba(11, 11, 20, 0.85);
  --serif: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ===== layout ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

section { position: relative; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--ink { background: var(--bg-alt); color: var(--bg); }
.section--cream { background: var(--bg-cream); }
.section--pink { background: var(--accent); color: #fff; }

/* ===== typography ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.section--ink .eyebrow { color: var(--yellow); }
.section--pink .eyebrow { color: #fff; }
.section--pink .eyebrow::before { background: #fff; }

h1.hero-title {
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-weight: 400;
}
h1.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--serif);
}
h2.section-title {
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  letter-spacing: -0.025em;
  line-height: 1;
  max-width: 18ch;
}
h3 { font-size: clamp(1.4rem, 2.4vw, 1.875rem); letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
p.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  max-width: 56ch;
  color: var(--fg-soft);
}

/* ===== header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 244, 224, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(11,11,20,0.06), 0 8px 24px -16px rgba(11,11,20,0.18);
  border-bottom-color: rgba(11,11,20,0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  flex: none;
  display: inline-block;
}
.brand__mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--yellow);
  border-radius: 2px;
  transform: rotate(45deg);
}
.brand b { font-weight: 500; letter-spacing: -0.03em; }
.nav { display: none; gap: 32px; align-items: center; }
.nav a { font-size: 14.5px; color: var(--fg); position: relative; padding: 6px 0; }
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); }
.header__cta { display: none; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-cta:hover { transform: translateY(-1px); background: var(--accent); }
.btn-cta::after {
  content: '→';
  font-family: var(--mono);
  font-size: 14px;
}
@media (min-width: 1024px) {
  .nav { display: inline-flex; }
  .header__cta { display: inline-flex; }
}
.menu-toggle {
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 90;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.mobile-menu .btn-cta { align-self: flex-start; margin-top: 16px; }

/* ===== hero ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(60px, 10vw, 110px) 0 clamp(80px, 12vw, 140px);
  overflow: hidden;
  background: var(--bg);
}
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(48px, 8vw, 100px);
}
.hero__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.8;
}
.hero__meta b { color: var(--fg); font-weight: 400; }
.hero__title-wrap { position: relative; }
.hero-title { margin: 0; }
.hero-title .pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.16em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--turquoise);
  color: var(--fg);
  padding: 0.5em 1em;
  border-radius: 999px;
  vertical-align: middle;
  margin: 0 0.2em;
  line-height: 1.2;
}
.hero-title .pill--yellow { background: var(--yellow); }
.hero-title .glyph {
  display: inline-flex;
  width: 0.7em; height: 0.7em;
  background: var(--cobalt);
  border-radius: 50%;
  vertical-align: 0.05em;
  margin: 0 0.05em;
}
.hero-title .glyph--sq { border-radius: 0; background: var(--accent); transform: rotate(8deg); }
.hero-title .glyph--tri {
  background: transparent;
  border-radius: 0;
  width: 0.8em; height: 0.7em;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background-color: var(--yellow);
}
.hero__row {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  margin-top: clamp(56px, 8vw, 100px);
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) { .hero__row { grid-template-columns: 1fr 1fr 1fr; } }
.hero__copy { max-width: 38ch; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 2px solid var(--fg);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--white { background: #fff; color: var(--fg); border-color: #fff; }
.btn--white:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.btn::after { content: '→'; font-family: var(--mono); font-size: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.text-link:hover { gap: 14px; color: var(--accent); }

/* ===== Memphis decorations ===== */
.shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.shape--circle { border-radius: 50%; }
.shape--square { border-radius: 4px; }
.shape--ring { border-radius: 50%; background: transparent; border: 8px solid currentColor; }
.shape--tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.shape--zigzag {
  background-image: linear-gradient(45deg, currentColor 25%, transparent 25%), linear-gradient(-45deg, currentColor 25%, transparent 25%);
  background-size: 16px 16px;
}
.shape--squiggle { background: none; }

.confetti-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* hero shapes */
.hero .s-1 { top: 8%; right: 12%; width: 90px; height: 90px; background: var(--turquoise); border-radius: 50%; animation: float 7s var(--ease) infinite; }
.hero .s-2 { top: 15%; left: 6%; width: 60px; height: 60px; background: var(--cobalt); transform: rotate(20deg); animation: spin 14s linear infinite; }
.hero .s-3 { bottom: 22%; right: 6%; width: 120px; height: 120px; color: var(--accent); border: 6px solid currentColor; border-radius: 50%; background: transparent; }
.hero .s-4 { bottom: 14%; left: 14%; width: 70px; height: 60px; color: var(--yellow); }
.hero .s-5 { top: 38%; left: 4%; width: 30px; height: 30px; background: var(--accent); animation: pulse 3s ease infinite; }
.hero .s-6 { top: 55%; right: 4%; width: 50px; height: 50px; background: var(--yellow); transform: rotate(45deg); }
.hero .s-zigzag {
  position: absolute;
  bottom: 8%;
  left: 38%;
  width: 80px;
  height: 24px;
  color: var(--cobalt);
}

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }
@keyframes spin { to { transform: rotate(380deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-visual { animation: heroZoom 8s ease-out forwards; }

.hero__visual {
  margin-top: clamp(60px, 8vw, 100px);
  position: relative;
}
.hero__device {
  position: relative;
  background: var(--fg);
  border-radius: 14px;
  padding: 40px 28px;
  color: var(--bg);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(11,11,20,0.35), 12px 12px 0 var(--accent);
}
.hero__device::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}
.hero__device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 16px;
}
@media (min-width: 700px) { .hero__device-grid { grid-template-columns: repeat(4, 1fr); } }
.metric {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 18px 16px;
}
.metric .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.metric .value {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric .delta { font-size: 11px; color: var(--turquoise); margin-top: 6px; font-family: var(--mono); }
.metric .delta.neg { color: var(--accent); }
.metric--accent { background: var(--accent); border-color: transparent; color: #fff; }
.metric--accent .label { color: rgba(255,255,255,0.7); }
.metric--accent .value { color: #fff; }
.metric--turq { background: var(--turquoise); border-color: transparent; color: var(--fg); }
.metric--turq .label { color: rgba(11,11,20,0.6); }
.metric--turq .value { color: var(--fg); }

.hero__device-stream {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.18);
  flex-wrap: wrap;
  gap: 12px;
}

/* marquee under hero */
.marquee {
  border-top: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  margin-top: 0;
}
.marquee__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee__track span::after {
  content: '✺';
  font-size: 1.2em;
  color: var(--yellow);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== features grid ===== */
.features {
  display: grid;
  gap: 0;
  margin-top: clamp(48px, 8vw, 80px);
  border-top: 2px solid var(--fg);
  border-left: 2px solid var(--fg);
}
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.feature {
  border-right: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  padding: 36px 28px 40px;
  background: var(--bg);
  position: relative;
  transition: background 0.3s var(--ease);
}
.feature:nth-child(2) { background: var(--yellow); }
.feature:nth-child(3) { background: var(--turquoise); }
.feature:nth-child(4) { background: var(--lilac); }
.feature__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 24px;
}
.feature__icon {
  width: 56px; height: 56px;
  background: var(--fg);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 999px;
}
.feature:nth-child(2) .feature__icon { background: var(--accent); color: #fff; border-radius: 4px; transform: rotate(-6deg); }
.feature:nth-child(3) .feature__icon { background: var(--cobalt); color: #fff; border-radius: 4px 4px 24px 4px; }
.feature:nth-child(4) .feature__icon { background: var(--fg); color: var(--yellow); border-radius: 4px; clip-path: polygon(50% 0, 100% 100%, 0 100%); width: 60px; height: 56px; padding-top: 12px; align-items: flex-end; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.875rem);
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.feature p { color: var(--fg-soft); font-size: 15px; line-height: 1.7; margin: 0; }

/* ===== how it works ===== */
.how {
  display: grid;
  gap: 56px;
  margin-top: clamp(60px, 8vw, 96px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .how { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }
.step { position: relative; padding-top: 48px; }
.step__num {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.step:nth-child(2) .step__num { color: var(--cobalt); }
.step:nth-child(3) .step__num { color: var(--turquoise); }
.step__num em {
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  background: var(--yellow);
  border-radius: 50%;
  vertical-align: top;
  margin-left: 4px;
  margin-top: 0.25em;
}
.step h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.875rem);
  font-weight: 500;
  margin: 12px 0 14px;
  padding-top: 100px;
  letter-spacing: -0.02em;
}
.step p { color: var(--bg); font-size: 16px; line-height: 1.7; opacity: 0.85; }
.section--ink .step__divider { display: none; }
.section--ink .step h3 { color: var(--bg); }

/* ===== manifesto ===== */
.manifesto {
  text-align: center;
  padding: clamp(100px, 14vw, 180px) 0;
  position: relative;
  background: var(--bg-alt);
  color: var(--bg);
  overflow: hidden;
}
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-weight: 400;
  max-width: 22ch;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.manifesto__quote em {
  font-style: italic;
  color: var(--accent);
}
.manifesto__quote .star {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  vertical-align: -0.12em;
  color: var(--yellow);
}
.manifesto__attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 48px;
  color: var(--turquoise);
  position: relative;
  z-index: 2;
}
.manifesto .s-a { position: absolute; top: 14%; left: 8%; width: 80px; height: 80px; background: var(--accent); border-radius: 50%; }
.manifesto .s-b { position: absolute; bottom: 18%; right: 12%; width: 60px; height: 60px; color: var(--turquoise); border: 4px solid currentColor; border-radius: 50%; }
.manifesto .s-c { position: absolute; top: 22%; right: 18%; width: 50px; height: 50px; background: var(--yellow); transform: rotate(35deg); }
.manifesto .s-d { position: absolute; bottom: 12%; left: 14%; width: 70px; height: 60px; color: var(--cobalt); clip-path: polygon(50% 0, 100% 100%, 0 100%); background: currentColor; }

/* ===== pricing ===== */
.pricing {
  display: grid;
  gap: 24px;
  margin-top: clamp(48px, 8vw, 80px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .pricing { grid-template-columns: 1fr 1fr 1fr; gap: 0; } }

.tier {
  background: var(--bg);
  padding: 40px 32px 44px;
  position: relative;
  border: 2px solid var(--fg);
  display: flex;
  flex-direction: column;
}
@media (min-width: 900px) {
  .tier { border-right: 0; }
  .tier:last-child { border-right: 2px solid var(--fg); }
}
.tier--feature {
  background: var(--fg);
  color: var(--bg);
  transform: scale(1);
  z-index: 2;
  box-shadow: -8px 8px 0 var(--accent), 8px 8px 0 var(--turquoise);
}
@media (min-width: 900px) {
  .tier--feature { box-shadow: 0 8px 0 var(--accent); transform: translateY(-12px); }
}
.tier__head { padding-bottom: 28px; border-bottom: 1px dashed currentColor; }
.tier__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: 8px;
}
.tier__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier--feature .tier__tag { color: var(--turquoise); }
.tier__price {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 400;
  margin: 28px 0 6px;
}
.tier__price sup { font-size: 0.5em; vertical-align: 0.6em; margin-right: 4px; font-family: var(--mono); }
.tier__price small { font-size: 14px; font-family: var(--mono); color: var(--muted); letter-spacing: 0.05em; }
.tier--feature .tier__price small { color: rgba(255,255,255,0.6); }
.tier__list { list-style: none; padding: 0; margin: 28px 0 32px; flex: 1; }
.tier__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.55;
}
.tier__list li::before {
  content: '✦';
  color: var(--accent);
  font-size: 14px;
  margin-top: 2px;
  flex: none;
}
.tier--feature .tier__list li::before { color: var(--yellow); }
.tier .btn { align-self: flex-start; }
.tier__badge {
  position: absolute;
  top: -16px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  transform: rotate(4deg);
}

/* ===== integrations ===== */
.integrations {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--fg);
  border-left: 2px solid var(--fg);
}
@media (min-width: 700px) { .integrations { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .integrations { grid-template-columns: repeat(6, 1fr); } }
.integration {
  border-right: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  background: var(--bg);
  position: relative;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  text-align: center;
  padding: 16px;
}
.integration:hover { background: var(--fg); color: var(--bg); }
.integration--y { background: var(--yellow); }
.integration--p { background: var(--accent); color: #fff; }
.integration--t { background: var(--turquoise); }
.integration--l { background: var(--lilac); }
.integration small {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.6;
}

/* ===== testimonials ===== */
.testimonials {
  display: grid;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .testimonials { grid-template-columns: 1fr 1fr; } }
.quote-card {
  background: var(--bg);
  border: 2px solid var(--fg);
  padding: 36px 32px;
  position: relative;
  box-shadow: 6px 6px 0 var(--fg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quote-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--accent); }
.quote-card:nth-child(2) { background: var(--yellow); }
.quote-card:nth-child(3) { background: var(--turquoise); }
.quote-card:nth-child(4) { background: var(--lilac); }
.quote-card__mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--accent);
  position: absolute;
  top: 16px;
  left: 24px;
}
.quote-card__body {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 56px 0 28px;
  font-weight: 400;
}
.quote-card__attr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px dashed var(--fg);
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  background: var(--accent);
  flex: none;
  letter-spacing: -0.01em;
}
.avatar--cobalt { background: var(--cobalt); }
.avatar--ink { background: var(--fg); color: var(--yellow); }
.avatar--turq { background: var(--cobalt); color: #fff; }
.quote-card__attr-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.4;
}
.quote-card__attr-text b { font-weight: 500; }
.quote-card__attr-text small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }

/* ===== CTA ===== */
.cta {
  background: var(--accent);
  color: #fff;
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta__inner {
  display: grid;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.cta h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
  font-weight: 400;
  max-width: 16ch;
}
.cta h2 em { font-style: italic; color: var(--yellow); }
.cta p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 36ch; margin-bottom: 32px; }
.cta .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .s-1 { position: absolute; top: 12%; right: 8%; width: 80px; height: 80px; background: var(--yellow); border-radius: 50%; }
.cta .s-2 { position: absolute; bottom: 14%; right: 24%; width: 60px; height: 60px; background: var(--turquoise); transform: rotate(20deg); }
.cta .s-3 { position: absolute; bottom: 8%; left: 8%; width: 50px; height: 50px; color: var(--yellow); border: 6px solid currentColor; border-radius: 50%; }

/* ===== about page ===== */
.page-hero {
  padding: clamp(100px, 14vw, 180px) 0 clamp(60px, 10vw, 120px);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.page-hero h1 {
  font-size: clamp(3rem, 9vw, 7.5rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
  font-weight: 400;
  max-width: 16ch;
  margin: 24px 0 0;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lede { margin-top: 36px; max-width: 60ch; }
.page-hero .s-x { position: absolute; top: 18%; right: 8%; width: 100px; height: 100px; background: var(--turquoise); border-radius: 50%; }
.page-hero .s-y { position: absolute; bottom: 12%; right: 22%; width: 60px; height: 60px; background: var(--yellow); transform: rotate(20deg); }

.about-grid {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
  margin-top: clamp(80px, 12vw, 140px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.5fr; gap: 80px; } }

.values {
  display: grid;
  gap: 0;
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 2px solid var(--fg);
}
.value {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 2px solid var(--fg);
  align-items: start;
}
@media (min-width: 700px) { .value { grid-template-columns: 100px 1fr 1.5fr; padding: 48px 0; } }
.value__num {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.value h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.02em; }
.value p { color: var(--fg-soft); font-size: 16px; line-height: 1.7; margin: 0; }

.team {
  display: grid;
  gap: 0;
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 2px solid var(--fg);
  border-left: 2px solid var(--fg);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team { grid-template-columns: 1fr 1fr 1fr; } }
.team__card {
  border-right: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  padding: 32px 28px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.team__card:nth-child(2) { background: var(--yellow); }
.team__card:nth-child(3) { background: var(--turquoise); }
.team__card:nth-child(4) { background: var(--lilac); }
.team__card:nth-child(5) { background: var(--accent); color: #fff; }
.team__card:nth-child(6) { background: var(--cobalt); color: #fff; }
.team__avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.team__card:nth-child(2) .team__avatar { background: var(--accent); color: #fff; }
.team__card:nth-child(3) .team__avatar { background: var(--cobalt); color: #fff; border-radius: 4px; }
.team__card:nth-child(4) .team__avatar { background: var(--fg); color: var(--yellow); }
.team__card:nth-child(5) .team__avatar { background: var(--yellow); color: var(--fg); border-radius: 4px; transform: rotate(-4deg); }
.team__card:nth-child(6) .team__avatar { background: var(--turquoise); color: var(--fg); }
.team__card h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.team__card .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.team__card p { font-size: 14.5px; line-height: 1.62; margin: 0; opacity: 0.85; }

/* ===== services page ===== */
.services-list {
  display: flex;
  flex-direction: column;
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 2px solid var(--fg);
}
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: clamp(36px, 5vw, 64px) 0;
  border-bottom: 2px solid var(--fg);
  align-items: start;
}
@media (min-width: 800px) { .svc-row { grid-template-columns: 80px 1fr 1.5fr; gap: 40px; padding: 56px 0; } }
.svc-row__num {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding-top: 8px;
}
.svc-row__title { display: flex; flex-direction: column; gap: 14px; }
.svc-row h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; }
.svc-row__tag { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.svc-row__tag span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--fg);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg);
}
.svc-row p { color: var(--fg-soft); font-size: 16.5px; line-height: 1.72; margin: 0 0 20px; }
.svc-row ul { padding-left: 18px; margin: 0 0 14px; font-size: 15px; line-height: 1.8; color: var(--fg-soft); }
.svc-row ul li::marker { color: var(--accent); }

/* ===== contact page ===== */
.contact-grid {
  display: grid;
  gap: 48px;
  margin-top: clamp(48px, 6vw, 80px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 80px; } }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-block {
  border-top: 2px solid var(--fg);
  padding-top: 18px;
}
.contact-block .eyebrow { color: var(--accent); margin-bottom: 14px; display: block; }
.contact-block .eyebrow::before { background: var(--accent); }
.contact-block h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.contact-block p { font-size: 15.5px; color: var(--fg-soft); line-height: 1.7; margin: 8px 0 0; }
.contact-block a { color: var(--fg); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.form {
  background: var(--fg);
  color: var(--bg);
  padding: clamp(32px, 5vw, 56px);
  border-radius: 4px;
  position: relative;
  box-shadow: 8px 8px 0 var(--accent);
}
.form h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 32px;
}
.form__row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}
@media (min-width: 600px) { .form__row.two-col { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--yellow); }
.field textarea { resize: vertical; min-height: 80px; }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.field--check input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--accent); }
.field--check a { color: var(--yellow); border-bottom: 1px solid currentColor; }
.form .btn { background: var(--accent); border-color: var(--accent); color: #fff; margin-top: 12px; }
.form .btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--fg); }

/* ===== footer ===== */
.footer {
  background: var(--bg-alt);
  color: var(--bg);
  padding: clamp(80px, 10vw, 120px) 0 40px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 8%;
  right: 6%;
  width: 70px; height: 70px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
}
.footer__top {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand { font-family: var(--serif); font-size: 2.4rem; letter-spacing: -0.025em; font-weight: 500; line-height: 1.05; max-width: 14ch; }
.footer__brand span { color: var(--accent); font-style: italic; }
.footer__col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer__col a { display: block; padding: 8px 0; font-size: 15px; color: rgba(255,255,255,0.78); transition: color 0.3s; }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.footer__bottom a { color: rgba(255,255,255,0.7); }
.footer__bottom a:hover { color: var(--yellow); }

/* ===== reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== cookie popup ===== */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  background: rgba(11,11,20,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 36px;
  max-width: 480px;
  width: 100%;
  border-radius: 4px;
  border: 2px solid var(--fg);
  box-shadow: 8px 8px 0 var(--accent);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cookie-popup h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cookie-popup p { font-size: 14px; color: var(--fg-soft); line-height: 1.6; margin-bottom: 20px; }
.cookie-popup__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-popup__actions button {
  padding: 10px 22px;
  border: 2px solid var(--fg);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  font-family: var(--sans);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  background: var(--bg);
  color: var(--fg);
}
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ===== misc ===== */
::selection { background: var(--accent); color: #fff; }

.legal { padding: clamp(80px, 12vw, 120px) 0; max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; letter-spacing: -0.03em; margin-bottom: 32px; }
.legal h1 em { color: var(--accent); font-style: italic; }
.legal h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 500; letter-spacing: -0.02em; margin: 48px 0 16px; }
.legal h3 { font-size: 1.2rem; font-weight: 500; margin: 24px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.78; color: var(--fg-soft); }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); border-bottom: 1px solid currentColor; }
.legal__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

.thanks {
  min-height: 78vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.thanks__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 2; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.035em; font-weight: 400; }
.thanks h1 em { color: var(--accent); font-style: italic; }
.thanks p { font-size: 18px; max-width: 48ch; margin: 24px auto 36px; color: var(--fg-soft); }
.thanks .s-1 { position: absolute; top: 12%; left: 10%; width: 80px; height: 80px; background: var(--turquoise); border-radius: 50%; }
.thanks .s-2 { position: absolute; bottom: 14%; right: 12%; width: 60px; height: 60px; background: var(--yellow); transform: rotate(20deg); }
.thanks .s-3 { position: absolute; top: 30%; right: 8%; width: 50px; height: 50px; color: var(--accent); border: 5px solid currentColor; border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
