:root {
  --ink: #23242A;
  --ink-2: #1A1B20;
  --muted: #55575F;
  --ground: #F5F4F1;
  --line: #E3E1DC;
  --accent: #B8361A;
  --accent-dark: #8E2812;
  --accent-soft: #FBE8E1;
  --flame: #F7A27E;
  --on-dark: #D9DADE;
  --on-dark-2: #A9AAB0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: 'Outfit', sans-serif; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #F39A1E; outline-offset: 2px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 10px; border: 0;
  font: 700 17px 'Instrument Sans', sans-serif; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border: 1px solid rgba(255,255,255,0.35); color: #fff; font-weight: 600; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600; }

/* Header */
.site-header { background: var(--ink); color: #fff; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: 42px; object-fit: contain; }
.brand b { display: block; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 21px; line-height: 1.05; }
.brand small { display: block; font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: 0.22em; color: #C9CACF; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 15px; }
.nav-links a { color: #E6E6EA; text-decoration: none; }
.nav-links a:hover { color: #fff; text-decoration: underline; }
.nav-links a.signin { color: var(--flame); font-weight: 600; }
.nav-links a.btn { color: #fff; text-decoration: none; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(247,162,126,0.14); color: var(--flame); font-size: 14px; font-weight: 600; }
.hero h1 { font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
.hero .lead { font-size: 20px; color: var(--on-dark); max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero .note { font-size: 14px; color: var(--on-dark-2); }
.hero-cards { flex: 1 1 380px; max-width: 460px; display: flex; flex-direction: column; gap: 14px; }
.hcard { background: #fff; color: var(--ink); border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.hcard:nth-child(2) { margin-left: 28px; }
.hcard:nth-child(3) { margin-left: 56px; background: var(--accent); color: #fff; }
.hcard .kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.hcard:nth-child(3) .kicker { color: #FFD9C9; }
.hcard .t { display: block; font-weight: 600; }
.hcard .s { display: block; font-size: 14px; color: var(--muted); }
.hcard:nth-child(3) .s { color: #FFE6DB; }
.hcard .grow { flex: 1; min-width: 0; }
.paper { width: 52px; height: 64px; flex: none; border-radius: 6px; background: #F1EEEA; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; padding: 8px 7px; }
.paper i { display: block; height: 3px; background: #C9C6C0; border-radius: 2px; }
.paper i:nth-child(2) { width: 70%; } .paper i:nth-child(4) { width: 50%; }
.tick { width: 40px; height: 40px; flex: none; border-radius: 20px; background: #E2F0E9; display: flex; align-items: center; justify-content: center; }

/* Sections */
section { scroll-margin-top: 16px; }
.section { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.section-head h2 { font-weight: 600; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.section-head p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step .n { width: 44px; height: 44px; border-radius: 22px; background: var(--ink); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-weight: 600; font-size: 22px; }
.step p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 40px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-weight: 600; font-size: 19px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 16px; }

.pricing { flex-direction: row; flex-wrap: wrap; align-items: center; }
.pricing .section-head { flex: 1 1 380px; }
.price-card { flex: 1 1 400px; max-width: 520px; background: var(--ink); color: #fff; border-radius: 22px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.price-card .name { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 20px; }
.price-card .amount { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-card .amount b { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 60px; line-height: 1; }
.price-card .amount span { color: #C9CACF; font-size: 18px; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; color: #ECECEF; }
.price-card li svg { flex: none; margin-top: 4px; }
.price-card .small { font-size: 14px; color: var(--on-dark-2); text-align: center; }

.about { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px; }
.about-panel { flex: 0 1 360px; min-width: 260px; border-radius: 22px; background: var(--ink); color: #fff; padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.about-panel .big { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 72px; line-height: 1; letter-spacing: -0.02em; }
.about-panel .sub { font-size: 18px; color: var(--on-dark); }
.logo-tile { margin-top: 8px; padding: 16px 18px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
.logo-tile img { width: 100%; max-width: 240px; height: auto; display: block; }
.about-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.about-copy h2 { font-weight: 600; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.about-copy p { color: var(--muted); }
.about-copy .strong { font-size: 20px; font-weight: 600; color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.badges span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

.faq { max-width: 880px; }
.faq-list { border-top: 1px solid #DDDAD4; }
.faq-list details { border-bottom: 1px solid #DDDAD4; }
.faq-list summary {
  list-style: none; cursor: pointer; min-height: 64px; padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 20px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; font: 400 26px 'Instrument Sans', sans-serif; color: var(--accent); width: 24px; text-align: center; }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p { margin: 0 0 22px; color: var(--muted); max-width: 68ch; }

.contact { background: var(--ink); color: #fff; }
.contact .container { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.contact-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.contact-copy h2 { font-weight: 600; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.contact-copy p { color: var(--on-dark); max-width: 40ch; }
.contact-card { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; background: rgba(255,255,255,0.06); }
.contact-card .t { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 18px; }
.contact-card a.email { color: var(--flame); font-weight: 600; text-decoration: none; }

footer.site-footer { background: var(--ink-2); color: var(--on-dark-2); font-size: 14px; }
footer.site-footer .container { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: flex-end; }
.foot-legal { display: flex; flex-direction: column; gap: 4px; }
.foot-logo { align-self: flex-start; padding: 8px 12px; border-radius: 8px; background: #fff; display: inline-flex; margin-bottom: 6px; }
.foot-logo img { width: 150px; height: auto; display: block; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: #C9CACF; }

/* CA logo is switched off until CA ANZ has been notified: set data-show-ca="true" on <body> */
body[data-show-ca="false"] .ca-logo { display: none; }

/* Chat */
.chat-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; max-width: calc(100vw - 40px); }
.chat-launch { height: 60px; padding: 0 22px 0 18px; border-radius: 30px; border: 0; background: var(--accent); color: #fff; font: 700 16px 'Instrument Sans', sans-serif; box-shadow: 0 10px 28px rgba(184,54,26,0.4); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.chat-panel { width: 380px; max-width: 100%; height: 540px; max-height: calc(100vh - 120px); background: #fff; border-radius: 18px; box-shadow: 0 18px 48px rgba(0,0,0,0.28); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { background: var(--ink); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.chat-head img { width: 32px; height: 34px; object-fit: contain; }
.chat-head .t { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.chat-head b { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 16px; }
.chat-head small { font-size: 12px; color: #C9CACF; }
.chat-close { width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--ground); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: #fff; color: var(--ink); }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; }
.msg.typing { color: var(--muted); font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #D8B4A6; background: #fff; color: var(--accent-dark); font: 600 14px 'Instrument Sans', sans-serif; cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #D5D2CC; border-radius: 10px; font: 15px 'Instrument Sans', sans-serif; }
.chat-form button { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--accent); color: #fff; font: 700 15px 'Instrument Sans', sans-serif; cursor: pointer; }
.chat-note { margin: 0; padding: 0 14px 12px; font-size: 11.5px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Legal pages */
.legal-page { max-width: 820px; margin: 0 auto; padding: 48px 24px 64px; }
.legal-page h1 { font-weight: 700; font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; }
.legal-page h2 { font-size: 22px; font-weight: 600; margin: 34px 0 10px; }
.legal-page p, .legal-page li { font-size: 16px; color: #33343A; }
.legal-page p { margin: 0 0 12px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 15px; display: block; overflow-x: auto; }
.legal-page th, .legal-page td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-page th { background: #EEEDEA; }
.legal-page blockquote { margin: 16px 0; padding: 12px 16px; border-radius: 12px; background: #FBF0DC; color: #5C3405; }
.legal-page blockquote p { margin: 0; color: inherit; }
.legal-page .meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.legal-page .toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.legal-page .toc a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.legal-page hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

@media (max-width: 640px) {
  .hcard:nth-child(2) { margin-left: 14px; }
  .hcard:nth-child(3) { margin-left: 28px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .price-card { padding: 28px 22px; }
  .chat-wrap { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); }
  .chat-launch { height: 52px; padding: 0 18px 0 14px; font-size: 15px; }
}
@media print {
  .site-header, .chat-wrap, .contact, footer.site-footer .foot-links { display: none; }
}
