.faq { display: flex; flex-direction: column; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--fp-border); }
.faq details:first-child { border-top: 1px solid var(--fp-border); }
.faq summary { cursor: pointer; padding: 20px 0; font-size: 17px; font-weight: 600; color: var(--fp-text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--fp-text-label); font-size: 22px; line-height: 1; }
.faq details p { padding-bottom: 20px; font-size: 15px; max-width: 680px; }
.hero { padding-block: 72px 80px; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; max-width: 760px; margin: 0 auto; }
.hero h1 { font-size: 48px; font-weight: 700; line-height: 1.1; letter-spacing: -1px; }
.hero .lead { font-size: 18px; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
@media (max-width: 640px) {
  .hero { padding-block: 48px 56px; }
  .hero h1 { font-size: 34px; letter-spacing: -0.5px; }
  .hero .lead { font-size: 16px; }
}
.hero.quiet { min-height: calc(100svh - 72px); display: flex; align-items: center; padding-block: 96px; }
.hero.quiet .wrap { width: 100%; }
.quiet h1 { font-size: clamp(34px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.quiet h1 span { display: block; }
.quiet .lead { font-size: 18px; }
.accept { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.accept li { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--fp-border-strong); color: var(--fp-text); font: 500 17px/1.4 var(--fp-font-display); }
.accept .n { font: 500 13px/1 "DM Mono", ui-monospace, monospace; letter-spacing: 0.04em; color: var(--fp-text-label); }
@media (max-width: 760px) {
  .accept { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .accept li { flex-direction: row; align-items: baseline; gap: 20px; padding-block: 18px; border-top-color: var(--fp-border); font-size: 16px; }
  .accept li:last-child { border-bottom: 1px solid var(--fp-border); }
  .hero.quiet { min-height: calc(100svh - 72px); padding-block: 64px; }
}

/* Hero: slow reveal. Lines rise out of a mask, then the lead line and the button fade in. */
.quiet h1 .ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.quiet h1 .ln > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .site-header { animation: fp-fade 1.2s 0.2s ease-out both; }
  .quiet h1 .ln > span { animation: fp-rise 1.2s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(0.35s + var(--n, 0) * 0.22s); }
  .quiet h1 .ln:nth-child(2) > span { --n: 1; }
  .quiet h1 .ln:nth-child(3) > span { --n: 2; }
  .hero .lead { animation: fp-up 1.2s 1.4s cubic-bezier(.16,1,.3,1) both; }
  .hero-actions { animation: fp-up 1.2s 1.8s cubic-bezier(.16,1,.3,1) both; }
  .js .reveal > .wrap { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease-out, transform 1.1s cubic-bezier(.16,1,.3,1); }
  .js .reveal.in > .wrap { opacity: 1; transform: none; }
}
@keyframes fp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fp-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fp-rise { from { transform: translateY(110%); } to { transform: none; } }

/* Hero map: land and graticule as a static image, the bulk lanes drawn on top. */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-map { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-map img, .hero-map .lanes { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-map img { object-fit: cover; max-width: none; opacity: 0.9; }
.lane { fill: none; stroke: var(--fp-border-strong); stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0.75; }
.vessel { fill: var(--fp-text); }
.port circle { fill: var(--fp-text-label); }
.port text { fill: var(--fp-text-label); font: 600 10px/1 var(--fp-font); letter-spacing: 0.14em; }
.port .coord { font-weight: 400; letter-spacing: 0.02em; fill: var(--fp-border-strong); }
@media (max-width: 1100px) { .port .coord { display: none; } }
@media (max-width: 760px) { .port text { display: none; } .hero-map img { opacity: 0.7; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-map img { animation: fp-fade 2.4s ease-out both; }
  .lane { stroke-dashoffset: 1; animation: fp-draw 3.2s cubic-bezier(.45,0,.2,1) both; animation-delay: calc(0.9s + var(--i) * 0.28s); }
  .vessel { animation: fp-fade 1s both; animation-delay: 3.6s; }
  .port { animation: fp-fade 1.4s both; animation-delay: 2.8s; }
}
@media (prefers-reduced-motion: reduce) { .vessel { display: none; } }
@keyframes fp-draw { to { stroke-dashoffset: 0; } }

/* Keep the words clear of the map: the map fades out behind the copy, and the copy is brighter than the map labels. */
.hero-map { -webkit-mask-image: radial-gradient(ellipse 52% 48% at 50% 50%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.3) 55%, #000 100%); mask-image: radial-gradient(ellipse 52% 48% at 50% 50%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.3) 55%, #000 100%); }
/* Three steps of brightness: the deal, then the people, then the network. */
.quiet h1 { font-weight: 600; letter-spacing: -0.032em; }
.quiet h1 .ln:nth-child(1) { color: #F2F5F8; }
.quiet h1 .ln:nth-child(2) { color: #A9BCCD; }
.quiet h1 .ln:nth-child(3) { color: #6E879C; }
.hero .lead { color: #B8C8D6; font-variant-numeric: normal; font-family: var(--fp-font-display); }
@media (max-width: 760px) { .hero-map { -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 50%, rgba(0, 0, 0, 0.2) 0%, #000 100%); mask-image: radial-gradient(ellipse 80% 40% at 50% 50%, rgba(0, 0, 0, 0.2) 0%, #000 100%); } }

/* Home: the two sections below the hero read as one block. */
#who { padding-block: 88px 40px; }
#faq { padding-block: 40px 72px; }
@media (max-width: 640px) {
  #who { padding-block: 64px 28px; } #faq { padding-block: 28px 48px; }
  #who .section-head, #faq .section-head { margin-bottom: 24px; gap: 8px; }
  .faq summary { padding: 18px 0; font-size: 16px; }
  .faq details p { font-size: 15px; }
}

/* Phone hero: the map fills the top of the screen, the headline sits large at the bottom left. */
@media (max-width: 640px) {
  .hero.quiet { align-items: flex-end; padding-block: 0 44px; }
  .hero-copy { align-items: flex-start; text-align: left; gap: 18px; margin: 0; }
  .quiet h1 { font-size: min(10.8vw, 46px); line-height: 1.04; }
  .hero .lead { font-size: 16px; max-width: 30ch; }
  .hero-actions { justify-content: flex-start; margin-top: 6px; }
  .hero-map img, .hero-map .lanes { inset: 0 auto auto 50%; width: 240vw; height: auto; aspect-ratio: 1600 / 819; transform: translateX(-62.5%); }
  .hero-map img { opacity: 0.85; }
  .hero-map { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, rgba(0, 0, 0, 0.12) 72%); mask-image: linear-gradient(to bottom, #000 0%, #000 42%, rgba(0, 0, 0, 0.12) 72%); }
}
