/* hooodl.com: the public website. Same street look as the app (docs/prototype),
   one dark theme on purpose. Fonts are self-hosted: no requests to Google. */
@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("/fonts/archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("/fonts/archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-display: swap; src: url("/fonts/archivo-900.woff2") format("woff2"); }
@font-face { font-family: "Dela Gothic One"; font-display: swap; src: url("/fonts/dela-gothic-one.woff2") format("woff2"); }
@font-face { font-family: "Permanent Marker"; font-display: swap; src: url("/fonts/permanent-marker.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ink: #0B0B0A; --ink2: #1C1B18; --paper: #F3F0E6; --card: #FFFDF6;
  --yellow: #FFE81A; --red: #F0423C; --green: #1FAE5B; --pink: #FF9EC7; --blue: #6FB7FF;
  --muted: #bdb8a8;
  --display: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.18'/></svg>");
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background-color: var(--ink); color: var(--paper);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  background-image: var(--noise), radial-gradient(1200px 640px at 75% -10%, #2a2710 0%, transparent 60%);
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.logo { display: block; line-height: 0; }
.logo img { height: 44px; width: auto; }
.top nav { display: flex; align-items: center; gap: 10px; }
.lang {
  font: 800 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--paper); background: none; border: 2px solid var(--paper); border-radius: 999px;
  padding: 9px 12px; cursor: pointer;
}
.lang:hover { background: var(--paper); color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 900 16px/1 var(--body); text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  padding: 16px 22px; border: 3px solid var(--ink); border-radius: 14px; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--paper); }
.btn-yellow:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-small { padding: 10px 14px; font-size: 13px; border-width: 2px; box-shadow: 3px 3px 0 var(--paper); }
.btn-small:hover { box-shadow: 4px 4px 0 var(--paper); }

/* ---------- hero ---------- */
.hero { padding-block: 56px 72px; }
.tag {
  display: inline-block; font-family: var(--marker); color: var(--ink); background: var(--pink);
  padding: 4px 12px; transform: rotate(-2deg); font-size: 18px; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display); font-weight: 400; margin: 0;
  font-size: clamp(52px, 11vw, 132px); line-height: .95; letter-spacing: -.02em;
}
.hero h1 .hl { color: var(--ink); background: var(--yellow); padding: 0 .12em; display: inline-block; transform: rotate(-1.5deg); }
.lede { max-width: 38ch; font-size: clamp(18px, 2.2vw, 22px); color: var(--paper); margin: 28px 0 34px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.note { font-family: var(--marker); color: var(--yellow); font-size: 18px; margin-top: 26px; transform: rotate(-1deg); display: inline-block; }

/* ---------- who it's for ---------- */
.section { padding-block: 64px; }
.eyebrow { font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.section h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5.5vw, 56px); line-height: 1; margin: 0 0 30px; letter-spacing: -.01em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); color: var(--ink); border: 3px solid var(--ink); border-radius: 18px;
  padding: 24px 22px 26px; box-shadow: 6px 6px 0 var(--c, var(--yellow));
}
.card:nth-child(1) { --c: var(--yellow); transform: rotate(-.6deg); }
.card:nth-child(2) { --c: var(--pink); transform: rotate(.5deg); }
.card:nth-child(3) { --c: var(--blue); transform: rotate(-.3deg); }
.card .who { display: inline-block; font-family: var(--marker); font-size: 17px; background: var(--c); padding: 2px 10px; margin-bottom: 12px; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; margin: 0 0 10px; }
.card p { margin: 0; font-size: 16px; }

.strip {
  border-block: 3px solid var(--paper); padding: 18px 0; overflow: hidden; white-space: nowrap;
  font-family: var(--display); font-size: clamp(22px, 4vw, 34px); color: var(--yellow);
}
.strip span { display: inline-block; padding-left: 100%; animation: roll 28s linear infinite; }
@keyframes roll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .strip span { animation: none; padding-left: 20px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact .intro p { font-size: 18px; max-width: 36ch; }
.contact .intro .marker { font-family: var(--marker); color: var(--pink); font-size: 20px; }
form.panel {
  background: var(--card); color: var(--ink); border: 3px solid var(--ink); border-radius: 20px;
  padding: 26px 24px; box-shadow: 8px 8px 0 var(--yellow); display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label, .field legend { font: 800 13px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: #6B675C; }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 10px; padding: 12px 13px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; box-shadow: 0 0 0 6px var(--yellow); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chips label {
  font: 800 13px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 999px; padding: 9px 13px; background: #fff;
}
.chips input:checked + label { background: var(--ink); color: var(--yellow); }
.chips input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; color: #4b4840; margin: 0; }
.panel .btn { width: 100%; box-shadow: 4px 4px 0 var(--ink); border-color: var(--ink); }
.panel .btn:hover { box-shadow: 6px 6px 0 var(--ink); }
.panel .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.status { margin: 0; font-weight: 700; min-height: 1.4em; }
.status.ok { color: var(--green); }
.status.err { color: var(--red); }
.done { text-align: center; padding: 30px 10px; }
.done h3 { font-family: var(--display); font-weight: 400; font-size: 34px; margin: 0 0 8px; }

/* ---------- footer ---------- */
footer { border-top: 3px solid var(--ink2); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--yellow); text-decoration: underline; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding-block: 30px 40px; }
.legal h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 56px); line-height: 1; margin: 10px 0 24px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal p, .legal li { color: #e6e2d6; }
.legal .todo { background: var(--yellow); color: var(--ink); padding: 0 4px; font-weight: 700; }
.back { font-weight: 700; text-decoration: none; }
.back:hover { color: var(--yellow); }

/* ---------- small screens ---------- */
@media (max-width: 880px) {
  .cards { grid-template-columns: 1fr; }
  .card { transform: none !important; }
  .contact { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .logo img { height: 34px; }
  .top .btn-small { display: none; }
  .hero { padding-block: 32px 56px; }
  .section { padding-block: 48px; }
  .ctas .btn { flex: 1 1 100%; }
  .two { grid-template-columns: 1fr; }
  form.panel { padding: 20px 16px; box-shadow: 5px 5px 0 var(--yellow); }
}
