/* bananamate B.V. — site styles
   Type: Inter (self-hosted variable font with optical sizes, SIL OFL; see assets/fonts/OFL-Inter.txt) */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin-opsz-var.woff2') format('woff2');
}

/* ============ Tokens ============ */
:root {
  --bg: #000;
  --bg-2: #0a0a0b;
  --tile: #0f0f11;
  --tile-2: #151517;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --ntr: #8b5cf6;
  --ntr-2: #b49cff;
  --header-h: 60px;
  --container: 1160px;
  --gutter: 28px;
  --f: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.6, 0.2, 1);
  color-scheme: dark;
}

@media (max-width: 599px) {
  :root {
    --gutter: 20px;
  }
}

/* ============ Base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html.age-locked {
  overflow: hidden;
}

body {
  font-family: var(--f);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.08;
}

strong {
  color: var(--text);
  font-weight: 600;
}

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

[tabindex='-1']:focus {
  outline: none;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

::selection {
  background: #f5f5f7;
  color: #000;
}

.sr-only {
  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: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ Buttons & links ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--text);
  color: #000;
}

.btn-primary:hover {
  background: #fff;
}

.btn-secondary {
  border-color: var(--line-2);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-sm {
  min-height: 34px;
  padding: 0 16px;
  font-size: 14px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.more::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 1.6px solid currentColor;
  border-top: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.more:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.more:hover::after {
  transform: translateX(3px) rotate(45deg);
}

/* ============ Brand ============ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-bv {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: -0.02em;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
}

.site-nav ul a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav ul a:hover,
.site-nav ul a[aria-current='page'] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: 10px;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 32px;
    background: #000;
    overflow-y: auto;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav ul a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
  }

  .site-nav .btn {
    margin-top: 28px;
    align-self: flex-start;
    min-height: 44px;
    font-size: 16px;
  }
}

/* ============ Age gate ============ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: #000;
}

html.age-ok .age-gate {
  display: none;
}

.age-gate-inner {
  width: 100%;
  max-width: 520px;
  margin: auto;
  text-align: center;
}

.age-gate .brand {
  justify-content: center;
}

.age-gate h2 {
  margin-top: 40px;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.03em;
}

.age-gate-text {
  margin: 16px auto 0;
  max-width: 470px;
  font-size: 16px;
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.age-gate-legal {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-3);
}

.age-gate-legal a {
  color: var(--text-2);
}

/* ============ Hero ============ */
.hero {
  padding: calc(var(--header-h) + 88px) 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
}

.product-tag img {
  width: 30px;
  height: 30px;
  padding: 4px;
  border-radius: 8px;
  background: #15111f;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.product-tag b {
  color: var(--ntr-2);
  font-weight: 500;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(56px, 8.4vw, 112px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.hero-sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.hero-sub strong {
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 96px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-3);
}

.hero-foot strong {
  color: var(--text-2);
  font-weight: 500;
}

@media (max-width: 899px) {
  .hero {
    padding-top: calc(var(--header-h) + 56px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-foot {
    margin-top: 64px;
  }
}

/* ============ Device ============ */
.device {
  position: relative;
  width: 300px;
  height: 620px;
  padding: 11px;
  border-radius: 54px;
  background: #050506;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 5px #161619,
    0 50px 120px -30px rgba(139, 92, 246, 0.28),
    0 30px 60px -20px rgba(0, 0, 0, 0.9);
}

.device-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 44px;
  overflow: hidden;
  background: #0f1220;
  color: #fff;
  letter-spacing: 0;
}

.device-island {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 5;
  width: 92px;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #000;
}

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  padding: 4px 28px 0 30px;
  font-size: 13px;
  font-weight: 600;
  background: #2b1d55;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons svg {
  width: 16px;
  height: 11px;
}

.status-icons .battery {
  width: 22px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 16px 12px;
  background: #2b1d55;
}

.chat-head > svg {
  width: 18px;
  height: 18px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0a6c8, #c084fc);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.chat-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.chat-presence {
  font-size: 11.5px;
  color: #b9a8ff;
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: 12px 12px 8px;
  overflow: hidden;
}

.chat-day {
  align-self: center;
  margin-bottom: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #23283a;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #9aa3c0;
}

.msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.36;
}

.msg-in {
  align-self: flex-start;
  background: #242a3a;
  color: #eef0f6;
  border-bottom-left-radius: 5px;
}

.msg-out {
  align-self: flex-end;
  background: #5b3fb0;
  color: #fff;
  border-bottom-right-radius: 5px;
}

.msg-meta {
  align-self: flex-end;
  margin-top: -3px;
  font-size: 10px;
  color: #7f88a6;
}

.typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  background: #242a3a;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa3c0;
}

@media (prefers-reduced-motion: no-preference) {
  .typing span {
    animation: typing 1.2s ease-in-out infinite;
  }

  .typing span:nth-child(2) {
    animation-delay: 0.15s;
  }

  .typing span:nth-child(3) {
    animation-delay: 0.3s;
  }

  @keyframes typing {

    0%,
    60%,
    100% {
      opacity: 0.4;
    }

    30% {
      opacity: 1;
    }
  }
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  margin: 6px 12px 16px;
  padding: 0 5px 0 16px;
  border-radius: 20px;
  background: #1b2030;
  font-size: 13px;
  color: #7f88a6;
}

.chat-input span:last-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #7c5cff;
}

.chat-input svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

.notif {
  position: absolute;
  top: 48px;
  left: 10px;
  right: 10px;
  z-index: 4;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(42, 44, 56, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.notif-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #3a3d4c;
  font-weight: 600;
  color: #d6d9e4;
}

.notif-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

.notif-top span:last-child {
  font-weight: 400;
  color: #9aa3c0;
}

.notif-text {
  font-size: 13px;
  line-height: 1.3;
  color: #e6e8ef;
}

/* chat sequence; without JS or with reduced motion the final scene shows (minus typing dots) */
.device:not(.is-animated) .typing {
  display: none;
}

.js .device.is-animated .seq:not(.is-shown) {
  display: none;
}

.js .device.is-animated .seq.is-shown {
  animation: seq-in 0.4s var(--ease) both;
}

.js .device.is-animated .notif.seq.is-shown {
  animation: notif-in 0.5s var(--ease) both;
}

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

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes notif-in {
  from {
    opacity: 0;
    transform: translateY(-110%);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 479px) {
  .device {
    width: 282px;
    height: 584px;
  }
}

/* ============ Sections ============ */
.section {
  padding: 144px 0;
}

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-head.is-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
}

.kicker.is-ntr {
  color: var(--ntr-2);
}

.h2 {
  margin-top: 12px;
  font-size: clamp(36px, 5.2vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.section-head p:not(.kicker) {
  margin-top: 20px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.015em;
}

@media (max-width: 767px) {
  .section {
    padding: 96px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }
}

/* ============ Feature tiles ============ */
.tiles {
  display: grid;
  gap: 20px;
}

.tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 560px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: var(--tile);
  overflow: hidden;
}

.tile-copy {
  align-self: center;
  padding: 64px 56px;
}

.tile-copy h3 {
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.tile-copy p {
  margin-top: 18px;
  max-width: 420px;
  font-size: 18px;
}

.tile-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 56px 40px 0;
  background: var(--tile-2);
  border-left: 1px solid var(--line);
}

.tile.is-reverse .tile-copy {
  order: 2;
}

.tile.is-reverse .tile-visual {
  border-left: none;
  border-right: 1px solid var(--line);
}

.screen {
  width: 100%;
  border-radius: 26px 26px 0 0;
  border: 1px solid var(--line-2);
  border-bottom: none;
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}

.screen img {
  width: 100%;
  height: auto;
}

.screen.is-narrow {
  max-width: 330px;
}

.screen.is-wide {
  max-width: 440px;
}

@media (max-width: 899px) {
  .tile {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tile.is-reverse .tile-copy {
    order: 0;
  }

  .tile-copy {
    padding: 40px 28px 32px;
  }

  .tile-visual,
  .tile.is-reverse .tile-visual {
    padding: 36px 24px 0;
    border: none;
    border-top: 1px solid var(--line);
  }
}

/* spec columns */
.specs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 72px;
}

.specs li {
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}

.specs h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.specs p {
  margin-top: 8px;
  font-size: 15.5px;
}

@media (max-width: 899px) {
  .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
}

@media (max-width: 479px) {
  .specs {
    grid-template-columns: 1fr;
  }
}

/* ============ Principles ============ */
.principles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.principles li {
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}

.principles h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
}

.principles p {
  margin-top: 10px;
  font-size: 16px;
}

@media (max-width: 899px) {
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
}

@media (max-width: 479px) {
  .principles {
    grid-template-columns: 1fr;
  }
}

/* ============ Company ============ */
.company {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.company .h2 {
  margin-top: 12px;
}

.company-body p {
  font-size: 18px;
  line-height: 1.6;
}

.company-body p + p {
  margin-top: 16px;
}

.facts {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.facts dt {
  color: var(--text-3);
}

.facts dd {
  color: var(--text);
}

.facts dd a {
  text-decoration: none;
}

.facts dd a:hover {
  text-decoration: underline;
}

.facts .pending {
  color: var(--text-3);
}

@media (max-width: 899px) {
  .company {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 479px) {
  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ============ Earlier work ============ */
.earlier {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}

.earlier-head h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.earlier-head p {
  margin-top: 10px;
  font-size: 15.5px;
}

.earlier-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  border-top: 1px solid var(--line);
}

.earlier-list a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.logo-chip {
  position: relative;
  display: block;
  width: 64px;
  height: 38px;
  border-radius: 9px;
  background: #fff;
  filter: brightness(0.92);
}

.logo-chip img {
  position: absolute;
  inset: 6px 7px;
  width: calc(100% - 14px);
  height: calc(100% - 12px);
  object-fit: contain;
}

.logo-chip.is-text {
  display: grid;
  place-items: center;
  background: #1c1c1f;
  filter: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.earlier-list strong {
  display: block;
  font-size: 15.5px;
  font-weight: 500;
}

.earlier-list span span {
  display: block;
  font-size: 13.5px;
  color: var(--text-3);
}

.earlier-list svg {
  width: 14px;
  height: 14px;
  color: var(--text-3);
  transition: color 0.15s ease, transform 0.2s var(--ease);
}

.earlier-list a:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.earlier-list a:hover svg {
  color: var(--text);
  transform: translate(2px, -2px);
}

@media (max-width: 899px) {
  .earlier {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 599px) {
  .earlier-list {
    grid-template-columns: 1fr;
  }
}

/* ============ FAQ ============ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 40px 24px 0;
  font-size: 16.5px;
}

.faq-answer a {
  color: var(--text);
}

@media (max-width: 899px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .faq-answer {
    padding-right: 0;
  }
}

/* ============ Contact ============ */
.contact {
  text-align: center;
}

.contact .h2 {
  margin-top: 12px;
}

.contact-lead {
  margin-top: 18px;
  font-size: clamp(18px, 1.6vw, 21px);
}

.contact-email {
  display: inline-block;
  margin-top: 36px;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 6px;
  transition: border-color 0.2s ease;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  border-color: var(--text);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 40px;
  font-size: 15px;
}

.contact-links a {
  color: var(--text-2);
  text-decoration: none;
}

.contact-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ============ Footer ============ */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr));
  gap: 32px;
}

.footer-about p {
  margin-top: 14px;
  max-width: 300px;
  color: var(--text-3);
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer ul a {
  color: var(--text-2);
  text-decoration: none;
}

.site-footer ul a:hover,
.site-footer ul a[aria-current='page'] {
  color: var(--text);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
}

.footer-bottom a {
  color: var(--text-2);
}

@media (max-width: 899px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 479px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============ Simple pages ============ */
.page-hero {
  padding: calc(var(--header-h) + 88px) 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(44px, 6.4vw, 80px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.page-hero p:not(.kicker) {
  margin-top: 18px;
  max-width: 640px;
  font-size: clamp(18px, 1.6vw, 21px);
  letter-spacing: -0.015em;
}

.page-body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 128px;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
}

.toc p {
  margin-bottom: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.toc ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.toc a {
  font-size: 14.5px;
  color: var(--text-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--text);
}

.prose {
  max-width: 720px;
}

.prose h2 {
  margin: 64px 0 14px;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.035em;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 30px 0 8px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  font-size: 16.5px;
  line-height: 1.65;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul {
  margin: 12px 0 0 20px;
  display: grid;
  gap: 8px;
}

.prose a {
  color: var(--text);
}

.prose code {
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: var(--tile);
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.86em;
  color: var(--text);
}

.prose .facts {
  margin-top: 20px;
}

.updated {
  margin-top: 56px;
  font-size: 13.5px;
  color: var(--text-3);
}

@media (max-width: 899px) {
  .page-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .toc {
    position: static;
  }
}

/* today.html */
.quote-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 72px) 0 96px;
}

.quote {
  max-width: 880px;
  margin: 0 auto;
}

.quote blockquote p {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--text);
}

.quote figcaption {
  margin-top: 28px;
  font-size: 16px;
  color: var(--text-2);
}

.quote .btn {
  margin-top: 40px;
}

/* 404 */
.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
}

.notfound-code {
  font-size: clamp(110px, 20vw, 220px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--text);
}

.notfound h1 {
  margin-top: 24px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
}

.notfound p {
  margin-top: 12px;
  font-size: 18px;
}

.notfound .btn {
  margin-top: 30px;
}
