/* Corkboard's page keeps Corkboard's own colors (from the original
   corkboard-site). The Sleeping Owl header and footer rules below match
   /styles.css, which this page does not load because its class names
   (such as .hero) would collide. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1f2a44;
  --ink-soft: #4a5571;
  --bg: #fffaf3;
  --bg-alt: #f6efe4;
  --card: #ffffff;
  --line: #ece3d5;
  --accent: #ff7a59;

  --mom: #ff7a59;
  --dad: #4c8df6;
  --emma: #8b6cf0;
  --leo: #2bb5a3;
  --all: #f5b83d;

  --radius: 16px;
  --shadow: 0 1px 2px rgba(31, 42, 68, .06), 0 12px 32px rgba(31, 42, 68, .08);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

.skip-link {
  position: fixed;
  z-index: 1;
  top: .75rem;
  left: .75rem;
  padding: .5rem .75rem;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(calc(-100% - 1rem));
}
.skip-link:focus { transform: none; }

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

/* Hero */
.hero { padding: 4.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.hero-title { display: flex; align-items: center; gap: .5rem; }
.hero-title img { width: clamp(64px, 8vw, 88px); height: auto; }
.lede { font-size: 1.15rem; max-width: 34em; }

/* Product mock */
.mock { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: #fdfbf7; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-title { margin-left: .6rem; font-weight: 650; font-size: .9rem; }
.mock-figure { margin: 0; }
.mock-caption { margin: .9rem 0 0; font-size: .85rem; color: var(--ink-soft); text-align: center; }
.people { display: flex; flex-wrap: wrap; gap: .4rem; padding: .9rem 1rem .4rem; }
.chip { font-size: .78rem; font-weight: 650; padding: .25em .75em; border-radius: 999px; color: #101114; }
.chip-all { background: var(--ink); color: #fff; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; padding: .6rem 1rem 1rem; }
.day { background: #fdfbf7; border: 1px solid var(--line); border-radius: 10px; padding: .5rem .4rem; min-height: 150px; }
.day h4 { font-size: .75rem; text-transform: uppercase; color: var(--ink-soft); letter-spacing: .08em; margin-bottom: .45rem; text-align: center; }
.day.today { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255, 122, 89, .15); }
.day.today h4 { color: var(--ink); }

/* Person colours: chips are solid, events are tinted */
.chip.p-mom { background: var(--mom); }
.chip.p-dad { background: var(--dad); }
.chip.p-emma { background: var(--emma); }
.chip.p-leo { background: var(--leo); }

.ev { display: block; font-size: .72rem; line-height: 1.3; padding: .35em .45em; border-radius: 6px; margin-bottom: .35rem; border-left: 3px solid; }
.ev b { display: block; font-weight: 700; }
.ev.p-mom { background: #ffeee8; border-color: var(--mom); }
.ev.p-dad { background: #e9f1fe; border-color: var(--dad); }
.ev.p-emma { background: #f0ebfd; border-color: var(--emma); }
.ev.p-leo { background: #e3f6f3; border-color: var(--leo); }
.ev.p-all { background: #fef5e1; border-color: var(--all); }

.ask { padding: .2rem 1rem 1.1rem; display: grid; gap: .4rem; }
.bubble { font-size: .85rem; padding: .55em .85em; border-radius: 14px; max-width: 85%; line-height: 1.45; }
.bubble.me { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { justify-self: start; background: var(--bg-alt); color: var(--ink); border-bottom-left-radius: 4px; }

/* Sleeping Owl header and footer */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 650; font-size: 1.12rem; letter-spacing: -.02em; color: #101114; white-space: nowrap; }
.owl { height: 30px; width: auto; color: #101114; }
.site-nav { display: flex; gap: 1.6rem; font-size: .95rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; font-size: .9rem; color: var(--ink-soft); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer nav a { text-decoration: none; color: var(--ink-soft); }
.site-footer .legal { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .site-nav { gap: 1.1rem; font-size: .9rem; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  /* Visually hidden, still the link's name for screen readers. */
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Features and privacy */
.points { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.points ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.points h2 { font-size: 1.15rem; margin-bottom: .3em; }
.points p { margin: 0; }
.points h3 { font-size: 1.05rem; margin-bottom: .3em; }
.points .section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .4em; }
.points .section-intro { max-width: 40rem; margin-bottom: 2rem; font-size: 1.05rem; }
.points .note { margin-top: 1.8rem; font-size: .9rem; color: var(--ink-soft); }
.privacy { padding: 4rem 0 5rem; background: var(--bg-alt); }
.privacy p { font-size: 1.1rem; max-width: 40rem; }
.status { font-weight: 650; color: var(--ink); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .points ul { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 560px) {
  .hero { padding-top: 2.5rem; }
  .week { grid-template-columns: repeat(3, 1fr); }
  .week .day:nth-child(-n+2) { display: none; }
}
