/* sewn.ink: the brand book's tokens and type (brand/index.html), with the fonts served from here. */
@font-face { font-family: "Cormorant Infant"; font-weight: 500; font-display: swap; src: url("fonts/cormorant-infant-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Infant"; font-style: italic; font-weight: 600; font-display: swap; src: url("fonts/cormorant-infant-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 400; font-display: swap; src: url("fonts/literata-latin-400-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ground: #EEF2EE;
  --paper: #FAFBF9;
  --ink: #232E28;
  --ink-soft: #56645B;
  --line-soft: #E6EBE6;
  --stitch: #B4BFB6;
  --poppy-strong: #B9472B;
  --poppy-text: #A03D24;
  --lupine: #5E72AE;
  --shadow: 0 1px 2px rgba(35, 46, 40, 0.06), 0 8px 24px rgba(35, 46, 40, 0.06);
  --display: "Cormorant Infant", Georgia, serif;
  --prose: "Literata", Georgia, "Times New Roman", serif;
  --ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(22px, 6vw, 72px);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--lupine); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.lockup svg { width: 30px; height: 30px; }
.lockup span { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 32px; line-height: 1; }
.quiet { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; font-weight: 500; text-decoration: none; }
.quiet:hover { background: var(--paper); }

.hero { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 18px; box-shadow: var(--shadow); padding: var(--pad) var(--pad) 0; overflow: hidden; }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 7.5vw, 80px); line-height: 1; margin: 0; max-width: 17ch; text-wrap: balance; }
.lede { font-family: var(--prose); font-size: clamp(18px, 2.1vw, 20px); line-height: 1.65; max-width: 50ch; margin: 24px 0 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 8px; background: var(--poppy-strong); color: #FFFFFF; font-weight: 500; text-decoration: none; transition: background-color 150ms ease; }
.btn:hover { background: var(--poppy-text); }
.invite { margin: 0; max-width: 40ch; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.grass { height: 50px; margin: 44px calc(-1 * var(--pad)) 0; background: url("grass.svg") center bottom / auto 50px repeat-x; }

.features { display: grid; gap: 28px; padding: 56px 0 8px; }
.features h2 { font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0 0 8px; }
.features p { margin: 0; max-width: 60ch; color: var(--ink-soft); }

footer { margin-top: 56px; padding: 20px 0 36px; background: repeating-linear-gradient(90deg, var(--stitch) 0 7px, transparent 7px 12px) top / 100% 2px no-repeat; font-size: 14px; color: var(--ink-soft); }

@media (min-width: 760px) {
  .wrap { padding: 0 32px; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
