/* readysetstim.com — the marketing site in the app's own tokens (packages/core/src/shared/theme.ts). */
:root {
  --ink: #071B3E; --ink-pressed: #040F26; --on-ink: #EAF2FA;
  --azure: #0F62FE; --cobalt: #1D5CB7; --azure-wash: #E7EFFF;
  --powder: #DDE6F2; --surface: #FFFFFF; --edge: #C9D6E3; --slate: #4A5560; --error: #9E2B1E;
  --shadow-card: 0 4px 18px rgba(0,78,137,0.18);
  --display: 'Nunito', 'Nunito Variable', ui-rounded, 'Avenir Next', system-ui, sans-serif;
  --body: 'Public Sans', 'Public Sans Variable', system-ui, sans-serif;
  --measure: 62ch;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--powder); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--azure); text-decoration: none; }
a:hover { color: var(--cobalt); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--azure); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5vw, 66px); font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: min(100% - 40px, 1248px); margin-inline: auto; }
.muted { color: var(--slate); }
.lede { font-size: 19px; color: var(--slate); max-width: var(--measure); }

/* the doorstep: ink outside the room */
.ink { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.ink::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 620px 420px at 18% 30%, rgba(15,98,254,0.55) 0%, rgba(15,98,254,0) 70%),
              radial-gradient(ellipse 520px 380px at 82% 78%, rgba(15,98,254,0.45) 0%, rgba(15,98,254,0) 70%),
              radial-gradient(ellipse 380px 300px at 62% 12%, rgba(15,98,254,0.30) 0%, rgba(15,98,254,0) 70%); }
.ink > * { position: relative; }
.ink h1, .ink h2 { color: var(--on-ink); }
.ink .lede { color: rgba(234,242,250,0.8); }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.site-header .brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--on-ink); font-weight: 600; font-size: 15px; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--azure); text-decoration-thickness: 2px; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: var(--on-ink); cursor: pointer; }

/* buttons — 8px controls, 44px+ targets */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 8px; font-weight: 700; font-size: 16px; border: 1px solid transparent; cursor: pointer; font-family: var(--body); }
.btn-light { background: var(--on-ink); color: var(--ink); }
.btn-light:hover { background: #FFFFFF; color: var(--ink); }
.btn-outline-ink { border-color: rgba(234,242,250,0.4); color: var(--on-ink); font-weight: 600; }
.btn-outline-ink:hover { border-color: var(--on-ink); color: var(--on-ink); }
.btn-azure { background: var(--azure); color: #FFFFFF; }
.btn-azure:hover { background: var(--cobalt); color: #FFFFFF; }
.btn-outline { border-color: var(--azure); color: var(--ink); font-weight: 600; }
.btn-outline:hover { background: var(--azure-wash); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* hero */
.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding: 56px 0 104px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-copy .lede { font-size: 21px; max-width: 38ch; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: min(100%, 440px); height: auto; }
.page-hero { display: flex; flex-direction: column; gap: 14px; padding: 40px 0 64px; max-width: var(--measure); }
.page-hero h1 { font-size: clamp(36px, 4vw, 56px); }

/* sections */
.section { padding: 88px 0; display: flex; flex-direction: column; gap: 40px; }
.section-on-surface { background: var(--surface); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.section-heading { display: flex; flex-direction: column; gap: 12px; max-width: var(--measure); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--surface); border: 1px solid var(--edge); border-radius: 16px; box-shadow: var(--shadow-card); }
.card p { font-size: 15px; color: var(--slate); }
.icon-tile { width: 44px; height: 44px; border-radius: 8px; background: var(--azure-wash); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-tile svg { width: 24px; height: 24px; }

/* testimonials */
.quotes { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; }
.quotes .stack { display: flex; flex-direction: column; gap: 20px; }
.quote { gap: 16px; }
.quote > div:first-child svg { width: 28px; height: 28px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.quote.featured { padding: 32px; }
.quote.featured blockquote { font-size: 24px; }
.quote .who { display: flex; flex-direction: column; gap: 2px; }
.quote .who strong { font-weight: 600; font-size: 15px; }
.quote .who span { font-size: 14px; color: var(--slate); }

/* CTA band */
.cta { text-align: center; padding: 88px 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta::before { background: radial-gradient(ellipse 560px 320px at 50% 110%, rgba(15,98,254,0.5) 0%, rgba(15,98,254,0) 70%); }
.cta h2 { font-size: clamp(32px, 3.5vw, 44px); }
.cta .lede { max-width: 48ch; }

/* features page blocks */
.block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.block.flip .block-copy { order: 2; }
.block-copy { display: flex; flex-direction: column; gap: 18px; }
.block-copy h2 { font-size: 32px; }
.block-copy p { font-size: 17px; color: var(--slate); }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; }
.block-art { display: flex; align-items: center; justify-content: center; min-height: 300px; background: var(--powder); border: 1px solid var(--edge); border-radius: 16px; }
.block-art .tile { width: 220px; height: 150px; border-radius: 16px; background: var(--surface); border: 1px solid var(--edge); box-shadow: var(--shadow-card); display: flex; align-items: center; justify-content: center; }
.block-art .tile svg { width: 56px; height: 56px; }
.block-copy .icon-tile { width: 48px; height: 48px; }
.blocks { gap: 72px; }

/* pricing */
.plan { position: relative; gap: 22px; padding: 32px; }
.plan.hot { border: 2px solid var(--azure); }
.plan .badge { position: absolute; top: -14px; left: 28px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--azure); color: #FFFFFF; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; }
.plan h3 { font-size: 24px; font-weight: 800; }
.plan .price { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--ink); }
.plan .checks li { font-size: 15px; }
.plan .btn { align-self: stretch; }
.pricing-note { text-align: center; color: var(--slate); }

/* about */
.mission { display: flex; flex-direction: column; gap: 22px; max-width: 72ch; }
.mission blockquote { margin: 0; font-family: var(--display); font-size: 24px; line-height: 1.4; font-weight: 600; border-left: 3px solid var(--azure); padding-left: 20px; }
.mission p { font-size: 17px; color: var(--slate); }
.team-placeholder { display: flex; align-items: center; justify-content: center; height: 200px; border: 1px dashed var(--edge); border-radius: 16px; color: var(--slate); }
.stack-72 { display: flex; flex-direction: column; gap: 72px; }
.stack-22 { display: flex; flex-direction: column; gap: 22px; }
.stack-28 { display: flex; flex-direction: column; gap: 28px; }

/* contact */
.contact { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: start; }
.form { gap: 16px; padding: 36px; }
.form h2 { font-size: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .req { color: var(--error); }
.field input, .field textarea { font-family: var(--body); font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; padding: 0 14px; min-height: 44px; }
.field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--slate); }
.facts { display: flex; flex-direction: column; gap: 20px; }
.fact { display: flex; align-items: flex-start; gap: 14px; }
.fact .icon-tile { width: 40px; height: 40px; }
.fact h3 { font-size: 16px; }
.fact p { font-size: 15px; color: var(--slate); }
.side { display: flex; flex-direction: column; gap: 28px; }
.side h2 { font-size: 28px; }

/* footer */
.site-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding: 48px 0 56px; }
.site-footer .brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 20px; }
.site-footer .brand img { width: 36px; height: 36px; }
.site-footer .brand-col { display: flex; flex-direction: column; gap: 12px; }
.site-footer .brand-col p { font-size: 15px; color: var(--slate); }
.site-footer .brand-col small { font-size: 13px; color: var(--slate); }
.footer-cols { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col span { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; color: var(--slate); }
.footer-col a { color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { gap: 40px; }
}
@media (max-width: 720px) {
  .site-header { padding: 16px 0; }
  .site-header .brand img { height: 30px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; background: var(--ink-pressed); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(234,242,250,0.12); }
  .site-nav .btn { margin-top: 12px; border-bottom: 0; }
  .site-header { position: relative; }
  .hero, .grid-2, .block, .quotes, .contact { grid-template-columns: 1fr; }
  .block.flip .block-copy { order: 0; }
  .hero { padding: 24px 0 48px; }
  .hero-art svg { width: min(100%, 250px); }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; gap: 24px; }
  .cta { padding: 56px 0; }
  .actions { flex-direction: column; align-items: stretch; }
  .site-footer { flex-direction: column; gap: 24px; }
  .footer-cols { gap: 24px; }
  .footer-col { flex: 1; font-size: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 150ms ease, border-color 150ms ease; }
}
