/* Contract Check brand alignment with The Conveyancing Team main website.
   Alex Brush is distributed with AlexBrush-OFL.txt in this directory. */
@font-face{font-family:"Alex Brush";src:url("./AlexBrush-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
:root{--ink:#171717;--muted:#555b64;--paper:#fff8f0;--card:#fff;--line:#e4d4c2;--accent:#ff8a00;--accent-light:#fff0dc;--dark:#111;--max:1120px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
h1,h2,h3,p,a,li{overflow-wrap:anywhere}
a{color:#8c4900;text-underline-offset:4px;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
a:focus-visible,button:focus-visible{outline:3px solid #005fcc;outline-offset:4px}
h1,h2,h3{font-weight:800;line-height:1.12}
h2{font-size:clamp(1.75rem,3.5vw,2.6rem);letter-spacing:-.025em;margin:0 0 20px}
h3{font-size:1.35rem;margin:0 0 12px}
p{margin:0 0 18px}
li{margin-bottom:10px}
.skip-link{position:absolute;left:1rem;top:-6rem;z-index:1000;padding:.65rem 1rem;background:#fff;color:#111;border:2px solid #111;border-radius:6px}
.skip-link:focus{top:.5rem}
.header{padding:18px 24px;background:var(--dark);color:#fff;border-bottom:2px solid var(--accent)}
.header-inner{max-width:var(--max);margin:auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px}
.header a{color:#fff;text-decoration:none}
.header a:focus-visible,.footer a:focus-visible{outline-color:var(--accent)}
.brand{display:flex;align-items:center;gap:12px;min-width:0;grid-column:1;grid-row:1}
.brand-logo{display:block;width:64px;height:64px;object-fit:contain;flex:none}
.brand-copy{min-width:0}
.brand-copy strong,.footer-brand{font-family:"Alex Brush",cursive;font-weight:400;letter-spacing:0;color:var(--accent)}
.brand-copy strong{display:block;font-size:2rem;line-height:1.15}
.brand-copy small{display:block;margin-top:4px;color:#ddd;font-size:.78rem;line-height:1.4}
.nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;min-width:0}
.nav a{padding:8px 9px;font-size:.94rem;font-weight:650;line-height:1.4;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current="page"]{color:var(--accent);border-bottom-color:var(--accent)}
.header-call{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:9px 15px;border:1px solid #777;border-radius:10px;line-height:1.25;grid-column:3;grid-row:1}
.header-call span{font-size:.85rem;color:var(--accent);font-weight:750}
.header-call strong{font-size:1rem;font-weight:750;white-space:nowrap}
.header-call:hover{border-color:var(--accent);background:#202020}
.hero{padding:72px max(24px,calc((100vw - var(--max))/2));background:var(--accent);border-bottom:1px solid #b85a00}
.hero h1{font-size:clamp(2.8rem,5.9vw,4.8rem);line-height:1.02;letter-spacing:-.025em;max-width:900px;margin:16px 0 24px}
.hero .intro{font-size:1.2rem;max-width:720px;line-height:1.65;margin-bottom:24px}
.hero a:not(.button){color:var(--ink)}
.hero .tag{color:#4a2400}
.hero a:focus-visible{outline-color:#111}
.hero .button:not(.secondary){background:#111;color:#fff;border-color:#111}
.hero .button:not(.secondary):hover{background:#303030;color:#fff}
.tag{font-size:.78rem;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#7b5a18}
.wrap{max-width:1168px;margin:auto;padding:36px 24px 60px;min-width:0}
.intro{max-width:780px;font-size:1.13rem}
.breadcrumbs{font-size:.9rem;margin-bottom:24px;color:var(--muted)}
.breadcrumbs a{color:#6c4100}
main.wrap>section{padding:48px 0;border-bottom:1px solid var(--line);scroll-margin-top:24px}
main.wrap>section:last-of-type{margin-bottom:38px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}
#your-stage .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tile{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:16px;padding:28px;background:var(--card);box-shadow:0 8px 24px rgba(23,23,23,.025)}
.tile h2,.tile h3{font-size:1.35rem;margin:0 0 12px;line-height:1.2;letter-spacing:0}
.tile p{color:var(--muted);margin-bottom:20px}
.tile>a:last-child{margin-top:auto;font-weight:750}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:13px 21px;margin:8px 10px 8px 0;border:1px solid #ad5100;border-radius:10px;background:var(--accent);color:var(--ink);font-size:1rem;font-weight:800;line-height:1.4;text-align:center;text-decoration:none}
.button:hover{background:#f07800;color:var(--ink);text-decoration:none}
.button.secondary{background:#fff;color:var(--ink);border-color:#8c8170}
.button.secondary:hover{background:var(--accent-light);border-color:#6c5a3b}
.note{border-left:4px solid #a86f0b;border-radius:0 10px 10px 0;background:var(--accent-light);padding:20px 24px;margin:28px 0;color:var(--ink)}
.urgent-call{outline:2px solid currentColor;outline-offset:2px}
.manual-enquiry-panel{border:1px solid #d0b77c;border-radius:16px;background:var(--accent-light);padding:clamp(24px,3vw,36px);margin:28px 0 38px}
main.wrap>section.manual-enquiry-panel{padding:clamp(24px,3vw,36px)}
.manual-enquiry-panel h2{margin-top:0;color:var(--ink)}
.manual-enquiry-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
.manual-enquiry-actions .button{margin:0}
.manual-enquiry-note{font-size:.95rem;line-height:1.6}
.contact-intro,.contact-pathways,.contact-urgent{margin:28px auto;max-width:900px}
.contact-pathways{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.contact-pathways>h2{grid-column:1/-1}
.contact-pathway{min-width:0;border:1px solid var(--line);border-radius:16px;padding:26px;background:#fff}
.contact-pathway h3{margin:0 0 12px}
.contact-urgent{padding:24px;border-left:5px solid #a86f0b;background:var(--accent-light);border-radius:0 10px 10px 0}
.footer{padding:36px max(24px,calc((100vw - var(--max))/2));border-top:3px solid var(--accent);background:var(--dark);color:#ddd}
.footer p{font-size:.9rem;line-height:1.6;margin:0 0 14px}
.footer p:last-child{margin-bottom:0}
.footer-brand{font-size:1.9rem;line-height:1.2}
.footer a{color:#ffbf69}
.list li{margin-bottom:12px}
/* Four distinct starting choices, as requested in the reference photo. */
#your-stage .tile{background:var(--stage-colour);border:1px solid var(--stage-colour);color:#fff;box-shadow:0 10px 26px rgba(23,23,23,.12)}
#your-stage .tile:nth-child(1){--stage-colour:#1755b8}
#your-stage .tile:nth-child(2){--stage-colour:#006a60}
#your-stage .tile:nth-child(3){--stage-colour:#6d28a5}
#your-stage .tile:nth-child(4){--stage-colour:#b62f44}
#your-stage .tile h3,#your-stage .tile p{color:#fff}
#your-stage .tile>a:last-child{align-self:flex-start;max-width:100%;padding:12px 16px;border:1px solid #fff;border-radius:9px;background:#fff;color:var(--stage-colour);line-height:1.45;text-decoration:none}
#your-stage .tile>a:last-child:hover{background:#fff0dc;border-color:#fff0dc;text-decoration:underline;text-underline-offset:4px}
#your-stage .tile>a:focus-visible{outline-color:#fff;outline-offset:4px}
@media(max-width:1060px){.header-inner{grid-template-columns:minmax(0,1fr) auto;gap:16px}.nav{grid-column:1/-1;grid-row:2;justify-content:flex-start}.header-call{grid-column:2}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body{font-size:18px}.header{padding:16px 18px}.header-inner{grid-template-columns:minmax(0,1fr);gap:14px}.brand-logo{width:54px;height:54px}.brand-copy strong{font-size:1.75rem}.brand-copy small{font-size:.75rem}.nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.nav a{text-align:center;min-height:42px;display:flex;align-items:center;justify-content:center;padding:9px 6px;border:1px solid #666;border-radius:7px;background:#1b1b1b}.nav a[aria-current="page"]{border-color:var(--accent)}.header-call{grid-column:1;grid-row:3;justify-self:start;flex-direction:row;align-items:center;gap:10px}.hero{padding:44px 18px 40px}.hero h1{font-size:clamp(2.35rem,10vw,3.1rem);line-height:1.05;margin:14px 0 22px}.hero .intro{font-size:1.1rem}.hero .button{display:flex;width:100%;margin:12px 0}.wrap{padding:28px 18px 42px}main.wrap>section{padding:34px 0}.grid,#your-stage .grid,.contact-pathways{grid-template-columns:minmax(0,1fr)}.tile,.contact-pathway{padding:24px}.note{padding:18px}.manual-enquiry-actions{flex-direction:column}.manual-enquiry-actions .button{width:100%}.footer{padding:30px 18px}.footer-brand{display:block;margin-bottom:6px}.footer p{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Emphasise the homepage fee in readable orange on its light background. */
.service-fee{color:#b85200}

/* Prominent notice and navigation shared across Contract Check, retaining the agreed wording. */
.important-notice{background:#8f1d2c;color:#fff;border:2px solid #8f1d2c;border-left:8px solid var(--accent);border-radius:12px;padding:24px 26px;font-size:1.06rem;font-weight:750;line-height:1.8;box-shadow:0 6px 18px rgba(143,29,44,.12)}
.important-notice strong{color:#fff;font-size:1.15em;font-weight:850}
.page-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 28px;font-size:1.12rem;font-weight:800;color:#444}
.page-navigation a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 20px;border:2px solid #111;border-radius:10px;background:#111;color:#fff;line-height:1.35;text-decoration:underline;text-underline-offset:4px}
.page-navigation a:nth-of-type(2){background:var(--accent);color:#171717;border-color:#ad5100}
.page-navigation a:hover{background:#303030;color:#fff}
.page-navigation a:nth-of-type(2):hover{background:#f07800;color:#171717}
.page-navigation a:focus-visible{outline:3px solid #111;outline-offset:4px}
@media(max-width:620px){.important-notice{padding:20px 18px}.page-navigation{gap:10px;font-size:1.05rem}.page-navigation a{padding:11px 15px}}

/* Preserve contrast for telephone links within shared important notices. */
.important-notice a{color:#fff;text-decoration:underline;text-underline-offset:4px}
.important-notice a:focus-visible{outline:3px solid #fff;outline-offset:4px}

/* Keep the current page label beneath the two primary return links. */
.page-navigation .breadcrumb-current{flex-basis:100%;font-size:.95rem;font-weight:600;line-height:1.5;color:#5b492f}

/* Orange Important headings retain readable contrast on the red notices. */
.important-notice .important-label{color:#ffb347}

/* Orange heading bands over the four coloured stage boxes. */
#your-stage .tile{--stage-padding:28px}
#your-stage .tile h3{color:#000;background:#ff8a00;font-weight:800;text-shadow:none;margin:calc(-1 * var(--stage-padding)) calc(-1 * var(--stage-padding)) 22px;padding:20px var(--stage-padding);min-height:92px;display:flex;align-items:center;border-radius:15px 15px 0 0}
@media(max-width:620px){#your-stage .tile{--stage-padding:24px}}
