/* picklecast.tv - implemented from the Claude Design canvas (landing 1a / mobile 2c, auth 2a-2b, legal 2d, product 3d).
   Desktop layouts are authored in rem at 16px = 1280px wide, and html font-size scales the whole 1280 grid down
   between 900px and 1280px. Below 900px the mobile layout takes over at a fixed 16px. */

:root {
  --cream: #f8ecd3;
  --brown: #3b1d12;
  --red: #c8342b;
  --orange: #e6621e;
  --yellow: #f2a81e;
  --muted: #5a3a2c;
  --sand: #e4d3b6;
}

html { font-size: min(16px, 1.25vw); }
@media (max-width: 899px) { html { font-size: 16px; } }

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: Geist, system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.display { font-family: Shrikhand, serif; font-weight: 400; line-height: 1.02; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 700; }

.page { position: relative; width: 80rem; max-width: 100%; margin: 0 auto; overflow: hidden; }

/* header / footer */
.hdr { display: flex; align-items: center; justify-content: space-between; padding: 1.375rem 3.5rem; position: relative; z-index: 2; }
.wordmark { font-family: Shrikhand, serif; font-size: 1.5rem; letter-spacing: .01em; text-decoration: none; }
.hdr nav { display: flex; align-items: center; gap: .875rem; }
.foot { background: var(--brown); color: var(--cream); padding: 3rem 3.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .875rem; position: relative; z-index: 2; }
.foot small { letter-spacing: .08em; font-size: .75rem; font-weight: 600; }
.foot nav { display: flex; gap: 2.5rem; }
.foot a { color: var(--cream); text-decoration: none; }

/* buttons */
.btn {
  display: inline-block; text-decoration: none; text-align: center; color: var(--brown); background: var(--yellow);
  border: 2px solid var(--brown); border-radius: .5rem; padding: .6875rem 1.375rem; box-shadow: 3px 3px 0 var(--brown);
  font: 700 .8125rem/1.2 Geist, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--brown); color: var(--brown); }
.btn--lg { padding: .9375rem 1.375rem; font-size: .875rem; width: 100%; }
.stores { display: flex; gap: .875rem; flex-wrap: wrap; }
.store { display: flex; align-items: center; gap: .625rem; text-decoration: none; background: var(--brown); color: var(--cream); border-radius: .625rem; padding: .625rem 1.125rem; min-width: 10.625rem; box-shadow: 3px 3px 0 var(--red); line-height: 1.1; }
.store:hover { background: #1b1410; }
.store svg { width: 1.625rem; height: 1.625rem; fill: var(--cream); flex: none; }
.store b { display: block; font-size: 1.125rem; font-weight: 700; }
.store small { display: block; font-size: .625rem; font-weight: 600; letter-spacing: .08em; }
.badge { display: inline-block; align-self: flex-start; font-family: "Geist Mono", ui-monospace, monospace; font-weight: 700; font-size: .75rem; letter-spacing: .12em; background: var(--brown); color: var(--cream); padding: .375rem .625rem; border-radius: .375rem; }

/* decorations */
.stripe { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.stripe svg { position: absolute; top: 0; left: 0; width: 100%; height: auto; display: block; }
.stripe path { fill: none; }
.bands { display: flex; flex-direction: column; }
.bands i { display: block; height: 1.75rem; }
.bands i:nth-child(1) { background: var(--red); }
.bands i:nth-child(2) { background: var(--orange); }
.bands i:nth-child(3) { background: var(--yellow); }
.ball {
  position: absolute; border-radius: 50%; background: var(--yellow); border: 3px solid var(--brown);
  box-shadow: inset -4px -4px 0 var(--orange); background-image: radial-gradient(var(--brown) 2px, transparent 2.5px); background-size: 9px 9px;
  animation: fly var(--dur, 3s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes fly { from { transform: none; } to { transform: translate(18px, -26px) rotate(140deg); } }
@media (prefers-reduced-motion: reduce) { .ball { animation: none; } }

/* device frames */
.ipad { filter: drop-shadow(12px 12px 0 var(--brown)); }
.ipad > div { background: linear-gradient(160deg, #b6b1ab, #6e6a66 40%, #9a958f 70%, #5c5854); border-radius: 1.5625rem; padding: .25rem; }
.ipad > div > div { position: relative; background: #0b0b0c; border-radius: 1.3125rem; padding: 1rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.ipad img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .625rem; }
.ipad > div > div::after { content: ""; position: absolute; top: .375rem; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #1d2a3a; box-shadow: 0 0 0 1px #2a2a2a; }
.ipad--sm > div { border-radius: .9375rem; padding: .125rem; }
.ipad--sm > div > div { border-radius: .8125rem; padding: .625rem; }
.ipad--sm img { border-radius: .375rem; }
.ipad--sm > div > div::after { top: .1875rem; }
.pod { aspect-ratio: 15/13; border-radius: 1.125rem; overflow: hidden; background: #3a3a3a; border: 3px solid var(--brown); box-shadow: 8px 8px 0 var(--brown); }
.pod img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- landing ---------- */
.hero { position: relative; height: 51.25rem; }
.hero-copy { position: absolute; left: 46.25rem; top: 18.125rem; width: 30.25rem; display: flex; flex-direction: column; gap: 1.375rem; }
.hero-copy h1 { font-size: 4.25rem; }
.hero-copy p { font-size: 1.1875rem; line-height: 1.45; text-wrap: pretty; }
.hero-logo { position: absolute; z-index: 4; pointer-events: none; left: 18.0625rem; top: 23.9375rem; width: 19.625rem; height: 19.625rem; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 4rem 3.5rem 2.5rem 18.75rem; }
.feature { display: flex; flex-direction: column; gap: .625rem; border-top: .375rem solid var(--red); padding-top: 1.125rem; }
.feature:nth-child(2) { border-color: var(--orange); }
.feature:nth-child(3) { border-color: var(--yellow); }
.feature h3 { font-size: 1.625rem; font-weight: 700; letter-spacing: -.01em; }
.feature p, .step p { font-size: 1.0625rem; line-height: 1.5; color: var(--muted); }
.how { padding: 4.5rem 3.5rem 1.5rem 18.75rem; }
.how h2 { font-size: 2.75rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; padding: 0 3.5rem 3.5rem 18.75rem; }
.step { display: flex; flex-direction: column; gap: .75rem; }
.step .n { font-family: Shrikhand, serif; font-size: 2.5rem; line-height: 1; color: var(--red); }
.step:nth-child(2) .n { color: var(--orange); }
.step:nth-child(3) .n { color: #b8790a; }
.step h3 { font-size: 1.375rem; font-weight: 700; }
.step p { font-size: 1rem; }
.shots { display: flex; gap: 1.5rem; padding: 0 3.5rem 3.5rem 18.75rem; align-items: flex-end; }
.shots .ipad { width: 35rem; flex: none; }
.shots .ipad--sm { width: 21.25rem; }
.podsec { display: grid; grid-template-columns: 26.25rem 1fr; gap: 3rem; align-items: center; padding: 0 3.5rem 1.5rem 18.75rem; }
.podsec .pod { width: 26.25rem; }
.podsec > div:last-child { display: flex; flex-direction: column; gap: .75rem; }
.podsec h2 { font-size: 2.5rem; }
.podsec p { font-size: 1.0625rem; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.podsec .btn { align-self: flex-start; }
.tail-space { height: 12.875rem; }
.stripe--m, .mobile-shot, .bands--m { display: none; }

@media (max-width: 899px) {
  .page { width: 100%; }
  .hdr { padding: 18px 20px; }
  .wordmark { font-size: 20px; }
  .hdr .btn { padding: 9px 14px; font-size: 12px; box-shadow: 2px 2px 0 var(--brown); }
  .hdr nav .btn:not(:first-child) { display: none; }
  .stripe--d, .tail-space, .shots { display: none; }
  .stripe--m { display: block; }
  .hero { height: auto; }
  .hero::before { content: ""; display: block; aspect-ratio: 390/500; }
  .hero-logo { left: 11.3vw; top: 67.2vw; width: 48.7vw; height: auto; }
  .hero-copy { position: static; width: auto; max-width: 350px; padding: 0 20px 40px; gap: 22px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy p { font-size: 17px; }
  .stores { flex-direction: column; align-items: flex-start; gap: 12px; }
  .store { min-width: 0; padding: 10px 16px; }
  .store svg { width: 24px; height: 24px; }
  .store b { font-size: 16px; } .store small { font-size: 9px; }
  .features { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px 40px; max-width: 350px; }
  .feature { border-top-width: 6px; padding-top: 14px; }
  .feature h3 { font-size: 22px; }
  .feature p { font-size: 16px; }
  .mobile-shot { display: block; padding: 0 20px 48px; }
  .mobile-shot img { width: 100%; border-radius: 14px; box-shadow: 5px 5px 0 var(--brown); }
  .how { padding: 8px 20px 20px; }
  .how h2 { font-size: 36px; }
  .steps { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 48px; max-width: 350px; }
  .podsec { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 48px; }
  .podsec .pod { width: 100%; }
  .podsec h2 { font-size: 34px; }
  .bands--m { display: flex; }
  .bands--m i { height: 18px; }
  .foot { flex-direction: column-reverse; align-items: flex-start; gap: 18px; padding: 36px 20px; font-size: 13px; }
  .foot nav { gap: 28px; }
  .foot small { font-size: 11px; }
  .ball--d { display: none; }
}
@media (min-width: 900px) { .ball--m { display: none; } }

/* ---------- product ---------- */
.intro { padding: 4rem 3.5rem 1.5rem; display: flex; flex-direction: column; gap: .875rem; max-width: 47.5rem; }
.intro h1 { font-size: 4rem; }
.intro p, .row p { font-size: 1.1875rem; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 3rem 3.5rem; }
.row--flip > :first-child { order: 2; }
.row .ipad, .row .pod { width: 35rem; max-width: 100%; }
.row > div:last-child, .row--flip > div:first-child { display: flex; flex-direction: column; gap: .875rem; }
.row h2 { font-size: 2.75rem; }
.row p { font-size: 1.125rem; }
.row p + p { font-size: 1rem; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding: 0 3.5rem 3rem; }
.cta { margin: 2.5rem 3.5rem 4.5rem; background: var(--brown); color: var(--cream); border-radius: 1rem; padding: 2.5rem 2.75rem; display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; }
.cta > div { display: flex; flex-direction: column; gap: .5rem; }
.cta h2 { font-size: 2.25rem; line-height: 1; }
.cta p { font-size: 1.0625rem; color: var(--sand); }
.cta .btn { flex: none; box-shadow: 3px 3px 0 var(--red); }
.cta .btn:hover { box-shadow: 4px 4px 0 var(--red); }
@media (max-width: 899px) {
  .intro { padding: 40px 20px 8px; }
  .intro h1 { font-size: 44px; }
  .intro p, .row p { font-size: 17px; }
  .row { grid-template-columns: 1fr; gap: 24px; padding: 32px 20px; }
  .row .ipad, .row .pod { width: 100%; }
  .row--flip > :first-child { order: 0; }
  .row h2 { font-size: 34px; }
  .trio { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 40px; }
  .cta { margin: 16px 20px 48px; flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

/* ---------- auth ---------- */
.auth { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1fr 27.5rem; gap: 3rem; padding: 0 18.75rem 7.5rem 5rem; align-items: start; min-height: 66.25rem; }
.auth-copy { display: flex; flex-direction: column; gap: 1.125rem; max-width: 26.25rem; height: 30rem; margin-top: 13.75rem; justify-content: center; }
.auth-copy h1 { font-size: 4rem; }
.auth-copy p { font-size: 1.125rem; line-height: 1.45; text-wrap: pretty; }
.card { position: relative; background: #fff; border: 3px solid var(--brown); border-radius: 1rem; box-shadow: 8px 8px 0 var(--brown); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; margin-top: 22.5rem; }
.card label { display: flex; flex-direction: column; gap: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.card input:not([type=checkbox]) { font: 500 1.0625rem Geist, system-ui, sans-serif; color: var(--brown); background: #fff; border: 2px solid var(--brown); border-radius: .5rem; padding: .875rem 1rem; outline: none; box-shadow: 3px 3px 0 var(--brown); width: 100%; }
.card input:focus-visible { box-shadow: 3px 3px 0 var(--orange); border-color: var(--orange); }
.card .aux { display: flex; justify-content: space-between; align-items: center; font-size: .875rem; }
.card .aux label { flex-direction: row; align-items: center; font-size: .875rem; font-weight: 500; letter-spacing: 0; }
.card input[type=checkbox] { width: 1.125rem; height: 1.125rem; accent-color: var(--orange); margin: 0; }
.card .fine { text-align: center; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.card .alt { text-align: center; font-size: .875rem; color: var(--muted); }
.link { color: var(--red); font-weight: 700; text-decoration: none; }
.card .hp { position: absolute; left: -9999px; }
.card .err { background: var(--red); color: var(--cream); border-radius: .5rem; padding: .75rem 1rem; font-size: .875rem; }
@media (max-width: 899px) {
  .stripe--auth { display: none; }
  .auth { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px 48px; min-height: 0; }
  .auth-copy { height: auto; margin: 0; gap: 12px; }
  .auth-copy h1 { font-size: 44px; }
  .auth-copy p { font-size: 17px; }
  .card { margin: 0; padding: 20px; box-shadow: 6px 6px 0 var(--brown); }
}

/* ---------- legal ---------- */
.bands--legal i { height: 2.75rem; }
.legal { display: grid; grid-template-columns: 16.25rem 1fr; gap: 4rem; padding: 3.5rem 3.5rem 6rem; }
.legal nav { display: flex; flex-direction: column; gap: .375rem; font-weight: 700; font-size: .875rem; letter-spacing: .06em; position: sticky; top: 1.5rem; align-self: start; }
.legal nav a { text-decoration: none; padding: .75rem 1rem; border-radius: .5rem; }
.legal nav a:hover { background: #fff; }
.legal nav a[aria-current] { color: var(--cream); background: var(--brown); }
.legal article { display: flex; flex-direction: column; gap: 1.75rem; max-width: 45rem; }
.legal article header { display: flex; flex-direction: column; gap: 1.125rem; }
.legal h1 { font-size: 3.5rem; }
.legal .updated { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 700; font-size: .8125rem; letter-spacing: .06em; color: var(--muted); }
.legal section { display: flex; flex-direction: column; gap: .625rem; }
.legal h2 { font-size: 1.5rem; font-weight: 700; }
.legal section p { font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }
.ask { margin-top: .75rem; background: #fff; border: 2px solid var(--brown); border-radius: .75rem; box-shadow: 4px 4px 0 var(--brown); padding: 1.375rem 1.625rem; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.ask > div { display: flex; flex-direction: column; gap: .25rem; }
.ask b { font-size: 1.125rem; }
.ask span { font-size: .9375rem; color: var(--muted); }
@media (max-width: 899px) {
  .bands--legal i { height: 18px; }
  .legal { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px 48px; }
  .legal nav { flex-direction: row; flex-wrap: wrap; position: static; font-size: 12px; }
  .legal h1 { font-size: 40px; }
  .ask { flex-direction: column; align-items: flex-start; }
}
