/* Pictloom marketing site. Cool slate, square edges, self-hosted type. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-600.woff2") format("woff2");
}

:root {
  --bg: #e8eef2;
  --ink: #13202c;
  --ink-soft: #243646;
  --muted: #314050;
  --line: #c9d5de;
  --accent: #1c5f73;
  --navy: #142433;
  --paper: #f4f8f9;
  --mist: #d7e6ec;
  --on-navy: #f4f8f9;
  --on-navy-soft: #d5e1e8;
  --header-offset: 88px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure,
blockquote,
address {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

a {
  color: #164e5f;
}

a:visited {
  color: #164e5f;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: #1c5f73;
  color: var(--paper);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  background: var(--navy);
  color: var(--paper);
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  min-height: 72px;
}

.wordmark {
  margin-right: auto;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:visited {
  color: var(--ink);
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none;
}

.nav-button {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.when-open {
  display: none;
}

.nav-toggle:focus-visible + .nav-button {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 0;
  font-size: 1rem;
}

.site-nav a:visited {
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.nav-privacy {
  margin-left: 0.35rem;
  padding-left: 1.05rem;
  border-left: 1px solid var(--line);
}

.hero {
  padding: 56px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.78fr);
  gap: 56px;
  align-items: start;
}

.kicker {
  margin: 0 0 14px;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero .kicker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero .kicker::after {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  max-width: 11em;
  font-size: clamp(2.55rem, 4.7vw, 4.05rem);
  line-height: 1.08;
}

.lead {
  max-width: 38rem;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.action:visited {
  color: var(--paper);
}

.action:hover {
  background: #1c3144;
}

.action-quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #5d7384;
}

.action-quiet:visited {
  color: var(--ink);
}

.action-quiet:hover {
  background: rgba(20, 36, 51, 0.05);
}

.hero-mail {
  margin-top: 18px;
  color: var(--ink-soft);
}

.spec {
  background: var(--navy);
  color: var(--on-navy);
  padding: 26px 26px 8px;
}

.spec-kicker {
  margin: 0 0 6px;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d5e6ee;
}

.spec div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.9fr) 1.2fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(244, 248, 249, 0.18);
}

.spec dt {
  color: #c5d5df;
}

.spec dd {
  margin: 0;
  color: var(--on-navy);
  font-weight: 600;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 28px;
}

.section-head .kicker,
.section-head h2 {
  margin: 0;
}

.section-head h2 {
  max-width: 16em;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.section-lead {
  max-width: 42rem;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}

.stack p + p {
  margin-top: 1rem;
}

.stack p,
.notes li,
.use-case p,
.step p,
.who-grid p,
.section-lead,
.caption,
.checks li,
.tips li,
.legal-article p,
.legal-article li,
.faq-list p,
.expect p,
.contact-copy p {
  color: var(--ink-soft);
}

.notes h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.note-block + .note-block {
  margin-top: 26px;
}

.notes ul,
.checks,
.tips,
.steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.notes li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.use-case {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) minmax(180px, 240px);
  gap: 24px 28px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.use-num,
.step-num {
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.use-num {
  margin-top: 2px;
  font-size: 1.15rem;
}

.use-case h3,
.step h3,
.who-grid h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.use-case p,
.step p,
.who-grid p {
  margin: 0;
}

.sketch {
  margin: 0;
}

.sketch svg {
  display: block;
  width: 100%;
  background: var(--mist);
}

.sketch figcaption {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.step {
  padding-top: 16px;
  border-top: 2px solid var(--navy);
}

.step-num {
  display: block;
  margin-bottom: 10px;
  font-size: 1.75rem;
}

.steps-note {
  max-width: 42rem;
  margin-top: 28px;
  color: var(--ink-soft);
}

.band {
  background: var(--navy);
  color: var(--on-navy);
  padding: 72px 0;
}

.band .kicker,
.band h2,
.band h3 {
  color: var(--on-navy);
}

.band .kicker {
  color: #d5e6ee;
}

.band p {
  color: var(--on-navy-soft);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.who-grid article {
  padding-top: 16px;
  border-top: 1px solid rgba(244, 248, 249, 0.28);
}

.tips {
  max-width: 44rem;
  margin: 0 0 36px;
  padding-left: 1.25rem;
  list-style: decimal;
}

.tips li {
  margin-top: 10px;
  padding-left: 6px;
}

.tips li::marker {
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600;
  color: var(--accent);
}

.brief-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: start;
}

.sample {
  margin: 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.55;
}

.sample + .kicker,
.caption + .kicker {
  margin-top: 28px;
}

.caption {
  max-width: 42rem;
  margin-top: 14px;
  font-size: 0.98rem;
}

.checks {
  margin-top: 12px;
  padding-left: 1.15rem;
  list-style: disc;
}

.checks li + li {
  margin-top: 8px;
}

.expect {
  display: grid;
  gap: 16px;
  max-width: 42rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 16px 0;
  cursor: pointer;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent);
}

.faq-list details[open] summary::after {
  content: "\2013";
}

.faq-list details p {
  max-width: 65ch;
  margin: 0 0 18px;
}

.contact-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
}

.email-display {
  display: inline-block;
  margin-top: 8px;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  overflow-wrap: anywhere;
}

.email-display:visited {
  color: var(--ink);
}

.contact-copy p + p {
  margin-top: 12px;
}

.site-footer {
  padding: 48px 0 36px;
  border-top: 2px solid var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.footer-name {
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.footer-name:visited {
  color: var(--ink);
}

.footer-lead {
  max-width: 28rem;
  margin-top: 10px;
  color: var(--ink-soft);
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 4px;
}

.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
}

.footer-nav a:visited {
  color: var(--ink-soft);
}

.footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-meta a {
  color: var(--ink);
  font-weight: 600;
}

.fine {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.page {
  padding: 48px 0 80px;
}

.page h1 {
  max-width: 14em;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
}

.page-intro {
  max-width: 40rem;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.legal-article {
  max-width: 42rem;
}

.draft-note {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
}

.legal-article h2 {
  margin: 2.1rem 0 0.35rem;
  font-size: 1.4rem;
}

.legal-article p,
.legal-article li {
  margin-top: 0.75rem;
}

.legal-article ul,
.legal-article ol {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.legal-article li + li {
  margin-top: 0.35rem;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
}

.page-links a {
  font-weight: 600;
}

@media (min-width: 981px) {
  .nav-toggle {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-button {
    display: inline-flex;
  }

  .nav-toggle:checked ~ .nav-button .when-closed {
    display: none;
  }

  .nav-toggle:checked ~ .nav-button .when-open {
    display: inline;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 14px;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav-privacy {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .hero {
    padding: 36px 0 48px;
  }

  .hero-grid,
  .prose-grid,
  .section-head,
  .brief-layout,
  .contact-block,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 8px;
  }

  .section {
    padding: 56px 0;
  }

  .band {
    padding: 56px 0;
  }
}

@media (max-width: 800px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .steps,
  .who-grid,
  .use-case {
    grid-template-columns: 1fr;
  }

  .use-case {
    gap: 12px;
  }

  .sketch {
    max-width: 360px;
  }

  .footer-nav a {
    padding: 8px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: #5d7384;
    --ink-soft: #13202c;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .nav-toggle,
  .nav-button,
  .skip-link {
    display: none !important;
  }

  .site-nav {
    display: flex !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .band,
  .spec,
  .action {
    background: #fff;
    color: #000;
  }

  .band h2,
  .band h3,
  .band p,
  .band .kicker,
  .spec,
  .spec dt,
  .spec dd,
  .spec-kicker,
  .action,
  .action:visited {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
