/* NoReasonWeb: the front address (noreasonweb.com). Front page, signup, Your place, Today, neighborhoods. */
:root {
  --paper: #F2F4FA; --ink: #17143A; --soft: #4E4B6E; --line: #D5D8E6; --card: #fff;
  --teal: #0B7A75; --pink: #FF4F9A; --pink-ink: #fff; --sticky: #FFF27A;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --pixel: "VT323", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 .8em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: .5rem 1rem; }

/* Header */
.top { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; }
.logo { display: flex; align-items: center; gap: .55rem; font: 800 1.35rem/1 var(--display); text-decoration: none; letter-spacing: -.03em; }
.logo img { width: 30px; height: 30px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; font-weight: 700; font-size: .96rem; }
.top nav a:not(.btn) { text-decoration: none; }
.top nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 720px) { .top nav .hide-sm { display: none; } }

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 2.9rem; padding: .5em 1.3em; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.pink { background: var(--pink); border-color: var(--ink); color: var(--pink-ink); box-shadow: 3px 3px 0 var(--ink); }
.btn.pink:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn.pink:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.small { min-height: 2.3rem; padding: .3em 1em; font-size: .9rem; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.field { display: grid; gap: .3rem; margin-bottom: 1rem; font-weight: 700; font-size: .95rem; }
.field small { font-weight: 400; color: var(--soft); }
.field input, .field textarea, .field select { width: 100%; padding: .7em .85em; border: 2px solid var(--ink); border-radius: 10px; background: #fff; font-weight: 400; }
.field textarea { resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--teal); flex: none; }
.msg { min-height: 1.4em; font-weight: 700; }
.msg.bad { color: #B3123E; }
.muted { color: var(--soft); }

/* Front page */
.hero { display: grid; gap: 2.5rem; padding: 2.5rem 0 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(3.1rem, 9vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; font-stretch: 85%; }
.hero h1 span { display: block; }
.hero h1 .no { color: var(--teal); }
.hero .lede { font-size: 1.25rem; max-width: 30rem; margin: 1.5rem 0 1.8rem; color: var(--soft); }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero .free { font-size: .92rem; color: var(--soft); }
.screens { position: relative; height: 430px; }
.screen { position: absolute; width: 74%; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 6px 6px 0 var(--ink); display: block; text-decoration: none; }
.screen .chrome { display: flex; align-items: center; gap: .35rem; padding: .35rem .6rem; border-bottom: 2px solid var(--ink); background: #fff; font: 600 .74rem/1 var(--body); }
.screen .chrome::before { content: ""; width: 34px; height: 9px; background: radial-gradient(circle, var(--ink) 3px, transparent 3.5px) 0 0 / 12px 9px repeat-x; flex: none; }
.screen .chrome span { flex: 1; text-align: center; color: var(--soft); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.screen:nth-child(1) { left: 0; top: 0; transform: rotate(-3deg); z-index: 1; }
.screen:nth-child(2) { right: 0; top: 70px; transform: rotate(2.5deg); z-index: 2; }
.screen:nth-child(3) { left: 10%; top: 190px; transform: rotate(-.5deg); z-index: 3; }
.screen:hover, .screen:focus-visible { z-index: 5; }
@media (min-width: 940px) { .hero { grid-template-columns: 1.05fr 1fr; padding-top: 3.5rem; } .screens { height: 480px; } }

/* The strip under the hero: today's prompt on a sticky note, and the hit counter. */
.strip { display: grid; gap: 1.5rem; align-items: center; padding-bottom: 4rem; }
.note-card { background: var(--sticky); padding: 1.4rem 1.5rem 1.2rem; transform: rotate(-1deg); box-shadow: 4px 7px 0 #17143a22; max-width: 34rem; }
.note-card .when { font-weight: 700; font-size: .9rem; margin-bottom: .3rem; }
.note-card .q { font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--display); letter-spacing: -.02em; margin-bottom: .8rem; }
.counter { display: flex; align-items: center; gap: 1rem; }
.digits { display: inline-flex; gap: 3px; padding: 5px; background: var(--ink); border-radius: 6px; }
.digits b { display: grid; place-items: center; width: 1.6rem; height: 2.3rem; background: #000; color: #6CFF8B; font: 400 2.1rem/1 var(--pixel); border-radius: 2px;
  background-image: linear-gradient(#ffffff14 50%, transparent 50%); }
.counter p { margin: 0; font-weight: 700; max-width: 12rem; line-height: 1.3; }
@media (min-width: 860px) { .strip { grid-template-columns: 1fr auto; } }

.section { padding: 4.5rem 0; border-top: 2px solid var(--ink); }
.section h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; max-width: 18ch; margin-bottom: 1rem; }
.section .intro { font-size: 1.15rem; color: var(--soft); max-width: 36rem; margin-bottom: 2.5rem; }
.designs { display: grid; gap: 2rem; }
.design a { display: block; text-decoration: none; }
.design figure { margin: 0; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: #fff; }
.design img { aspect-ratio: 16 / 11; object-fit: cover; object-position: top left; width: 100%; }
.design h3 { font-size: 1.6rem; margin: 1rem 0 .3rem; }
.design p { color: var(--soft); margin: 0; }
.swatches { display: flex; gap: .3rem; margin-top: .6rem; }
.swatches i { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--ink); display: block; }
@media (min-width: 860px) { .designs { grid-template-columns: repeat(3, 1fr); } }

.parts { display: grid; gap: 0; margin: 0; }
.parts > div { display: grid; gap: .3rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.parts dt { font: 800 1.35rem/1.15 var(--display); }
.parts dd { margin: 0; color: var(--soft); max-width: 34rem; }
@media (min-width: 860px) { .parts > div { grid-template-columns: 18rem 1fr; gap: 2rem; } }

.ringbar { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2rem; padding: .35rem; border: 2px solid var(--ink); border-radius: 8px; background: #fff; font: 400 1.5rem/1 var(--pixel); }
.ringbar span { padding: .3rem .6rem; }
.ringbar a { padding: .3rem .7rem; background: var(--ink); color: #fff; text-decoration: none; border-radius: 4px; }
.ringbar a:hover { background: var(--teal); }
.hoods { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hoods a { display: inline-flex; gap: .45rem; align-items: baseline; padding: .45rem .95rem; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 700; background: #fff; }
.hoods a:hover { background: var(--sticky); }
.hoods small { font-weight: 400; color: var(--soft); }

.plans { display: grid; gap: 1.5rem; }
.plan { border: 2px solid var(--ink); border-radius: 14px; padding: 1.6rem; background: #fff; }
.plan.plus { background: var(--ink); color: #fff; }
.plan.plus .muted, .plan.plus li::before { color: #C9C6EC; }
.plan h3 { font-size: 1.8rem; }
.plan .price { font: 800 2.6rem/1 var(--display); margin: .6rem 0 .2rem; letter-spacing: -.03em; }
.plan .price small { font: 400 1rem var(--body); }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .45rem; }
.plan li { padding-left: 1.4rem; position: relative; }
.plan li::before { content: "+"; position: absolute; left: 0; font-weight: 700; color: var(--teal); }
.founding { border-style: dashed; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.foot { border-top: 2px solid var(--ink); padding: 2rem 0 3rem; font-size: .92rem; color: var(--soft); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot a { color: var(--soft); }
.foot .right { margin-left: auto; }

/* Narrow pages: signup, sign in */
.narrow { max-width: 36rem; margin: 0 auto; padding: 1rem 1.25rem 4rem; }
.narrow h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; margin-bottom: .6rem; }
.panel { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 1.5rem; box-shadow: 5px 5px 0 var(--ink); }
.steps { display: flex; gap: .35rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.steps li { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.steps li.on { background: var(--teal); }
.step-head { font: 800 1.7rem/1.1 var(--display); margin-bottom: .4rem; letter-spacing: -.02em; }
.addr { display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: 10px; background: #fff; overflow: hidden; }
.addr input { border: 0; flex: 1; min-width: 0; padding: .7em .85em; outline: none; }
.addr:focus-within { outline: 3px solid var(--pink); outline-offset: 2px; }
.addr span { display: flex; align-items: center; padding: 0 .85em; background: var(--paper); border-left: 2px solid var(--ink); font-weight: 700; color: var(--soft); white-space: nowrap; }
.picks { display: grid; gap: .8rem; }
.pick { display: flex; gap: 1rem; align-items: center; padding: .7rem; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.pick img { width: 120px; aspect-ratio: 16 / 11; object-fit: cover; object-position: top left; border-radius: 6px; border: 1px solid var(--line); }
.pick b { display: block; font: 800 1.2rem/1.2 var(--display); }
.pick small { color: var(--soft); }
.pick:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.pick input { position: absolute; opacity: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: .45rem .9rem; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .92rem; background: #fff; }
.chip input:checked + span { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.nav-row { display: flex; gap: .7rem; justify-content: space-between; margin-top: 1.4rem; }
.done-card { text-align: center; }
.done-card .big { font: 800 2.2rem/1.05 var(--display); margin-bottom: .6rem; }

/* Today and neighborhoods */
.page-head { padding: 2rem 0 2.5rem; }
.page-head h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 800; max-width: 20ch; }
.page-head .kicker { font-weight: 700; color: var(--teal); margin-bottom: .6rem; }
.days { display: flex; gap: 1rem; margin-top: 1.2rem; font-weight: 700; }
.answers { columns: 1; column-gap: 1.25rem; padding-bottom: 4rem; }
@media (min-width: 700px) { .answers { columns: 2; } }
@media (min-width: 1040px) { .answers { columns: 3; } }
.answer { break-inside: avoid; margin: 0 0 1.25rem; background: #fff; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; }
.answer img { width: 100%; max-height: 420px; object-fit: cover; }
.answer .in { padding: 1rem 1.1rem 1.1rem; }
.answer .who { display: flex; gap: .6rem; align-items: baseline; font-weight: 700; margin-bottom: .4rem; }
.answer .who a { text-decoration: none; }
.answer .who a:hover { text-decoration: underline; }
.answer .who time { font-weight: 400; color: var(--soft); font-size: .85rem; margin-left: auto; }
.answer p { margin: 0 0 .5em; }
.answer .visit { font-size: .9rem; font-weight: 700; }
.empty-state { padding: 2rem 0 5rem; max-width: 34rem; }
.empty-state p { font-size: 1.15rem; }
.sites { display: grid; gap: 1.25rem; padding-bottom: 4rem; }
@media (min-width: 760px) { .sites { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .sites { grid-template-columns: repeat(3, 1fr); } }

/* Your place */
.place { display: grid; gap: 1.5rem; padding-bottom: 4rem; }
@media (min-width: 980px) { .place { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.welcome { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; padding: 1.5rem 0 1.8rem; }
.welcome h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
.welcome .addr-link { font-weight: 700; word-break: break-all; }
.welcome .btn { margin-left: auto; }
.box { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 1.3rem; }
.box h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .8rem; }
.box + .box { margin-top: 1.5rem; }
.composer textarea { min-height: 7rem; }
.composer .prompt-toggle { background: var(--sticky); border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; }
.composer .prompt-toggle b { display: block; font: 800 1.15rem/1.2 var(--display); }
.composer .row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.composer .extras { display: grid; gap: 0; }
.attach { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.attach label.btn { cursor: pointer; }
.attach input[type=file] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; border: 2px solid var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; line-height: 1; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.stat { padding: .8rem; border-radius: 10px; background: var(--paper); }
.stat b { display: block; font: 800 1.9rem/1 var(--display); }
.stat span { font-size: .86rem; color: var(--soft); }
.list { list-style: none; padding: 0; margin: 0; }
.list > li { padding: 1rem 0; border-top: 1px solid var(--line); }
.list > li:first-child { border-top: 0; padding-top: 0; }
.list .meta { font-size: .85rem; color: var(--soft); margin-bottom: .3rem; }
.list .acts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.list .acts button { padding: .3rem .8rem; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; cursor: pointer; font-size: .85rem; font-weight: 700; }
.list .acts button.danger { border-color: #B3123E; color: #B3123E; }
.list .mini { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; float: right; margin-left: .8rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; background: var(--paper); margin-right: .3rem; }
.tag.wait { background: var(--sticky); }
.tag.hid { background: #FFE0E8; }
.tabs { display: flex; gap: .3rem; overflow-x: auto; margin-bottom: 1.2rem; border-bottom: 2px solid var(--ink); }
.tabs button { padding: .6rem 1rem; border: 2px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; background: none; font-weight: 700; cursor: pointer; margin-bottom: -2px; }
.tabs button[aria-selected="true"] { background: #fff; border-color: var(--ink); }
.tabs .count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .3rem; margin-left: .3rem; border-radius: 999px; background: var(--pink); color: #fff; font-size: .78rem; }
.skins { display: flex; flex-wrap: wrap; gap: .5rem; }
.skin { position: relative; }
.skin input { position: absolute; opacity: 0; }
.skin span { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .9rem; font-weight: 700; background: #fff; }
.skin input:checked + span { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.skin input:disabled + span { opacity: .55; cursor: not-allowed; }
.skin input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.streak-big { font: 800 1.1rem/1.3 var(--display); }
details.more-set summary { cursor: pointer; font-weight: 700; padding: .4rem 0; }

#nrw-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.2rem; border-radius: 12px; font-weight: 700; transition: opacity .2s, transform .2s; max-width: calc(100% - 2rem); }
#nrw-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { #nrw-toast, .btn { transition: none; } .btn.pink:hover { transform: none; } }
.sr-label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
[hidden] { display: none !important; }
body { overflow-x: clip; }
.top nav a { white-space: nowrap; }
@media (max-width: 520px) { .top nav { gap: .8rem; font-size: .9rem; } .logo { font-size: 1.15rem; } .logo img { width: 26px; height: 26px; } .screens { height: 360px; } }
.stat span { display: block; line-height: 1.3; margin-top: .3rem; }
body[data-page="place"] [data-start] { display: none; }
