/* Appstackly studio site: the Linen look of oliveshoots.family (2026-10-29),
   in blue on stone. The layout follows oliveshoots/web-marketing/src/pages/landing/
   linen.css, so the studio and its flagship read as one house: a page of
   rounded panels inset 8px, Fraunces headings with one italic phrase, and
   Figtree text. Where Olive Shoots uses greens, the studio uses blues from its
   iOS-blue mark. index.html and 404.html share this file. When you change it,
   bump the ?v= on both links, because Firebase lets browsers keep a CSS file
   for an hour. */

/* Self-hosted, so the page makes no request to a font service. Latin only,
   from the @fontsource-variable packages that Olive Shoots uses (OFL, see
   fonts/*-OFL.txt). Fraunces sets its optical size from the font size. */
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/fraunces-latin-opsz-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/fraunces-latin-opsz-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Figtree Variable";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-latin-wght-normal.woff2) format("woff2");
}

/* The palette: neutral Stone grounds (page, panel, paper), and blues in place
   of the Olive Shoots greens. Navy for the dark panel, Mist for the support panel,
   a deep blue for italic phrases, sky blue for accents on navy, and the mark's
   blues for the dots and the buttons. Contrast: muted text 6.1:1 on a panel and
   5.3:1 on the page, the deep blue 7.6:1 on a panel, sky blue 8.8:1 on navy.
   --panel-rgb, --shade and --on-dark-rgb are "r g b" triplets for alpha use. */
:root {
  --serif: "Fraunces Variable", Georgia, "Times New Roman", serif;
  --sans: "Figtree Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --page: #e3e3df;
  --panel: #f3f3f0;
  --panel-rgb: 243 243 240;
  --paper: #fafaf8;
  --mist: #dde6ef;
  --ink: #172130;
  --dark: #102137;
  --muted: #555b66;
  --line: #d5d5cf;
  --accent: #007aff;
  --deep: #224d87;
  --sky: #8cc4ff;
  --shade: 16 33 55;
  --on-dark: #f3f3f0;
  --on-dark-rgb: 243 243 240;
  /* The mark's darker blue. White text on it is 5.9:1; the mark's brighter
     #007aff is only 4.0:1, too low for button text. */
  --cta: #0a5fd0;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection {
  background: var(--mist);
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p,
ol,
figure {
  margin: 0;
}
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.04;
}
:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 500 14px/1 var(--sans);
}
.skip:focus {
  top: 16px;
}

/* ---- Page and panels ---- */
.page,
.stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page {
  min-height: 100vh;
  padding: 8px;
}
.panel {
  position: relative;
  border-radius: 22px;
  background: var(--panel);
  padding: 96px clamp(24px, 5vw, 72px);
  /* Section links land below the pinned nav. */
  scroll-margin-top: 84px;
}
.panel--paper {
  background: var(--paper);
}
.panel--dark {
  background: var(--dark);
  color: var(--on-dark);
}
.panel--mist {
  background: var(--mist);
}
.inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* The kicker above a heading: uppercase is CSS, the words stay sentence case. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font: 600 11px/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow--light {
  color: rgb(var(--on-dark-rgb) / 0.7);
}
.eyebrow--light::before {
  background: var(--sky);
}

/* ---- Buttons and links ---- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font: 500 14px/1 var(--sans);
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.pill:hover {
  opacity: 0.88;
}
.pill--cta {
  background: var(--cta);
  color: #fff;
}
.pill--line {
  border: 1px solid rgb(var(--shade) / 0.3);
  color: var(--ink);
}
.pill--lg {
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.textlink {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.textlink:hover {
  color: var(--deep);
}

/* ---- Logo ---- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 22px/1 var(--serif);
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
}
.logo--sm {
  gap: 9px;
  font-size: 19px;
}

/* ---- Nav: a frosted bar pinned to the top of the page ---- */
.nav {
  position: sticky;
  top: 8px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 11px 12px 11px 20px;
  border-radius: 16px;
  background: rgb(var(--panel-rgb) / 0.93);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 30px -14px rgb(var(--shade) / 0.3);
  font: 500 14px/1 var(--sans);
}
.nav .logo {
  margin-inline-end: auto;
}
.nav__links {
  display: flex;
  gap: 26px;
}
.nav__links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- Hero ---- */
.hero {
  padding-top: 104px;
  padding-bottom: 80px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px 56px;
  align-items: end;
}
.hero__title {
  font-size: clamp(50px, 6vw, 98px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero__title em {
  display: block;
  color: var(--deep);
}
.hero__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 8px;
}
.hero__side > p:first-child {
  max-width: 470px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}
.note {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 13px/1.4 var(--sans);
  color: var(--muted);
}
.note img {
  border-radius: 6px;
}
.note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.note a:hover {
  color: var(--ink);
}

/* ---- Olive Shoots, the app on sale ---- */
.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px 64px;
  align-items: end;
}
.app-id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.app-id img {
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 18px -8px rgb(var(--shade) / 0.55);
}
.app-id__name {
  font: 400 24px/1.1 var(--serif);
  letter-spacing: -0.01em;
}
.app-id__kind {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--muted);
}
.feature__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.feature__side > p:first-child {
  max-width: 500px;
  color: var(--muted);
}
.price {
  font-size: 16px;
  color: var(--muted);
}
.price strong {
  font-weight: 600;
  color: var(--ink);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badges a {
  display: inline-flex;
  line-height: 0;
  border-radius: 7px;
}
.badges img {
  display: block;
}

/* The felt kitchen beside the real home screen. The picture keeps its own
   shape, and the screen's tile stretches to match it. */
.gallery {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 8px;
  margin-top: 64px;
}
.gallery__art {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
}
.gallery__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bottom-aligned like the Olive Shoots hero: the dog and his bowl stand
     near the bottom edge of the picture. */
  object-position: 60% 100%;
}
.gallery__screen {
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 40px);
  border-radius: 16px;
  background: var(--page);
}
.tablet {
  width: 100%;
  padding: 8px;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 24px 50px -24px rgb(var(--shade) / 0.5);
}
.tablet img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

/* ---- Two columns: an intro beside its content ---- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px 72px;
}
.split__intro > p:last-child {
  max-width: 420px;
  margin-top: 22px;
  color: var(--muted);
}

/* ---- On the workbench: the apps that are not out yet, as an index ---- */
.index__row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 8px 20px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.index__row:last-child {
  border-bottom: 1px solid var(--line);
}
.index__num {
  font: 300 30px/1 var(--serif);
  color: var(--deep);
}
.index__row h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
}
.index__row p {
  max-width: 500px;
  margin-top: 8px;
  font-size: 16px;
  color: var(--muted);
}
.tag {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 600 10px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

/* ---- Our way: three numbered promises on navy ---- */
.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.ways li {
  padding-top: 26px;
  border-top: 1px solid rgb(var(--on-dark-rgb) / 0.22);
}
.ways__num {
  display: block;
  font: 300 44px/1 var(--serif);
  color: var(--sky);
}
.ways h3 {
  margin-top: 22px;
  font-size: 28px;
  line-height: 1.2;
}
.ways p {
  margin-top: 12px;
  font-size: 16px;
  color: rgb(var(--on-dark-rgb) / 0.75);
}
.panel--dark h2 em {
  color: var(--sky);
}

/* ---- About: the founder's note ---- */
.about__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 34px;
  color: var(--muted);
}
.about__sign {
  margin-top: 6px;
  font: italic 300 26px/1.2 var(--serif);
  color: var(--ink);
}

/* ---- Support, on Mist ---- */
.support__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 56px;
}
.support__inner p:last-child {
  max-width: 460px;
  margin-top: 18px;
  color: var(--muted);
}

/* ---- Footer, on the page ---- */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 26px 28px 30px;
  font-size: 13px;
  color: var(--muted);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer__nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- 404 ---- */
.lost {
  display: grid;
  flex: 1;
  place-items: center;
  text-align: center;
}
.lost__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lost .eyebrow {
  margin-top: 56px;
}
.lost h1 {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.lost h1 em {
  color: var(--deep);
}
.lost p:not(.eyebrow) {
  max-width: 440px;
  margin-top: 20px;
  color: var(--muted);
}
.lost .pill {
  margin-top: 34px;
}

/* ---- Narrow ---- */
@media (max-width: 940px) {
  .nav__links {
    display: none;
  }
  .hero__grid,
  .feature,
  .split {
    grid-template-columns: 1fr;
  }
  .hero__grid {
    gap: 36px;
  }
  .ways {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 48px;
  }
  .about__body {
    padding-top: 6px;
  }
}

/* ---- Phone ---- */
@media (max-width: 760px) {
  .panel {
    padding: 64px 22px;
    border-radius: 18px;
  }
  .hero {
    padding-top: 72px;
    padding-bottom: 56px;
  }
  .nav {
    padding: 9px 9px 9px 16px;
  }
  .logo {
    font-size: 20px;
  }
  .gallery {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }
  .gallery__art {
    aspect-ratio: 4 / 3;
  }
  .index__row {
    grid-template-columns: 44px 1fr;
    padding: 24px 0;
  }
  .index__num {
    font-size: 24px;
  }
  .tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }
  .support__inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer {
    flex-direction: column;
    text-align: center;
  }
}
