/* airconditioninglondon.uk: "Cool clarity" design system (see DESIGN.md). Mobile first. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #16303A;
  --muted: #4A6670;
  --teal: #0A767C;
  --teal-bright: #0E8C93;
  --teal-dark: #0B5F64;
  --ice: #E6F6F7;
  --tint: #F2F9FA;
  --line: #D5EBEE;
  --rule: #E3EEF2;
  --white: #FFFFFF;
  --foot-text: #C9DADF;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1120px;
  --gutter: 20px;
  --section: 48px;
}
@media (min-width: 768px) { :root { --section: 72px; --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--white); padding: 8px 14px; border-radius: 8px; }

h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 600; }
@media (min-width: 768px) { h1 { font-size: 44px; } h2 { font-size: 30px; } h3 { font-size: 20px; } }
p { margin: 0; max-width: 68ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--teal); color: var(--white); font-weight: 600; font-size: 16px; text-decoration: none; border: 0; }
.btn:hover { background: var(--teal-dark); color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--white); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.wordmark { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.wordmark:hover { color: var(--ink); }
.wordmark .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-bright); flex: none; }
.wordmark .light { font-weight: 400; }

/* Launch notice */
.notice { background: var(--ice); color: var(--teal-dark); font-size: 15px; }
.notice .container { padding-block: 10px; }
.notice a { color: var(--teal-dark); font-weight: 600; }

/* Sections */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* Hero */
.hero { padding-block: 40px var(--section); }
@media (min-width: 768px) { .hero { padding-block: 72px; } }
.hero .stack { max-width: 760px; gap: 20px; }
.hero .lead { font-size: 18px; color: var(--muted); }
@media (min-width: 768px) { .hero .lead { font-size: 20px; } }

/* How it works */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.steps li { display: flex; flex-direction: column; gap: 8px; counter-increment: step; }
.steps li::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--ice); color: var(--teal-dark); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.after-note { margin-top: 24px; }

/* London items */
.items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 768px) { .items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; } }
.items > div { border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 16px; }
th { background: var(--tint); text-align: left; font-weight: 600; padding: 12px 16px; }
td { padding: 12px 16px; border-top: 1px solid var(--rule); vertical-align: top; }
td:first-child { font-weight: 600; white-space: nowrap; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); padding-block: 16px; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); flex: none; margin-right: 4px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin-top: 10px; color: var(--muted); }
@media (min-width: 768px) { .faq summary { font-size: 20px; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); font-size: 15px; }
.site-footer .container { padding-block: 40px; display: flex; flex-direction: column; gap: 10px; }
.site-footer .wordmark { color: var(--white); }
.site-footer .wordmark .dot { background: #4FC3C9; }
.site-footer p { color: var(--foot-text); }
.site-footer a { color: var(--white); }

/* Mobile email bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--white); border-top: 1px solid var(--rule); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.mobile-bar .btn { width: 100%; }
@media (max-width: 767px) { body.has-bar { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* Prose pages (privacy) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.prose h1 { margin-bottom: 4px; }
.prose h2 { font-size: 22px; margin-top: 20px; }
@media (min-width: 768px) { .prose h2 { font-size: 24px; } }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
