/* Pawtrait landing page. Plain CSS, system fonts, no external requests. */
:root {
  --oat: #F3E9DA;
  --paper: #FBF6EC;
  --ink: #2A211B;
  --ink-soft: #4A3D33;
  --muted: #6B5A4C;
  --green: #1F4A3D;
  --clay: #B4472A;
  --clay-deep: #9E3D22;
  --gold: #C8A25A;
  --gold-deep: #8A6428;
  --walnut: #2B1D16;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--oat);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: #16352C; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 10;
  background: var(--ink);
  color: #FFFDF8;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.lede { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }

/* Header */
.site-header { padding: 14px 0; }
.header-row { display: flex; align-items: center; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.brand svg { color: var(--clay); flex-shrink: 0; }

/* Hero */
.hero {
  display: grid;
  gap: 40px;
  padding-top: 20px;
  padding-bottom: 64px;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero h1 {
  font-size: clamp(40px, 11vw, 76px);
  line-height: 1.02;
  letter-spacing: -1.5px;
}
.hero h1 em, .silly h2 em { color: var(--clay); }
.hero .lede { max-width: 520px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-small { font-size: 12px; letter-spacing: 0.3px; }
.store-big { font-size: 20px; font-weight: 700; }
.soon { font-size: 14px; color: var(--muted); margin-top: -6px; }

/* Gallery wall */
.wall {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  min-width: 0;
  padding: 0 14px 0 18px;
}
.frame-fig, .silly-fig { margin: 0; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.frame-fig figcaption, .silly-fig figcaption { font-size: 15px; color: var(--ink-soft); }
.frame-fig strong, .silly-fig strong {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
}
.silly-fig figcaption { color: #D9C8B2; }
.silly-fig strong { color: #F6EBDD; }

.frame-wrap { position: relative; }
.frame {
  padding: 10px;
  background: var(--gold);
  border-radius: 3px;
  box-shadow: 0 0 0 2px var(--gold-deep), 0 18px 36px rgba(42, 33, 27, 0.3);
}
.frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 2px solid #7A5520;
}

.inset {
  position: absolute;
  bottom: -14px;
  width: 36%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 5px solid #FFFDF8;
  border-radius: 2px;
  box-shadow: 0 8px 18px rgba(42, 33, 27, 0.35);
}
.inset-left { left: -14px; }
.inset-right { right: -12px; width: 32%; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45); }
.tilt-l5 { transform: rotate(-5deg); }
.tilt-l4 { transform: rotate(-4deg); }
.tilt-r3 { transform: rotate(3deg); }
.tilt-r4 { transform: rotate(4deg); }
.tilt-r5 { transform: rotate(5deg); }

/* Silly side */
.silly { background: var(--walnut); color: #F6EBDD; }
.silly-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  padding-top: 64px;
  padding-bottom: 72px;
  align-items: center;
}
.silly-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.silly .eyebrow { color: #E0B98A; }
.silly h2 { font-size: clamp(34px, 9vw, 54px); line-height: 1.06; letter-spacing: -1px; }
.silly h2 em { color: #F0A77E; }
.silly .lede { color: #D9C8B2; }
.silly-fig { padding-right: 12px; }
.silly-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

/* On the job */
.jobs .wrap { padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 36px; }
.jobs-copy { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.jobs h2 { font-size: clamp(32px, 8vw, 48px); line-height: 1.06; letter-spacing: -1px; }
.jobs h2 em { color: var(--clay); }
.jobs-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.job-fig { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.job-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(42, 33, 27, 0.22);
}
.job-fig figcaption { font-size: 15px; color: var(--ink-soft); }
.job-fig strong { display: block; font-family: var(--serif); font-size: 19px; color: var(--ink); }

/* The rest of the gallery, opened by its summary. No script. */
.more-looks summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  padding: 14px 26px;
  border-radius: 12px;
  background: var(--ink);
  color: #FFFDF8;
  font-weight: 700;
  font-size: 17px;
}
.more-looks summary::-webkit-details-marker { display: none; }
.more-looks summary:hover { background: #3b2f27; }
.more-looks[open] summary { margin-bottom: 36px; background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 12px 24px; }
.more-looks[open] summary::after { content: " (close)"; font-weight: 400; }

/* A portrait opened big: shown when its link is the page's target. */
.zoomable { display: block; cursor: zoom-in; }
.job-fig, .frame-fig, .silly-fig { scroll-margin-top: 24px; }
.zoom { display: none; }
.zoom:target {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 50;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: rgba(27, 18, 13, 0.94);
}
.zoom-back { position: absolute; inset: 0; cursor: zoom-out; }
.zoom-fig { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; pointer-events: none; }
.zoom-fig img {
  display: block;
  width: auto;
  max-width: min(94vw, 1100px);
  height: auto;
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.zoom-fig figcaption { color: #D9C8B2; font-size: 16px; text-align: center; }
.zoom-fig strong { display: block; font-family: var(--serif); font-size: 24px; color: #F6EBDD; }
.zoom-cta { color: #F6EBDD; font-weight: 700; font-size: 15px; border: 2px solid #F6EBDD; border-radius: 12px; padding: 10px 18px; text-align: center; }
.zoom-close { position: relative; color: #F6EBDD; font-weight: 700; padding: 10px 22px; }
.zoom-close:hover { color: #FFFFFF; }

/* Not only cats */
.pets { background: var(--paper); }
.pets .wrap { padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 36px; }
.pets h2 { font-size: clamp(32px, 8vw, 48px); line-height: 1.06; letter-spacing: -1px; }
.pets h2 em { color: var(--clay); }
.pets-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 22px; }
.pet-fig { margin: 0; display: flex; flex-direction: column; gap: 22px; min-width: 0; padding-right: 10px; scroll-margin-top: 24px; }
.pet-fig figcaption { font-size: 15px; color: var(--ink-soft); }
.pet-fig strong { font-family: var(--serif); font-size: 19px; color: var(--ink); }

/* How it works */
.how { background: #EADCC6; }
.how .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.how h2 { font-size: clamp(32px, 8vw, 48px); line-height: 1.06; letter-spacing: -1px; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.steps li {
  background: var(--paper);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--clay); }
.steps h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; }
.steps p { font-size: 16px; color: var(--ink-soft); }

/* Offer */
.offer { background: var(--green); color: #F6EBDD; }
.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding-top: 64px;
  padding-bottom: 72px;
  align-items: center;
}
.offer-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.offer .eyebrow { color: #E6C98F; }
.offer h2 { font-size: clamp(32px, 8.5vw, 52px); line-height: 1.06; letter-spacing: -1px; }
.offer .lede { color: #D5E0D6; }
.fine { font-size: 15px; color: #D5E0D6; }
.prices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.price {
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-label { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.price-amount { font-family: var(--serif); font-size: 56px; line-height: 1; font-weight: 500; }
.price p { font-size: 15px; color: var(--ink-soft); }

/* Marina */
.maker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.maker-photo {
  display: block;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border: 10px solid #FFFDF8;
  box-shadow: 0 16px 36px rgba(42, 33, 27, 0.2);
  transform: rotate(-2deg);
  justify-self: center;
}
.maker-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
blockquote { margin: 0; }
blockquote p {
  font-family: var(--serif);
  font-size: clamp(24px, 6.5vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.4px;
}
.sign { font-size: 16px; color: var(--ink-soft); }

/* Footer */
.site-footer { border-top: 1px solid #DCCBB2; }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  padding-top: 20px;
  padding-bottom: 32px;
  font-size: 15px;
}
.footer-note { flex-basis: 100%; order: 3; margin: 0; color: var(--muted); }
.footer-brand { font-family: var(--serif); font-size: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 8px; }
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--muted);
}
.site-footer nav a:hover { color: var(--ink); }

/* The store button. The app is in the App Store, so it is a filled button. The website button below is its outline twin. */
.get-app {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  padding: 8px 26px;
  border-radius: 12px;
  background: var(--ink);
  color: #FFFDF8;
  line-height: 1.15;
  text-decoration: none;
}
.get-app:hover { background: #3B2F27; color: #FFFDF8; }
.get-app-large { min-height: 68px; padding: 10px 34px; }
.get-app-large .store-small { font-size: 13px; }
.get-app-large .store-big { font-size: 24px; }
/* On the green offer the button is light, so it stands out. */
.offer .get-app { background: var(--paper); color: var(--ink); }
.offer .get-app:hover { background: #FFFFFF; color: var(--ink); }
/* The second way in: the studio on the website. An outline twin of the store button, so the store
   button stays first. The border sits inside the same height, so the two buttons line up. */
.get-web {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  padding: 6px 24px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  line-height: 1.15;
  text-decoration: none;
}
.get-web:hover { background: rgba(42, 33, 27, 0.06); color: var(--ink); }
.get-web.get-app-large { min-height: 68px; padding: 8px 32px; }
/* On the green offer the outline is light. */
.offer .get-web { border-color: #FFFDF8; background: transparent; color: #FFFDF8; }
.offer .get-web:hover { background: rgba(255, 253, 248, 0.12); color: #FFFFFF; }
.offer-get { display: flex; flex-wrap: wrap; gap: 12px; grid-column: 1 / -1; }
.offer .fine a { color: #FFFDF8; }
.offer .fine a:hover { color: #FFFFFF; }
/* The clay focus ring is lost on green. In the offer it is light. */
.offer a:focus-visible { outline-color: #FFFDF8; }
.header-get {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: auto;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFDF8;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-get:hover { background: #3B2F27; color: #FFFDF8; }
/* The brand and the link never touch, and both fit on the narrowest phones. */
.header-row { gap: 12px; }
@media (max-width: 359px) {
  .header-get { padding: 0 12px; font-size: 14px; }
}
/* The big view lets clicks fall through to its close layer. The link takes them back. */
a.zoom-cta { pointer-events: auto; background: #F6EBDD; color: var(--walnut); text-decoration: none; text-wrap: balance; }
a.zoom-cta:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--walnut); }
/* On a short screen the picture gives way, so the text and the link stay whole above Close. */
.zoom-fig img { flex: 0 1 auto; min-height: 0; object-fit: contain; }
.zoom-fig figcaption, .zoom-cta, .zoom-close { flex-shrink: 0; }
.site-footer nav a.footer-get { color: var(--ink); font-weight: 700; }

/* Wider screens */
@media (min-width: 480px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; padding-left: 18px; }
  .drop { margin-top: 36px; }
  .silly-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .silly-copy { grid-column: 1 / -1; max-width: 560px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:last-child { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .hero h1 { font-size: clamp(48px, 8vw, 64px); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li:last-child { grid-column: auto; }
  .maker { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; }
  .jobs-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .pets-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 26px; }
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; padding-top: 36px; padding-bottom: 88px; }
  .hero h1 { font-size: clamp(52px, 5.6vw, 76px); }
  .silly-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 26px; }
  .silly-copy { grid-column: 1 / -1; max-width: 640px; }
  .offer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}

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

/* Text pages: privacy, terms, support */
.doc { max-width: 760px; padding-top: 24px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.doc h1 { font-size: clamp(34px, 8vw, 52px); line-height: 1.08; letter-spacing: -1px; }
.doc h2 { font-size: clamp(24px, 5vw, 30px); line-height: 1.15; margin-top: 16px; }
.doc h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin-top: 8px; }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.doc p, .doc li { color: var(--ink-soft); overflow-wrap: anywhere; }
.doc strong { color: var(--ink); }
.doc .meta { font-size: 14px; color: var(--muted); margin-top: -6px; }

/* Payment pages: thanks, not-paid. The steps as plain rows, one under another at every width. */
.doc .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.doc .steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  align-items: start;
  padding: 20px;
}
.doc .steps .num { grid-row: 1 / span 2; font-size: 40px; }
.doc .steps h3 { margin-top: 0; font-size: 19px; color: var(--ink); }

/* The thank-you page after a card payment: one green disc with a drawn
   check, the same shape as the app's. It is not a paragraph, so the text
   colour of `.doc p` does not paint over the check. */
.paid-check {
  width: 64px;
  height: 64px;
  margin: 0 0 16px;
  border-radius: 50%;
  background: var(--green);
  color: #FFFDF8;
  display: flex;
  align-items: center;
  justify-content: center;
}
