/* Colours, type and spacing follow the "Landing page · draft 4" design. */
:root { --ink: #1e1d1a; --soft: #4a463d; --paper: #fffdf7; --yellow: #ffd23f; --red: #d9412b; --sky: #a9d6e8; --pine: #2f4a3a; --edge: #ece6d6; --field: #d6ceb8; --sand: #f6f1e4; --side: clamp(16px, 4vw, 48px); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 'Familjen Grotesk', system-ui, sans-serif; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1; letter-spacing: -.02em; max-width: 760px; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.2; }
a { color: #b8321f; } a:hover { color: #8a2414; }
button, textarea { font: inherit; color: inherit; } button { cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--side); }
.small { font-size: 14px; color: var(--soft); } .big { font-size: 19px; line-height: 1.5; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { min-height: 50px; padding: 0 22px; border: 2px solid transparent; border-radius: 999px; display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; background: none; color: var(--ink); }
.pill:hover { color: var(--ink); }
.pill.red, .pill.red:hover { background: var(--red); color: #fff; } .pill.red:hover { background: #b8321f; }
.pill.line { border-color: var(--ink); } .pill.line:hover { background: var(--sand); } .pill.yellow { background: var(--yellow); align-self: flex-start; }
.pill.dark, .pill.dark:hover { background: var(--ink); color: var(--yellow); }
.pill.sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.pill[aria-pressed=true] { background: var(--ink); color: #fff; }

.top { background: var(--yellow); padding-bottom: clamp(24px, 4vw, 48px); }
.bar { padding-block: 18px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 21px; } .brand:hover { color: inherit; }
nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 16px; font-weight: 600; }
nav a { color: inherit; min-height: 44px; display: inline-flex; align-items: center; } nav a:hover { color: inherit; }
nav .pill { min-height: 44px; padding: 0 18px; font-weight: 600; }
.intro { padding-block: clamp(20px, 4vw, 48px) 28px; display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; }
.intro > div { max-width: 400px; display: grid; gap: 16px; } .intro p { font-size: 19px; line-height: 1.5; }
.hero { width: 100%; height: clamp(260px, 42vw, 580px); border-radius: 22px; object-position: 50% 45%; }

.moments { padding-block: clamp(48px, 7vw, 88px) clamp(24px, 3vw, 40px); display: grid; gap: 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px 32px; }
.grid > div { border-top: 3px solid var(--ink); padding-top: 14px; } .grid h3 { font-size: 22px; margin-bottom: 6px; } .grid p { color: var(--soft); }

.rides { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px); display: grid; gap: 24px; }
.head { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: flex-end; justify-content: space-between; } .head p { max-width: 520px; color: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.ride { background: #fff; border: 1.5px solid var(--edge); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 16px; }
.ride img { width: 100%; height: 230px; }
.ride .in { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ride h3 { font-size: 24px; } .ride .when { font-size: 15px; color: var(--soft); }
.tag { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #dfe9dc; color: var(--pine); }
.ride dl { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 6px 12px; font-size: 15px; } dt { font-weight: 700; }
.askbox { margin-top: auto; padding-top: 14px; border-top: 1px solid #efe9da; display: grid; gap: 12px; justify-items: start; }
.askbox [aria-expanded=true] { background: var(--yellow); }
.askbox form { width: 100%; display: grid; gap: 10px; justify-items: start; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; width: 100%; }
textarea { width: 100%; font-size: 16px; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--field); background: #fff; resize: vertical; }
.thanks { font-size: 15px; padding: 10px 12px; border-radius: 10px; background: var(--sand); }

.gravel { background: var(--pine); color: var(--paper); display: grid; grid-template-columns: 1.1fr 1fr; }
.gravel img { width: 100%; height: 100%; min-height: 560px; }
.gravel .txt { padding: clamp(36px, 6vw, 88px) max(var(--side), calc((100vw - 1240px) / 2 + var(--side))) clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.gravel p { color: #e3ecdf; max-width: 52ch; } .gravel h2 { font-size: clamp(32px, 4.4vw, 54px); } .gravel :focus-visible { outline-color: var(--yellow); }

.ways { background: var(--sky); } .ways > .wrap { padding-block: clamp(40px, 6vw, 72px); display: grid; gap: 24px; }
.lead { max-width: 720px; display: grid; gap: 10px; } .lead p { font-size: 18px; }
.card { background: var(--paper); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; } .card h3 a { color: inherit; } .card .small { margin-top: auto; }
.words { background: var(--paper); border-radius: 18px; padding: clamp(20px, 3vw, 28px); display: grid; gap: 16px; } .words p { max-width: 760px; } .words .pill { border-color: var(--ink); }

.start { padding-block: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 36px 56px; align-items: start; }
.side { display: grid; gap: 14px; } .side img { width: 100%; height: 260px; border-radius: 18px; margin-top: 10px; }
.chat { background: #fff; border: 1.5px solid var(--edge); border-radius: 18px; padding: clamp(18px, 3vw, 30px); min-height: 480px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; }
#log { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 11px 16px; border-radius: 18px; background: var(--sand); align-self: flex-start; border-bottom-left-radius: 5px; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: var(--yellow); border-radius: 18px 18px 5px 18px; font-weight: 600; }
.msg.now { font-size: 20px; line-height: 1.35; font-weight: 600; }
#answer { display: grid; gap: 14px; } #answer .row .pill { border: 1.5px solid var(--field); font-weight: 600; min-height: 46px; padding: 0 16px; font-size: 16px; }
#answer .row .pill:hover { border-color: var(--ink); } #answer .row .pill[aria-pressed=true] { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.next { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.quiet { border: 0; background: none; padding: 10px 0; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; color: var(--soft); }

footer { background: var(--ink); color: var(--sand); font-size: 15px; } footer strong, footer a, footer a:hover { color: var(--yellow); } footer :focus-visible { outline-color: var(--yellow); }
footer .wrap { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; }
@media (max-width: 800px) { .gravel { grid-template-columns: minmax(0, 1fr); } .gravel img { min-height: 0; height: 320px; } .gravel .txt { padding-inline: var(--side); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
