@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter.woff") format("woff"); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #10231E;
  --ink2: #3E5A52;
  --paper: #FFFDF8;
  --green: #3DDC97;
  --green-soft: #5FE3AA;
  --wall: #E3F5EE;
  --butter: #FFF4D2;
  --line: rgba(16, 35, 30, .12);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: 760px; margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }

/* Header band, same green as the home page hero */
.band { background: linear-gradient(180deg, var(--green), var(--green-soft)); padding-top: env(safe-area-inset-top, 0px); }
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.03em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.appicon { width: 34px; height: 34px; border-radius: 23%; box-shadow: 0 0 0 1px rgba(16,35,30,.14), 0 3px 8px -4px rgba(16,35,30,.4); }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 99px; background: #fff; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 1px 0 rgba(16,35,30,.06), 0 6px 16px -8px rgba(16,35,30,.35); transition: transform .25s var(--ease); }
.pill:hover { transform: translateY(-1px); }
.title { padding-block: 34px 40px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); margin: 0 0 10px; }
h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 10vw, 64px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.lede { margin: 14px 0 0; max-width: 34em; font-size: clamp(17px, 4.4vw, 19px); line-height: 1.45; color: var(--ink2); text-wrap: pretty; }

/* Body */
main { padding-block: 40px 64px; }
.doc { max-width: 68ch; }
.doc section + section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 5.6vw, 27px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
h3 { margin: 22px 0 6px; font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0 0 12px; text-wrap: pretty; }
ul { margin: 0 0 12px; padding-left: 1.2em; }
li { margin-bottom: 8px; }
li::marker { color: var(--ink2); }
strong { font-weight: 650; }

.note { margin-top: 4px; padding: 16px 18px; border-radius: 16px; background: var(--butter); }
.note p:last-child { margin-bottom: 0; }

.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 6px; }
.email { font-weight: 700; font-size: 18px; word-break: break-all; user-select: all; }
.copy { min-height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: 700 14px var(--text); cursor: pointer; }
.copy:active { transform: scale(.97); }

/* Support: Fridgey card */
.hello { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 22px; background: var(--wall); }
.hello img { width: 96px; }
.hello p { margin: 0; }
.hello .big { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 4px; }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 650; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 700 22px/1 var(--display); color: var(--ink2); transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 6px; color: var(--ink2); }

/* Footer */
.foot { padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--wall); text-align: center; }
.foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-weight: 650; font-size: 15px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover, .foot nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.foot p { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink2); }

@media (min-width: 760px) {
  .top { padding-block: 20px; }
  .title { padding-block: 48px 56px; }
  main { padding-block: 56px 88px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
