/* Accuflo website. Look "C, brand light": see docs/superpowers/specs/2026-11-21-website-revamp-design.md, section 5. */

@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --page: #ffffff;
  --soft: #f7f7f5;
  --ink: #111111;
  --body: #3d3d3d;
  --muted: #5e5e5e;
  --line: #e6e6e6;
  --line-strong: #d4d4d4;
  --field-line: #8c8c8c;
  --accent: #065381;
  --error: #b3261e;
  --error-soft: #fdf3f2;

  --band: #0b0b0c;
  --band-body: #b5b5b5;
  --band-accent: #00cee8;
  --band-line: #26272b;

  --wrap: 1200px;
  --gutter: 24px;
  --section: 96px;
  --radius: 4px;
  --header: 68px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  color-scheme: light;
}

@media (max-width: 767px) { :root { --section: 64px; --header: 60px; } }
@media (max-width: 359px) { :root { --gutter: 16px; } }

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p, ul, ol, dl, dd, address { margin: 0; }
address { font-style: normal; }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.band :focus-visible { outline-color: var(--band-accent); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.label, .eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

p { text-wrap: pretty; }

.icon {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.button:active { transform: translateY(1px); }
.button-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.button-primary:hover { background: #2e2e2e; border-color: #2e2e2e; }
.button-secondary { background: #fff; border-color: var(--field-line); color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); }
.button[disabled] { opacity: 0.65; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.text-link span { transition: transform 0.2s; }
.text-link:hover { color: var(--accent); }
.text-link:hover span { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.brand { flex: none; display: block; padding: 10px 0; }
.brand img { width: 102px; height: 24px; }

.site-nav { margin-left: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  list-style: none;
}

.nav-links > li > a,
.login-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.nav-links > li > a:hover,
.login-toggle:hover { color: var(--accent); }

.login { position: relative; }
.login-heading { display: none; }

.login-toggle {
  gap: 8px;
  padding: 0;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s;
}
.login-toggle[aria-expanded="true"] .chevron { transform: translateY(1px) rotate(-135deg); }

.login-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: -12px;
  min-width: 220px;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
}
.js .login-menu { display: none; }
.js .login.is-open .login-menu { display: block; }

.login-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 2px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.login-menu a:hover { background: var(--soft); color: var(--accent); }

/* Without JavaScript the login links simply sit in the header. */
html:not(.js) .login-toggle { display: none; }
html:not(.js) .login-heading { display: inline; font-size: 15px; font-weight: 500; color: var(--muted); }
html:not(.js) .login { display: flex; align-items: center; gap: 8px; }
html:not(.js) .login-menu { position: static; display: flex; min-width: 0; padding: 0; border: 0; box-shadow: none; }

.header-cta { flex: none; }
.menu-toggle { display: none; }

@media (max-width: 899px) {
  .header-inner { gap: 12px; }

  .header-cta { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 14px; }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--ink);
    cursor: pointer;
  }
  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.2s, background-color 0.2s;
  }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.06);
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  html:not(.js) .site-nav { position: static; box-shadow: none; border: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 8px var(--gutter) 20px;
  }
  .nav-links > li > a {
    display: flex;
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .login-toggle { display: none; }
  .login-heading,
  html:not(.js) .login-heading {
    display: block;
    padding: 20px 0 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  html:not(.js) .login { display: block; }
  .js .login-menu,
  .login-menu,
  html:not(.js) .login-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .login-menu a { display: flex; align-items: center; min-height: 48px; padding: 0; font-size: 17px; }
  .login-menu a:hover { background: none; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(6, 83, 129, 0.18) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 50% 75% at 80% 50%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 50% 75% at 80% 50%, #000 10%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px;
  align-items: center;
}

.hero h1 {
  margin-top: 20px;
  font-size: 54px;
  line-height: 1.07;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 560px;
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.6;
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }

@media (max-width: 999px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 520px; }
  .hero::before {
    -webkit-mask-image: radial-gradient(ellipse 85% 40% at 50% 78%, #000 10%, transparent 72%);
    mask-image: radial-gradient(ellipse 85% 40% at 50% 78%, #000 10%, transparent 72%);
  }
}

@media (max-width: 767px) {
  .hero { padding: 48px 0 64px; }
  .hero h1 { margin-top: 14px; font-size: 36px; line-height: 1.1; }
  .lead { margin-top: 18px; font-size: 17px; }
  .actions { margin-top: 28px; }
}

/* ---------- Flow line (hero and How we work) ---------- */

.flow { padding: 0; list-style: none; }

.flow-node {
  position: relative;
  z-index: 1;
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
}

/* Hero visual: one record moving through counted, checked, received, reported. */
.trail {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 36px;
  list-style: none;
}
.trail::before,
.trail::after {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 6px;
  width: 2px;
  background: var(--line-strong);
}
.trail::after {
  background: var(--accent);
  transform-origin: center top;
  animation: trail-fill 1.05s ease-out 0.15s both;
}
.trail-step { position: relative; }
.trail-step > .flow-node {
  position: absolute;
  top: 18px;
  left: -36px;
  background: var(--accent);
  animation: node-fill 0.25s ease-out both;
}
.trail-step:nth-child(1) > .flow-node { animation-delay: 0.15s; }
.trail-step:nth-child(2) > .flow-node { animation-delay: 0.5s; }
.trail-step:nth-child(3) > .flow-node { animation-delay: 0.85s; }
.trail-step:nth-child(4) > .flow-node { animation-delay: 1.2s; }
.trail-step:nth-child(even) .trail-card { margin-left: 28px; }

.trail-card {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 30px -20px rgba(6, 83, 129, 0.45);
  animation: card-in 0.5s ease-out both;
}
.trail-step:nth-child(1) .trail-card { animation-delay: 0.05s; }
.trail-step:nth-child(2) .trail-card { animation-delay: 0.4s; }
.trail-step:nth-child(3) .trail-card { animation-delay: 0.75s; }
.trail-step:nth-child(4) .trail-card { animation-delay: 1.1s; }
.trail-agent { background: #f2f7fa; border-color: #c9dbe6; }

.trail-label { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; font-weight: 600; }
.trail-main { margin-top: 4px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.4; }
.trail-main b { margin-right: 2px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.trail-sub { margin-top: 2px; color: var(--muted); font-size: 13px; }

.flag {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 4px;
  background: #fff1dc;
  color: #7a4100;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 2px;
}
.progress { display: block; height: 6px; margin-top: 10px; border-radius: 3px; background: var(--accent); }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 44px; margin-top: 10px; }
.mini-bars span { flex: 1; border-radius: 3px 3px 0 0; background: #cddfea; }
.mini-bars span:nth-child(1) { height: 46%; }
.mini-bars span:nth-child(2) { height: 74%; }
.mini-bars span:nth-child(3) { height: 32%; }
.mini-bars span:nth-child(4) { height: 58%; }
.mini-bars span:nth-child(5) { height: 90%; background: var(--accent); }

@keyframes trail-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes node-fill { from { background: #fff; } to { background: var(--accent); } }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trail::after,
  .trail-step > .flow-node,
  .trail-card { animation: none; }
}

@media (max-width: 767px) {
  .trail-step:nth-child(even) .trail-card { margin-left: 16px; }
}

.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.flow-steps::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 7px;
  right: calc((100% - 120px) / 4 - 7px);
  height: 2px;
  background: var(--line-strong);
}
.flow-steps > li { position: relative; }
.flow-steps .step-number { margin-top: 24px; color: var(--accent); font-size: 13px; font-weight: 600; }
.flow-steps h3 { margin-top: 4px; font-size: 20px; }
.flow-steps h3 + p { margin-top: 8px; }

@media (max-width: 899px) {
  .flow-steps { grid-template-columns: 1fr; gap: 36px; padding-left: 38px; }
  .flow-steps::before { display: none; }
  .flow-steps .flow-node { position: absolute; top: 4px; left: -38px; }
  .flow-steps .step-number { margin-top: 0; }
  .flow-steps > li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    bottom: -40px;
    left: -32px;
    width: 2px;
    background: var(--line-strong);
  }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section-soft { background: var(--soft); }
.section-ruled { padding-top: 0; }
.section-ruled > .wrap::before { content: ""; display: block; margin-bottom: var(--section); border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-top: 12px; font-size: 36px; }
.section-head .intro { margin-top: 16px; font-size: 19px; }

@media (max-width: 767px) {
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 28px; }
  .section-head .intro { font-size: 17px; }
}

/* ---------- What we do ---------- */

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { padding: 32px; border-radius: 16px; background: var(--soft); }
.tile-systems {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: start;
}
.tile-ai {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  background: #edf4f8;
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: var(--accent);
}
.pillar-number { margin-top: 20px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; }
.tile h3 { margin-top: 4px; font-size: 22px; }
.tile h3 + p { max-width: 46ch; margin-top: 10px; }

.system-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; list-style: none; }
.system-grid li { display: grid; align-content: start; gap: 2px; padding: 16px; border-radius: 10px; background: #fff; }
.system-grid .icon { margin-bottom: 8px; color: var(--accent); }
.system-grid strong { color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; }
.system-grid li > span { color: var(--muted); font-size: 14px; line-height: 1.45; }

.agent-card {
  padding: 20px;
  border: 1px solid #c9dbe6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 44px -28px rgba(6, 83, 129, 0.55);
}
.agent-who { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.agent-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}
.agent-time { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.agent-msg { margin-top: 14px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.agent-msg mark { padding: 0 4px; border-radius: 3px; background: #fff1dc; color: #7a4100; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.agent-btn { padding: 8px 14px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.agent-btn-quiet { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--field-line); }

@media (max-width: 999px) {
  .bento { grid-template-columns: 1fr; }
  .tile-systems, .tile-ai { grid-column: auto; grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 767px) {
  .tile { padding: 24px 20px; border-radius: 14px; }
}

@media (max-width: 479px) {
  .system-grid li { padding: 14px 12px; }
}

@media (max-width: 359px) {
  .system-grid { grid-template-columns: 1fr; }
}

/* ---------- Flagship band ---------- */

.band { padding: var(--section) 0; background: var(--band); color: var(--band-body); }
.band-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.band .label { color: var(--band-accent); }
.band h2 { margin-top: 12px; color: #fff; font-size: 36px; }
.band-text > p:not(.label) { margin-top: 20px; }
.band a { color: #fff; }
.band a:hover { color: var(--band-accent); }

.ticks { display: grid; gap: 12px; margin-top: 28px; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; color: #fff; font-weight: 500; }
.ticks li::before {
  content: "";
  position: absolute;
  top: 0.28em;
  left: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--band-accent);
  border-bottom: 2px solid var(--band-accent);
  transform: rotate(45deg);
}

.band-text > .band-login { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--band-line); font-size: 15px; }

.band-visual { position: relative; justify-self: center; }

.float-card {
  position: absolute;
  bottom: -28px;
  left: -132px;
  width: 244px;
  padding: 16px;
  border: 1px solid #2e2f33;
  border-radius: 14px;
  background: #141518;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}
.float-title { color: var(--band-accent); font-size: 12px; font-weight: 600; }
.float-rows { display: grid; gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
.float-rows li { display: grid; grid-template-columns: 62px 1fr 44px; align-items: center; gap: 10px; color: #fff; font-size: 12px; }
.float-rows li > span:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.float-bar { height: 6px; border-radius: 3px; background: #26272b; overflow: hidden; }
.float-bar i { display: block; height: 100%; border-radius: 3px; background: var(--band-accent); }
.float-rows li:nth-child(1) .float-bar i { width: 36%; }
.float-rows li:nth-child(2) .float-bar i { width: 78%; }
.float-rows li:nth-child(3) .float-bar i { width: 18%; }

.phone {
  width: 280px;
  height: 572px;
  padding: 10px;
  border-radius: 44px;
  background: #1c1d20;
  box-shadow: inset 0 0 0 1px #2e2f33, 0 40px 80px rgba(0, 0, 0, 0.5);
}
.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 18px 22px;
  border-radius: 35px;
  background: #000;
  color: #fff;
  overflow: hidden;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; }
.phone-island { width: 76px; height: 22px; border-radius: 12px; background: #111; box-shadow: inset 0 0 0 1px #1e1e1e; }
.phone-battery { width: 22px; height: 10px; border: 1.5px solid #fff; border-radius: 3px; position: relative; }
.phone-battery::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #fff; border-radius: 1px; }
.phone-title { margin-top: 22px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.phone-chip {
  align-self: flex-start;
  margin-top: 10px;
  padding: 4px 10px;
  border: 1px solid var(--band-accent);
  border-radius: 999px;
  color: var(--band-accent);
  font-size: 12px;
  font-weight: 600;
}
.phone-count {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #26272b;
  border-radius: 18px;
  background: #121316;
}
.phone-number { display: block; font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.phone-item { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; }
.phone-sub { display: block; margin-top: 2px; color: #8b8c91; font-size: 12px; }
.phone-rows { margin-top: 10px; padding: 0; list-style: none; }
.phone-rows li { display: flex; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid #222327; font-size: 13px; }
.phone-rows li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.phone-status { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--band-accent); font-size: 12px; font-weight: 600; }
.phone-tick { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--band-accent); }
.phone-tick::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 5.5px;
  width: 4px;
  height: 7px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
}

@media (max-width: 899px) {
  .band-inner { grid-template-columns: 1fr; gap: 56px; }
  .band h2 { font-size: 28px; }
  .phone { width: 260px; height: 532px; }
  .band-visual { padding-bottom: 72px; }
  .float-card { bottom: 0; left: 50%; transform: translateX(-50%); }
}

/* ---------- Selected work ---------- */

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.card-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 148px;
  margin: -32px -32px 28px;
  padding: 16px 24px;
  background: #edf4f8;
  color: var(--accent);
}
.card-art svg {
  width: 100%;
  max-width: 320px;
  height: 116px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-art .fill-white { fill: #fff; }
.card-art .fill-soft { fill: currentColor; fill-opacity: 0.16; stroke: none; }
.card-art .fill-accent { fill: var(--accent); }
.card-art .fill-ink { fill: var(--ink); stroke: var(--ink); }
.card-art text { fill: var(--ink); stroke: none; font-family: var(--font); font-size: 12px; font-weight: 600; }
.card-art text.big { font-size: 26px; font-weight: 700; }
.card-art text.muted { fill: var(--muted); font-size: 11px; font-weight: 500; }
.card-art text.on-accent { fill: #fff; }
.card-art .on-accent-stroke { stroke: #fff; stroke-width: 2; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.tags li {
  padding: 3px 8px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.card h3 { margin-top: 20px; font-size: 22px; }

.story { margin-top: 18px; }
.story dt { margin-top: 14px; color: var(--accent); font-size: 13px; font-weight: 600; }
.story dt:first-child { margin-top: 0; }
.story dd { margin-top: 4px; }
.story-note { display: block; margin-top: 12px; color: var(--ink); font-weight: 600; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding: 24px 0 0;
  list-style: none;
}
.story + .chips { margin-top: 24px; border-top: 1px solid var(--line); }
.chips li {
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--body);
  font-size: 13px;
  line-height: 1.35;
}

.chips-more {
  display: none;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 4px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 899px) {
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .cards { gap: 16px; }
  .card { padding: 24px 20px; }
  .card-art { height: 132px; margin: -24px -20px 22px; padding: 12px 16px; }
  .card h3 { font-size: 20px; }
  .chips[data-collapsed] li:nth-child(n + 7) { display: none; }
  .chips[data-collapsed] + .chips-more { display: inline-flex; align-items: center; }
}

/* ---------- About ---------- */

.about-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.about h2 { margin-top: 12px; font-size: 36px; }
.about-text { font-size: 19px; line-height: 1.65; }

@media (max-width: 899px) {
  .about-inner { grid-template-columns: 1fr; gap: 20px; }
  .about h2 { font-size: 28px; }
  .about-text { font-size: 17px; }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  grid-template-areas: "intro panel" "aside panel";
  grid-template-rows: auto 1fr;
  gap: 40px 64px;
  align-items: start;
}
.contact-intro { grid-area: intro; }
.contact-panel { grid-area: panel; }
.contact-aside { grid-area: aside; }

.contact-intro h2 { margin-top: 12px; font-size: 36px; }
.contact-intro h2 + p { margin-top: 16px; font-size: 19px; }

.contact-panel {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 14px; font-weight: 600; }
.optional { color: var(--muted); font-weight: 500; }

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }

.field-error { color: var(--error); font-size: 14px; font-weight: 500; }
.field-error:empty { display: none; }

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

.form-status {
  grid-column: 1 / -1;
  padding: 12px 16px;
  border: 1px solid var(--error);
  border-radius: var(--radius);
  background: var(--error-soft);
  color: var(--error);
  font-weight: 500;
}
.form-status:empty { display: none; }

.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { color: var(--muted); font-size: 14px; }

.form-success h3 { font-size: 22px; }
.form-success p { margin-top: 10px; }
.form-success::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
}

.aside-title { color: var(--ink); font-weight: 600; }
.contact-aside p + p { margin-top: 4px; }
.contact-aside address { margin-top: 16px; color: var(--muted); }

@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "panel" "aside"; grid-template-rows: none; gap: 32px; }
  .contact-intro h2 { font-size: 28px; }
  .contact-intro h2 + p { font-size: 17px; }
}

@media (max-width: 599px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-panel { padding: 24px 20px; }
}

/* ---------- Footer ---------- */

.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer-grid img { width: 85px; height: 20px; }
.footer-tagline { margin-top: 14px; color: var(--muted); }
.footer-grid address + p { margin-top: 8px; }
.footer-label { color: var(--ink); font-weight: 600; }
.footer-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Plain answer page (contact.php without JavaScript) ---------- */

.plain-page { max-width: 600px; margin: 0 auto; padding: 64px var(--gutter); }
.plain-logo { display: inline-block; margin-bottom: 48px; }
.plain-logo img { width: 120px; height: 28px; }
.plain-page h1 { font-size: 32px; }
.plain-page p { margin-top: 16px; }
.plain-errors { margin-top: 16px; padding-left: 20px; color: var(--error); }
.plain-page .button { margin-top: 8px; }
