/* Winter Watermelon public site. Brand: pristine white, ink type, a frost-blue band and the
   watermelon red used only as a small accent. Inter, self-hosted. */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0d1113; --ink-2: #474e55; --ink-3: #5f666e;
  --page: #ffffff; --frost: #eef5f7; --frost-2: #e2edf1; --line: #e7ecef;
  --melon: #df3f5c; --melon-ink: #b52a45; --rind: #1d4a36;
  --font: "Inter", ui-sans-serif, -apple-system, "SF Pro Text", system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.6 var(--font); font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--melon-ink); outline-offset: 3px; border-radius: 4px; }
svg.i { width: 18px; height: 18px; vertical-align: -3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-head, main, .site-foot { width: min(1120px, 100% - 48px); margin: 0 auto; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 620; font-size: 17px; letter-spacing: -.02em; min-height: 44px; }
.brand .mark { display: block; }
.signin { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 550; color: var(--ink); background: #fff; transition: border-color .15s; }
.signin:hover { border-color: var(--ink-3); }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 48px; padding: 72px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 550; color: var(--ink-3); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--melon); }
.hero h1 { font-size: clamp(44px, 7.2vw, 84px); line-height: 1.0; font-weight: 600; letter-spacing: -.045em; }
.lede { margin-top: 26px; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34ch; letter-spacing: -.012em; }
.cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 560; font-size: 16px; }
.cta:hover { background: #262c30; }
.hero-mark { position: relative; display: grid; place-items: center; }
.hero-mark::before { content: ""; position: absolute; width: 112%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--frost) 60%, transparent 100%); }
.hero-mark img { position: relative; width: min(100%, 340px); height: auto; filter: drop-shadow(0 18px 40px rgba(29, 74, 54, .14)); }

.companies { padding: 24px 0 72px; }
.companies h2, .story h2 { font-size: 15px; font-weight: 620; letter-spacing: -.005em; color: var(--ink-3); margin-bottom: 22px; }
.companies ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.company { display: flex; gap: 18px; padding: 28px 24px 30px 0; border-bottom: 1px solid var(--line); }
.company .logo { flex: none; width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.company .kind { font-size: 13.5px; font-weight: 550; color: var(--ink-3); }
.company h3 { font-size: 21px; font-weight: 620; letter-spacing: -.025em; margin: 2px 0 8px; }
.company p:not(.kind) { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.company a { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; min-height: 32px; font-size: 15px; font-weight: 560; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.company a:hover { border-color: var(--melon); }

.story { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 72px; padding: 40px; border-radius: 22px; background: var(--frost); }
.story-mark { flex: none; color: var(--rind); }
.story h2 { color: var(--rind); margin-bottom: 10px; }
.story p { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.42; letter-spacing: -.022em; max-width: 38ch; color: var(--ink); }

.site-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 26px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.site-foot nav { display: flex; gap: 20px; }
.site-foot a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.prose { max-width: 680px; padding: 40px 0 72px; }
.prose h1 { font-size: 40px; letter-spacing: -.035em; font-weight: 600; }
.prose .updated { color: var(--ink-3); font-size: 15px; margin: 8px 0 28px; }
.prose h2 { font-size: 19px; font-weight: 620; letter-spacing: -.015em; margin: 30px 0 8px; }
.prose p { color: var(--ink-2); }

@media (max-width: 840px) {
  .companies ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-head, main, .site-foot { width: calc(100% - 36px); }
  .site-head { padding: 14px 0; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 26px 0 48px; }
  .hero-mark { order: -1; justify-content: start; margin-bottom: 14px; }
  .hero-mark::before { display: none; }
  .hero-mark img { width: 92px; filter: none; }
  .eyebrow { margin-bottom: 14px; }
  .lede { font-size: 18px; margin-top: 18px; }
  .cta { margin-top: 26px; }
  .companies ul { grid-template-columns: minmax(0, 1fr); }
  .company { padding: 22px 0 24px; }
  .story { padding: 26px 22px; flex-direction: column; gap: 14px; margin-bottom: 48px; }
}

/* Sign-in */
.login-page { background: linear-gradient(180deg, #fff 0%, var(--frost) 100%); min-height: 100vh; min-height: 100dvh; }
.login { width: min(400px, 100% - 36px); margin: 0 auto; padding: 9vh 0 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.login-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; font-weight: 620; font-size: 18px; letter-spacing: -.02em; }
.login-card { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px 26px; box-shadow: 0 1px 2px rgba(13, 17, 19, .04), 0 18px 48px -16px rgba(13, 17, 19, .16); display: flex; flex-direction: column; }
.login-card h1 { font-size: 24px; font-weight: 620; letter-spacing: -.025em; }
.login-sub { color: var(--ink-3); font-size: 15px; margin: 4px 0 18px; }
.login-card label { font-size: 14px; font-weight: 560; margin: 12px 0 6px; }
.login-card input { font: inherit; font-size: 16px; height: 50px; padding: 0 14px; border: 1px solid #d5dce1; border-radius: 11px; background: #fff; color: var(--ink); }
.login-card input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.login-card button { margin-top: 22px; height: 50px; border: 0; border-radius: 11px; background: var(--ink); color: #fff; font: 600 16px var(--font); cursor: pointer; }
.login-card button:hover { background: #262c30; }
.login-error { background: #fdecee; color: var(--melon-ink); border-radius: 10px; padding: 10px 12px; font-size: 15px; margin-bottom: 4px; }
.login-back { font-size: 14px; color: var(--ink-3); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.login-back:hover { color: var(--ink); text-decoration: underline; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
