/* Stashloop website. Apricot palette from the brand sheet; no external fonts, scripts or trackers. */
@font-face {
  font-family: "Outfit";
  src: url("/assets/outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #FCF8F5;
  --surface: #FFFFFF;
  --text: #2A1D19;
  --muted: #7A6A63;
  --line: #EFE5DF;
  --apricot: #F9D8C5;
  --espresso: #3A2520;
  --sunset: #C2643F; /* darker than the app's Sunset so links pass contrast on cream */
  --display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1F1512;
    --surface: #2A1E1A;
    --text: #F6EEE9;
    --muted: #B9A9A1;
    --line: #3A2C27;
    --sunset: #F0A98A;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--body);
}
a { color: var(--sunset); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sunset); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

/* Header and footer */
.site-header { padding-block: 22px; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand img { height: 26px; width: auto; display: block; }
.brand .on-dark { display: none; }
@media (prefers-color-scheme: dark) { .brand .on-light { display: none; } .brand .on-dark { display: block; } }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.site-footer { margin-top: 64px; padding-block: 28px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; line-height: 1.2; }
h1 { font-size: clamp(32px, 6vw, 46px); margin: 0 0 12px; }
h2 { font-size: 24px; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { max-width: 66ch; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.meta { color: var(--muted); font-size: 14px; }

/* Home */
.hero { padding-block: 56px 24px; display: grid; gap: 28px; }
.hero-icon { width: 88px; height: 88px; border-radius: 22px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--espresso); color: #FCF8F5; font-weight: 600; text-decoration: none; }
@media (prefers-color-scheme: dark) { .badge { background: var(--apricot); color: var(--espresso); } }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.feature h3 { margin-top: 0; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 8px; }

/* Documents */
.doc { padding-block: 40px 8px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 20px 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; margin: 12px 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--apricot); color: var(--espresso); font: 600 13px/26px var(--body); text-align: center;
}
.mail { font-weight: 600; user-select: all; }

/* Placeholders that must be filled in before publishing */
mark { background: #FFE08A; color: #2A1D19; padding: 0 4px; border-radius: 4px; }
