/* Shared style for the plain static pages: /privacy, /terms, /support and /about.
   Same look as the /link page: cream #FFFBF2, ink #2E2C28, Newsreader
   headings, Outfit body text, dark green links and buttons. Large type for
   older eyes (body 19px). The 36rem column keeps lines to about 65-70
   characters of Outfit text (65ch would be ~95, because "ch" is the wide 0). */
:root { color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: #FFFBF2;
  color: #2E2C28;
  font: 400 1.1875rem/1.6 "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
.sv-page { width: calc(100% - 40px); max-width: 36rem; width: min(100% - 40px, 36rem); margin: 0 auto; padding: 28px 0 40px; }
.sv-page-header { display: flex; align-items: center; margin: 0 0 28px; }
.sv-page-home { display: inline-block; border-radius: 12px; }
.sv-page-logo { display: block; width: auto; height: 80px; aspect-ratio: 1000 / 388; margin-left: -6px; }
h1 { margin: 0 0 10px; font: 600 2.1rem/1.12 "Newsreader", Georgia, serif; font: 600 clamp(2.1rem, 6vw, 2.9rem)/1.12 "Newsreader", Georgia, serif; letter-spacing: -.02em; }
h2 { margin: 0 0 12px; font: 600 1.6rem/1.2 "Newsreader", Georgia, serif; }
h3 { margin: 22px 0 8px; font: 600 1.25rem/1.3 "Newsreader", Georgia, serif; }
p, ul, ol { margin: 0 0 14px; }
li + li { margin-top: 6px; }
a { color: #1f4a39; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, .sv-button:focus-visible { outline: 3px solid #1f4a39; outline-offset: 3px; }
.sv-page-lead { font-size: 1.25rem; }
.sv-page-updated { color: #4f4a42; font-size: 1.125rem; }
.sv-team-signoff { margin-top: 2rem; }

/* Draft notices: clearly marked until the final copy lands. */
.sv-draft-banner, .sv-draft {
  border-radius: 18px; background: #fff3cf; border: 2px solid #8a6200; color: #2E2C28;
}
.sv-draft-banner { margin: 22px 0 8px; padding: 16px 20px; font-weight: 600; }
.sv-draft { margin: 0 0 14px; padding: 12px 16px; }
.sv-draft strong { color: #5c4100; }

.sv-contents { margin: 26px 0 8px; padding: 22px 24px; border-radius: 24px; background: #fff; border: 1px solid #ece4d3; }
.sv-contents h2 { font-size: 1.35rem; }
.sv-contents ol { margin: 0; padding-left: 1.4em; }
.sv-contents li + li { margin-top: 4px; }
.sv-contents a { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; padding: 6px 0; }

/* W-14: every anchor and keyboard-focus landing clears the sticky header (72px tall on phones),
   as the research page already does. 20px left targets under the band. */
[id] { scroll-margin-top: 6rem; }
.sv-section { margin-top: 34px; }
.sv-section > :last-child { margin-bottom: 0; }

.sv-card { margin-top: 26px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid #ece4d3; }
.sv-card > :last-child { margin-bottom: 0; }
.sv-note { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: #fbe9e1; border: 2px solid #944c2e; font-weight: 600; }
.sv-note > :last-child { margin-bottom: 0; }

/* The site's one button style (W-09, audit #6): the homepage's green #245447, 16px corners,
   600 weight. Large tap target (at least 60px tall). */
.sv-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 60px; padding: 16px 28px; border: 0; border-radius: 16px;
  font: 600 1.1875rem/1.2 "Outfit", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  overflow-wrap: normal; text-align: center; flex-wrap: wrap; column-gap: .3em; row-gap: 2px;
  transition: transform .16s ease, box-shadow .16s ease;
}
/* Email addresses never break mid-address. */
.sv-nowrap, a[href^="mailto:"] { white-space: nowrap; }
.sv-button[href^="mailto:"] { white-space: normal; }
.sv-button:hover { transform: translateY(-2px); }
.sv-button-dark { color: #fff; background: #245447; box-shadow: 0 7px 16px rgba(22,46,33,.14); }
.sv-button-dark:hover { background: #1b4338; }

/* Website audit: the footer (and the small print after it) sit after <main>, so they keep the page's
   column themselves. */
body > .sv-page-footer, body > .sv-smallprint { width: calc(100% - 40px); max-width: 36rem; width: min(100% - 40px, 36rem); margin-left: auto; margin-right: auto; }
body > .sv-page-footer { margin-top: 8px; }
body > .sv-page-footer:last-child, body > .sv-smallprint { padding-bottom: 40px; }
.sv-page-footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid #ece4d3; color: #4f4a42; font-size: 1.125rem; }
.sv-page-footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 10px; }
/* WebViews before Chrome 84 and Safari 14.1 ignore flex gap, so the footer's links would touch.
   Engines that far back never know inset (Chrome 87 / Safari 14.1) either, so they get the same
   spacing as child margins instead; anything newer keeps the gap above and never reads this. */
@supports not (inset: 0) {
  .sv-page-footer nav { gap: normal; margin: -2px -11px 8px; }
  .sv-page-footer nav a { margin: 2px 11px; }
}
.sv-page-footer nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; }
.sv-page-footer p { margin: 0; }

@media (max-width: 480px) {
  .sv-page { width: calc(100% - 32px); max-width: 36rem; width: min(100% - 32px, 36rem); padding-top: 16px; }
  .sv-page-header { margin-bottom: 18px; }
  .sv-page-logo { height: 60px; }
  .sv-contents, .sv-card { padding: 18px; }
  .sv-button { width: 100%; padding: 14px 16px; }
  .sv-button .sv-nowrap { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sv-button { transition: none; } .sv-button:hover { transform: none; } }

/* Gaps the team still has to fill ([Business name], [ABN], [date]) and
   [CHECK: …] items: highlighted so nobody mistakes them for final text. */
.sv-gap { padding: 0 .25em; border-radius: 6px; background: #ffe08a; color: #2E2C28; font-weight: 700; outline: 1px dashed #8a6200; }
.sv-check { display: block; margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: #fff3cf; border: 2px dashed #8a6200; color: #2E2C28; font-size: 1.125rem; }
.sv-check strong { color: #5c4100; }

.sv-table { width: 100%; margin: 0 0 16px; border-collapse: collapse; background: #fff; border: 1px solid #ece4d3; border-radius: 16px; overflow: hidden; }
.sv-table th, .sv-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #ece4d3; }
.sv-table thead th { background: #f6efe0; font-weight: 700; }
.sv-table tr:last-child td { border-bottom: 0; }
.sv-short { padding-left: 1.2em; }

/* One small-print line under the footer on /privacy and /terms only. */
.sv-smallprint { margin: 18px 0 0; color: #4f4a42; font-size: 1.125rem; line-height: 1.5; }


/* About's "at a glance" table (23 Nov 2026): two columns on wide screens; on phones each fact's name sits above its
   answer, so the answers get the full width. The roles keep it a table for screen readers once display changes. */
.sv-glance th { width: 34%; }
@media (max-width: 599px) {
  .sv-glance, .sv-glance tbody, .sv-glance tr, .sv-glance th, .sv-glance td { display: block; width: auto; }
  .sv-glance th { padding-bottom: 2px; border-bottom: 0; }
  .sv-glance td { padding-top: 2px; }
}

/* SVWD-32: large text on a narrow screen. Each page's column and footer is a query container; a container of 17rem
   or less means large text (with standard text the narrowest, a 320px phone, leaves 280px, 17.5rem). Only then may
   the email address break, and only at the two empty .sv-wbr spans the pages put after the @ and before the last
   dot (hello@ | sundayvisit.com | .au): the query gives each a zero-width space, which isn't read aloud or copied.
   (A <wbr> breaks even inside white-space: nowrap in Chrome.) With standard text the address stays on one line, as
   do the .sv-nowrap words. The same query stacks the /privacy table, each answer under its question, with the
   header's words as labels; the roles keep it a table for screen readers. Browsers without container queries (Chrome 78) keep the standard layout. */
.sv-page, body > .sv-page-footer, body > .sv-smallprint { container-type: inline-size; }
@container (max-width: 17rem) {
  .sv-nowrap, a[href^="mailto:"] { white-space: normal; }
  .sv-wbr::after { content: "\200B"; content: "\200B" / ""; }
  /* Any other word or web address wider than the line breaks as a last resort, so nothing runs off the side;
     the email address only ever breaks at its .sv-wbr spans. break-word first, for browsers without anywhere. */
  * { overflow-wrap: break-word; overflow-wrap: anywhere; }
  a[href^="mailto:"], a[href^="mailto:"] * { overflow-wrap: normal; }
  /* Its longest piece, "sundayvisit.com", is about 7.1em; in a list on the narrowest phones the address gets a little
     smaller, just enough for that piece to fit beside the list's 40px indent (100cqw is the column's width). */
  a[href^="mailto:"] { font-size: 1em; font-size: min(1em, calc((100cqw - 40px) / 7.2)); }
  .sv-stack, .sv-stack tbody, .sv-stack tr, .sv-stack td { display: block; width: auto; }
  .sv-stack thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .sv-stack tr { border-bottom: 1px solid #ece4d3; }
  .sv-stack tr:last-child { border-bottom: 0; }
  .sv-stack td { border-bottom: 0; }
  .sv-stack td + td { padding-top: 0; }
  .sv-stack td::before { content: attr(data-label); content: attr(data-label) / ""; display: block; font-weight: 700; }
}

/* Each app's store badges under "Where can we get it?" on /support and /about, once an app is in the App Store
   (scripts/store-links-apply.mjs). The same look as the guides' (guides/guides.css). */
.sv-app-get { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: 0 0 14px; }
.sv-app-get-item p { margin: 0; }
.sv-app-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .6rem !important; }
.sv-app-badge { display: inline-flex; align-items: center; min-height: 48px; border-radius: 10px; }
.sv-app-badge img { display: block; width: auto; height: 56px; }
.sv-app-marks { flex-basis: 100%; margin: 0; color: #4f4a42; font-size: 1.125rem; line-height: 1.5; }
@supports not (inset: 0) {
  .sv-app-get { gap: normal; margin: -.625rem -1.25rem 14px; }
  .sv-app-get > * { margin: .625rem 1.25rem; }
  .sv-app-badges { gap: normal; margin: .225rem -.375rem 0 !important; }
  .sv-app-badge { margin: .375rem; }
}
