/* PicaPosy — shared styles. No decorative graphics. */

:root {
  --bg: #f8f7f5;
  --ink: #1a3d2e;
  --muted: #4a6b5c;
  --faint: #7a9588;
  --line: #e6e2dc;
  --accent: #edd4c0;
  --accent-ink: #2d5a3d;
  --max-legal: 38rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

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

a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-ink);
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.4rem 0.7rem;
  background: var(--bg);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
  z-index: 10;
}

/* Wordmark */
.wordmark {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(3.25rem, 14vw, 5.75rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.wordmark a {
  color: inherit;
  text-decoration: none;
}

.wordmark a:hover {
  color: inherit;
}

/* Home — white-page quiet */
.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  min-height: 72vh;
}

.tagline {
  margin: 1.35rem 0 0;
  max-width: 26rem;
  font-size: clamp(1.12rem, 2.8vw, 1.32rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.lede {
  margin: 0.85rem 0 0;
  max-width: 20rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.cta-wrap {
  margin: 2.25rem 0 0;
}

.cta {
  display: inline-block;
  margin: 0;
  padding: 0.72rem 1.55rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: default;
}

.cta:disabled {
  opacity: 1;
  color: var(--ink);
}

.platform {
  margin: 1.1rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--faint);
}

/* Site chrome for inner pages */
.site-header {
  padding: 1.75rem 1.5rem 0;
  text-align: center;
}

.site-header .wordmark {
  font-size: clamp(2.1rem, 8vw, 2.75rem);
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2.25rem 1.5rem 2.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer nav {
  display: inline;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.sep {
  margin: 0 0.45rem;
  color: var(--faint);
}

/* Legal / 404 */
.legal,
.not-found {
  flex: 1;
  width: 100%;
  max-width: calc(var(--max-legal) + 3rem);
  margin: 0 auto;
  padding: 2.25rem 1.5rem 4rem;
}

.not-found {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.legal h1,
.not-found h1 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.effective {
  margin: 0.65rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal h2 {
  margin: 2.1rem 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}

.legal p,
.legal li {
  color: var(--ink);
}

.legal p {
  margin: 0 0 0.95rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

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

.legal address {
  font-style: normal;
}

.home-link {
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .home-main {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
  }

  .legal {
    padding-top: 2.75rem;
  }
}

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

/* Brand mark — user's flower-camera icon, unclipped */
.brand-mark {
  display: block;
  width: 7.25rem;
  height: 7.25rem;
  margin: 0 auto 1.35rem;
  object-fit: contain;
}

.home-main .brand-mark {
  width: clamp(6.5rem, 22vw, 8.5rem);
  height: clamp(6.5rem, 22vw, 8.5rem);
  margin-bottom: 1.6rem;
}

.site-header .brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
}

.site-header .brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
}

.site-header .wordmark {
  margin: 0;
}

.legal h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 550;
}

.legal code {
  font-size: 0.92em;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.15rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 0.45rem 0.6rem 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.legal th {
  color: var(--muted);
  font-weight: 500;
}

.quote {
  margin: 1.35rem 0 0;
  max-width: 22rem;
  font-size: 0.98rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
}


/* Peek */
.peek {
  flex: 1;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 4rem;
}

.peek h1 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.peek > .lede {
  max-width: 28rem;
  margin: 0.75rem 0 0;
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.steps li {
  flex: 1 1 14rem;
  margin: 0;
  padding: 1.2rem 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fffefb;
}

.step-num {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.steps h2 {
  margin: 0.4rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.peek-phones {
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.peek-phone {
  margin: 0;
  text-align: center;
}

.peek-phone-frame {
  border: 1px solid var(--line);
  border-radius: 1.45rem;
  overflow: hidden;
  background: #fff;
}

.peek-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.peek-phone figcaption {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (min-width: 720px) {
  .peek {
    max-width: 60rem;
  }

  .peek-phones {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .peek-phones {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 719px) {
  .steps {
    flex-direction: column;
  }

  .peek-phones {
    max-width: 18.5rem;
    margin-left: auto;
    margin-right: auto;
  }
}
