/* Little Lock Book — shared web styles.
   Brand colours mirror the in-app design tokens (src/design/colors.ts):
   navy #101826, gold #C9A45A, cream #FBF2E9, text-dark #1A1714, text-mid #3D3830, text-light #7A7068. */

:root {
  --navy: #101826;
  --gold: #C9A45A;
  --gold-light: #E8C97A;
  --cream: #FBF2E9;
  --cream-soft: #FBF7F0;
  --text-dark: #1A1714;
  --text-mid: #3D3830;
  --text-light: #7A7068;
  --border-light: #E5DDC9;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-mid);
  background: var(--cream);
}

.site-header {
  background: var(--navy);
  color: white;
}

.site-header .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 36px;
}

.site-header .back {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
}

.site-header .back:hover { color: white; }

.site-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  margin: 0;
}

.site-header .effective {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.preamble {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-mid);
  margin: 0 0 28px;
  line-height: 1.6;
}

main section {
  margin-bottom: 28px;
}

main h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.3;
}

main h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-dark);
  letter-spacing: 0.2px;
  margin: 18px 0 6px;
}

main p {
  margin: 0 0 12px;
  color: var(--text-mid);
  line-height: 1.6;
}

main ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

main ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-mid);
  line-height: 1.55;
}

main ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--gold);
}

main strong { color: var(--text-dark); font-weight: 700; }

main a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

main a:hover { color: var(--gold); }

/* Retention table on the privacy page */
.retention-row {
  padding: 10px 0;
  border-top: 1px solid var(--border-light);
}
.retention-row:last-of-type {
  border-bottom: 1px solid var(--border-light);
}
.retention-data {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 2px;
}
.retention-period {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 24px;
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: var(--text-light);
}

.site-footer a {
  color: var(--text-light);
  text-decoration: underline;
  margin: 0 8px;
}

/* Landing page */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

.hero .logo {
  /* Fluid sizing — 420px on wide screens, scales down to 60% of the
     viewport width on mobile so it never overpowers the screen on a
     phone (where 330px was filling a 375px-wide iPhone SE). */
  width: clamp(220px, 60vw, 420px);
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 16px;
  display: block;
  object-fit: contain;
}

.hero .splash-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(26px, 3.3vw, 30px);
  color: var(--navy);
  margin: 0 0 64px;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.35;
  color: var(--text-mid);
  margin: 0 0 20px;
  max-width: 560px;
}

.hero .tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 24px);
  color: var(--text-mid);
  margin: 0 0 40px;
  max-width: 560px;
  line-height: 1.35;
}

.hero .app-store.coming-soon {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  cursor: default;
  letter-spacing: 0.4px;
}

.hero .app-store.coming-soon:hover {
  background: transparent;
  transform: none;
}

.hero .app-store {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: transform 0.15s, background 0.15s;
}

.hero .app-store:hover {
  background: #1f2a3e;
  transform: translateY(-1px);
}

.hero .legal-links {
  margin-top: 48px;
  font-size: 16px;
  color: var(--text-light);
}

.hero .legal-links a {
  color: var(--text-light);
  text-decoration: underline;
  margin: 0 12px;
}

/* Small copyright mark at the very bottom of the landing page. */
.site-copyright {
  display: block;
  width: 110px;
  height: auto;
  margin: 32px auto 0;
  opacity: 0.85;
}

@media (max-width: 480px) {
  .site-header .inner { padding: 24px 18px 28px; }
  main { padding: 24px 18px 60px; }
  .site-header h1 { font-size: 26px; }
}

/* Shared-card teaser — the page a not-yet-installed recipient lands on.
   Shows the place name + category + suburb only; the note, vouches and
   photo stay locked behind joining. */
.card-teaser {
  max-width: 480px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 64px;
}

.teaser-wordmark img {
  /* Fluid sizing so the wordmark scales with the viewport on
     phones instead of staying fixed at 200px on a 320-wide screen. */
  width: clamp(150px, 45vw, 200px);
  height: auto;
  object-fit: contain;
  margin-bottom: 36px;
}

.teaser-card {
  width: 100%;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(16, 24, 38, 0.1);
  margin-bottom: 36px;
}

.teaser-band {
  height: 190px;
  background: linear-gradient(135deg, #101826 0%, #1f2a3e 55%, #C9A45A 100%);
  background-size: cover;
  background-position: center;
}

.teaser-body {
  padding: 22px 24px 28px;
}

.teaser-by {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 6px;
}

.teaser-place {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(26px, 6vw, 32px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 10px;
}

.teaser-meta {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-mid);
  margin: 0;
}

.teaser-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 0;
}

.teaser-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 8px 15px;
  background: var(--cream-soft);
  transition: border-color 0.15s;
}

.teaser-links a:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.teaser-pitch {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-mid);
  max-width: 380px;
  margin: 0 0 28px;
}

.teaser-save {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  width: 100%;
  max-width: 400px;
  background: var(--cream-soft);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 15px 18px;
  margin: 0 0 30px;
}

.teaser-save-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.teaser-save-text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-mid);
}

.teaser-save-text strong {
  color: var(--navy);
  font-weight: 700;
}

.card-teaser .app-store {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.4px;
  cursor: default;
}

.teaser-ask {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-light);
  margin: 16px 0 0;
}

.card-teaser .legal-links {
  margin-top: 44px;
  font-size: 15px;
  color: var(--text-light);
}

.card-teaser .legal-links a {
  color: var(--text-light);
  text-decoration: underline;
  margin: 0 12px;
}

/* Curator program inquiry page (/curators).
   Long-form pitch + Netlify-handled inquiry form. Reuses the brand
   palette + Playfair/Inter typography from the rest of the site. */

.curator-page {
  background: var(--cream);
  color: var(--text-mid);
}

.curator-header {
  background: var(--navy);
  color: white;
  padding: 56px 0 64px;
}

.curator-header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.curator-wordmark-link {
  display: inline-block;
  margin-bottom: 32px;
}

/* Wordmark rendered via CSS mask so we can tint the dark-navy
   source asset to the brand gold #C9A45A on the navy header. Using
   <img> + a filter chain only approximates the colour; mask gives
   us the exact var(--gold). Fluid size so it stays in proportion
   to the header on every screen width. */
.curator-wordmark {
  width: clamp(140px, 38vw, 200px);
  height: clamp(140px, 38vw, 200px);
  display: block;
  margin: 0 auto;
  background-color: var(--gold);
  -webkit-mask-image: url(/wordmark.png);
          mask-image: url(/wordmark.png);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}

.curator-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.6px;
  color: var(--gold);
  margin: 0 0 14px;
}

.curator-byline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px;
}

.curator-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 38px);
  line-height: 1.2;
  color: white;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.curator-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.curator-intro {
  margin-bottom: 48px;
}

.curator-intro p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-dark);
  margin: 0 0 16px;
}

.curator-justlooking {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  color: var(--text-light) !important;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  margin-top: 24px !important;
}

.curator-justlooking a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.curator-block {
  margin-bottom: 40px;
}

.curator-block h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.3;
}

.curator-block p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0 0 12px;
}

.curator-block strong {
  color: var(--text-dark);
  font-weight: 700;
}

.curator-emphasis {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic !important;
  font-size: 18px !important;
  color: var(--gold) !important;
  margin-top: 16px !important;
}

.curator-form-wrap {
  margin-top: 64px;
  padding: 36px 32px 40px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

.curator-form-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 24px;
  text-align: center;
}

.curator-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.curator-field {
  display: flex;
  flex-direction: column;
}

.curator-field span {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.curator-field input,
.curator-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--cream-soft);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
}

.curator-field input:focus,
.curator-field textarea:focus {
  border-color: var(--gold);
}

.curator-submit {
  margin-top: 12px;
  background: var(--navy);
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.15s, transform 0.15s;
}

.curator-submit:hover {
  background: #1f2a3e;
  transform: translateY(-1px);
}

.curator-submit:active {
  transform: translateY(0);
}

.curator-notcurator {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
}

.curator-notcurator a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.curator-footer {
  border-top: 1px solid var(--border-light);
  padding: 28px 24px 36px;
  text-align: center;
  background: var(--cream);
}

.curator-footer-entity {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-light);
  margin: 0 0 6px;
}

.curator-footer-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-light);
  margin: 0 0 16px;
}

.curator-footer-legal {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

.curator-footer-legal a {
  color: var(--text-light);
  text-decoration: underline;
  margin: 0 8px;
}

/* Success page after the inquiry form submits. */
.curator-success {
  text-align: center;
  padding-top: 72px;
}

.curator-success-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 44px);
  color: var(--navy);
  margin: 0 0 24px;
}

.curator-success-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0 0 16px;
}

.curator-success-body a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .curator-header { padding: 40px 0 48px; }
  .curator-main { padding: 40px 18px 60px; }
  .curator-form-wrap { padding: 28px 22px 32px; }
  .curator-headline { font-size: 26px; }
}
