/* Slotly launch site — brand tokens match the Slotly app. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #152b38;
  --ink-soft: #234152;
  --ink-deep: #10232e;
  --mint: #50e2ad;
  --mint-ink: #0a7b57;
  --mint-wash: #e6faf2;
  --paper: #ffffff;
  --mist: #f3f6f7;
  --line: #dce4e8;
  --slate: #5b6f7a;
  --fog: #9db0ba;
  --alert: #b42f2a;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --r-ticket: 18px;
  --shadow: 0 1px 0 rgb(21 43 56 / 0.06), 0 8px 24px -12px rgb(21 43 56 / 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.on-navy :focus-visible { outline-color: var(--mint); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 10; background: var(--ink); color: var(--paper); padding: 8px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1216px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

/* ------------------------------------------------------------- header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.logo span { font: 700 23px/1 var(--display); letter-spacing: -0.045em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--mist); }
.nav .hide-sm { display: none; }
@media (min-width: 720px) { .nav .hide-sm { display: inline-flex; } }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--sans); text-decoration: none; border-radius: 999px; padding: 0 24px; height: 50px;
  transition: background-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-soft); }
.btn-accent { background: var(--mint); color: var(--ink); }
.btn-accent:hover { background: #6ae9bb; }
.btn-ghost-navy { background: transparent; color: var(--paper); }
.btn-ghost-navy:hover { background: var(--ink-soft); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 15px; }
.nav .btn-sm { color: var(--paper); }
.nav .btn-sm:hover { background: var(--ink-soft); }

/* --------------------------------------------------------------- hero */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; }
.hero .wrap { display: grid; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 1024px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 80px; padding-bottom: 88px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--ink-soft); color: var(--paper);
  padding: 6px 14px; font-size: 14px; font-weight: 500; }
.pill i { width: 8px; height: 8px; border-radius: 99px; background: var(--mint); display: inline-block; }
.hero h1 { margin-top: 20px; font-size: 46px; line-height: .98; letter-spacing: -0.035em; font-weight: 700; max-width: 12ch; }
@media (min-width: 640px) { .hero h1 { font-size: 64px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 76px; } }
.hero .lede { margin-top: 24px; font-size: 20px; color: var(--fog); max-width: 46ch; }

/* --------------------------------------------------------------- forms */
.panel { margin-top: 32px; background: var(--paper); color: var(--ink); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); }
.panel h2 { font-size: 20px; }
.panel p.small { margin-top: 4px; font-size: 14px; color: var(--slate); }
.fields { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 560px) { .fields.two { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
input, select, textarea { font: 16px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; height: 46px; padding: 0 14px; width: 100%; }
textarea { height: auto; min-height: 96px; padding: 10px 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(80 226 173 / .45); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hidden-field { display: none; }
.err { font-size: 14px; color: var(--alert); }

/* ----------------------------------------------------- example board */
.board { background: var(--ink-deep); border-radius: 28px; padding: 14px; border: 1px solid var(--ink-soft); }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 12px; flex-wrap: wrap; }
.board-head h2 { font-size: 18px; color: var(--paper); }
.board-head p { font-size: 13px; color: var(--fog); }
.board ol { list-style: none; margin: 0; padding: 0; }
.board li + li { border-top: 1px solid var(--ink-soft); }
.row { display: grid; grid-template-columns: 88px 1fr auto; gap: 12px; align-items: center; padding: 12px; }
@media (min-width: 640px) { .row { grid-template-columns: 100px 1fr auto; gap: 16px; } }
.row .day { display: block; font-size: 13px; color: var(--fog); }
.row .time { display: block; font: 600 18px/1.2 var(--display); color: var(--mint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .what { display: block; font-weight: 500; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .where { display: block; font-size: 14px; color: var(--fog); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .price { text-align: right; }
.row .now { display: block; font: 700 18px/1.2 var(--display); color: var(--paper); }
.row .was { display: block; font-size: 13px; color: var(--fog); text-decoration: line-through; }
.board-foot { padding: 10px 12px 6px; font-size: 13px; color: var(--fog); }

/* ------------------------------------------------------------ sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--mist); }
.eyebrowless h2, .section-title { font-size: 34px; font-weight: 600; }
.section-lede { margin-top: 10px; color: var(--slate); max-width: 62ch; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 36px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps .n { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--mint); display: grid; place-items: center; font: 700 18px var(--display); }
.steps h3 { font-size: 20px; }
.steps p { margin-top: 8px; color: var(--slate); }

/* the slot ticket */
.tickets { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .tickets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tickets { grid-template-columns: repeat(3, 1fr); } }
.ticket { --stub: 112px; position: relative; display: grid; grid-template-columns: var(--stub) 1fr; background: var(--paper);
  border-radius: var(--r-ticket); box-shadow: var(--shadow); outline: 1px solid var(--line); outline-offset: -1px;
  -webkit-mask: radial-gradient(circle 9px at var(--stub) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at var(--stub) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at var(--stub) 0, transparent 98%, #000) top / 100% 51% no-repeat,
        radial-gradient(circle 9px at var(--stub) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.ticket .stub { background: var(--mist); border-radius: var(--r-ticket) 0 0 var(--r-ticket); padding: 16px 14px; display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; }
.ticket .stub .d { font-size: 13px; color: var(--slate); font-weight: 500; }
.ticket .stub .t { font: 600 20px/1 var(--display); white-space: nowrap; }
.ticket .stub .l { font-size: 13px; color: var(--slate); }
.ticket .perf { position: absolute; top: 12px; bottom: 12px; left: var(--stub); width: 2px; transform: translateX(-50%); color: var(--line);
  background-image: linear-gradient(to bottom, currentColor 50%, transparent 0); background-size: 1.5px 8px; background-repeat: repeat-y; background-position: center; }
.ticket .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tag { display: inline-flex; align-self: flex-start; border: 1px dashed rgb(91 111 122 / .6); color: var(--slate); border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 500; }
.ticket h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.ticket .meta { font-size: 14px; color: var(--slate); }
.ticket .prices { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding-top: 4px; }
.ticket .prices b { font: 700 22px var(--display); }
.ticket .prices s { color: var(--slate); font-size: 14px; margin-left: 6px; }
.save { background: var(--mint-wash); color: var(--mint-ink); border-radius: 999px; padding: 2px 9px; font-size: 13px; font-weight: 600; }

.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; padding: 0; }
.cats li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; background: var(--paper); }

/* business band */
.band { background: var(--ink); color: var(--paper); border-radius: 28px; padding: 48px 24px; display: grid; gap: 40px; }
@media (min-width: 640px) { .band { padding: 56px 48px; } }
@media (min-width: 1024px) { .band { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.band h2 { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.band p.lede { margin-top: 16px; color: var(--fog); max-width: 52ch; }
.band .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: grid; gap: 16px; margin: 0; }
.facts div { background: var(--ink-soft); border-radius: 18px; padding: 20px; }
.facts dt { font-size: 14px; color: var(--fog); }
.facts dd { margin: 4px 0 0; }
.facts .big { font: 700 36px var(--display); color: var(--mint); }

/* modes */
.modes { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 860px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode { border-radius: 22px; padding: 24px; outline: 1px solid var(--line); outline-offset: -1px; background: var(--paper); }
.mode.recommended { outline: 2px solid var(--ink); }
.mode h3 { font-size: 22px; }
.mode .rec { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--mint-ink); background: var(--mint-wash); padding: 2px 10px; border-radius: 999px; }
.mode ol { margin: 16px 0 0; padding-left: 20px; color: var(--slate); }
.mode ol li + li { margin-top: 6px; }
.mode .button-preview { margin-top: 18px; display: inline-flex; height: 40px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--mint); font-weight: 600; font-size: 15px; }

/* faq */
.faq { margin-top: 28px; display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: 16px; background: var(--paper); outline: 1px solid var(--line); outline-offset: -1px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 22px/1 var(--display); color: var(--slate); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--slate); }

/* prose pages */
.prose { max-width: 720px; padding: 56px 0 80px; }
.prose h1 { font-size: 40px; font-weight: 700; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose p, .prose li { color: var(--slate); }
.prose p { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose .updated { margin-top: 8px; font-size: 14px; }

/* footer */
.site-footer { background: var(--ink); color: var(--paper); margin-top: 0; }
.site-footer .wrap { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 860px) { .site-footer .wrap { grid-template-columns: 1.3fr 2fr; } }
.site-footer .tag-line { margin-top: 16px; font: 500 18px var(--display); }
.site-footer .note { margin-top: 8px; font-size: 14px; color: var(--fog); max-width: 34ch; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 640px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
.foot-cols h2 { font: 600 15px var(--sans); letter-spacing: 0; }
.foot-cols ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { color: var(--fog); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--paper); }
.foot-base { border-top: 1px solid var(--ink-soft); }
.foot-base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: var(--fog); }

.thanks { padding: 96px 0 120px; max-width: 620px; }
.thanks h1 { font-size: 44px; font-weight: 700; margin-top: 24px; }
.thanks p { margin-top: 14px; color: var(--slate); font-size: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .board li { animation: board-in .52s cubic-bezier(.2,.8,.2,1) both; }
  .board li:nth-child(2) { animation-delay: .09s; }
  .board li:nth-child(3) { animation-delay: .18s; }
  .board li:nth-child(4) { animation-delay: .27s; }
}
@keyframes board-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
