/* ==========================================================================
   Brighter — Website Care Plans
   Simple, dependency-free stylesheet. Fonts: Inter Tight + Instrument Serif
   (Google Fonts) stand in for Brighter's Clarkson / Canela. Swap the two
   font-family variables below if self-hosted brand fonts are available.
   ========================================================================== */

:root {
  --yellow: #ffc101;
  --yellow-soft: #fff4cc;
  --black: #000;
  --ink: #1a1a1a;
  --grey-700: #595959;
  --grey-400: #bcbcbc;
  --grey-200: #dddddd;
  --grey-100: #f3f3f1;
  --white: #fff;

  --font-sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 6px;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--black);
}

h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -0.025em; line-height: 1.2; }
h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }

em, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey-700);
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--grey-700);
  max-width: 640px;
}

.muted { color: var(--grey-700); }
.small { font-size: 14px; }

/* ---------- Header: floating pill nav (as on brighter.com.au) ---------- */

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding: 0 var(--gutter);
  margin-top: 14px;
}

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 10px 10px 26px;
}

.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo img { height: 30px; width: auto; }
.nav__logo span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav__links a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s, background 0.2s;
}

.nav__links a:hover { color: var(--white); }
.nav__links a[aria-current="page"] { color: var(--black); background: var(--yellow); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--light { background: var(--white); color: var(--black); }
.btn--outline { border-color: currentColor; background: transparent; }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn .arrow { font-size: 16px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Sections ---------- */

section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding-top: 0; }
.section--grey { background: var(--grey-100); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .muted, .section--dark .eyebrow { color: rgba(255, 255, 255, 0.62); }
.section--yellow { background: var(--yellow); }
.section--yellow .eyebrow { color: rgba(0, 0, 0, 0.6); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- Hero ---------- */

.hero { padding: clamp(80px, 12vw, 150px) 0 clamp(56px, 8vw, 96px); }
.hero h1 { max-width: 13em; }
.hero h1 em { color: var(--black); background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 0.04em; }

/* ---------- Plan cards ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 32px 30px 30px;
  background: var(--white);
}

.plan--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.plan--dark h3 { color: var(--white); }
.plan--dark .muted { color: rgba(255, 255, 255, 0.62); }

.plan__level { display: flex; gap: 5px; margin-bottom: 26px; }
.plan__level i { display: block; width: 26px; height: 6px; border-radius: 3px; background: var(--grey-200); }
.plan__level i.on { background: var(--yellow); }
.plan--dark .plan__level i { background: rgba(255, 255, 255, 0.2); }
.plan--dark .plan__level i.on { background: var(--yellow); }

.plan h3 { margin-bottom: 6px; }
.plan__tag { min-height: 3.1em; font-size: 15px; }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 22px 0 4px;
}
.plan__price strong { font-size: 52px; font-weight: 300; letter-spacing: -0.045em; line-height: 1; }
.plan__price span { font-size: 14px; }

.plan__list { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--grey-200); }
.plan--dark .plan__list { border-color: rgba(255, 255, 255, 0.18); }
.plan__list li { display: flex; gap: 12px; padding: 7px 0; font-size: 15px; }
.plan__list li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.plan__list strong { font-weight: 500; }

.footnote { margin-top: 22px; font-size: 14px; color: var(--grey-700); }

/* ---------- Comparison table ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--grey-200); border-radius: var(--radius); background: var(--white); }

.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--grey-200); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-700); background: var(--grey-100); }
.compare thead th.col-priority { background: var(--black); color: var(--yellow); }
.compare tbody th { font-weight: 400; color: var(--grey-700); width: 30%; }
.compare td { font-weight: 500; }
.compare td.col-priority { background: #fffbea; }
.compare .same { font-weight: 400; color: var(--grey-700); }

/* ---------- Numbered list (services-style) ---------- */

.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; border-top: 1px solid var(--grey-200); }
.numbered li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--grey-200);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.numbered li::before {
  content: counter(n, decimal-leading-zero);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--grey-700);
}
.section--dark .numbered, .section--dark .numbered li { border-color: rgba(255, 255, 255, 0.18); }

/* ---------- Duotone icons ---------- */

.ico, .point__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grey-100);
}
.ico svg, .point__icon svg { width: 28px; height: 28px; overflow: visible; }
.ico .f, .point__icon .f { fill: var(--yellow); }
.ico .s, .point__icon .s { fill: none; stroke: var(--black); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.point__icon { width: 72px; height: 72px; border-radius: 18px; }
.point__icon svg { width: 38px; height: 38px; }

.icon-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--grey-200); }
.icon-list li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--grey-200);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* Session types (Option B) */
.sessions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.session { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 32px 30px 14px; }
.session h3 { margin-bottom: 8px; }
.session > p { font-size: 15px; margin-bottom: 22px; }
.session .icon-list li { font-size: 18px; padding: 14px 0; gap: 16px; }
.session .icon-list li:last-child { border-bottom: 0; }
.session .ico { width: 44px; height: 44px; border-radius: 12px; }
.session .ico svg { width: 24px; height: 24px; }
.session--dark { background: var(--black); border-color: var(--black); color: var(--white); }
.session--dark h3 { color: var(--white); }
.session--dark .muted { color: rgba(255, 255, 255, 0.62); }
.session--dark .icon-list, .session--dark .icon-list li { border-color: rgba(255, 255, 255, 0.18); }
.session--dark .ico { background: rgba(255, 255, 255, 0.1); }
.session--dark .ico .s { stroke: var(--white); }
@media (max-width: 960px) { .sessions { grid-template-columns: 1fr; } }

/* ---------- Grids, tiles ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.tile {
  border-radius: var(--radius);
  padding: 28px;
  background: var(--grey-100);
}
.section--dark .tile { background: rgba(255, 255, 255, 0.07); }
.tile__big { display: block; font-size: clamp(38px, 4vw, 52px); font-weight: 300; letter-spacing: -0.045em; line-height: 1; margin-bottom: 14px; }
.tile__big small { font-size: 0.42em; letter-spacing: 0; margin-left: 4px; }
.tile p { margin: 0; font-size: 15px; }
.tile .src { display: block; margin-top: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-700); }
.section--dark .tile .src { color: rgba(255, 255, 255, 0.5); }
.tile--yellow { background: var(--yellow); color: var(--black); }
.section--dark .tile--yellow { background: var(--yellow); }
.section--dark .tile--yellow .src { color: rgba(0, 0, 0, 0.6); }

.check-list, .cross-list { list-style: none; margin: 0; padding: 0; }
.check-list li, .cross-list li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--grey-200); }
.check-list li::before, .cross-list li::before {
  position: absolute; left: 0; top: 15px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; line-height: 1;
}
.check-list li::before { content: "✓"; background: var(--yellow); color: var(--black); }
.cross-list li::before { content: "–"; background: var(--grey-200); color: var(--black); }

/* ---------- Why page: numbered arguments ---------- */

.point {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--grey-200);
}
.point:first-child { border-top: 0; padding-top: 0; }
.point__num { font-family: var(--font-serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--grey-400); }
.point h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.035em; line-height: 1.1; max-width: 18em; }
.point p { max-width: 680px; color: var(--grey-700); }
.point p strong { color: var(--ink); font-weight: 500; }
.point cite { font-style: normal; font-size: 14px; }
.point cite a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.map { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.map .tile h4 { margin-bottom: 8px; }
.map .tile p { color: var(--grey-700); }

/* ---------- Article cards ---------- */

.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}
.article:hover { border-color: var(--black); transform: translateY(-2px); }
.article .src { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-700); margin-bottom: 14px; }
.article h4 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 12px; }
.article p { font-size: 15px; color: var(--grey-700); margin-bottom: 20px; }
.article .go { margin-top: auto; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Terms page ---------- */

.terms { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.terms__nav { position: sticky; top: 110px; }
.terms__nav ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.terms__nav li { counter-increment: t; }
.terms__nav a { display: flex; gap: 12px; padding: 9px 0; font-size: 15px; text-decoration: none; color: var(--grey-700); border-bottom: 1px solid var(--grey-200); }
.terms__nav a::before { content: counter(t, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; color: var(--grey-400); }
.terms__nav a:hover { color: var(--black); }

.terms__body section { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--grey-200); scroll-margin-top: 110px; }
.terms__body section:last-child { border-bottom: 0; }
.terms__body h2 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.03em; margin-bottom: 18px; }
.terms__body p { max-width: 720px; }

.rate-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; max-width: 720px; }
.rate-row .tile { padding: 20px; }
.rate-row .tile__big { font-size: 32px; margin-bottom: 8px; }

/* ---------- CTA band ---------- */

.cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta h2 { max-width: 14em; margin: 0; }

/* ---------- Footer ---------- */

.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.72); padding: 72px 0 40px; font-size: 15px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.footer-top img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-top h4 { color: rgba(255, 255, 255, 0.5); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { padding: 3px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .plans, .articles, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .plan__tag { min-height: 0; }
  .grid-2, .map { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; }
  .terms__nav { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .point { grid-template-columns: 1fr; gap: 10px; }
  .point__num { font-size: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { padding: 8px 8px 8px 18px; gap: 10px; }
  .nav__logo img { height: 24px; }
  .nav__logo span { display: none; }
  .nav__links a { padding: 8px 11px; font-size: 14px; }
  .grid-4, .rate-row { grid-template-columns: 1fr; }
  .numbered li { grid-template-columns: 44px 1fr; gap: 12px; }
}

@media (max-width: 420px) {
  .nav__links a { padding: 8px 8px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .article { transition: none; }
}


/* Not on a care plan */
.offplan { background: var(--white); padding: 34px; }
.offplan p { color: var(--grey-700); margin-bottom: 14px; }
.offplan p strong { color: var(--ink); font-weight: 500; }
.offplan .btn { margin-top: 12px; }
.lead strong { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Multi-section additions (demo)
   ========================================================================== */

/* Sub nav: a lighter second pill under the main nav, aligned right under the section links */
.subnav {
  max-width: var(--wrap);
  margin: 8px auto 0;
  display: flex;
  justify-content: flex-end;
  gap: 2px;
  padding: 0;
}
.subnav { width: fit-content; margin-right: max(0px, calc((100% - var(--wrap)) / 2)); margin-left: auto;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--grey-200); border-radius: 999px; padding: 5px; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.subnav a { padding: 7px 14px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--grey-700); }
.subnav a:hover { color: var(--black); }
.subnav a[aria-current="page"] { background: var(--black); color: var(--white); }

/* Home: service cards */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 30px; text-decoration: none; background: var(--white); transition: border-color .2s, transform .2s; }
.service:hover { border-color: var(--black); transform: translateY(-2px); }
.service .ico { margin-bottom: 26px; }
.service h3 { margin-bottom: 8px; }
.service p { font-size: 15px; }
.service__price { margin: 10px 0 22px; font-size: 34px; font-weight: 300; letter-spacing: -0.04em; }
.service__price small { font-size: 14px; letter-spacing: 0; color: var(--grey-700); }
.service .go { margin-top: auto; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.ico--lg { width: 64px; height: 64px; border-radius: 16px; }
.ico--lg svg { width: 34px; height: 34px; }
.icon-list li strong { font-weight: 500; }

/* Two-column plan set + table */
.plans--2 { grid-template-columns: repeat(2, 1fr); }
.compare--2 tbody th { width: 34%; }
.compare th .same { font-size: 14px; }
.plan__price .from { font-size: 14px; color: inherit; opacity: .7; margin-right: 2px; }

/* Hosting: feature tiles, external hosting, add-ons */
.tile .ico { margin-bottom: 18px; background: var(--white); }
.tile h4 { margin-bottom: 6px; }
.tile p.muted { color: var(--grey-700); }
.external { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 20px; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--grey-200); }
.external h3 { margin-bottom: 8px; }
.external p { margin: 0; max-width: 560px; }
.external__price { flex: none; text-align: right; }
.external__price .tile__big { margin-bottom: 6px; }
.addons { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--grey-200); }
.addons li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--grey-200); }
.addons h4 { margin-bottom: 4px; }
.addons p { margin: 0; font-size: 15px; }
.addons strong { flex: none; font-size: 26px; font-weight: 300; letter-spacing: -0.03em; white-space: nowrap; }
.addons strong small { font-size: 13px; letter-spacing: 0; color: var(--grey-700); }

@media (max-width: 960px) {
  .services, .plans--2 { grid-template-columns: 1fr; }
  .external { flex-direction: column; align-items: flex-start; }
  .external__price { text-align: left; }
}
@media (max-width: 720px) {
  .subnav { margin-right: 0; }
  .subnav a { padding: 7px 10px; font-size: 13px; }
}
