/* Clubcahoots website. One stylesheet for every page.
   Colours and type are the app's: Midnight & Coral, Manrope. Light mode only. */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #14213D;
  --coral: #FF6B4A;
  --text: #101828;
  --muted: #667085;
  --soft: #F5F6FA;
  --line: #E9ECF3;
  --white: #FFFFFF;
  --on-ink-muted: #C9D0E2;
  --error: #B42318;
  --ok-bg: #E7F6EE;
  --ok: #1E8A52;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --gutter: 44px;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
}
img, svg { max-width: 100%; }
a { color: var(--ink); }
h1, h2, h3 { color: var(--ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* ---- header ---- */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.tile { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; flex: none; }
.links { display: flex; gap: 26px; align-items: center; font-weight: 600; font-size: 14.5px; }
.links a:not(.btn) { color: var(--muted); text-decoration: none; }
.links a:not(.btn):hover { color: var(--ink); }

/* ---- buttons ---- */
.btn {
  display: inline-block; background: var(--coral); color: var(--ink); font: inherit; font-weight: 800; font-size: 14.5px;
  padding: 11px 18px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  text-align: center; white-space: nowrap;
}
.btn:hover { filter: brightness(0.96); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); filter: none; }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.big { padding: 13px 22px; font-size: 15.5px; }
.btn.block { display: block; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: default; }

/* ---- home: opening ---- */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; padding-top: 56px; padding-bottom: 60px; }
.hero > * { min-width: 0; }
h1 { font-size: clamp(34px, 5.2vw, 48px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 16px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--coral); }
.lede { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 0 0 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.small { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }

.phone { width: 280px; max-width: 100%; margin: 0 auto; background: var(--ink); border-radius: 34px; padding: 10px; box-shadow: 0 24px 50px rgba(20, 33, 61, 0.3); }
.screen { background: var(--white); border-radius: 26px; overflow: hidden; }
.phead { display: flex; gap: 9px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cl { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--white); font-weight: 800; font-size: 12px; display: grid; place-items: center; flex: none; }
.phead b { display: block; font-size: 13px; line-height: 1.2; color: var(--ink); }
.phead small { color: var(--muted); font-size: 10.5px; }
.row { display: flex; gap: 10px; padding: 10px 14px; align-items: center; }
.row > div:nth-child(2) { min-width: 0; }
.av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: 12px; }
.row .t { font-weight: 700; font-size: 13px; color: var(--ink); }
.row .s { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .badge { margin-left: auto; background: var(--coral); color: var(--white); font-weight: 800; font-size: 10px; border-radius: 999px; padding: 1px 6px; }
.tabs { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding: 9px 0; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.tabs span:first-child { color: var(--ink); }

/* ---- home: sections ---- */
.band { background: var(--soft); padding: 52px 0; }
.sect { padding: 56px 0; }
h2 { font-size: clamp(25px, 3.6vw, 31px); letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 10px; font-weight: 800; text-wrap: balance; scroll-margin-top: 90px; }
.sub { color: var(--muted); font-size: 16.5px; max-width: 60ch; margin: 0 0 26px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.three > * { min-width: 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step { font-weight: 800; color: #C2401F; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }

/* ---- home: pricing ---- */
.tbl { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--soft); font-weight: 700; }
td.size { font-weight: 700; color: var(--ink); }
td.p { font-weight: 800; font-size: 18px; color: var(--ink); white-space: nowrap; }
td.p small { color: var(--muted); font-size: 12px; font-weight: 600; }
td.y { color: var(--muted); white-space: nowrap; }
td.act { text-align: right; }
.under { color: var(--muted); font-size: 13.5px; margin: 12px 0 0; }

.found { background: var(--ink); color: var(--white); border-radius: 16px; padding: 28px 30px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px; align-items: center; margin-top: 22px; }
.found > * { min-width: 0; }
.found h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.02em; color: var(--white); text-wrap: balance; }
.found p { margin: 0; color: var(--on-ink-muted); }
.found .right { text-align: right; }
.found .small { color: var(--on-ink-muted); }
.found .spots { font-weight: 700; color: #FFB6A6; margin-top: 10px; font-size: 14px; }

/* ---- home: questions ---- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; margin-top: 18px; }
.faq > * { min-width: 0; }
.faq h3 { margin: 0 0 3px; font-size: 16px; font-weight: 700; }
.faq p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.site-footer .wrap { padding-top: 22px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }

/* ---- form pages, thanks, contact, legal ---- */
.narrow { max-width: 600px; margin: 0 auto; padding: 44px var(--gutter) 64px; }
.narrow.wide { max-width: 760px; }
.narrow h1 { font-size: clamp(28px, 4.4vw, 36px); margin-bottom: 8px; }
.intro { color: var(--muted); font-size: 16.5px; margin: 0 0 22px; }
.intro strong { color: var(--ink); }

.field { margin: 0 0 14px; }
.field label, .field .label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 0 0 5px; }
.field .hint { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--white);
  border: 1.5px solid #D5DAE6; border-radius: 10px; padding: 10px 12px;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 33, 61, 0.12); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--error); }
.field .err { color: var(--error); font-size: 13.5px; font-weight: 600; margin: 5px 0 0; }
.field .note { color: var(--muted); font-size: 13.5px; margin: 6px 0 0; background: var(--soft); border-left: 4px solid var(--coral); border-radius: 10px; padding: 8px 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.two > * { min-width: 0; }
/* The field people never see or fill. Hidden from sight and from screen readers, not from scripts. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-weight: 600; font-size: 14.5px; margin: 14px 0 0; }
.fine { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.turnstile { margin: 14px 0 0; }

.plan-box { border: 1.5px solid var(--ink); border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--soft); margin: 0 0 12px; }
.plan-box b { font-size: 16px; color: var(--ink); display: block; }
.plan-box span.price { color: var(--muted); font-size: 14.5px; }
.linkish { background: none; border: 0; padding: 4px; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }
.toggle { display: inline-flex; border: 1.5px solid #D5DAE6; border-radius: 999px; overflow: hidden; margin: 0 0 18px; }
.toggle button { font: inherit; font-weight: 700; font-size: 14px; padding: 8px 14px; border: 0; background: var(--white); color: var(--ink); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.okmark { width: 54px; height: 54px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; font-size: 26px; font-weight: 800; margin: 0 0 14px; }
.steps { margin: 6px 0 22px; padding-left: 20px; color: var(--muted); }
.steps li { margin-bottom: 6px; }
.steps b { color: var(--ink); }
.panel { background: var(--soft); border-radius: 14px; padding: 18px 20px; margin: 0 0 18px; }
.panel p { margin: 0 0 12px; }
.panel p:last-child { margin-bottom: 0; }
.contact-address { font-size: 20px; font-weight: 800; color: var(--ink); user-select: all; overflow-wrap: anywhere; }

.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { color: #344054; }
.legal ul { padding-left: 20px; }
.draft { background: #FFF4E5; border: 1px solid #F5C78A; border-radius: 12px; padding: 12px 14px; font-weight: 700; color: #7A4A00; margin: 0 0 22px; }

/* ---- phones and small tablets ---- */
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .links a:not(.btn) { display: none; }
  .brand { font-size: 18px; }
  .site-header .wrap { gap: 10px; }
  .site-header .btn { padding: 9px 13px; font-size: 13.5px; }
  .hero { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 44px; }
  .three, .faq, .found, .two { grid-template-columns: 1fr; }
  .found .right { text-align: left; }
  .band { padding: 40px 0; }
  .sect { padding: 44px 0; }

  /* The price table becomes one card per plan. */
  .tbl table, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl thead { display: none; }
  .tbl tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td { padding: 0; border: 0; }
  .tbl td.y:not(:empty)::before { content: "or "; }
  .tbl td.y:not(:empty)::after { content: " a year"; }
  .tbl td.act { text-align: left; margin-top: 10px; }
  .tbl td.act .btn { display: block; }
}

/* Very narrow phones: the mark alone stands for the name. */
@media (max-width: 350px) {
  .brand-name { position: absolute; left: -9999px; }
}
