/* Stowsee — stowsee.com
   Palette from the product itself: kraft cardboard, packing tape, and the
   deep teal of the app icon. One typeface (Bricolage Grotesque), left-aligned.
*/
:root {
  --kraft: #E4CFA9;        /* page: cardboard */
  --kraft-deep: #C9AD7E;   /* box flap shading */
  --tape: #F1E6CF;         /* packing tape, label paper */
  --teal: #14212B;         /* ink, icon background */
  --iris: #0F3A40;         /* buttons, links */
  --cream: #E9F1F2;        /* text on teal */
  --tan: #D29A5B;          /* accent on teal */
  --measure: 62ch;
  --page: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--kraft);
  color: var(--teal);
  font-family: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--iris); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--iris); outline-offset: 3px; }

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-variation-settings: "opsz" 72; }
h3 { font-size: 1.25rem; }
p { margin: 0; max-width: var(--measure); text-wrap: pretty; }
p + p { margin-top: 0.9em; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--teal); text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.brand img { width: 40px; height: 40px; border-radius: 22%; }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; font-weight: 500; }
.top nav a:hover { text-decoration: underline; }
@media (max-width: 640px) { .top nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
  padding: clamp(32px, 6vw, 88px) 0 clamp(48px, 8vw, 112px);
}
.hero p.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-top: 24px; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 8px;
  font-weight: 700; text-decoration: none; font-size: 1rem; line-height: 1.2;
  border: 2px solid var(--iris);
}
.btn.primary { background: var(--iris); color: var(--cream); }
.btn.primary:hover { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.btn.quiet { color: var(--iris); background: transparent; }
.btn.quiet:hover { background: rgba(15, 58, 64, 0.08); color: var(--teal); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }

/* The one memorable thing: a Stowsee box label, stuck on a box flap with tape. */
.flap {
  position: relative; aspect-ratio: 5 / 4;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0 62%, rgba(0,0,0,0.08) 62.5% 63%, rgba(0,0,0,0) 63.5%),
    var(--kraft-deep);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(20,33,43,0.12), 0 24px 40px -24px rgba(20,33,43,0.5);
}
.flap::before {            /* box seam */
  content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 2px;
  background: rgba(20,33,43,0.18);
}
.label {
  position: absolute; left: 12%; right: 12%; top: 22%;
  background: var(--tape); color: var(--teal);
  padding: 22px 24px 20px; border-radius: 3px;
  transform: rotate(-2.2deg);
  box-shadow: 0 10px 22px -12px rgba(20,33,43,0.55);
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
}
.label::after {            /* strip of tape over the corner */
  content: ""; position: absolute; width: 38%; height: 26px; left: -6%; top: -14px;
  background: rgba(233,241,242,0.55); transform: rotate(-1deg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
}
.label img { width: clamp(84px, 12vw, 120px); height: auto; display: block; }
.label .name { font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.1; }
.label .path { margin-top: 6px; font-size: 0.95rem; color: rgba(20,33,43,0.75); }
.label .code { margin-top: 12px; font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; font-size: 1.2rem; letter-spacing: 0.08em; }

/* ---------- sections ---------- */
section { padding: clamp(40px, 7vw, 96px) 0; }
section > .wrap > h2 { max-width: 20ch; }
.intro { margin-top: 18px; font-size: 1.1rem; }

.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
  margin: 44px 0 0; padding: 0;
}
.steps li { list-style: none; padding-top: 18px; border-top: 3px solid var(--teal); }
.steps .n { font-weight: 800; font-size: 2.4rem; line-height: 1; }
.steps h3 { margin-top: 10px; }
.steps p { margin-top: 8px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); margin-top: 40px; }
.features dt { font-weight: 700; font-size: 1.2rem; }
.features dd { margin: 6px 0 0; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }

.panel { background: var(--teal); color: var(--cream); }
.panel a { color: var(--tan); }
.panel a:hover { color: var(--tape); }
.panel h2 { color: var(--tape); }
.panel .btn.quiet { color: var(--tape); border-color: var(--tape); }
.panel .btn.quiet:hover { background: rgba(241,230,207,0.12); color: var(--tape); }
.panel ul { margin: 24px 0 0; padding: 0; max-width: var(--measure); }
.panel li { list-style: none; padding: 12px 0; border-top: 1px solid rgba(233,241,242,0.18); }
.panel li:last-child { border-bottom: 1px solid rgba(233,241,242,0.18); }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 36px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.two h3 { margin-top: 28px; }
.two h3:first-child { margin-top: 0; }
.two p { margin-top: 8px; }

.status {
  display: inline-block; margin-top: 20px; padding: 10px 14px; border-radius: 6px;
  background: var(--tape); font-weight: 600;
}

/* ---------- footer ---------- */
footer { padding: 40px 0 56px; border-top: 2px solid rgba(20,33,43,0.2); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- long-form pages (privacy) ---------- */
.prose { padding: 24px 0 80px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.prose h2 { font-size: 1.5rem; margin-top: 44px; }
.prose p, .prose li { max-width: var(--measure); }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose .meta { margin-top: 12px; color: rgba(20,33,43,0.7); }
