/* morrowfieldlabs.com: the same page system and colours as taptet.com and headernotes.com (grey page, white rounded
   cards, a blurred bar across the top, big centred headlines), and the same light/dark switch as wallhang.app. */
@font-face { font-family: "Inter"; src: url("fonts/Inter-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f5f5f7; --card: #ffffff; --card-2: #e8e8ed; --line-2: #d2d2d7; --hair: rgba(0, 0, 0, 0.08);
  --ink: #1d1d1f; --text: #424245; --dim: #6e6e73;
  --accent: #e2531f; --accent-rgb: 226, 83, 31; --link: #c2410c;
  --pill: #1d1d1f; --pill-ink: #ffffff; --pill-hover: #000000;
  --nav: rgba(250, 250, 252, 0.8); --nav-line: rgba(0, 0, 0, 0.08); --foot: #f5f5f7;
  --ember: #c2410c; --saffron: #8f5a00; --plum: #7a4fd6;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 28px; --col: 980px; --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
/* Dark: chosen with the switch in the top bar, and remembered. The site opens light. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --card: #1d1d1f; --card-2: #2c2c2e; --line-2: #424245; --hair: rgba(255, 255, 255, 0.1);
  --ink: #f5f5f7; --text: #d2d2d7; --dim: #a1a1a6;
  --accent: #ff6b3d; --accent-rgb: 255, 107, 61; --link: #ff8a63;
  --pill: #f5f5f7; --pill-ink: #000000; --pill-hover: #ffffff;
  --nav: rgba(22, 22, 23, 0.8); --nav-line: rgba(255, 255, 255, 0.08); --foot: #161617;
  --ember: #ff6b3d; --saffron: #f2a93b; --plum: #b388ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.47 var(--sans); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, .brand { font-family: var(--display); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(var(--accent-rgb), 0.3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--col), calc(100% - 44px)); margin: 0 auto; }
.nb { white-space: nowrap; }

/* Buttons */
.pill { display: inline-block; font-size: 17px; font-weight: 500; color: var(--pill-ink); background: var(--pill); padding: 12px 26px;
  border-radius: 999px; white-space: nowrap; transition: background 0.2s, transform 0.2s var(--ease); }
.pill:hover { background: var(--pill-hover); transform: scale(1.03); }
.pill.small { font-size: 12px; padding: 5px 12px; }
.more-link { color: var(--link); }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* The bar across the top */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav); border-bottom: 1px solid var(--nav-line);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav-in { width: min(var(--col), calc(100% - 44px)); margin: 0 auto; height: 52px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; margin-right: auto; white-space: nowrap; }
.brand svg { width: 24px; height: 24px; flex: none; }
.nav nav { display: flex; gap: 24px; font-size: 12px; }
.nav nav a { opacity: 0.8; transition: opacity 0.2s; }
.nav nav a:hover { opacity: 1; }
.theme { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent;
  color: var(--ink); opacity: 0.8; cursor: pointer; transition: opacity 0.2s, background 0.2s; }
.theme:hover { opacity: 1; background: var(--card-2); }
.theme svg { width: 17px; height: 17px; }
.theme .sun, :root[data-theme="dark"] .theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; }
@media (max-width: 640px) { .nav nav { display: none; } .nav-in { gap: 14px; } .brand { font-size: 19px; } }

/* The hero */
.stage { padding: clamp(56px, 9vw, 110px) 0 0; text-align: center; }
.soon { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--hair); font-size: 13px; font-weight: 500; color: var(--text); }
.soon .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { margin: 0; font-weight: 600; font-size: clamp(36px, 4.7vw, 56px); line-height: 1.07; letter-spacing: -0.02em; text-wrap: balance; }
.lede { margin: 12px auto 0; max-width: 620px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.38; font-weight: 600; letter-spacing: -0.012em; text-wrap: pretty; }
.stage .fine { margin: 14px auto 0; max-width: 560px; font-size: 15px; color: var(--dim); text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; margin: 30px 0 0; }

/* Sections */
.section { padding: clamp(84px, 11vw, 150px) 0 0; }
h2 { margin: 0 0 clamp(24px, 3.4vw, 40px); font-weight: 600; font-size: clamp(24px, 3.75vw, 42px); line-height: 1.07; letter-spacing: -0.02em;
  text-align: center; text-wrap: balance; }
h2 + .intro { margin: calc(-1 * clamp(10px, 2vw, 22px)) auto clamp(24px, 3.4vw, 40px); max-width: 560px; text-align: center; color: var(--dim); font-size: 19px; }
h3 { margin: 0 0 10px; font-size: clamp(21px, 2.1vw, 24px); font-weight: 600; line-height: 1.17; letter-spacing: -0.012em; text-wrap: balance; }
.label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--tone, var(--ink)); }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.t-ember { --tone: var(--ember); } .t-plum { --tone: var(--plum); } .t-saffron { --tone: var(--saffron); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.card p { margin: 0 0 14px; color: var(--dim); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .card { padding: 30px; } }

/* App cards: the whole card is the link to that app's own site. */
a.app { transition: transform 0.3s var(--ease), box-shadow 0.3s; }
a.app:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--hair), 0 24px 50px -24px rgba(0, 0, 0, 0.35); }
.app-icon { width: 64px; height: 64px; margin: 0 0 26px; border-radius: 14px; }
.app .label { margin-bottom: 10px; }
.app p { margin-bottom: 26px; }
.app-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 6px 14px; font-size: 14px; }
.app-foot span { color: var(--dim); }
.app-foot b { font-weight: 500; color: var(--link); white-space: nowrap; }
a.app:hover .app-foot b { text-decoration: underline; text-underline-offset: 3px; }

/* The closing statement */
.statement { text-align: center; }
.statement p { margin: 0 auto; max-width: 780px; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.2;
  letter-spacing: -0.018em; text-wrap: balance; }
.statement .cta { margin-top: 34px; }

/* Footer */
.foot { margin-top: clamp(84px, 11vw, 150px); padding: 22px 0 28px; background: var(--foot); border-top: 1px solid var(--nav-line); font-size: 12px; color: var(--dim); }
.foot p { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text); }
.foot nav a:hover { text-decoration: underline; }

/* Motion: sections rise into place as they scroll in. */
.js .rise { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .pill:hover, a.app:hover { transform: none; }
}

/* Simple pages: privacy and the not-found page. */
.page { padding: clamp(48px, 8vw, 90px) 0 0; }
.page-head { text-align: center; margin-bottom: 36px; }
.page-head .fine { margin: 12px 0 0; font-size: 15px; color: var(--dim); }
.sheet { width: min(760px, calc(100% - 44px)); margin: 0 auto; background: var(--card); border-radius: var(--radius); padding: clamp(26px, 5vw, 48px); }
.sheet h2 { margin: 34px 0 8px; font-size: 21px; line-height: 1.2; text-align: left; letter-spacing: -0.01em; }
.sheet h2:first-child { margin-top: 0; }
.sheet p, .sheet li { margin: 0 0 12px; color: var(--text); }
.sheet ul { margin: 0 0 12px; padding-left: 22px; }
.sheet a, .page-head a { color: var(--link); }
.sheet a:hover, .page-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
