/* Renrich website styles
   Colours: change them here and the whole site updates. */
:root {
  --ink: #0C2427;        /* dark background */
  --petrol: #005F6A;     /* brand petrol */
  --petrol-deep: #00454D;
  --panel: #143A3F;      /* FAQ cards */
  --line: #2A4044;
  --cream: #F6F4EF;
  --copper: #D2A47F;     /* buttons and highlights */
  --light-copper: #F1E4D8;
  --brown: #8A5A3B;
  --text: #201F1C;
  --muted: #3F3C36;
  --soft: #DCE5E4;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 21px;
  line-height: 1.65;
  overflow-x: hidden;
}
p { margin: 0; }
a { color: var(--copper); }
a:hover { color: #E6C3A5; }
img, svg { max-width: 100%; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--copper); color: var(--ink); padding: 12px 20px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 112px 40px 128px; display: flex; flex-direction: column; gap: 48px; }

/* Colour blocks */
.cream { background: var(--cream); color: var(--text); }
.petrol { background: var(--petrol); color: var(--cream); }
.dark { background: var(--ink); color: var(--cream); }
.copper { color: var(--copper); }
.light-copper { color: var(--light-copper); }
.brown { color: var(--brown); }
.white { color: var(--white); }
.muted { color: var(--muted); }
.soft { color: var(--soft); max-width: 640px; }
.strong { color: var(--cream); font-weight: 600; max-width: 640px; }

/* Header */
.topbar { background: var(--cream); color: var(--text); border-bottom: 3px solid var(--petrol); }
.masthead { max-width: 1360px; margin: 0 auto; padding: 28px 40px 24px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.wordmark { font-size: clamp(56px, 7vw, 96px); font-weight: 600; letter-spacing: -0.02em; line-height: 0.9; text-decoration: none; margin: 0; }
.wordmark .r { color: var(--petrol); }
.wordmark .rest { color: var(--brown); }
.wordmark.small { font-size: 48px; }
.mainnav { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; font-size: 20px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; padding-bottom: 8px; }
.mainnav a { color: var(--text); text-decoration: none; }
.mainnav a.accent { color: var(--petrol); }
.mainnav a:hover { color: var(--petrol); }

/* Headings */
h1 { margin: 0; font-weight: 600; font-size: clamp(52px, 7.4vw, 116px); line-height: 1.03; letter-spacing: -0.02em; }
.title { margin: 0; max-width: 1100px; font-size: clamp(56px, 7vw, 104px); font-weight: 600; line-height: 1.0; letter-spacing: -0.02em; }
.title.ruled { border-bottom: 3px solid var(--cream); padding-bottom: 20px; max-width: none; }
.sub { margin: 0; font-weight: 600; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.01em; }
.label-lg { font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; line-height: 1.05; margin-bottom: 32px; }
.lead { max-width: 760px; font-size: clamp(28px, 2.8vw, 36px); font-weight: 600; line-height: 1.3; margin-bottom: 32px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; padding: 20px 32px; border: none; border-radius: 2px; font: inherit; font-size: 22px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-copper { background: var(--copper); color: var(--ink); }
.btn-copper:hover { background: #E6C3A5; color: var(--ink); }
.btn-petrol { background: var(--petrol); color: var(--white); }
.btn-petrol:hover { background: var(--petrol-deep); color: var(--white); }
.btn-get { padding: 16px 40px; margin-top: 8px; }

/* Hero */
.hero { color: var(--cream); }
.hero .wrap { padding-top: 80px; padding-bottom: 120px; }
.hero-how { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; border-top: 1px solid var(--line); padding-top: 48px; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }

/* Search mockup */
.search-mock { flex: 1 1 380px; max-width: 560px; min-width: 0; background: var(--cream); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; color: var(--text); }
.sm-bar { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid #D9D3C6; border-radius: 999px; padding: 14px 22px; font-size: 20px; font-weight: 500; }
.sm-ghost { background: var(--white); border-radius: 12px; padding: 18px 24px; display: flex; flex-direction: column; gap: 10px; }
.sm-ghost span { display: block; height: 14px; background: #C9C2B2; border-radius: 7px; }
.sm-ghost span + span { height: 10px; background: #DDD7CB; }
.sm-hit { position: relative; background: var(--white); border: 3px solid var(--petrol); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.sm-tag { position: absolute; top: -16px; right: 20px; background: var(--copper); color: var(--ink); font-size: 15px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.sm-name { font-size: 26px; font-weight: 700; color: var(--petrol); }
.sm-meta { font-size: 17px; color: var(--muted); }
.stars { color: #B5822E; letter-spacing: 2px; }
.sm-btns { display: flex; gap: 10px; margin-top: 6px; }
.sm-call, .sm-web { font-size: 16px; font-weight: 700; padding: 10px 20px; border-radius: 999px; }
.sm-call { background: var(--petrol); color: var(--white); }
.sm-web { border: 1px solid var(--petrol); color: var(--petrol); }

/* Problem section */
#problem .wrap { gap: 64px; }
.problem-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; }
.problem-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 56px; max-width: 1100px; }
.points li { display: flex; gap: 40px; align-items: flex-start; }
.points .icon { flex: 0 0 72px; color: var(--petrol); }
.points .icon svg { width: 56px; height: 56px; }
.points li > div { display: flex; flex-direction: column; gap: 10px; }
.point-title { font-size: clamp(32px, 3.4vw, 44px); font-weight: 600; line-height: 1.15; }
.indent { margin-left: 112px; }

/* Phone mockup */
.phone-mock { flex: 0 0 300px; margin: 0 auto; }
.pm-body { width: 300px; height: 560px; background: var(--ink); border-radius: 48px; padding: 14px; box-shadow: 0 30px 60px rgba(12,36,39,0.25); }
.pm-screen { width: 100%; height: 100%; background: var(--petrol); border-radius: 36px; display: flex; flex-direction: column; align-items: center; padding: 26px 18px; gap: 14px; }
.pm-notch { display: block; width: 90px; height: 24px; background: var(--ink); border-radius: 999px; }
.pm-time { margin-top: 36px; font-size: 64px; font-weight: 600; line-height: 1; color: var(--cream); }
.pm-date { font-size: 16px; color: #DCEEF0; }
.pm-note { margin-top: 40px; width: 100%; background: rgba(246,244,239,0.96); border-radius: 18px; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.pm-head { display: flex; align-items: center; justify-content: space-between; }
.pm-app { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--petrol); }
.pm-dot { display: inline-block; width: 18px; height: 18px; border-radius: 5px; background: var(--petrol); }
.pm-now { font-size: 13px; color: var(--muted); }
.pm-from { font-size: 17px; font-weight: 700; }
.pm-msg { font-size: 16px; line-height: 1.35; color: var(--muted); }
.pm-note2 { width: 92%; background: rgba(246,244,239,0.55); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink); }
.pm-app2 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }

/* Contact */
#contact .wrap { gap: 56px; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px 88px; }
.contact-intro { flex: 1 1 320px; max-width: 460px; display: flex; flex-direction: column; gap: 20px; }
.contact-lead { margin-top: 24px; color: #E8F1F2; font-size: 22px; font-weight: 600; line-height: 1.45; }
.form { flex: 999 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 36px; }
.form .full { grid-column: 1 / -1; }
.form fieldset { margin: 0; padding: 0; border: none; }
.form legend { font-size: clamp(32px, 3.4vw, 44px); font-weight: 600; line-height: 1.1; margin-bottom: 20px; color: var(--white); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--cream); padding: 10px 18px; min-height: 44px; font-size: 18px; cursor: pointer; }
.choice input { accent-color: var(--copper); margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 24px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 20px; padding: 10px 0; border: none; border-bottom: 1px solid var(--cream); background: transparent; color: var(--white); min-height: 44px; border-radius: 0; }
.field textarea { resize: vertical; }
.field select option { background: var(--cream); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #B9D6D9; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.booking, .form-privacy { font-size: 18px; color: #E8F1F2; }
.form-privacy a, .booking a { color: var(--light-copper); }
.hp { position: absolute; left: -9999px; }

/* How we help */
#work .wrap { gap: 24px; }
.title.ruled.copper { color: var(--copper); }
.options { display: flex; flex-direction: column; }
.option { display: flex; flex-wrap: wrap; gap: 16px 64px; align-items: baseline; padding: 48px 0; border-bottom: 1px solid var(--line); }
.option-num { flex: 0 0 240px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.2; color: var(--copper); }
.option-body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.option-q { font-size: clamp(44px, 5vw, 72px); font-weight: 600; line-height: 1.05; color: var(--copper); }
.option h3 { margin: 0; font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }

/* Trial band */
.band { flex-direction: row; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; padding-top: 112px; padding-bottom: 112px; }
.band-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.band-title { font-weight: 600; font-size: clamp(38px, 4.8vw, 66px); line-height: 1.1; letter-spacing: -0.02em; }
.band-list { flex: 1 1 260px; max-width: 320px; display: flex; flex-direction: column; gap: 14px; font-size: 30px; font-weight: 600; line-height: 1.25; border-top: 1px solid var(--light-copper); padding-top: 20px; margin-top: 24px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 1100px; }
.faq details { background: var(--panel); border-radius: 4px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; cursor: pointer; font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.25; min-height: 44px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: 0 0 auto; font-size: 40px; line-height: 1; color: var(--copper); transition: transform .2s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding: 0 32px 28px; color: var(--soft); max-width: 860px; }

/* Testimonials */
.quotes { display: flex; flex-wrap: wrap; gap: 24px; }
.quote { flex: 1 1 300px; max-width: 640px; margin: 0; background: var(--petrol-deep); padding: 40px 36px; border-radius: 4px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.4; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.q-name { font-weight: 600; color: var(--light-copper); }
.q-biz { font-size: 18px; color: var(--soft); }

/* Floating call and email buttons */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; flex-direction: column; gap: 10px; }
.float-cta a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; padding: 14px 22px; border-radius: 999px; min-height: 48px; box-shadow: 0 10px 28px rgba(7,26,28,0.35); }
.fc-call { background: var(--copper); color: var(--ink); }
.fc-mail { background: var(--petrol); color: var(--white); border: 2px solid var(--cream); }
.float-cta a:hover { filter: brightness(1.08); }
.fc-call:hover { color: var(--ink); }
.fc-mail:hover { color: var(--white); }

/* Footer */
.site-footer { background: var(--cream); color: var(--text); border-top: 3px solid var(--petrol); }
.footer-inner { max-width: 1360px; margin: 0 auto; padding: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.footer-info { display: flex; flex-direction: column; gap: 4px; font-size: 20px; font-weight: 600; color: var(--muted); text-align: right; }
.footer-info a { color: var(--petrol); }
.small-print { font-size: 16px; font-weight: 400; }

/* Simple pages (thanks, privacy, 404) */
.page { max-width: 860px; margin: 0 auto; padding: 96px 40px 128px; }
.page h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 32px; }
.page h2 { font-size: 30px; margin: 40px 0 12px; color: var(--copper); }
.page p, .page li { color: var(--soft); margin-bottom: 14px; }

/* Phones */
@media (max-width: 640px) {
  .wrap { padding: 64px 20px 72px; gap: 40px; }
  .masthead, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .wordmark { font-size: 52px; }
  .wordmark.small { font-size: 36px; }
  .mainnav { gap: 12px 20px; font-size: 16px; }
  h1 { font-size: 44px; line-height: 1.08; }
  .title { font-size: 38px; line-height: 1.08; }
  .sub { font-size: 32px; }
  .label-lg, .option-q { font-size: 32px; }
  .lead { font-size: 24px; }
  .option h3 { font-size: 26px; }
  .band-title { font-size: 34px; }
  .points li { gap: 16px; }
  .points .icon { flex-basis: 40px; }
  .points .icon svg { width: 40px; height: 40px; }
  .point-title { font-size: 26px; }
  .indent { margin-left: 56px; }
  .option { padding: 36px 0; }
  .footer-info { text-align: left; }
  .float-cta { left: 12px; right: 12px; bottom: 12px; flex-direction: row; }
  .float-cta a { flex: 1 1 0; justify-content: center; }
  .site-footer { padding-bottom: 88px; }
  .page { padding: 64px 20px 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq .plus { transition: none; }
}
