/* ═══════════════════════════════════════════════════════════════════════════════════════════════
   TRACMAR — tracmar.com.au

   Deliberately NOT generated from the brochure. Print and screen are different media: the brochure
   is fixed 210×297mm sheets with page breaks and no scrolling, and a web page rendered from it
   would be a bad version of both. What they share is the ARGUMENT and the FIGURES, and
   check-consistency.sh verifies the figures agree rather than trusting that they do — a price
   changed in one document and not the other is the realistic failure here.

   Same design language as the brochure: Fraunces display, Inter text, navy / warm paper / teal.
   ═══════════════════════════════════════════════════════════════════════════════════════════ */

:root{
  --ink:#0F1E2E; --ink-2:#4A5A6B; --ink-3:#8494A3;
  --paper:#FCFBF9; --blue:#1B4F8F; --blue-pale:#EAF0F7; --teal:#0E7C66;
  --rule:#E3DFD7; --navy:#0D2137;
  --wrap:1120px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--paper);
     font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
a{color:var(--blue)}
/* height:auto is load-bearing. The hero <img> carries explicit width/height attributes (good — they
   reserve space and stop layout shift), but max-width alone then constrains the WIDTH while the
   height stays pinned to the attribute. The hero image rendered 998x1518 instead of 998x758:
   stretched vertically by exactly 2x, which is what "the front page image looks a bit crappy" was. */
img{max-width:100%;height:auto;display:block}

.display{font-family:'Fraunces',Georgia,serif;font-weight:600;letter-spacing:-0.5px;line-height:1.08}
h2.display{font-size:clamp(28px,4.4vw,42px);margin:0 0 14px}
h3{font-size:18px;font-weight:600;margin:0 0 6px}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:2.4px;text-transform:uppercase;
         color:var(--blue);margin:0 0 14px}
.lede{font-size:clamp(18px,2.2vw,21px);line-height:1.5;color:var(--ink-2);max-width:62ch}
.muted{color:var(--ink-2)}
.small{font-size:15px;line-height:1.6;color:var(--ink-2)}

/* ── nav ──────────────────────────────────────────────────────────────────────────────────── */
nav{position:sticky;top:0;z-index:50;background:rgba(252,251,249,.92);backdrop-filter:blur(10px);
    border-bottom:1px solid var(--rule)}
nav .wrap{display:flex;align-items:center;gap:28px;height:72px}
/* The wordmark takes the APPLICATION's font stack, not the site's display serif. Fraunces is for
   headings; a brand mark that inherits the heading face reads as a different product from the one
   in the screenshots on the same page. These values are the app's masthead verbatim:
   uppercase, weight 700, letter-spacing 0.5. */
.lockup{display:inline-flex;align-items:center;gap:11px}
.wordmark{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
          font-weight:700;letter-spacing:0.5px;line-height:1}
nav .brand{text-decoration:none;margin-right:auto;display:flex;align-items:center}
nav a.l.on{color:var(--blue);font-weight:500}
nav a.l{font-size:15px;color:var(--ink-2);text-decoration:none}
nav a.l:hover{color:var(--blue)}
.btn{display:inline-block;background:var(--blue);color:#fff;text-decoration:none;font-size:15px;
     font-weight:500;padding:10px 20px;border-radius:8px;border:1px solid var(--blue)}
.btn:hover{background:#16407A}
.btn.ghost{background:transparent;color:var(--blue)}
.btn.light{background:#fff;color:var(--navy);border-color:#fff}
/* MOBILE NAVIGATION. This was `nav a.l{display:none}` — acceptable while the site was one long
   page, because everything was on the same scroll and the nav was decoration. The moment it became
   six separate pages that rule left a phone with no way to reach any of them: brand, a button, and
   nothing else. The links wrap onto a second row instead. No JavaScript, nothing to break. */
@media(max-width:820px){
  nav .wrap{height:auto;flex-wrap:wrap;gap:0 18px;padding-top:12px;padding-bottom:12px}
  nav .brand{width:auto}
  nav .btn{margin-left:auto}
  nav a.l{font-size:14px;padding:10px 0;order:3}
  nav a.l:first-of-type{margin-left:0}
}
@media(max-width:400px){nav a.l{font-size:13px}nav .wrap{gap:0 13px}}

/* ── hero ─────────────────────────────────────────────────────────────────────────────────── */
/* padding-bottom, and no overflow:hidden. The first cut had the hero image bleeding out of the
   panel and being clipped by it — which chopped the screenshot through the middle of a card and
   read as a rendering fault rather than a deliberate device. */
.hero{background:var(--navy);color:#EAF1F8;padding:84px 0 0}
.hero .coverline{font-family:'Fraunces',Georgia,serif;font-weight:500;color:#fff;letter-spacing:-0.6px;
                 font-size:clamp(34px,5.6vw,58px);line-height:1.12;margin:0 0 22px}
.hero .pitch{font-size:clamp(17px,2vw,20px);line-height:1.5;color:#B9CFE4;max-width:60ch;margin:0 0 30px}
.hero .rule{width:70px;border-top:3px solid #46D6AE;margin:0 0 26px}
.hero .cta{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:52px}
/* The hero image descends INTO the panel rather than stopping at a hard edge.
   The first cut showed a shallow crop that ended mid-card, which reads as a broken image rather
   than a designed one. Now: the full page, a touch wider than the text column, dissolving into the
   navy at the bottom so there is no cut to notice. The mask is duplicated with -webkit- because
   Safari still wants the prefix. */
.heroshot{max-width:1080px;margin:0 auto;
          -webkit-mask-image:linear-gradient(to bottom,#000 62%,rgba(0,0,0,0) 99%);
                  mask-image:linear-gradient(to bottom,#000 62%,rgba(0,0,0,0) 99%)}
.heroshot .shot{border-bottom:0;border-radius:10px 10px 0 0}
.stats{display:flex;flex-wrap:wrap;gap:0;border-top:1px solid rgba(255,255,255,.16);
       padding-top:26px;margin-bottom:44px}
.stats div{flex:1;min-width:150px;padding-right:20px}
.stats .n{font-family:'Fraunces',Georgia,serif;font-size:32px;font-weight:600;color:#fff;line-height:1}
.stats .l{font-size:12px;letter-spacing:1.3px;text-transform:uppercase;color:#8FA9C2;margin-top:8px}

/* ── screenshot frame — matches the brochure ──────────────────────────────────────────────── */
.shot{border-radius:10px;overflow:hidden;border:1px solid #C8D2DC;background:#fff;
      box-shadow:0 2px 4px rgba(15,30,46,.06), 0 12px 28px rgba(15,30,46,.10),
                 0 36px 70px rgba(15,30,46,.08)}
.hero .shot{box-shadow:0 20px 50px rgba(0,0,0,.4), 0 60px 120px rgba(0,0,0,.3)}
.shot .bar{height:26px;background:linear-gradient(#F7F9FB,#EDF1F5);border-bottom:1px solid #DCE3EA;
           display:flex;align-items:center;padding-left:12px;gap:7px}
.shot .bar i{width:9px;height:9px;border-radius:50%;background:#D3DAE2}
figcaption{font-size:14px;line-height:1.55;color:var(--ink-3);margin-top:12px}
figcaption b{color:var(--blue);font-weight:600}

/* ── sections ─────────────────────────────────────────────────────────────────────────────── */
section{padding:76px 0;border-top:1px solid var(--rule)}
section.plain{border-top:0}
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.split.rev .a{order:2}
@media(max-width:860px){.split{grid-template-columns:1fr;gap:32px}.split.rev .a{order:0}}

.feat{list-style:none}
.feat li{padding:14px 0;border-bottom:1px solid var(--rule)}
.feat li:last-child{border-bottom:0}
.feat b{display:block;font-size:16px;font-weight:600;margin-bottom:3px}
.feat span{font-size:15px;line-height:1.55;color:var(--ink-2)}
.new{font-size:11px;font-weight:700;letter-spacing:.6px;color:var(--teal);text-transform:uppercase;
     margin-left:8px;vertical-align:2px}

.secnum{font-family:'Fraunces',Georgia,serif;font-size:15px;color:var(--ink-3);
        letter-spacing:2px;margin-bottom:10px}

/* ── sovereignty band ─────────────────────────────────────────────────────────────────────── */
.sov{background:var(--blue-pale);border-left:6px solid var(--teal);border-radius:0 10px 10px 0;
     padding:32px 36px;display:grid;grid-template-columns:1.25fr 1fr;gap:36px}
@media(max-width:860px){.sov{grid-template-columns:1fr;gap:20px;padding:26px 24px}}
.sov h3{font-size:22px;font-family:'Fraunces',Georgia,serif;font-weight:600;line-height:1.25;margin-bottom:10px}

/* ── verticals ────────────────────────────────────────────────────────────────────────────── */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
@media(max-width:860px){.grid3{grid-template-columns:1fr;gap:22px}}
.card{border-top:2px solid var(--ink);padding-top:16px}
/* DIRECT CHILD only. As `.card b` this also caught bold text nested inside the card's body, which
   turned an emphasised phrase mid-sentence into its own block and broke the paragraph around it. */
.card > b{display:block;font-size:16px;margin-bottom:5px}

/* ── tables ───────────────────────────────────────────────────────────────────────────────── */
.scroller{overflow-x:auto;-webkit-overflow-scrolling:touch}
table{width:100%;border-collapse:collapse;font-size:15px;min-width:620px}
th{text-align:left;font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:var(--ink-3);
   font-weight:600;padding:0 14px 12px 0;border-bottom:2px solid var(--ink)}
td{padding:14px 14px 14px 0;border-bottom:1px solid var(--rule);color:var(--ink-2);vertical-align:top}
td.nm{color:var(--ink);font-weight:600;width:18%}
tr.us td{background:var(--blue-pale);color:var(--ink)}
tr.us td.nm{color:var(--blue)}
td.c,th.c{text-align:center}
.yes{color:var(--teal);font-weight:700}
.no{color:#BCC4CC}
.note{font-size:13px;color:var(--ink-3);margin-top:14px;line-height:1.5}

/* ── pricing ──────────────────────────────────────────────────────────────────────────────── */
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:860px){.plans{grid-template-columns:1fr}}
.plan{border:1px solid var(--rule);border-radius:12px;padding:28px;background:#fff;display:flex;
      flex-direction:column}
.plan.pick{border:2px solid var(--blue);box-shadow:0 10px 30px rgba(27,79,143,.10)}
.plan .tag{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--blue);
           font-weight:700;margin-bottom:10px;height:14px}
.plan .nm{font-family:'Fraunces',Georgia,serif;font-size:22px;font-weight:600;margin-bottom:4px}
.plan .amt{font-family:'Fraunces',Georgia,serif;font-size:44px;font-weight:600;color:var(--blue);
           line-height:1;margin:14px 0 4px}
.plan .per{font-size:14px;color:var(--ink-3);margin-bottom:18px}
.plan ul{list-style:none;font-size:15px;margin-bottom:22px}
.plan ul li{padding:7px 0 7px 24px;position:relative;color:var(--ink-2)}
.plan ul li::before{content:"";position:absolute;left:0;top:15px;width:8px;height:8px;
                    border-radius:50%;background:var(--teal)}
.plan ul li.off{color:#AEB7C0}
.plan ul li.off::before{background:#D8DEE4}
.plan .btn{margin-top:auto;text-align:center}

/* ── closing ──────────────────────────────────────────────────────────────────────────────── */
.close{background:var(--navy);color:#EAF1F8;padding:84px 0}
.close h2{color:#fff}
.close p{color:#B9CFE4;max-width:60ch}
footer{background:var(--navy);color:#6D869E;font-size:14px;padding:28px 0 44px;
       border-top:1px solid rgba(255,255,255,.14)}
footer .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
footer a{color:#9FB6CC}


/* ── contact form ──────────────────────────────────────────────────────────────────────────── */
.bigcall{font-family:'Fraunces',Georgia,serif;font-size:34px;font-weight:600;color:#fff;
         text-decoration:none;letter-spacing:-0.5px}
.bigcall:hover{color:#7FD4BE}
.formcard{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.16);
          border-radius:12px;padding:28px}
.formcard label{display:block;font-size:14px;color:#B9CFE4;margin-bottom:13px}
.formcard label span{color:#7E97AE;font-weight:400}
.formcard label b{color:#7FD4BE;font-weight:400}        /* required marker */
/* Two fields to a row where they are short, one where they are not. Collapses on a phone, where
   side-by-side inputs are a reliable way to make a form feel cramped. */
.f2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
@media(max-width:560px){.f2{grid-template-columns:1fr}}
.formcard select option{background:#12293F;color:#fff}
.robot{background:rgba(70,214,174,.10);border:1px solid rgba(70,214,174,.38);border-radius:9px;
        padding:13px 15px 4px;margin:4px 0 16px}
.robot .rh{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:#7FD4BE;
           font-weight:700;margin-bottom:7px}
.robot label{margin-bottom:9px}
.formcard input,.formcard textarea,.formcard select{width:100%;margin-top:6px;padding:0 13px;
  height:44px;font:inherit;font-size:15px;color:#fff;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.2);border-radius:8px;-webkit-appearance:none;appearance:none}
/* One height for every control. A select and an input with the same padding do NOT come out the
   same height — the select adds its own internal metrics — which is most of why the form looked
   ragged. An explicit height settles it. */
.formcard textarea{height:auto;padding:11px 13px}
.formcard select{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23B9CFE4' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat:no-repeat;background-position:right 13px center;padding-right:34px}
.formcard input:focus,.formcard textarea:focus{outline:2px solid #46D6AE;outline-offset:1px}
.formcard textarea{resize:vertical;min-height:96px}
.formcard button{width:100%;cursor:pointer;font-size:16px;padding:13px}
.formerr{background:rgba(240,83,83,.15);border:1px solid rgba(240,83,83,.5);color:#FFD9D9;
         font-size:14px;padding:10px 13px;border-radius:8px;margin-bottom:16px}
/* The honeypot. Not display:none — some bots skip hidden fields, and a screen reader is told to
   ignore it by aria-hidden on the wrapper. */
.trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.v-email .formcard{background:var(--blue-pale)}
@media(max-width:860px){.formcard{margin-top:28px}}


/* ── about: portrait ──────────────────────────────────────────────────────────────────────────
   A placeholder tile rather than a stock photograph. A page whose whole argument is "there is a
   real person here" should not illustrate itself with a stranger from a photo library. */
.portrait .ph{aspect-ratio:4/5;border-radius:12px;background:linear-gradient(160deg,#14304A,#0D2137);
   border:1px solid #C8D2DC;display:flex;align-items:center;justify-content:center}
.portrait .cap{font-size:14px;color:var(--ink-2);margin-top:14px;line-height:1.5}
.portrait .cap b{color:var(--ink);font-size:16px}
