/* Oak Street Digital holding page. Colours and type match the portal storefront (portal/app/globals.css). */
:root {
  color-scheme: light;
  --ivory: #f8f8f0;
  --paper: #fffef9;
  --ink: #142419;
  --muted: #556257;
  --line: #ccd3c6;
  --forest: #173522;
  --lime: #dafa78;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  background: var(--ivory); color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.55;
}
a { color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #668d40; outline-offset: 4px; }
h1, p { margin: 0; }
.shell { width: min(73rem, calc(100% - 2.5rem)); margin-inline: auto; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .shell { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font-size: 1.32rem; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; text-decoration: none; }
.wordmark span { font-weight: 500; }
.header-link { font-size: .92rem; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.header-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; color: white; background: #263429; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; object-position: center 55%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #111b15f5 0%, #111b15d9 25%, #121f16a6 50%, #14221918 100%); }
.hero-content { padding-block: clamp(4rem, 8vw, 7rem); animation: arrive .55s ease-out both; }
.hero-label { color: var(--lime); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 750; }
.hero h1 { margin-block: .85rem 1.3rem; font-size: clamp(3.75rem, 10vw, 8.25rem); font-weight: 750; letter-spacing: -.087em; line-height: .86; }
.hero-copy { max-width: 30rem; font-size: clamp(1.05rem, 2vw, 1.28rem); color: #f7faef; }
.button {
  display: inline-flex; min-height: 46px; width: fit-content; align-items: center; justify-content: center; gap: .8rem;
  margin-top: 1.5rem; border-radius: .35rem; padding: .6rem 1rem;
  background: var(--lime); color: var(--ink); font-weight: 700; text-decoration: none;
  transition: background-color .18s ease;
}
.button:hover { background: #edffa8; }
.hero-note { margin-top: 1.1rem; font-size: .92rem; color: #dfe6d6; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.site-footer .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding-block: 1.5rem; font-size: .9rem; color: var(--muted); }

.plain { display: grid; align-content: center; padding-block: clamp(4rem, 12vw, 8rem); }
.plain h1 { font-size: clamp(2rem, 6vw, 3.8rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.08; }
.plain p { margin-top: 1rem; color: var(--muted); max-width: 31rem; }
.plain .button { background: var(--forest); color: white; }
.plain .button:hover { background: #294c33; }

@media (max-width: 640px) {
  .hero::after { background: linear-gradient(180deg, #111b15b3 0%, #111b15e6 60%, #111b15f5 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero-content { animation: none; } }
@media (max-width: 520px) { .header-link { display: none; } }
