/* Shared styles for the public website at studiocircle.app. Colours match
   src/lib/theme.ts so the site looks like the app. */

:root {
  --blue: #12305e;
  --card: #1b3d70;
  --orange: #f58a2e;
  --button: #c4500a;
  --gray: #c9ced8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font:
    16px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

a {
  color: var(--orange);
}

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

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.narrow {
  max-width: 720px;
}

/* Header and footer */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.nav a {
  color: var(--gray);
  text-decoration: none;
}

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

.site-footer {
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gray);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 32px;
}

.site-footer a {
  color: var(--gray);
}

/* Landing page */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero p {
  font-size: 19px;
  color: var(--gray);
  margin: 0 0 24px;
}

.hero .shot {
  justify-self: center;
  width: 100%;
  max-width: 280px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--button);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.note,
.hero .note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--gray);
}

.shot {
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

section {
  padding-top: 56px;
}

section h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.lead {
  color: var(--gray);
  margin: 0 0 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 20px 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.card ul {
  margin: 0;
  padding-left: 20px;
}

.card li + li {
  margin-top: 6px;
}

.price {
  font-size: 32px;
  font-weight: 700;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 32px;
}

/* Text pages (privacy, support, account deletion) */

.page h1 {
  font-size: 32px;
  line-height: 1.25;
  margin-top: 16px;
}

.page h2 {
  font-size: 20px;
  margin-top: 32px;
}

blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 760px) {
  .nav-optional {
    display: none;
  }

  .site-header .nav {
    gap: 4px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .gallery {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .gallery img {
    max-width: 280px;
  }
}
