/* Arva, arva.handprotocol.org. The same colours as Arva's pages on book.arva.handprotocol.org
   (deploy/tenants/arva.json theme), Inter served from this site. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f4f1ea;
  --ink: #16212a;
  --muted: #56636b;
  --line: #ddd6c9;
  --card: #ffffff;
  --accent: #a8432c;
  --accent-ink: #ffffff;
  --night: #16212a;
  --night-2: #1f2d38;
  --sand: #ebe5d8;
  --radius: 18px;
  --wrap: 1120px;
  --shadow: 0 1px 2px rgb(22 33 42 / 6%), 0 12px 32px -12px rgb(22 33 42 / 22%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Inter", system-ui, sans-serif; font-feature-settings: "ss01", "cv11"; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 650; text-decoration: none; border: 2px solid var(--accent); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { background: #923824; border-color: #923824; box-shadow: 0 8px 20px -10px rgb(168 67 44 / 70%); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--sand); border-color: var(--sand); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgb(244 241 234 / 88%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.mark-glyph { width: 30px; height: 30px; color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 550; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { min-width: 44px; min-height: 40px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: 700 .8rem "Inter", system-ui, sans-serif; letter-spacing: .06em; cursor: pointer; }
.lang:hover { border-color: var(--ink); }
@media (max-width: 820px) { .nav { display: none; } }

/* Hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #2c3a44; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.route { position: relative; margin: 0; color: var(--ink); }
.route-svg { width: 100%; height: auto; background: var(--card); border-radius: 26px; box-shadow: var(--shadow); }
.route-line { stroke: var(--accent); stroke-dasharray: 680; stroke-dashoffset: 680; animation: draw 2.4s .3s cubic-bezier(.65,0,.35,1) forwards; }
.pin-a { fill: var(--ink); }
.pin-b { fill: var(--accent); }
.pin-stop { fill: #fff; stroke: var(--ink); stroke-width: 3; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .route-line { animation: none; stroke-dashoffset: 0; } }
.route-card { position: absolute; left: -18px; bottom: -22px; display: flex; gap: 12px; align-items: flex-start; max-width: 300px; padding: 14px 16px; background: var(--night); color: #fff; border-radius: 14px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.4; }
.route-card strong { display: block; margin-bottom: 2px; }
.route-card span:not(.dot) { color: #c9d2d8; }
.dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: #5fd08c; box-shadow: 0 0 0 4px rgb(95 208 140 / 22%); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .route { max-width: 520px; }
  .route-card { left: 12px; }
}

/* How it works */
.how { padding: 72px 0; border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%; background: var(--sand); color: var(--accent); font-weight: 800; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Sections */
.rides, .events { padding: 88px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.rides .split { align-items: start; }
.rides .split > div:first-child { position: sticky; top: 100px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .rides .split > div:first-child { position: static; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 550; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

.booking-card { background: var(--card); border-radius: 24px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.booking-card h3 { font-size: 1.35rem; }
akosi-booking { display: block; min-height: 120px; margin: 8px 0 16px; --akosi-accent: #a8432c; --akosi-accent-ink: #ffffff; --akosi-line: #ddd6c9; --akosi-radius: 12px; --akosi-heading-font: "Inter", system-ui, sans-serif; --akosi-heading-weight: 700; --akosi-panel-line: transparent; --akosi-panel-pad: 0; }

.band { background: var(--night); color: #fff; padding: 96px 0; }
.band .eyebrow { color: #f0a58f; }
.band p { color: #cfd7dc; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { padding: 20px 22px; border-radius: var(--radius); background: var(--night-2); border: 1px solid rgb(255 255 255 / 8%); }
.feature-list strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.feature-list span { color: #b9c4cb; }

.runs { display: grid; gap: 16px; padding: 30px; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); }
.run { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px; font-weight: 650; font-size: .92rem; }
.run-t { color: var(--muted); }
.run-bar { height: 14px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.run-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #d0704f); }

.band-soft { background: var(--sand); padding: 88px 0; }
.care-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 28px; align-items: start; }
.care-grid p { color: #3b4851; margin: 0; }
@media (max-width: 980px) { .care-grid { grid-template-columns: 1fr 1fr; } .care-grid h2 { grid-column: 1 / -1; } }
@media (max-width: 600px) { .care-grid { grid-template-columns: 1fr; } }

.cta { padding: 96px 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.035em; }
.cta .hero-actions { margin: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-row { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 24px; align-items: start; }
.mark-foot { font-size: 1.15rem; margin-bottom: 8px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-nav a { text-decoration: none; color: var(--muted); font-weight: 550; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.powered { margin: 0; }
@media (max-width: 760px) { .foot-row { grid-template-columns: 1fr; } }
