/* Extra Life pages under /extra-life. The world palette from the app (UI/WorldViews.swift): navy on warm cream,
   colour lives in the art. The Lavelle Pty Ltd homepage uses corporate.css. */
:root {
  --cream: #fff6e8;
  --surface: #fffdf8;
  --navy: #0b2e6b;
  --navy-soft: #4a5d85;
  --line: #e6d7c0;
  --jade-text: #0e7c4f;
  --amber-text: #9a5b00;
  --wordmark-gold: #e89b00;
  --sun: #ffc83d;
  --turquoise: #26c9c9;
  --coral: #f07a68;
  --sky: #7fd3f0;
  --shadow: 0 18px 40px rgba(74, 52, 20, 0.14);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "Nunito", -apple-system, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--navy); text-decoration-color: rgba(11, 46, 107, 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--navy); }
h1, h2, h3 { font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 6.4vw, 64px); margin: 0 0 18px; }
h2 { font-size: clamp(28px, 4.4vw, 42px); margin: 0 0 14px; }
h3 { font-size: 21px; margin: 0 0 6px; font-weight: 800; }
p, li { color: var(--navy-soft); }
p { margin: 0 0 14px; }
strong { color: var(--navy); }
ul { padding-left: 22px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }

/* Header */
.top { display: flex; row-gap: 10px; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand span { font-size: 28px; font-weight: 900; letter-spacing: -0.01em; }
.brand b { color: var(--wordmark-gold); font-weight: 900; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a, .pill {
  color: var(--navy); text-decoration: none; font-weight: 800; font-size: 15px;
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
}
.top nav a:hover, .top nav a[aria-current="page"] { border-color: var(--navy); }
.top nav a.cta { background: var(--sun); border-color: var(--sun); }

/* Hero */
.hero { padding: 8px 0 24px; }
.scene {
  margin: 0; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow);
  background: var(--sky); line-height: 0;
}
.scene img { width: 100%; height: auto; aspect-ratio: 1320 / 760; object-fit: cover; }
.hero-copy { text-align: center; max-width: 760px; margin: 40px auto 0; }
.lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--navy); }
.store { display: inline-block; line-height: 0; margin-top: 8px; }
.store img { width: 180px; height: auto; }
.note { font-size: 15px; color: var(--navy-soft); margin-top: 12px; }

/* Sections */
section.block { padding-top: 72px; }
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--amber-text); margin-bottom: 10px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
.phones { display: flex; gap: 18px; justify-content: center; }
.phones .phone { min-width: 0; }
.phones:has(.phone + .phone) .phone { flex: 1 1 0; }
.phone {
  width: 100%; max-width: 280px; height: auto; border-radius: 38px; box-shadow: var(--shadow);
  border: 6px solid var(--surface); background: var(--surface);
}
.phones .phone { max-width: 250px; }
.phones .phone:nth-child(2) { margin-top: 48px; }

.card {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 26px; padding: 24px;
}
.points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.points li img { flex: none; width: 56px; height: 56px; }
.points li p { margin: 0; }

/* Habits */
.habits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.habit { text-align: center; }
.habit img { width: 104px; height: 104px; margin: 0 auto 6px; display: block; }
.habit p { font-size: 16px; margin: 0; }

/* Cast */
.cast { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.member { text-align: center; padding: 18px 12px 20px; }
.member img { width: 140px; height: 140px; display: block; margin: 0 auto 4px; }
.member h3 { margin: 0; }
.member p { margin: 0; font-size: 16px; }
.extras { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 16px; }
.extras figure { margin: 0; text-align: center; }
.extras img { width: 100%; max-width: 110px; height: auto; display: block; margin: 0 auto; }
.extras figcaption { font-weight: 800; font-size: 15px; color: var(--navy); }
.moods { display: flex; gap: 12px; align-items: end; justify-content: center; margin-top: 8px; }
.moods figure { margin: 0; text-align: center; }
.moods img { width: 150px; height: 150px; display: block; }
.moods figcaption { font-weight: 800; font-size: 15px; }

/* Keepsakes */
.keepsakes { display: flex; justify-content: space-between; gap: 8px; margin: 24px 0 8px; align-items: end; }
.keepsakes figure { margin: 0; text-align: center; flex: 1; }
.keepsakes img { width: 100%; max-width: 120px; height: auto; display: block; margin: 0 auto 4px; }
.keepsakes figcaption { font-weight: 900; font-size: 15px; }

/* Feature grid */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.grid3 .card p:last-child { margin-bottom: 0; }

/* Call to action */
.get {
  margin: 88px 0 0; padding: 48px 24px; border-radius: 32px; text-align: center;
  background: linear-gradient(180deg, var(--sky) 0%, #bfe9f5 55%, var(--surface) 100%);
  border: 1.5px solid var(--line);
}
.get img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow); }
.get h2 { margin-top: 18px; }
.get p { color: var(--navy); }

/* Footer */
footer.site { margin-top: 64px; padding: 24px 0 48px; border-top: 1.5px solid var(--line); font-size: 15px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px; }
footer.site .company { margin: 16px 0 0; color: var(--navy-soft); }
footer.site .company a { color: var(--navy-soft); }

/* Document pages: privacy and support */
.doc { padding-top: 32px; }
.doc h1 { font-size: clamp(34px, 6vw, 52px); }
.doc h2 { font-size: 26px; margin: 40px 0 8px; }
.doc h3 { font-size: 19px; margin: 28px 0 4px; }
.doc .card { margin: 24px 0; }
.meta { font-size: 15px; color: var(--navy-soft); }
form { display: grid; gap: 14px; }
label { font-size: 15px; font-weight: 800; display: grid; gap: 6px; color: var(--navy); }
input, textarea {
  font: inherit; color: var(--navy); background: #fff;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%;
}
input:focus, textarea:focus { outline: 3px solid rgba(38, 201, 201, 0.45); border-color: var(--navy); }
textarea { min-height: 140px; resize: vertical; }
button {
  font: inherit; font-weight: 900; color: var(--navy); background: var(--sun);
  border: 0; border-radius: 16px; padding: 14px 20px; cursor: pointer;
}
button:disabled { opacity: 0.6; }
.hidden { display: none; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.flip > :first-child { order: 0; }
  .habits { grid-template-columns: repeat(2, 1fr); }
  .cast { grid-template-columns: repeat(2, 1fr); }
  .extras { grid-template-columns: repeat(3, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding-inline: 16px; }
  .brand span { font-size: 24px; }
  .brand img { width: 38px; height: 38px; }
  .top nav a { padding: 7px 12px; font-size: 14px; }
  .scene { border-radius: 22px; }
  .scene img { aspect-ratio: 1 / 0.75; object-position: 52% 100%; }
  section.block { padding-top: 56px; }
  .phones { gap: 10px; }
  .phones .phone { border-radius: 26px; border-width: 4px; }
  .phones .phone:nth-child(2) { margin-top: 32px; }
  .member img { width: 110px; height: 110px; }
  .moods img { width: 120px; height: 120px; }
  .keepsakes { flex-wrap: wrap; justify-content: center; }
  .keepsakes figure { flex: 0 0 30%; }
}
