/* starkovs.dev — shared styles for the studio home and every app's pages.
   Each app page sets a theme class on <body> (theme-pennyhub, theme-uncloudy, theme-clozy, theme-spotter) that swaps the palette. */

:root {
  --bg: #F7FAF3;
  --surface: #FFFFFF;
  --tint: #EAF3DE;
  --line: #C8D9B8;
  --ink: #1A3A08;
  --muted: #5A7A45;
  --accent: #3B6D11;
  --accent-ink: #FFFFFF;
  --hero-glow: rgba(59, 109, 17, 0.10);
}
body.theme-uncloudy {
  --bg: #F3F8FB;
  --surface: #FFFFFF;
  --tint: #E3F1F8;
  --line: #C9DEE8;
  --ink: #16334A;
  --muted: #557086;
  --accent: #1F9A4C;
  --accent-ink: #FFFFFF;
  --hero-glow: rgba(58, 142, 240, 0.14);
}
body.theme-clozy {
  --bg: #FFF7EC;
  --surface: #FFFFFF;
  --tint: #FCE9D2;
  --line: #F0DDC8;
  --ink: #2A1C12;
  --muted: #8C7667;
  --accent: #FF6B2C;
  --accent-ink: #FFFFFF;
  --hero-glow: rgba(255, 107, 44, 0.14);
}
/* Spotter is dark, like the app. */
body.theme-spotter {
  --bg: #0B0D10;
  --surface: #14171C;
  --tint: #111418;
  --line: #262B33;
  --ink: #F4F5F7;
  --muted: #9AA1AC;
  --accent: #FF5A1F;
  --accent-ink: #FFFFFF;
  --hero-glow: rgba(255, 90, 31, 0.18);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--ink); }
img, video { max-width: 100%; }

.wrap { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* --- header --- */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: #3B6D11;
  display: flex; align-items: center; justify-content: center;
  color: #F7FAF3; font-weight: 700; font-size: 17px; flex-shrink: 0;
}
.brand-icon { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand-sub { font-weight: 500; color: var(--muted); }
nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); }
nav a.active { font-weight: 700; color: var(--ink); }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; padding: 13px 22px; border-radius: 14px; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.btn:hover { opacity: 0.92; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { color: var(--bg); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { color: var(--accent-ink); }
.btn-light { background: #FFFFFF; color: var(--ink); font-weight: 700; }
.btn-light:hover { color: var(--ink); }
.btn-soon { background: var(--tint); color: var(--muted); border: 1px dashed var(--line); cursor: default; }
.btn-soon:hover { opacity: 1; color: var(--muted); }
.link-cta { font-weight: 600; font-size: 15px; text-decoration: none; padding: 13px 6px; }
.icon { font-size: 20px; line-height: 0; }

/* --- hero --- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tint); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 24px;
}
.hero {
  max-width: 1120px; margin: 0 auto; padding: 88px 32px 64px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}
.hero h1 { font-size: 52px; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 20px; font-weight: 800; }
.hero p { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0 0 36px; max-width: 500px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; }
.app-title { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.app-title img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 10px 24px -12px rgba(0,0,0,0.35); }
.app-title span { font-size: 15px; font-weight: 600; color: var(--muted); }
.phone-frame {
  background: var(--surface); border: 1px solid var(--line); border-radius: 36px; padding: 14px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.25); max-width: 280px;
}
.phone-frame img, .phone-frame video { width: 100%; display: block; border-radius: 24px; }

/* --- studio home: app cards --- */
.home-hero { max-width: 1120px; margin: 0 auto; padding: 96px 32px 48px; }
.home-hero h1 { font-size: 54px; line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 20px; font-weight: 800; max-width: 760px; }
.home-hero p { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 620px; }
.section { max-width: 1120px; margin: 0 auto; padding: 32px 32px 80px; }
.section-head { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px;
  text-decoration: none; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.app-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 24px 48px -28px rgba(26, 58, 8, 0.35); }
.app-card-top { display: flex; align-items: center; gap: 16px; }
.app-card-top img { width: 72px; height: 72px; border-radius: 17px; }
.app-card h3 { margin: 0 0 4px; font-size: 24px; font-weight: 800; }
.app-card .tagline { margin: 0; font-size: 15px; color: var(--muted); }
.app-card .desc { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.pill {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--accent);
}
.pill.soon { background: #FFF3D6; color: #8A5A00; }
.app-card-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }
.app-card-links span { font-size: 14px; font-weight: 600; color: var(--accent); padding-top: 14px; }

.about {
  background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 32px;
}
.about-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about h2 { font-size: 32px; margin: 0 0 12px; font-weight: 800; }
.about p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 0 12px; }

.accent-text { color: var(--accent); }
.home-hero .hero-actions { margin-top: 32px; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { color: var(--ink); background: var(--surface); opacity: 1; }
.btn-ghost { background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.1); opacity: 1; }
.nav-linkedin { color: var(--accent) !important; font-weight: 600 !important; }
.motto { margin: 56px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); max-width: 640px; }
.motto p { font-size: 22px; line-height: 1.45; font-weight: 600; font-style: italic; color: var(--ink); margin: 0 0 10px; }
.motto cite { font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

.approach { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 32px; }
.approach-inner { max-width: 1120px; margin: 0 auto; }
.approach h2 { font-size: 34px; line-height: 1.15; margin: 0 0 36px; font-weight: 800; max-width: 620px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principle { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; }
.principle-num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 14px; }
.principle-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.principle p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-wrap#contact { padding-top: 80px; }

/* --- bands, features, cta --- */
.band { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 32px; }
.band-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.band-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.band-inner h2 { font-size: 32px; margin: 0 0 8px; font-weight: 800; }
.band-inner p { font-size: 17px; color: var(--muted); margin: 0; max-width: 480px; }

.features { max-width: 1120px; margin: 0 auto; padding: 80px 32px; }
.features-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.features-head h2 { font-size: 34px; margin: 0 0 14px; font-weight: 800; }
.features-head p { font-size: 17px; color: var(--muted); margin: 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--tint);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.feature-title { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.feature-desc { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.cta-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px 90px; }
.cta {
  background: var(--accent); border-radius: 24px; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta h2 { font-size: 28px; margin: 0 0 10px; font-weight: 800; color: #FFFFFF; }
.cta p { font-size: 16px; margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 440px; }

/* --- documents: privacy, terms, support --- */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 32px 100px; width: 100%; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.doc h1 { font-size: 38px; margin: 0 0 6px; font-weight: 800; }
.updated { font-size: 15px; color: var(--muted); margin: 0 0 40px; }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 8px 0 40px; max-width: 560px; }
.sections { display: flex; flex-direction: column; gap: 32px; font-size: 16px; line-height: 1.7; }
.sections h2 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
.sections p { margin: 0 0 10px; color: var(--muted); }
.sections p:last-child { margin-bottom: 0; }
.sections ul { margin: 0 0 10px; padding-left: 20px; color: var(--muted); }
.sections ul:last-child { margin-bottom: 0; }
.sections li { margin-bottom: 4px; }
.sections strong { color: var(--ink); }
.callout {
  background: var(--tint); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; font-size: 14.5px; line-height: 1.6; color: var(--ink); margin-top: 10px;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 12px; background: var(--tint);
  display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px;
}
.contact-label { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.contact-card a { font-size: 15px; text-decoration: none; }
.contact-value { font-size: 15px; color: var(--muted); }
.doc h2.faq-title { font-size: 22px; margin: 0 0 18px; font-weight: 800; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.faq-q { font-weight: 700; font-size: 15.5px; margin-bottom: 6px; }
.faq-a { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* --- footer --- */
footer { border-top: 1px solid var(--line); padding: 32px; margin-top: auto; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 40px; }
  .hero-art { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .apps { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 24px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .header-inner { padding: 14px 16px; }
  nav { gap: 18px; }
  .hero { padding: 40px 16px 32px; }
  .hero h1, .home-hero h1 { font-size: 36px; }
  .home-hero { padding: 56px 16px 32px; }
  .section { padding: 24px 16px 56px; }
  .app-card { padding: 22px; }
  .about { padding: 44px 16px; }
  .approach { padding: 48px 16px; }
  .approach h2 { font-size: 26px; }
  .principles { grid-template-columns: 1fr; }
  .motto p { font-size: 19px; }
  .cta-wrap#contact { padding-top: 56px; }
  .features { padding: 56px 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .band { padding: 44px 16px; }
  .cta-wrap { padding: 0 16px 64px; }
  .cta { padding: 40px 24px; }
  .doc { padding: 44px 16px 72px; }
  .doc h1 { font-size: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  footer { padding: 28px 16px; }
}
