/* getcowlick.com — same sticker look as the app: espresso outlines, solid ledges, teal + orange. */
:root {
  --bg: #E3F4F1;
  --surface: #FFFFFF;
  --tint: #F0F8F6;
  --teal: #0F4C4A;
  --teal-ledge: #0A3533;
  --teal-mid: #2E8B83;
  --orange: #F2994A;
  --orange-ledge: #C8702A;
  --ink: #3B2A20;
  --text: #2B1E16;
  --muted: #5E6E6A;
  --line: #C9E3DE;
  --radius: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1918;
    --surface: #16302E;
    --tint: #12302D;
    --text: #F1ECE6;
    --muted: #A8BDB8;
    --line: #24413E;
    --ink: #050B0A;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.6 ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-mid); text-underline-offset: 3px; }
a:focus-visible, .cta:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; font-size: 22px; }
.brand img { border-radius: 9px; border: 2px solid var(--ink); }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; }
.top nav a:hover { color: var(--teal-mid); }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.mascot { width: 116px; height: auto; margin-bottom: 8px; }
h1 { overflow-wrap: break-word; hyphens: auto; font-weight: 900; font-size: clamp(38px, 6vw, 62px); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 18px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--ink); text-decoration: none;
  font-weight: 900; font-size: 18px; padding: 15px 26px;
  border: 2.5px solid var(--ink); border-radius: 999px;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .08s ease, box-shadow .08s ease;
}
.cta:hover { transform: translateY(1px); box-shadow: 0 4px 0 var(--ink); }
.cta:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }

.phones { display: flex; justify-content: center; align-items: flex-start; }
.phone {
  width: 31%; max-width: 210px; height: auto;
  border: 3px solid var(--ink); border-radius: 30px;
  box-shadow: 0 7px 0 var(--ink);
  background: var(--surface);
}
.phone + .phone { margin-left: -4%; }
.phone:nth-child(2) { margin-top: 36px; position: relative; z-index: 1; }

/* Feature cards */
.features { list-style: none; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 2.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 5px 0 var(--ink); padding: 20px;
}
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; }
.card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }

.privacy-band {
  display: flex; gap: 22px; align-items: center;
  background: var(--teal); color: #F3E3CF; border-radius: var(--radius);
  border: 2.5px solid var(--ink); box-shadow: 0 6px 0 var(--teal-ledge);
  padding: 26px 30px; margin: 8px 0 56px;
}
.privacy-band img { width: 96px; flex: none; }
.privacy-band h2 { margin: 0 0 4px; font-size: 26px; font-weight: 900; color: #FFF7EE; }
.privacy-band p { margin: 0; opacity: .92; }
.privacy-band a { color: var(--orange); font-weight: 800; white-space: nowrap; }

/* Documents */
.doc { padding-top: 40px; padding-bottom: 64px; }
.doc article {
  max-width: 760px; margin: 0 auto; background: var(--surface);
  border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: 0 6px 0 var(--ink);
  padding: 40px 48px;
}
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 4px; }
.doc h1 + p { color: var(--muted); margin-top: 0; }
.doc h2 { overflow-wrap: break-word; hyphens: auto; font-size: 24px; font-weight: 900; margin: 36px 0 8px; line-height: 1.25; }
.doc h3 { font-size: 19px; font-weight: 800; margin: 26px 0 4px; }
.doc p, .doc li { line-height: 1.65; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 4px 0; }
.doc strong { font-weight: 800; }
.table { overflow-x: auto; margin: 16px 0; border: 2px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--tint); font-weight: 800; }
tr:last-child td { border-bottom: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.disclaimer { margin: 0 0 16px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: var(--text); text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--teal-mid); }
.langs a[aria-current] { color: var(--teal-mid); text-decoration: underline; }
.copy { margin: 16px 0 0; font-size: 14px; }

/* 404 */
.notfound { text-align: center; padding: 80px 20px; }
.notfound img { margin: 0 auto 16px; width: 140px; }

@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .features { grid-template-columns: 1fr 1fr; }
  .doc article { padding: 28px 22px; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .top-row { height: 56px; }
  .top nav { gap: 10px; flex-wrap: nowrap; }
  .top nav a { font-size: 13px; white-space: nowrap; }
  .doc { padding-top: 20px; }
  .doc h1 { font-size: 28px; }
  .doc h2 { font-size: 21px; }
  .brand span { display: none; }
  .lead { font-size: 18px; }
  .features { grid-template-columns: 1fr; }
  .privacy-band { flex-direction: column; align-items: flex-start; padding: 22px; }
  /* Tables become label/value cards on phones. */
  .table { border: 0; }
  table, thead, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { border: 2px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 6px 0; }
  td { border: 0; padding: 4px 14px; }
  td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 800; color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) { .cta { transition: none; } }
