/* F+R NSW site — the app's own palette: the red field of the icon, a deeper red
   for depth, and the app's two reserved colours (green = "this will take you
   there", amber = "check this before you drive off").
   Structure matches the other interactivewebs app sites so a fix to one is a
   fix anyone can carry across. */
:root { --red:#E0251C; --red-deep:#B3170F; --blush:#FFD9D5; --ink:#1c1c1e; --grey:#6b6b70;
        --green:#1E8E3E; --amber:#B26A00; }
* { box-sizing:border-box; margin:0; padding:0; }
body { font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; color:#222; background:#fafafa; }
header { background:linear-gradient(135deg,var(--red),var(--red-deep)); color:#fff; padding:2.2rem 1.5rem; border-bottom:4px solid var(--red-deep); }
header .wrap, main { max-width:820px; margin:0 auto; }
.brand { display:flex; align-items:center; gap:.9rem; }
/* The mark is inline SVG — the icon's own geometry — so the site carries no
   image it could drift from. The hairline keeps the red tile off the red field. */
.brand svg { width:54px; height:54px; flex:0 0 auto; border-radius:12px; box-shadow:0 0 0 1.5px rgba(255,255,255,.55); }
header h1 { font-size:1.7rem; font-weight:700; letter-spacing:.02em; }
header h1 span { color:var(--blush); }
header p { color:#ffe3e0; margin-top:.3rem; font-size:.95rem; }
nav { margin-top:1rem; }
nav a { color:#fff; text-decoration:none; margin-right:1.4rem; font-size:.92rem; border-bottom:2px solid transparent; padding-bottom:2px; }
nav a:hover, nav a.on { border-color:#fff; }
main { padding:2.5rem 1.5rem 4rem; }
h2 { font-size:1.35rem; margin:2.2rem 0 .7rem; color:var(--ink); }
h2:first-child { margin-top:0; }
h3 { font-size:1.05rem; margin:1.4rem 0 .4rem; color:var(--red-deep); }
p, li { margin-bottom:.6rem; color:#333; }
ul { padding-left:1.3rem; margin-bottom:1rem; }
a { color:var(--red-deep); }
.meta { color:var(--grey); font-size:.88rem; margin-bottom:2rem; }
.card { background:#fff; border:1px solid #e5e5e8; border-radius:12px; padding:1.4rem 1.6rem; margin:1rem 0; }
footer { border-top:1px solid #e5e5e8; color:var(--grey); font-size:.85rem; padding:1.6rem; text-align:center; }
footer p { color:var(--grey); max-width:820px; margin:0 auto .4rem; }
.btn { display:inline-block; background:var(--red); color:#fff !important; text-decoration:none; padding:.65rem 1.3rem; border-radius:8px; font-weight:600; margin-top:.6rem; }
.soon { display:inline-block; border:1.5px solid var(--red); color:var(--red-deep); padding:.6rem 1.2rem; border-radius:8px; font-weight:600; margin:.6rem .6rem 0 0; }

/* The demo read on the home page: a printout on the left, what the app makes
   of it on the right. Invented values only. */
.demo { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin:1.2rem 0; }
@media (max-width:640px) { .demo { grid-template-columns:1fr; } }
.sheet { background:#fff; border:1px solid #d9d9de; border-radius:6px; padding:1rem 1.1rem;
  font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; color:#2b2b2b; white-space:pre-wrap; overflow-wrap:anywhere; }
.read { border-radius:12px; overflow:hidden; border:1px solid #e5e5e8; background:#fff; }
.read .top { background:linear-gradient(135deg,var(--red),var(--red-deep)); color:#fff; padding:.9rem 1.1rem; }
.read .top strong { display:block; font-size:1.02rem; line-height:1.35; }
.read .top span { font-size:.82rem; color:#ffe3e0; }
.read .row { padding:.8rem 1.1rem; border-top:1px solid #eee; }
.read .row small { display:block; color:var(--grey); font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; font-weight:600; }
.read .row code { font:14px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; color:#222; }
.read .go { display:inline-block; margin-top:.45rem; background:var(--green); color:#fff; border-radius:8px; padding:.3rem .8rem; font-size:.82rem; font-weight:600; }
.caption { font-size:.8rem; color:var(--grey); margin-top:-.2rem; }

form { margin-top:1rem; }
label { display:block; font-weight:600; font-size:.9rem; margin:.9rem 0 .3rem; }
label .opt { font-weight:400; color:var(--grey); }
input[type=text], input[type=email], select, textarea {
  width:100%; padding:.6rem .7rem; font:inherit; color:#222;
  border:1px solid #ccc; border-radius:8px; background:#fff;
}
textarea { resize:vertical; }
input:focus, select:focus, textarea:focus { outline:2px solid var(--red); outline-offset:1px; border-color:var(--red); }
button { margin-top:1.1rem; background:var(--red); color:#fff; border:0; border-radius:8px;
  padding:.7rem 1.5rem; font:inherit; font-weight:600; cursor:pointer; }
button:hover { filter:brightness(.93); }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.fineprint { font-size:.8rem; color:var(--grey); margin-top:.8rem; }
.note { padding:.8rem 1rem; border-radius:8px; margin:1rem 0; font-weight:600; }
.note.ok { background:#e7f6ec; border:1px solid #b7e0c4; color:#14612e; }
.note.bad { background:#fdecea; border:1px solid #f5c2bd; color:#8d1d12; }
