/* ==========================================================================
   portlanddeckrefinishing.com — single stylesheet
   Email protection service (anti-spam, anti-tracking, leak alerts, aliases)
   Toronto, Ontario, Canada. Language: en-CA.

   Direction: bright modern SaaS with warmth. Geometric sans display,
   petrol + coral accents, generous rounding, soft shadows, big numerals.
   Palette: canvas #fbfaf8 / surface #fff / ink #16181c / petrol #14555c
            coral #f0a38c / line #e8e3dc
   ========================================================================== */

:root {
  --canvas: #fbfaf8;
  --canvas-2: #f5f1ec;
  --surface: #ffffff;
  --surface-soft: #f7f4f0;
  --ink: #16181c;
  --ink-soft: #45484f;
  --ink-faint: #6d7178;
  --petrol: #14555c;
  --petrol-deep: #0d3d43;
  --petrol-tint: #e4eff0;
  --coral: #f0a38c;
  --coral-soft: #fceee8;
  --coral-deep: #c4684b;
  --line: #e8e3dc;
  --line-strong: #d5cfc6;
  --ok: #17614f;
  --ok-soft: #e6f2ee;
  --alert: #8a3524;
  --alert-soft: #fbeae5;
  --focus: #14555c;

  --display: "Space Grotesk", "Manrope", "Segoe UI", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --r-s: 10px;
  --r: 16px;
  --r-l: 20px;
  --r-xl: 28px;
  --pill: 999px;

  --shadow-s: 0 1px 2px rgba(22, 24, 28, .05);
  --shadow: 0 2px 4px rgba(22, 24, 28, .04), 0 18px 40px -28px rgba(22, 24, 28, .38);
  --shadow-lift: 0 4px 8px rgba(22, 24, 28, .05), 0 26px 54px -30px rgba(22, 24, 28, .42);

  --wrap: 1140px;
  --measure: 680px;
  --head-h: 74px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 20px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.4rem); }
h4 { font-size: 1.03rem; letter-spacing: -.01em; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--petrol);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--petrol-deep); }

strong { font-weight: 650; color: var(--ink); }
small { font-size: .86rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

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

::selection { background: var(--coral); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--r-s);
  font-size: .9rem;
  font-weight: 600;
  transition: top .16s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.wrap-narrow { max-width: 780px; }

main { display: block; }

.section { padding: 62px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section--soft { background: var(--canvas-2); }
.section--tight { padding: 44px 0; }

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--ink-soft);
  max-width: var(--measure);
}

.measure { max-width: var(--measure); }

.stack > * + * { margin-top: 1.05rem; }

.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 250, 248, .93);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--head-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--petrol);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand-mark svg { width: 18px; height: 18px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text span:last-child {
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  padding: .5rem .68rem;
  border-radius: var(--pill);
  font-size: .895rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { background: var(--canvas-2); color: var(--ink); }
.nav a[aria-current="page"] {
  background: var(--petrol-tint);
  color: var(--petrol-deep);
  font-weight: 600;
}

.header-cta { flex: 0 0 auto; }

/* the CTA sits inside .nav, so beat the plain nav-link colour rules */
.nav .header-cta .btn,
.nav a.btn { color: #fff; }
.nav .header-cta .btn:hover,
.nav a.btn:hover { color: #fff; background: var(--petrol-deep); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .nav a { padding: .5rem .5rem; font-size: .85rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--head-h);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem .9rem; border-radius: var(--r-s); font-size: .98rem; }
  .nav .header-cta {
    display: block;
    margin: 8px 0 0;
  }
  .nav .header-cta .btn { width: 100%; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.35rem;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease,
    transform .16s ease, box-shadow .16s ease;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }

.btn-primary {
  background: var(--petrol);
  color: #fff;
  box-shadow: 0 1px 2px rgba(13, 61, 67, .22), 0 14px 26px -18px rgba(13, 61, 67, .8);
}
.btn-primary:hover {
  background: var(--petrol-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-coral {
  background: var(--coral);
  color: var(--ink);
  box-shadow: 0 14px 26px -18px rgba(196, 104, 75, .9);
}
.btn-coral:hover { background: #ec9377; color: var(--ink); transform: translateY(-1px); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-s);
}
.btn-ghost:hover { background: var(--surface-soft); border-color: var(--ink-faint); color: var(--ink); }

.btn-sm { padding: .58rem 1rem; font-size: .85rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.text-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 85, 92, .3);
}
.text-link svg { width: 15px; height: 15px; }
.text-link:hover { border-bottom-color: var(--petrol); }

/* ---------- badges, chips ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .38rem .8rem;
  border-radius: var(--pill);
  background: var(--petrol-tint);
  color: var(--petrol-deep);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.badge svg { width: 14px; height: 14px; }
.badge--coral { background: var(--coral-soft); color: var(--coral-deep); }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--alert { background: var(--alert-soft); color: var(--alert); }
.badge--outline { background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li {
  padding: .34rem .78rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-size: .82rem;
  color: var(--ink-soft);
  background: var(--surface);
}

/* ---------- hero ---------- */

.hero {
  padding: 58px 0 54px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 380px at 88% -8%, #fceee8 0%, rgba(252, 238, 232, 0) 68%),
    radial-gradient(620px 340px at 2% 4%, #e9f1f1 0%, rgba(233, 241, 241, 0) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 46px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 38px 0 40px; }
}

.hero h1 { margin-bottom: .42em; }
.hero h1 em { font-style: normal; color: var(--petrol); }

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 33em;
}

.price-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem .85rem;
  margin: 22px 0 7px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
}
.price-teaser .amount {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.price-teaser .amount small { font-weight: 500; color: var(--ink-soft); font-size: .8rem; }
.price-teaser .note { font-size: .84rem; color: var(--ink-faint); }

.hero-foot {
  margin-top: 22px;
  font-size: .8rem;
  color: var(--ink-faint);
  max-width: 40em;
}

.hero-art {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadow-lift);
}
.hero-art figcaption {
  margin-top: 12px;
  font-size: .76rem;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------- cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 24px;
  box-shadow: var(--shadow-s);
}

.card--soft { background: var(--surface-soft); box-shadow: none; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--petrol-tint);
  color: var(--petrol-deep);
  margin-bottom: 15px;
}
.card-icon svg { width: 21px; height: 21px; }
.card-icon--coral { background: var(--coral-soft); color: var(--coral-deep); }
.card-icon--ok { background: var(--ok-soft); color: var(--ok); }
.card-icon--alert { background: var(--alert-soft); color: var(--alert); }

.card-num {
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--coral-deep);
  margin-bottom: 10px;
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 26px 22px; }
.stat .n {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--petrol);
  font-variant-numeric: tabular-nums;
}
.stat .l { margin-top: 8px; font-size: .85rem; color: var(--ink-soft); line-height: 1.45; }

@media (max-width: 780px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- lists ---------- */

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: .95rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317614f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.checklist--no li::before {
  background: var(--alert-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a3524' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.checklist strong { color: var(--ink); }

/* ---------- steps ---------- */

.steps { counter-reset: s; display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
}
.step::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--petrol);
  background: var(--petrol-tint);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 1.06rem; margin-bottom: .35em; }
.step p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* ---------- tables ---------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: .92rem;
  min-width: 620px;
}
caption { text-align: left; font-size: .84rem; color: var(--ink-faint); padding-bottom: 10px; }
th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  background: var(--surface-soft);
  font-family: var(--display);
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
}
tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--ok); font-weight: 600; }
td.no { color: var(--alert); }

/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 24px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan--featured {
  border-color: var(--petrol);
  box-shadow: 0 2px 4px rgba(22, 24, 28, .05), 0 24px 46px -28px rgba(20, 85, 92, .6);
  position: relative;
}
.plan--featured::after {
  content: "Most chosen";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--petrol);
  color: #fff;
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: var(--pill);
}

.plan h3 { font-size: 1.15rem; margin-bottom: .2em; }
.plan .tagline { font-size: .87rem; color: var(--ink-faint); margin-bottom: 16px; }
.plan .price {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan .price small { font-size: .78rem; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.plan .yearly { font-size: .8rem; color: var(--ok); margin-top: 6px; }
.plan .plan-body { margin: 16px 0 20px; flex: 1 1 auto; }
.plan .checklist li { font-size: .89rem; }
.plan .btn { width: 100%; }
.plan-foot { font-size: .78rem; color: var(--ink-faint); margin-top: 12px; text-align: center; }

.trial-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--r-l);
  background: var(--petrol);
  color: #fff;
  box-shadow: var(--shadow);
}
.trial-strip .t {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -.02em;
}
.trial-strip .s { font-size: .85rem; opacity: .88; margin-top: 4px; }
.trial-strip a { color: #fff; }

/* ---------- reviews ---------- */

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 22px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review blockquote {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-soft);
  flex: 1 1 auto;
}
.review blockquote::before { content: "\201C"; }
.review blockquote::after { content: "\201D"; }
.review figcaption {
  font-size: .82rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--petrol-tint);
  color: var(--petrol-deep);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.review .who { display: block; color: var(--ink); font-weight: 600; }

/* ---------- callouts / notes ---------- */

.callout {
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--coral);
  background: var(--coral-soft);
  border-radius: var(--r);
  padding: 18px 20px;
  font-size: .93rem;
  color: var(--ink-soft);
}
.callout strong { color: var(--ink); }
.callout--petrol { background: var(--petrol-tint); border-left-color: var(--petrol); }
.callout--ok { background: var(--ok-soft); border-left-color: var(--ok); }
.callout p:last-child { margin-bottom: 0; }

.disclaimer {
  font-size: .82rem;
  color: var(--ink-faint);
  background: var(--surface-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  padding: 14px 18px;
  max-width: 780px;
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0 20px;
  box-shadow: var(--shadow-s);
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer;
  padding: 17px 30px 17px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: .99rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 0 18px; font-size: .94rem; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- forms ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 28px;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 17px; }
.field label {
  display: block;
  font-family: var(--display);
  font-size: .87rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.field .hint { font-size: .8rem; color: var(--ink-faint); margin: 0 0 7px; font-weight: 400; }
.field .req { color: var(--coral-deep); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: .74rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  background: var(--surface);
  font-family: var(--sans);
  font-size: .96rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:hover,
select:hover,
textarea:hover { border-color: var(--ink-faint); }
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(20, 85, 92, .16);
}
textarea { min-height: 124px; resize: vertical; }
select {
  appearance: none;
  min-width: 0;
  max-width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d7178' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 2.4rem;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--alert); }

.error-msg {
  display: none;
  font-size: .82rem;
  color: var(--alert);
  margin-top: 6px;
  font-weight: 500;
}
.field.has-error .error-msg { display: block; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 15px 18px;
  border-radius: var(--r);
  font-size: .92rem;
  border: 1px solid var(--ok);
  background: var(--ok-soft);
  color: var(--ok);
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: var(--alert); background: var(--alert-soft); color: var(--alert); }

.form-consent { font-size: .82rem; color: var(--ink-faint); margin-top: 14px; }

/* ---------- profile cards ---------- */

.person { text-align: left; }
.person .initials {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--petrol);
  color: #fff;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.person .role { font-size: .82rem; color: var(--coral-deep); font-weight: 600; margin-bottom: 8px; }

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 760px; font-size: .97rem; color: var(--ink-soft); }
.prose h2 { font-size: 1.32rem; margin-top: 2.1em; color: var(--ink); }
.prose h3 { font-size: 1.03rem; margin-top: 1.6em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.05em; }
.prose li { margin-bottom: .45em; }
.prose table { min-width: 0; font-size: .88rem; }
.prose .meta-line {
  font-size: .84rem;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 26px;
}

/* ---------- page hero ---------- */

.page-hero {
  padding: 46px 0 40px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(560px 260px at 92% 0%, #fceee8 0%, rgba(252, 238, 232, 0) 72%);
}
.page-hero h1 { font-size: clamp(1.85rem, 4.2vw, 2.8rem); margin-bottom: .3em; }
.page-hero .lede { max-width: 62ch; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 28px;
  align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.95rem); margin-bottom: .35em; }
.cta-band p { color: rgba(255, 255, 255, .76); font-size: .95rem; margin: 0; max-width: 46ch; }
.cta-band .btn-coral:hover { background: #f7b8a5; }
.cta-band small { display: block; margin-top: 12px; color: rgba(255, 255, 255, .55); font-size: .78rem; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; padding: 28px; }
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 46px 0 30px;
  font-size: .88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-grid h4 {
  font-family: var(--display);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--petrol); text-decoration: underline; }

.footer-brand p { color: var(--ink-soft); font-size: .85rem; max-width: 30ch; }
.footer-brand .brand { margin-bottom: 14px; }

.footer-legal {
  padding-top: 22px;
  display: grid;
  gap: 14px;
  font-size: .8rem;
  color: var(--ink-faint);
}
.footer-legal .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
}
.footer-legal a { color: var(--ink-soft); }
.footer-legal address { font-style: normal; }

.cookie-prefs {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: .8rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-prefs:hover { color: var(--petrol); }

/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-lift);
  padding: 20px;
}
.cookie-banner h2 { font-size: 1.02rem; margin-bottom: .35em; }
.cookie-banner p { font-size: .85rem; color: var(--ink-soft); margin-bottom: 14px; }
.cookie-banner .actions { display: flex; flex-wrap: wrap; gap: 9px; }
.cookie-banner .actions .btn { padding: .56rem 1rem; font-size: .85rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner .manage { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cookie-banner.is-managing .manage { display: block; }
.cookie-opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 11px;
  font-size: .85rem;
  color: var(--ink-soft);
}
.cookie-opt input { margin-top: .25em; accent-color: var(--petrol); }

/* ---------- utility ---------- */

.mono {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .1em .38em;
  color: var(--ink);
  white-space: nowrap;
}

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 12px; }
.mt { margin-top: 26px; }
.mt-l { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.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;
}


/* --- таблицы вне .table-scroll --- */
@media (max-width: 660px) {
  table:not(.table-scroll table) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; min-width: 0; }
}
