/* Ice Agent website. One stylesheet for index, signup and privacy. System fonts only (no external requests). */
:root {
  --navy: #0b2a4a;
  --navy-2: #123b63;
  --rink: #2b8fc9;
  --rink-dark: #1a6f9f; /* AA contrast for text/buttons on white */
  --ice: #7cc4e8;
  --frost: #cfe3ef;
  --frost-bg: #eef5fa;
  --ink: #16213a;
  --muted: #475569;
  --line: #d6e2ec;
  --ok: #17663b;
  --bad: #a4261d;
  --radius: 12px;
  --maxw: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--rink-dark); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--rink); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--rink-dark); margin-bottom: 0.5em; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.site-header .logo img { display: block; height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.95rem; padding: 6px 2px; }
.site-nav a:hover { color: var(--rink-dark); text-decoration: underline; }
.site-nav .btn { color: #fff; }
.site-nav .btn:hover { color: #fff; text-decoration: none; }
@media (max-width: 640px) { .site-nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-block; font: inherit; font-weight: 700; cursor: pointer;
  background: var(--rink-dark); color: #fff; border: 2px solid var(--rink-dark);
  padding: 12px 22px; border-radius: 999px; text-decoration: none; text-align: center; line-height: 1.2;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.on-dark.ghost { color: #fff; border-color: #fff; }
.btn.on-dark.ghost:hover { background: #fff; color: var(--navy); }
.btn.small { padding: 8px 16px; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.25em; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #1b5c8c 100%); color: #fff; padding: 56px 0 64px; overflow: hidden; }
.hero h1 { color: #fff; max-width: 14em; }
.hero .lede { color: #dbe9f4; }
.hero .eyebrow { color: var(--ice); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero-note { color: #b9d2e4; font-size: 0.95rem; margin-top: 1.25em; }
.hero-note a { color: #fff; }

/* Mock calendar in the hero (decorative) */
.mock { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); font-size: 0.85rem; }
.mock-head { display: flex; justify-content: space-between; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.mock-row { display: grid; grid-template-columns: 4.2em 1fr; gap: 8px; align-items: stretch; padding: 5px 0; border-top: 1px solid var(--line); }
.mock-time { color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 6px; }
.slot { border-left: 4px solid var(--rink); background: var(--frost-bg); border-radius: 6px; padding: 6px 9px; }
.slot b { display: block; color: var(--navy); }
.slot.game { border-left-color: var(--navy); background: #e4ebf3; }
.slot.dark { border: 2px dashed #8aa0b3; border-left-width: 2px; background: repeating-linear-gradient(135deg, #f6f9fb 0 8px, #eef3f7 8px 16px); color: #3b4b5c; }
.slot.open { border-left-color: #1e8a4c; background: #e5f5ec; }
.slot small { color: var(--muted); }

/* Sections */
section { padding: 56px 0; }
section.tint { background: var(--frost-bg); }
section.navy { background: var(--navy); color: #fff; }
section.navy h2, section.navy h3 { color: #fff; }
.section-head { max-width: 44em; margin-bottom: 28px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-bottom: 0.35em; }
.card p { margin: 0; color: var(--muted); }
.card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.pain { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pain .card { border-top: 4px solid var(--rink); }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--rink-dark); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; color: var(--muted); }
.need { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.need li { padding-left: 28px; position: relative; }
.need li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px; border-left: 3px solid var(--rink-dark); border-bottom: 3px solid var(--rink-dark); transform: rotate(-45deg); }

/* Estimator */
.est { display: grid; gap: 24px; }
@media (min-width: 860px) { .est { grid-template-columns: 1.1fr 0.9fr; } }
.est-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.est-box legend { font-weight: 700; color: var(--navy); padding: 0; }
.field { margin: 0 0 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.field .hint { color: var(--muted); font-size: 0.9rem; margin-top: 3px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #8ea3b5; border-radius: 8px; padding: 10px 12px; min-height: 44px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--rink); outline-offset: 1px; border-color: var(--rink-dark); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
.pair { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .pair { grid-template-columns: 1fr 1fr; } }
.result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; }
.result .big { font-size: clamp(2.4rem, 8vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--ice); }
.result p { color: #dbe9f4; margin: 0.5em 0 0; }
.result .fine { font-size: 0.9rem; color: #b9d2e4; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--rink-dark); text-decoration: underline; cursor: pointer; }

/* Table */
.tablewrap { overflow-x: auto; }
table.ba { border-collapse: collapse; width: 100%; min-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.ba caption { text-align: left; font-weight: 700; color: var(--navy); padding: 0 0 8px; }
table.ba th, table.ba td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
table.ba thead th { background: var(--frost-bg); color: var(--navy); border-top: 0; }
table.ba td:first-child { font-weight: 600; width: 22%; }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--frost); color: var(--navy); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 18px; list-style: none; position: relative; padding-right: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--rink-dark); }
details[open] summary::after { content: "–"; }
details > div { padding: 0 18px 16px; color: var(--muted); }
details > div p:last-child { margin-bottom: 0; }

/* Call to action band */
.cta { text-align: center; }
.cta .lede { margin-left: auto; margin-right: auto; color: #dbe9f4; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: #071b31; color: #b9d2e4; padding: 32px 0; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.site-footer .links { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer img { height: 28px; width: auto; display: block; margin-bottom: 8px; }

/* Forms and prose pages */
.page { padding: 40px 0 64px; }
.narrow { max-width: 720px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.req { color: var(--bad); }
.err { color: var(--bad); font-size: 0.9rem; margin-top: 4px; min-height: 0; }
.err:empty { display: none; }
fieldset.radios { border: 0; padding: 0; margin: 0 0 14px; }
fieldset.radios legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
.radios label { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; min-height: 44px; font-weight: 500; }
.radios input { width: 20px; height: 20px; min-height: 0; accent-color: var(--rink-dark); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: var(--radius); padding: 14px 16px; margin: 0 0 18px; }
.notice.ok { background: #e5f5ec; border: 1px solid #9bd3b2; color: #0f4a28; }
.notice.bad { background: #fdecea; border: 1px solid #efb1ab; color: #7a1c15; }
.notice.draft { background: #fff7e0; border: 1px solid #ecd283; color: #5a4300; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
@media print { .site-header, .site-footer, .btn-row { display: none; } }

/* Game-check mock (hero) and lead benefit cards */
.mock-item { border-top: 1px solid var(--line); padding: 9px 0; }
.mock-item:first-of-type { border-top: 0; }
.mock-item b { color: var(--navy); display: block; }
.mock-item small { color: var(--muted); display: block; }
.mock-kind { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 1px 8px; border-radius: 999px; background: #fdecea; color: #7a1c15; margin-bottom: 3px; }
.mock-kind.warn { background: #fff3d6; color: #6b4a00; }
.mock-btn { display: inline-block; margin-top: 6px; font-size: 0.8rem; font-weight: 700; color: #fff; background: var(--rink-dark); border-radius: 999px; padding: 4px 12px; }
.lead { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 40px; }
.lead .card { border-top: 4px solid var(--rink-dark); padding: 24px; }
.lead .card h3 { font-size: 1.3rem; color: var(--navy); }
.lead .card p { color: var(--ink); margin-bottom: 0.6em; }
.lead .card p.small { color: var(--muted); font-size: 0.95rem; margin: 0; }
.sub-head { margin: 8px 0 16px; font-size: 1.15rem; color: var(--navy); }
.calm { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.calm .card { background: #123b63; border-color: #2a5782; }
.calm .card h3 { color: #fff; }
.calm .card p { color: #d3e4f1; }
.honest { margin-top: 24px; color: #b9d2e4; max-width: 44em; }
