/* Boring Wins — teal is the machine, orange is the human. */
:root {
  --teal: #0E4B4D;
  --teal-mid: #2F6E6C;
  --teal-light: #CFE3DF;
  --cream: #F5F0E6;
  --paper: #FFFDF8;
  --ink: #13201F;
  --muted: #4A5856;
  --orange: #F26B3A;
  --orange-text: #B4441A;
  --line: #E2DACB;

  --bg: var(--cream);
  --surface: var(--paper);
  --text: var(--ink);
  --text-soft: var(--muted);
  --accent-text: var(--orange-text);
  --border: var(--line);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 18px;
  --max: 680px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A2526;
    --surface: #10393B;
    --text: #F5F0E6;
    --text-soft: #B9CCC8;
    --accent-text: #FF8A5C;
    --border: #1E4F51;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A2526;
  --surface: #10393B;
  --text: #F5F0E6;
  --text-soft: #B9CCC8;
  --accent-text: #FF8A5C;
  --border: #1E4F51;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-head { padding: 20px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 700 15px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.brand-ring { width: 18px; height: 18px; border: 4px solid var(--orange); border-radius: 50%; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Type */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(34px, 7vw, 48px); }
h2 { font-size: clamp(24px, 4.5vw, 30px); margin-top: 1.6em; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.lead { font-size: 19px; color: var(--text-soft); }
.label { font: 600 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; display: block; }
.hl { box-shadow: inset 0 -.32em 0 rgba(242,107,58,.45); }

main { padding: 12px 0 64px; }

/* Link-in-bio hero */
.hero { text-align: center; padding: 28px 0 8px; }
.hero .avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 18px; }
.hero h1 { font-size: clamp(32px, 7vw, 42px); margin-bottom: 6px; }
.hero .handle { font: 500 15px var(--font-mono); color: var(--text-soft); margin-bottom: 16px; }
.hero .bio { max-width: 30em; margin: 0 auto 26px; }

.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-radius: var(--radius); text-decoration: none;
  background: var(--surface); border: 1.5px solid var(--border);
  font: 600 17px/1.3 var(--font-body);
  transition: transform .12s ease, border-color .12s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--teal-mid); }
.btn small { display: block; font-weight: 400; font-size: 14px; color: var(--text-soft); margin-top: 2px; }
.btn .arrow { flex: none; font-family: var(--font-head); font-size: 20px; }
.btn--primary { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.btn--primary small { color: var(--teal-light); }
.btn--primary .arrow { color: var(--orange); }
.btn--primary:hover { border-color: var(--orange); }

.socials { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--border); text-decoration: none; font-size: 15px; font-weight: 500; }
.socials a:hover { border-color: var(--teal-mid); }
.socials svg { width: 18px; height: 18px; }

/* Split card: AI does / You do */
.split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; margin: 36px 0 0; }
.split > div { padding: 20px; }
.split .ai { background: var(--teal); color: var(--cream); }
.split .you { background: var(--orange); color: var(--ink); }
.split strong { display: block; font: 700 13px var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; opacity: .85; }
.split p { margin: 0; font: 600 18px/1.3 var(--font-head); }

/* Prompt cards */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.chip { font: 500 14px var(--font-body); padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--cream); }

.prompts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.prompt { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px 18px 16px; }
.prompt[hidden] { display: none; }
.prompt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.prompt h3 { margin: 0; }
.tag { flex: none; font: 600 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.prompt pre {
  margin: 0 0 12px; padding: 14px 16px; border-radius: 12px; white-space: pre-wrap; word-break: break-word;
  background: var(--bg); font: 400 14.5px/1.55 var(--font-mono);
}
.prompt-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.prompt-foot p { margin: 0; font-size: 14px; color: var(--text-soft); }
.prompt-foot p b { color: var(--text); font-weight: 600; }
.copy { flex: none; font: 600 14px var(--font-body); padding: 8px 14px; border-radius: 10px; cursor: pointer;
  background: var(--teal); color: var(--cream); border: 0; }
.copy.done { background: var(--orange); color: var(--ink); }

.note { border-left: 4px solid var(--orange); padding: 4px 0 4px 16px; margin: 24px 0; color: var(--text-soft); }

/* 30-day list */
.weeks { list-style: none; padding: 0; margin: 0; }
.week { margin-top: 32px; }
.days { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1.5px solid var(--border); }
.day { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: baseline;
  padding: 12px 0; border-bottom: 1.5px solid var(--border); }
.day time { font: 500 14px var(--font-mono); color: var(--text-soft); }
.day .fmt { font-size: 13px; color: var(--text-soft); white-space: nowrap; }
.day.today { background: linear-gradient(90deg, rgba(242,107,58,.14), transparent); }
.day.today time { color: var(--accent-text); font-weight: 700; }

/* About */
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0 24px; }
.roles div { background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.roles span { display: block; font-weight: 400; font-size: 14px; color: var(--text-soft); }
.rules { padding-left: 1.2em; }
.rules li { margin-bottom: .5em; }

/* Footer */
.site-foot { border-top: 1.5px solid var(--border); padding: 24px 0 40px; font-size: 14px; color: var(--text-soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .nav { gap: 14px; font-size: 14px; }
  .brand span:last-child { display: none; }
  .split { grid-template-columns: 1fr; }
  .day { grid-template-columns: 56px 1fr; }
  .day .fmt { grid-column: 2; }
  .prompt-foot { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
