/* Arcolian Automation. Plain CSS, no framework: edit freely.
   Colours live here at the top; change them once and the whole site follows. */
:root {
  --ink: #14202e;        /* main text, deep navy */
  --muted: #4a5868;      /* secondary text */
  --bg: #eef0f3;         /* page: light grey, so the amber and the white cards stand out */
  --band: #e4e8ed;       /* alternate section background, a shade deeper */
  --surface: #ffffff;    /* cards and form */
  --line: #d3d9e0;
  --accent: #e8822a;     /* warm amber: buttons and highlights */
  --accent-ink: #ffffff;
  --accent-dark: #c86a17;
  --radius: 12px;
  --wrap: 1080px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1.0625rem; }
img { max-width: 100%; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 64px 0; }
.band { background: var(--band); }
.two { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .two { grid-template-columns: 1.1fr 1fr; } }
/* Let grid columns shrink to the screen: a long form field must not widen the page. */
.two > * { min-width: 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(238,240,243,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent-dark); }
nav { display: flex; align-items: center; gap: 18px; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
@media (max-width: 600px) { nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none;
  padding: 14px 22px; border-radius: 10px; border: 2px solid var(--accent); cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { padding: 8px 14px; color: var(--accent-ink) !important; }

/* Hero */
.hero { padding: 72px 0 64px; }
.eyebrow { color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); }
.ticks li::before { content: "✓"; color: var(--accent-dark); font-weight: 800; margin-right: 8px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: 0 1px 2px rgba(20,32,46,.04), 0 6px 18px rgba(20,32,46,.05); }
.who { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 700px) { .who { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .who { grid-template-columns: repeat(4, 1fr); } }
.who .card { border-top: 3px solid var(--accent); }
.who h3 { margin-bottom: .4em; }
.who p { margin: 0; color: var(--muted); font-size: .98rem; }
.stat .big { font-size: 2.2rem; font-weight: 800; color: var(--accent-dark); margin-bottom: .3em; }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 28px 0 16px; }
@media (min-width: 700px) { .grid { grid-template-columns: 1fr 1fr; } }
.service h3 { margin-top: 0; }
.featured { border: 2px solid var(--accent); }
.tag { display: inline-block; background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.price { font-weight: 700; margin: 0; }
.sub { color: var(--muted); max-width: 760px; }
.small { font-size: .92rem; color: var(--muted); }
/* Blanks still to fill in (prices, address): visible on purpose so they can't be missed. */
.todo { background: #fff3cd; padding: 0 4px; border-radius: 4px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; border-top: 3px solid var(--accent); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font-weight: 800; font-size: 1.6rem; color: var(--accent-dark); margin-bottom: 6px; }

/* Form */
.form label { display: block; font-weight: 600; margin-bottom: 14px; }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; font: inherit;
  border: 1px solid #b9c3cf; border-radius: 8px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .btn:focus-visible { outline: 3px solid #f5b26b; outline-offset: 1px; }
.form .btn { width: 100%; margin: 4px 0 12px; }
.trap { position: absolute; left: -9999px; }
.status { font-weight: 700; margin: 0; }
.status.ok { color: #17663a; }
.status.err { color: #a12a1a; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: .95rem; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* Privacy page */
.doc { padding: 48px 0 64px; }
.doc h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* Group headings inside the services grid ("Win more customers", "Run your business more smoothly"). */
.group-head { margin: 12px 0 -4px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); }
.group-head:first-child { margin-top: 0; }
@media (max-width: 699px) { .group-head { grid-column: 1 / -1; } }

/* A card that spans the whole row (Custom systems). */
@media (min-width: 700px) { .wide { grid-column: 1 / -1; } }

/* Tables in the legal pages */
.table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; background: var(--surface); font-size: .97rem; }
.table th, .table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.table th { background: var(--band); font-weight: 700; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.legal-links a { white-space: nowrap; }

/* Founding-price note and bundle saving line in Services. */
.founding { display: inline-block; background: #fff3e6; border: 1px solid #f5c08a; color: var(--ink); border-radius: 10px; padding: 10px 16px; margin: 4px 0 0; }
.saving { margin: 6px 0 0; color: #17663a; font-weight: 600; }

/* "What's your trade?" picker under the hero: one chip per trade page. */
.pick { padding: 8px 0 48px; }
.pick h2 { font-size: 1.3rem; margin-bottom: .7em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.chip { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line);
  color: var(--ink); font-weight: 700; text-decoration: none; }
.chip:hover, .chip:focus-visible { border-color: var(--accent); color: var(--accent-dark); }

/* The example phone alert on trade pages. */
.alert-demo { border-left: 4px solid #c0392b; }
.alert-head { font-size: .9rem; color: var(--muted); margin-bottom: .4em; }
.pill { display: inline-block; font-size: .78rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; margin-right: 6px; }
.pill.hot { background: #fbe2df; color: #a12a1a; }
.alert-title { font-weight: 800; font-size: 1.1rem; margin-bottom: .4em; }
.alert-body { color: var(--muted); }
.alert-why { margin: 0; font-size: .95rem; }

/* The example text messages on the barbers page. */
.sms-demo { display: grid; gap: 6px; }
.sms-label { margin: 6px 0 0; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sms { margin: 0; background: var(--band); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: .97rem; max-width: 34ch; }

/* The second row of the picker ("Shops, salons & clinics"). */
.pick-group { margin: 0 0 6px; font-size: .9rem; font-weight: 700; color: var(--muted); }

/* Get started page and the closing call to action on trade pages. */
.h-next { font-size: 1.2rem; margin-top: 1.4em; }
.next { padding-left: 1.2em; margin: 0 0 1.2em; }
.next li { margin-bottom: .5em; }
.form select { display: block; width: 100%; margin-top: 6px; padding: 12px; font: inherit;
  border: 1px solid #b9c3cf; border-radius: 8px; background: #fff; color: var(--ink); }
.form select:focus { outline: 3px solid #f5b26b; outline-offset: 1px; }
.cta-end { text-align: center; }
.cta-end p { color: var(--muted); }

/* Referral scheme box under the services. */
.referral { margin-top: 24px; border-left: 4px solid var(--accent); }
.referral h3 { margin-top: 0; }
.referral p:last-child { margin-bottom: 0; }
