/* ==========================================================================
   REALOFFICE.IN — Version 1 stylesheet
   Registered Office + Statutory Back Office infrastructure
   Design tokens from: Developer-Ready Single-Page Specification V1
   ========================================================================== */

:root {
  /* Brand tokens */
  --orange:   #B7642D;   /* realsme.orange   — accent, links, labels, price */
  --charcoal: #2F3133;   /* realsme.charcoal — headings, structure, footer */
  --warm:     #F6F2EB;   /* surface.warm     — main canvas */
  --ivory:    #FBF8F2;   /* surface.ivory    — reading surface */
  --paper:    #EEE5D8;   /* surface.paper    — records / document surface */
  --mid:      #62676B;   /* text.mid         — secondary text */
  --line:     #D8CBB8;   /* line.soft        — thin rules */

  /* Derived */
  --orange-dark: #9A5224;
  --orange-soft: rgba(183, 100, 45, 0.10);
  --charcoal-soft: #3A3D40;
  --ivory-on-dark: #F6F2EB;
  --mid-on-dark: #C9C2B6;

  /* Type */
  --font-head: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Aptos", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --gutter: 24px;
  --pad-x: 20px;
  --section-y: 56px;
  --header-h: 68px;

  /* Motion */
  --t: 180ms ease;
}

@media (min-width: 768px) {
  :root { --pad-x: 40px; --section-y: 80px; --header-h: 80px; --gutter: 28px; }
}
@media (min-width: 1200px) {
  :root { --pad-x: 64px; --section-y: 100px; --header-h: 84px; --gutter: 32px; }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  overflow-x: hidden;
}
@media (max-width: 767px) { body { font-size: 1rem; } }

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 700; }

a { color: var(--orange); text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; transition: color var(--t); }
a:hover { color: var(--orange-dark); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px;
  background: var(--charcoal); color: var(--ivory);
  padding: 10px 16px; border-radius: 4px; z-index: 1000;
  font-family: var(--font-head); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--max-w) + var(--pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); }
.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--warm  { background: var(--warm); }
.section--charcoal { background: var(--charcoal); color: var(--ivory-on-dark); }
.section--charcoal h2, .section--charcoal h3 { color: var(--ivory-on-dark); }
.section--charcoal p { color: var(--mid-on-dark); }
.section--rule-top { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}
.section--charcoal .eyebrow { color: #D99A6A; }

.lede { font-size: 1.15rem; color: var(--mid); }
.text-mid { color: var(--mid); }
.key-statement {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--charcoal);
  padding-left: 1rem;
  border-left: 3px solid var(--orange);
  max-width: 60ch;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--orange { width: 56px; height: 2px; background: var(--orange); margin-block: 1.25rem; }

.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 1.5px solid var(--orange);
  text-decoration: none;
  line-height: 1.2;
  transition: background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--ivory); }
.btn--ghost { background: transparent; color: var(--orange); border-color: transparent; padding-inline: 0.6em; }
.btn--ghost:hover { color: var(--orange-dark); }
.btn--sm { font-size: 0.85rem; padding: 0.6em 1.1em; }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Icons */
.icon { width: 44px; height: 44px; stroke: var(--orange); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 24px; height: 24px; }
.icon--charcoal { stroke: var(--charcoal); }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li {
  position: relative; padding-left: 1.75em; margin-bottom: 0.55em;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 0.9em; height: 0.9em;
  border: 1.5px solid var(--orange); border-radius: 50%;
}
.checklist li::after {
  content: ""; position: absolute; left: 0.28em; top: 0.62em;
  width: 0.32em; height: 0.5em;
  border-right: 1.5px solid var(--orange); border-bottom: 1.5px solid var(--orange);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 242, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 100%;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 26px; width: auto; }
@media (min-width: 768px) { .brand img { height: 30px; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid transparent; border-radius: 6px;
  cursor: pointer; color: var(--charcoal); padding: 0;
}
.nav-toggle:hover { border-color: var(--line); }
.nav-toggle .bars { position: relative; width: 22px; height: 16px; display: block; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform var(--t), opacity var(--t), top var(--t);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 7px; }
.nav-toggle .bars::after { top: 14px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars::after { top: 7px; transform: rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.site-nav a {
  display: inline-block; position: relative;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 500;
  color: var(--charcoal); text-decoration: none;
  padding: 8px 10px; border-radius: 4px;
  transition: color var(--t);
}
.site-nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--orange); }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav .nav-cta { margin-left: 8px; }
.site-nav .nav-cta a { padding: 0.55em 1.1em; }
.site-nav .nav-cta a::after { display: none; }

/* Mobile nav */
@media (max-width: 1023px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--pad-x) 28px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t), transform var(--t), visibility 0s linear var(--t);
  }
  .site-nav.is-open {
    transform: none; opacity: 1; visibility: visible;
    transition: opacity var(--t), transform var(--t), visibility 0s;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { display: block; font-size: 1.1rem; padding: 14px 4px; }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { margin: 16px 0 0; }
  .site-nav .nav-cta a { display: inline-flex; }
  /* JS-disabled fallback: show the menu inline */
  .no-js .site-nav { position: static; transform: none; opacity: 1; visibility: visible; padding: 0; border: 0; background: transparent; }
  .no-js .site-header { height: auto; }
  .no-js .site-header .container { flex-wrap: wrap; padding-block: 12px; }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { width: 100%; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--warm);
  padding-block: clamp(48px, 8vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/patterns/records-grid-pattern.svg");
  background-size: 640px auto;
  background-position: right -80px top -40px;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
}
@media (max-width: 899px) { .hero::before { display: none; } }
.hero .container { position: relative; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
}
.hero h1 { margin-bottom: 0.5em; }
.hero__sub {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
  font-family: var(--font-head); font-weight: 500;
  color: var(--charcoal); line-height: 1.35; margin-bottom: 1rem;
}
.hero__copy { color: var(--mid); font-size: 1.1rem; margin-bottom: 1.25rem; }
.hero .key-statement { margin-bottom: 1.75rem; }

.hero__motif {
  position: relative;
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 32px;
}
@media (max-width: 899px) {
  .hero__motif { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
}
.hero__words {
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1rem + 1.2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.7;
}
.hero__words li { margin: 0; }
.hero__words li:nth-child(odd) { color: var(--mid); }
.hero__tag {
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mid); line-height: 1.9; max-width: none;
}
.hero__stack {
  width: min(260px, 60%);
  margin-top: 1.5rem;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Why separate
   -------------------------------------------------------------------------- */
.why__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .why__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; } }
.why__contrast {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); background: var(--ivory);
  margin-bottom: 1.5rem;
}
.why__contrast > div { padding: 18px 20px; }
.why__contrast > div:first-child { border-right: 1px solid var(--line); }
.why__contrast .label { font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); margin-bottom: 6px; }
.why__contrast .value { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.3; margin: 0; }
.why__contrast .value--orange { color: var(--orange); }
@media (max-width: 420px) {
  .why__contrast { grid-template-columns: 1fr; }
  .why__contrast > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
}
.figure { margin: 0; }
.figure img { width: 100%; border: 1px solid var(--line); background: var(--paper); }
.figure figcaption { font-size: 0.85rem; color: var(--mid); margin-top: 10px; }

/* --------------------------------------------------------------------------
   What we provide
   -------------------------------------------------------------------------- */
.provide__col {
  padding: 28px 0 0;
  border-top: 2px solid var(--charcoal);
}
.provide__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.provide__head h3 { margin: 0; font-size: 1.35rem; }
.provide__col ul { columns: 1; }

/* --------------------------------------------------------------------------
   Boundaries
   -------------------------------------------------------------------------- */
.boundary {
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  background: var(--ivory);
  padding: clamp(24px, 4vw, 44px);
  display: grid; gap: 32px;
}
@media (min-width: 900px) { .boundary { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } }
.boundary__list { list-style: none; padding: 0; margin: 0; }
.boundary__list li {
  padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--charcoal);
}
.boundary__list li:last-child { border-bottom: 0; }
.boundary__list li::before {
  content: ""; position: absolute; left: 4px; top: 1.2em; width: 12px; height: 1.5px; background: var(--orange);
}
.boundary__pull { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.4; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.how { position: relative; }
.how__cols {
  display: grid; gap: 20px; align-items: stretch;
}
@media (min-width: 900px) {
  .how__cols { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; }
}
.role {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
  display: flex; flex-direction: column;
}
.role--realoffice { border-color: var(--orange); background: var(--warm); }
.role__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.role__head h3 { margin: 0; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.role__head img { height: 22px; width: auto; }
.role ul { list-style: none; padding: 0; margin: 0; }
.role li { position: relative; padding: 8px 0 8px 18px; border-bottom: 1px dashed var(--line); color: var(--charcoal); font-size: 1rem; }
.role li:last-child { border-bottom: 0; }
.role li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 8px; height: 1.5px; background: var(--orange); }
.how__arrow { display: flex; align-items: center; justify-content: center; color: var(--orange); }
.how__arrow svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899px) { .how__arrow svg { transform: rotate(90deg); } }
.how__note { margin-top: 32px; }

/* Responsibility table (semantic, visually hidden on screen; available to AT & print) */
.how__table-wrap { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --------------------------------------------------------------------------
   Registered office
   -------------------------------------------------------------------------- */
.ro__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .ro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.price {
  border-top: 1px solid var(--line);
  padding-top: 24px; margin-top: 24px;
}
.price__label { font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); margin-bottom: 8px; }
.price__amount { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.5rem, 2rem + 2.5vw, 3.75rem); color: var(--orange); line-height: 1; letter-spacing: -0.02em; }
.price__unit { font-family: var(--font-head); font-weight: 500; color: var(--charcoal); margin-top: 6px; }
.price__unit span { display: block; color: var(--mid); font-weight: 400; font-size: 0.95rem; }
.price__terms { font-size: 0.95rem; color: var(--mid); margin-top: 16px; max-width: 46ch; }
.ro__features {
  background: var(--ivory); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px);
}
.ro__features h3 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); margin-bottom: 18px; }
.ro__features .checklist { columns: 1; }
@media (min-width: 640px) { .ro__features .checklist { columns: 2; column-gap: 32px; } .ro__features .checklist li { break-inside: avoid; } }
.ro__features .btn-row { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Records flow
   -------------------------------------------------------------------------- */
.records__intro { display: grid; gap: 32px; margin-bottom: 40px; }
@media (min-width: 900px) { .records__intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.flow li {
  position: relative; padding: 22px 18px 22px 0; border-top: 1px solid var(--charcoal);
  counter-increment: step;
}
@media (max-width: 899px) {
  .flow li { padding: 18px 0 18px 56px; border-top: 1px solid var(--line); }
  .flow li:first-child { border-top: 1px solid var(--charcoal); }
}
.flow__num {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; color: var(--orange);
}
@media (max-width: 899px) { .flow__num { position: absolute; left: 0; top: 20px; } }
.flow h3 { font-size: 1.1rem; margin: 6px 0 6px; }
.flow p { font-size: 0.95rem; color: var(--mid); margin: 0; }
.flow li::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 3px; background: var(--orange);
}
@media (max-width: 899px) { .flow li::after { display: none; } }

/* --------------------------------------------------------------------------
   Who for
   -------------------------------------------------------------------------- */
.who__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 var(--gutter); }
@media (min-width: 640px) { .who__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .who__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.who__list li {
  padding: 18px 0; border-top: 1px solid var(--line); margin: 0;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; line-height: 1.4;
}
.who__note { margin-top: 28px; font-size: 0.95rem; color: var(--mid); }

/* --------------------------------------------------------------------------
   Independence band
   -------------------------------------------------------------------------- */
.independence .container { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .independence .container { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; } }
.section--charcoal p.independence__pull {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.15; color: var(--ivory-on-dark); margin: 0 0 20px;
  padding-top: 20px; border-top: 3px solid var(--orange); display: inline-block;
}
.independence .figure img { border-color: var(--charcoal-soft); }

/* --------------------------------------------------------------------------
   Ventures
   -------------------------------------------------------------------------- */
.ventures__strip {
  display: grid; gap: 28px; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-block: 36px;
}
@media (min-width: 900px) { .ventures__strip { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; } }
.ventures__logo img { width: 200px; height: auto; }
.ventures__strip p:last-of-type { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   2026 position note
   -------------------------------------------------------------------------- */
.note {
  border-top: 1px solid var(--line);
  padding-block: 40px;
}
.note__inner { display: grid; gap: 16px 48px; }
@media (min-width: 900px) { .note__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.note h2 { font-size: 1.35rem; }
.note p { color: var(--mid); font-size: 1rem; }
.note__tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.note__tags li { font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); border: 1px solid var(--line); padding: 5px 10px; border-radius: 3px; margin: 0; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
.faq__list { border-top: 1px solid var(--charcoal); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--charcoal);
  transition: color var(--t);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--orange); }
.faq__item summary h3 { margin: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--orange); transition: transform var(--t);
}
.faq__icon::before { left: 0; top: 10px; width: 22px; height: 1.5px; }
.faq__icon::after { left: 10px; top: 0; width: 1.5px; height: 22px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__body { padding: 0 0 22px; max-width: 62ch; color: var(--charcoal); }
.faq__body p:last-child { margin-bottom: 0; }
.faq__aside p { color: var(--mid); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; } }
.contact__card {
  background: var(--ivory); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px);
}
.contact__rows { list-style: none; padding: 0; margin: 0; }
.contact__rows li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact__rows li:last-child { border-bottom: 0; }
.contact__rows .icon { width: 22px; height: 22px; margin-top: 3px; }
.contact__rows .k { font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); display: block; margin-bottom: 2px; }
.contact__rows address { font-style: normal; line-height: 1.5; }
.contact__card .btn-row { margin-top: 22px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer__main { padding-block: 48px 40px; display: grid; gap: 32px; }
@media (min-width: 768px) { .footer__main { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; } }
.footer__brand img { height: 26px; width: auto; margin-bottom: 16px; }
.footer__brand p { font-size: 0.95rem; color: var(--mid); margin-bottom: 0.4em; }
.footer__brand .tagline { font-family: var(--font-head); font-weight: 600; color: var(--charcoal); font-size: 1rem; }
.footer__heading { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); margin: 0 0 14px; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 8px; font-size: 0.95rem; }
.footer__links a { color: var(--charcoal); text-decoration: none; }
.footer__links a:hover { color: var(--orange); }
.footer__links .layer { color: var(--mid); }
.footer__bottom { background: var(--charcoal); color: var(--mid-on-dark); font-size: 0.85rem; padding-block: 16px; }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__bottom a { color: var(--ivory-on-dark); text-decoration: none; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .nav-toggle, .skip-link, .btn { display: none !important; }
  .how__table-wrap { position: static !important; width: auto; height: auto; clip: auto; overflow: visible; }
  .how__table { margin-top: 24px; border-collapse: collapse; width: 100%; }
  .how__table th, .how__table td { border: 1px solid #999; padding: 6px; text-align: left; }
  .faq__item { display: block; }
  .faq__body { display: block !important; }
}
