/* Pinetech Infrastructure Solutions site styles.
 * Light, calm, and plain: warm white ground, one pine green accent, Inter for
 * all text, thin rules and soft cards. Same-origin only, so no inline styles
 * anywhere (see public/_headers).
 */

/* ---------- Font ---------- */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;
  --bg: #f7f7f3;
  --surface: #ffffff;
  --tint: #eef3ee;
  --ink: #12201a;
  --body: #3a4943;
  --muted: #5a6862;
  --line: #dfe4dd;
  --line-strong: #c4cec6;
  --pine: #1b503a;
  --pine-hover: #163c2d;
  --pine-mid: #2f6b51;
  --pine-soft: #e3eee7;
  --pine-deep: #102a1f;
  --on-pine: #f4f8f5;
  --on-pine-muted: #b9cbc1;
  --amber: #8a5a12;
  --error: #b42318;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shell: min(1200px, calc(100% - 64px));
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(18, 32, 26, 0.05), 0 10px 30px rgba(18, 32, 26, 0.07);
  --shadow-lg: 0 2px 4px rgba(18, 32, 26, 0.06), 0 24px 60px rgba(18, 32, 26, 0.14);
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.22rem;
  font-weight: 650;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--pine-mid);
  outline-offset: 3px;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 60;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--pine);
  color: var(--on-pine);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

/* Text for screen readers only. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--pine-mid);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  color: var(--body);
  font-size: 1.12rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: 600 16px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
  border-color: var(--pine-mid);
  color: var(--pine);
}

.btn--primary {
  border-color: var(--pine);
  background: var(--pine);
  color: var(--on-pine);
}

.btn--primary:hover {
  border-color: var(--pine-hover);
  background: var(--pine-hover);
  color: var(--on-pine);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 15px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.actions--flush {
  margin-top: 20px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pine);
  font: 600 15px/1.4 var(--sans);
  cursor: pointer;
}

.text-button {
  position: relative;
  text-decoration: none;
}

/* A 44px tall tap area on touch screens without changing the layout. */
.text-button::after {
  content: "";
  position: absolute;
  inset: -12px -4px;
}

.text-button:hover {
  color: var(--pine-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button span {
  transition: transform 0.15s;
}

.text-button:hover span {
  transform: translateX(3px);
}

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

/* Approved logo, horizontal lockup. Artwork lives in public/assets/img/. */
.brand-logo {
  display: block;
  width: auto;
  height: 48px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 243, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  min-height: 72px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 550;
}

.site-header nav a {
  color: var(--body);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--pine);
}

.site-header nav .nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background: var(--pine);
  color: var(--on-pine);
}

.site-header nav .nav-contact:hover {
  background: var(--pine-hover);
  color: var(--on-pine);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: 600 15px var(--sans);
  cursor: pointer;
}

.menu-toggle span {
  color: var(--pine);
  font-size: 20px;
  line-height: 1;
}

.app__who {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

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

.section {
  padding-block: 96px;
}

.section--tint {
  border-block: 1px solid var(--line);
  background: var(--tint);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
  margin-bottom: 48px;
}

.section-heading > p {
  max-width: 520px;
  color: var(--body);
  font-size: 1.08rem;
}

.section-heading--stack {
  grid-template-columns: minmax(0, 760px);
}

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

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 1px 1px, rgba(30, 77, 58, 0.11) 1px, transparent 0) 0 0 / 26px 26px,
    linear-gradient(180deg, var(--bg) 0%, #f1f4ef 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 56px 72px;
  padding-block: 88px 96px;
}

.hero h1 {
  max-width: 720px;
}

.hero .lede {
  max-width: 620px;
  margin-top: 24px;
}


.includes-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.includes-card h2 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

.check-list li strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pine-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.4' fill='none' stroke='%231b503a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.check-list--compact {
  gap: 9px;
}

.check-list--compact li {
  padding-left: 28px;
  font-size: 15px;
}

.check-list--compact li::before {
  top: 3px;
  width: 18px;
  height: 18px;
  background-size: 18px;
}

.includes-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Trust strip ---------- */

.trust {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.trust li:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust svg {
  width: 36px;
  height: 36px;
  flex: none;
  padding: 7px;
  border-radius: 50%;
  background: var(--pine-soft);
  fill: none;
  stroke: var(--pine);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

.trust span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

/* ---------- Who it is for ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.audience {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--pine);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.audience h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.audience p {
  color: var(--body);
  font-size: 15.5px;
}

/* ---------- Why it matters ---------- */

.section--line {
  border-top: 1px solid var(--line);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.risk {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.risk-label {
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.risk h3 {
  font-size: 1.12rem;
  line-height: 1.3;
}

.risk > p:not([class]) {
  color: var(--body);
  font-size: 15.5px;
}

.risk-stat {
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fbf3e4;
  color: var(--ink);
  font-size: 15px;
}

.risk-stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--amber);
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.risk-fix {
  color: var(--body);
  font-size: 15px;
}

.risk-fix span {
  display: block;
  margin-bottom: 4px;
  color: var(--pine);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.risk-source {
  margin-top: auto;
  padding-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.risk-source a {
  color: var(--muted);
}

.risk-law {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px 56px;
  margin-top: 28px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
}

.risk-law h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.risk-law p:not(.risk-source) {
  color: var(--body);
}

.risk-law .risk-source {
  margin-top: 12px;
}

.risk-cta > p {
  color: var(--ink);
  font-size: 1.05rem;
}

/* ---------- Two-minute check ---------- */

.check-section {
  background: var(--pine-deep);
  color: var(--on-pine);
}

.check-section .eyebrow {
  color: #9fd0b5;
}

.check-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 40px 64px;
}

/* Keeps the explanation in view beside the long question list on wide screens. */
.check-copy {
  position: sticky;
  top: 112px;
}

.check-copy p:not(.eyebrow) {
  max-width: 460px;
  margin-top: 16px;
  color: var(--on-pine-muted);
  font-size: 1.08rem;
}

.check-copy .check-privacy {
  font-size: 14.5px;
}

.check-card {
  display: grid;
  gap: 22px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.check-q {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.check-q legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
}

.check-opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.check-opts .choice {
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 15px;
}

.check-hint {
  color: var(--muted);
  font-size: 14px;
}

.check-result {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.check-result[hidden] {
  display: none;
}

.check-score {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.check-result[data-level="good"] .check-score {
  color: var(--pine);
}

.check-result[data-level="gaps"] .check-score {
  color: var(--amber);
}

.check-result p:not(.check-score) {
  color: var(--body);
}

.check-gaps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-gaps li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  font-weight: 600;
}

.check-gaps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.check-result .btn {
  margin-top: 6px;
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover,
.service-card:focus-within {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.service-visual {
  position: relative;
  height: 176px;
  border-bottom: 1px solid var(--line);
  background-color: #f6f8f5;
  background-image: linear-gradient(rgba(30, 77, 58, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 77, 58, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.status {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--body);
  font-size: 12px;
  font-weight: 600;
}

.card-diagram {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #8fa597;
  stroke-width: 1;
}

.card-diagram rect {
  fill: var(--surface);
  stroke: #9fb3a6;
  rx: 4px;
}

.card-diagram .wire {
  stroke: var(--pine-mid);
  stroke-width: 1.3;
}

.card-diagram .platform {
  fill: var(--pine-soft);
  stroke: var(--pine-mid);
}

.card-diagram .edge {
  fill: var(--pine);
  stroke: var(--pine);
}

.card-diagram text {
  fill: var(--body);
  stroke: none;
  text-anchor: middle;
  font: 600 10.5px var(--sans);
  letter-spacing: 0.06em;
}

.card-diagram .edge + text {
  fill: var(--on-pine);
}

.card-diagram .caption {
  fill: var(--muted);
  font-weight: 500;
}

.card-diagram .grid-line {
  stroke: #9fb3a6;
  stroke-dasharray: 2 4;
}

.card-diagram .nodes circle {
  fill: var(--pine);
  stroke: none;
}

.signal-path {
  stroke: #4f9a74;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 12 150;
  animation: signal 7s linear infinite;
}

.service-card:nth-child(2) .signal-path {
  animation-delay: -2.5s;
}

.service-card:nth-child(3) .signal-path {
  animation-delay: -4s;
}

.service-card:nth-child(4) .signal-path {
  animation-delay: -1.5s;
}

@keyframes signal {
  to {
    stroke-dashoffset: -324;
  }
}

.service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 26px;
}

.service-content h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.service-outcome {
  margin-bottom: 18px;
  color: var(--body);
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
}

.service-content .check-list {
  margin-bottom: 4px;
}

/* Secondary offering under the service cards. Visible, but not a headline. */
.also-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 28px;
  margin-top: 24px;
  padding: 20px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
}

.also-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.also-text {
  max-width: 760px;
  color: var(--body);
  font-size: 15.5px;
}

.also-text strong {
  color: var(--ink);
}

.also-open {
  white-space: nowrap;
}

/* ---------- Packages ---------- */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.package {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.package h3 {
  font-size: 1.15rem;
}

.package-for {
  min-height: 3.2em;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.price {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.price-from {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-amount {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.price-unit {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.package-length {
  margin: 14px 0 18px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--body);
  font-size: 14px;
}

.package-length strong {
  color: var(--ink);
  font-weight: 650;
}

.package .btn {
  width: 100%;
  margin-top: auto;
}

.package .check-list {
  margin-bottom: 24px;
}

.packages-note {
  max-width: 760px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Approach ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 64px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--pine);
  border-radius: 50%;
  background: var(--surface);
  color: var(--pine);
  font-weight: 700;
}

.step::after {
  content: "";
  position: absolute;
  left: 56px;
  right: -12px;
  top: 22px;
  border-top: 1px dashed var(--line-strong);
}

.step:last-child::after {
  display: none;
}

.step-label {
  display: block;
  margin-bottom: 6px;
  color: var(--pine-mid);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.step p {
  color: var(--body);
  font-size: 15.5px;
}

/* ---------- Practices (dark band) ---------- */

.practices-section {
  background: var(--pine-deep);
  color: var(--on-pine);
}

.practices-section .eyebrow {
  color: #9fd0b5;
}

.practices-section .section-heading > p {
  color: var(--on-pine-muted);
}

.practices-proof {
  max-width: 820px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 248, 245, 0.16);
  color: var(--on-pine-muted);
  font-size: 15.5px;
}

.practices-proof strong {
  color: var(--on-pine);
}

.practices-proof a {
  color: var(--on-pine);
  font-weight: 600;
  text-underline-offset: 3px;
}

.practices-proof a:hover {
  color: #9fd0b5;
}

.practices-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(244, 248, 245, 0.16);
}

.practice {
  padding: 28px 28px 8px 0;
}

.practice + .practice {
  padding-left: 28px;
  border-left: 1px solid rgba(244, 248, 245, 0.16);
}

.practice h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.practice p {
  color: var(--on-pine-muted);
  font-size: 15.5px;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px 80px;
  align-items: start;
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--tint);
  box-shadow: var(--shadow-lg);
}

.portrait figcaption {
  display: grid;
  gap: 2px;
  margin-top: 18px;
}

.portrait strong {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.portrait figcaption span {
  color: var(--muted);
  font-size: 15px;
}

.creds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.creds li {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 15px;
  line-height: 1.4;
}

.creds li span {
  color: var(--pine-mid);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-copy h2 {
  margin-bottom: 24px;
}

.about-copy p + p:not(.eyebrow) {
  margin-top: 16px;
}

.about-copy p:not(.eyebrow) {
  color: var(--body);
  font-size: 1.06rem;
}

.about-copy .lede {
  color: var(--ink);
  font-size: 1.15rem;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px 80px;
  align-items: start;
}

.faq-grid .section-heading {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-size: 1.05rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  color: var(--pine);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  max-width: 680px;
  padding-bottom: 22px;
  color: var(--body);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px 72px;
  align-items: start;
}

.contact-side h2 {
  margin-bottom: 18px;
}

.contact-side p:not(.eyebrow):not(.direct) {
  color: var(--body);
}

.contact-side .check-list {
  margin-top: 28px;
}

.direct {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.direct a {
  color: var(--pine);
  font-weight: 600;
}

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

.form {
  display: grid;
  gap: 22px;
}

.row2,
.choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.choices {
  gap: 10px;
  margin-top: 10px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > label,
.field legend {
  padding: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.hint {
  color: var(--muted);
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.4 var(--sans);
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--pine-mid);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 107, 81, 0.2);
}

[aria-invalid="true"] {
  border-color: var(--error);
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15.5px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.choice:hover {
  border-color: var(--pine-mid);
}

.choice:has(input:checked) {
  border-color: var(--pine);
  background: var(--pine-soft);
}

.choice input {
  width: 18px;
  min-height: 0;
  height: 18px;
  margin: 0;
  flex: none;
  accent-color: var(--pine);
}

.err {
  color: var(--error);
  font-size: 14px;
  font-weight: 550;
}

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

.form__status {
  min-height: 1.5em;
  color: var(--muted);
  font-size: 15px;
}

.form__status.is-error {
  color: var(--error);
  font-weight: 550;
}

.fineprint {
  color: var(--muted);
  font-size: 14px;
}

.manage-line {
  margin-top: 16px;
}

/* Reserves the widget's height so the button does not jump when it loads. */
.human-check {
  min-height: 65px;
}

/* Not .err: form validation removes every .err on submit. */
.human-error {
  color: var(--error);
  font-weight: 550;
}

.fineprint a {
  color: var(--pine);
}

/* Booking panels */

.panel h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.panel p:not(.eyebrow) {
  color: var(--body);
}

.panel:focus {
  outline: none;
}

.slots {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  color: var(--muted);
}

.slots h4 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.slot-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

.slot {
  min-width: 0;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: 600 15px var(--sans);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.slot:hover {
  border-color: var(--pine-mid);
}

.slot[aria-pressed="true"] {
  border-color: var(--pine);
  background: var(--pine);
  color: var(--on-pine);
}

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

.site-footer {
  background: var(--pine-deep);
  color: var(--on-pine-muted);
  font-size: 15px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: 40px 56px;
  padding-block: 64px 40px;
}

.site-footer .brand-logo {
  height: 48px;
}

.footer-tagline {
  max-width: 380px;
  margin-top: 16px;
}

.footer-col h2 {
  margin-bottom: 14px;
  color: var(--on-pine);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--on-pine-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px 28px;
  border-top: 1px solid rgba(244, 248, 245, 0.14);
  font-size: 14px;
}

/* ---------- Service details dialog ---------- */

dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

dialog::backdrop {
  background: rgba(16, 42, 31, 0.45);
  backdrop-filter: blur(2px);
}

.dialog-inner {
  padding: 36px 40px 40px;
}

.dialog-close {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -8px -12px 0 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--body);
  font: 600 14px var(--sans);
  cursor: pointer;
}

.dialog-close:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.dialog-close span {
  font-size: 18px;
  line-height: 1;
}

.dialog-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.dialog-lead {
  margin-top: 10px;
  color: var(--body);
  font-size: 1.08rem;
}

.dialog-inner h3 {
  margin-block: 26px 8px;
  font-size: 1.05rem;
}

.dialog-inner p:not(.eyebrow):not(.dialog-lead) {
  color: var(--body);
}

.dialog-inner .btn {
  margin-top: 28px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-list li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--tint);
  color: var(--body);
  font-size: 13.5px;
  font-weight: 550;
}

/* Keep the page still behind an open dialog. */
body.dialog-open {
  overflow: hidden;
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .row2,
  .choices {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .packages-grid,
  .risk-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .trust li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }
  .step:nth-child(3)::after {
    display: none;
  }
  .practices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .practice:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .practice:nth-child(n + 3) {
    border-top: 1px solid rgba(244, 248, 245, 0.16);
  }
}

@media (max-width: 900px) {
  :root {
    --shell: calc(100% - 40px);
  }
  .risk-law,
  .check-grid {
    grid-template-columns: 1fr;
  }
  .check-copy {
    position: static;
  }
  .section {
    padding-block: 72px;
  }
  .header-inner {
    min-height: 64px;
    padding-block: 12px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .site-header nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 16px;
    font-size: 17px;
  }
  .site-header nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header nav .nav-contact {
    margin-top: 12px;
    padding: 12px 16px;
    border-bottom: 0;
    text-align: center;
  }
  .site-header nav.open {
    display: flex;
  }
  .hero-inner,
  .about-grid,
  .contact-grid,
  .faq-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    padding-block: 56px 64px;
  }
  .section-heading {
    margin-bottom: 36px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .also-row {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .portrait {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
  }
  body {
    font-size: 16px;
  }
  .brand-logo {
    height: 38px;
  }
  /* Keeps the logo and Menu button on one row on small phones. */
  .header-inner {
    column-gap: 12px;
  }
  .section {
    padding-block: 60px;
  }
  .hero-inner {
    padding-block: 44px 52px;
  }
  .includes-card,
  .form-card {
    padding: 24px 20px;
  }
  .trust ul,
  .packages-grid,
  .risk-grid,
  .audience-grid,
  .practices-grid {
    grid-template-columns: 1fr;
  }
  .risk-law,
  .check-card {
    padding: 22px 20px;
  }
  .check-opts {
    gap: 6px;
  }
  .check-opts .choice {
    gap: 7px;
    padding: 8px;
    font-size: 14px;
    white-space: nowrap;
  }
  .trust li,
  .trust li:nth-child(3) {
    padding: 18px 0;
    border-left: 0;
  }
  .trust li + li {
    border-top: 1px solid var(--line);
  }
  .practice,
  .practice + .practice,
  .practice:nth-child(3) {
    padding: 24px 0 20px;
    border-left: 0;
  }
  .practice + .practice {
    border-top: 1px solid rgba(244, 248, 245, 0.16);
  }
  .steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .step {
    padding: 0 0 28px 64px;
  }
  .step::after,
  .step:nth-child(3)::after {
    display: block;
    left: 22px;
    right: auto;
    top: 52px;
    bottom: 6px;
    border-top: 0;
    border-left: 1px dashed var(--line-strong);
  }
  .step:last-child::after {
    display: none;
  }
  .service-visual {
    height: 150px;
  }
  .service-content {
    padding: 22px 20px;
  }
  .service-foot {
    flex-wrap: wrap;
  }
  .package-for {
    min-height: 0;
  }
  .creds {
    grid-template-columns: 1fr;
  }
  .dialog-inner {
    padding: 24px 20px 28px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    padding-block: 48px 32px;
  }
}

/* Without JavaScript the nav stays visible and the menu button stays hidden. */
.menu-toggle:not(.js-ready) {
  display: none;
}

.site-header nav.no-js-nav {
  display: flex;
}

@media (max-width: 360px) {
  .brand-logo {
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
