/* =========================================================
   Your Studio Name — site styles
   Colors and fonts live here. Change a value once,
   it updates everywhere.
   ========================================================= */

:root {
  --paper:     #F2F1EB;   /* page background */
  --card:      #FBFAF6;   /* light surfaces */
  --ink:       #23221C;   /* main text */
  --faded:     #6B6A60;   /* secondary text */
  --line:      #D9D6CA;   /* hairlines and borders */

  /* Per-app accents: each app owns a color. Add a pair
     of variables for every new app you ship. */
  --one:       #2E5C4D;   /* App One accent (deep pine) */
  --one-tint:  #E7EDE8;   /* App One band background */
  --two:       #5A4166;   /* App Two accent (deep plum) */
  --two-tint:  #ECE7EF;   /* App Two band background */

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body:    "Newsreader", Georgia, serif;
  --mono:    "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
}

a { color: inherit; }

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

/* ---------- header ---------- */

.site-header {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.site-nav { display: flex; gap: 1.5rem; }

.site-nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--faded);
}

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

/* ---------- hero ---------- */

.hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.hero .eyebrow { color: var(--one); margin-bottom: 1rem; }

.hero-sub {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--faded);
  font-size: 1.2rem;
}

.hero .button { margin-top: 2rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 0.6s ease both; }
  .hero > *:nth-child(2) { animation-delay: 0.08s; }
  .hero > *:nth-child(3) { animation-delay: 0.16s; }
  .hero > *:nth-child(4) { animation-delay: 0.24s; }
}

/* ---------- app showcase cards ---------- */

.apps {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Each card sets --accent and --tint inline, so every app
   keeps its own color. */
.showcase-card {
  background: var(--tint);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-copy { padding: 2.25rem 2.25rem 0.5rem; }

.showcase-card h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.showcase-pitch {
  margin-top: 0.9rem;
  font-size: 1.1rem;
  max-width: 30rem;
}

.band-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.band-actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.band-more {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
}

.band-more:hover { text-decoration: underline; }

/* The phone peeks up from the bottom edge of the card */
.showcase-device {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.showcase-device .device {
  margin-bottom: -5.5rem;
  transition: transform 0.25s ease;
}

.showcase-card:hover .device { transform: translateY(-0.75rem); }

@media (prefers-reduced-motion: reduce) {
  .showcase-card:hover .device { transform: none; }
}

/* ---------- coming soon strip ---------- */

.soon-strip {
  margin-top: 1.5rem;
  border: 1px dashed var(--line);
  border-radius: 20px;
  padding: 1.75rem 2.25rem;
}

.soon-strip { --accent: var(--faded); }

.soon-strip h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
}

.soon-strip p:last-child { color: var(--faded); margin-top: 0.3rem; }

/* ---------- buttons ---------- */

.button {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--card);
  background: var(--ink);
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
}

.button--band { background: var(--accent); }

.button:hover { filter: brightness(1.15); }

/* ---------- device frame (screenshot placeholder) ---------- */

.band-visual { display: flex; justify-content: center; }

.device {
  width: min(17rem, 80%);
  aspect-ratio: 9 / 19;
  border-radius: 2.2rem;
  background: var(--ink);
  padding: 0.6rem;
  box-shadow: 0 24px 48px rgba(35, 34, 28, 0.18);
}

.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 1.7rem;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--faded);
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 1rem;
}

/* When you have a real screenshot, use:
   <div class="device"><img class="device-screen" src="..." alt="..."></div>
   The rule below makes the image fill the frame. */
img.device-screen { object-fit: cover; }

/* ---------- coming soon band ---------- */

.band--soon {
  --accent: var(--faded);
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  padding: 3rem 1.5rem;
}

.band-inner--soon { display: block; max-width: 72rem; margin: 0 auto; }

.band--soon h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
}

.band--soon .band-pitch { color: var(--faded); font-size: 1.05rem; }

/* ---------- about note ---------- */

.about {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
}

.note {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  max-width: 38rem;
  padding: 2.75rem 2.5rem 2.25rem;
  transform: rotate(-0.7deg);
  box-shadow: 0 14px 30px rgba(35, 34, 28, 0.09);
}

.tape {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%) rotate(1.5deg);
  width: 6.5rem;
  height: 1.8rem;
  background: #E3A72F;
  opacity: 0.85;
}

.note h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

.signature { font-style: italic; color: var(--faded); }

@media (prefers-reduced-motion: reduce) {
  .note { transform: none; }
}

/* ---------- email signup (used when you enable the form) ---------- */

.signup {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.signup h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
}

.signup p { color: var(--faded); margin: 0.5rem 0 1.5rem; }

.signup form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.signup input[type="email"] {
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  min-width: 16rem;
}

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); }

.footer-cols {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.5rem;
}

.footer-cols h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-cols a {
  display: block;
  color: var(--faded);
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.footer-cols a:hover { color: var(--ink); }

.footer-note {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
  color: var(--faded);
  font-size: 0.9rem;
}

/* ---------- app detail pages ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faded);
}

.app-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.app-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 14px;
  background: var(--one);
  color: var(--card);
  font-family: var(--display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-page h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-top: 0.5rem;
}

.app-page .lede {
  font-size: 1.25rem;
  color: var(--faded);
  margin-top: 1rem;
}

.feature-list { list-style: none; margin-top: 2.5rem; }

.feature-list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.feature-list strong { font-family: var(--display); font-weight: 600; }

.screenshot-row {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
}

.screenshot-placeholder {
  aspect-ratio: 9 / 19;
  border: 2px dashed var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faded);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem;
}

.back-link {
  font-family: var(--display);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--faded);
}

/* ---------- motion & small screens ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

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

@media (max-width: 48rem) {
  .showcase-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .site-header { flex-direction: column; gap: 0.75rem; }
  .hero { padding-top: 3rem; }
}
