/*
 * Northgate Automation — site stylesheet
 *
 * Dark editorial theme. Mobile-first: base styles target small screens and
 * `min-width` queries layer on larger layouts.
 * Breakpoints: 40em (640px), 56em (896px), 72em (1152px).
 * Naming: BEM with an `ng-` prefix (block__element--modifier).
 *
 * Contents
 *   1. Design tokens
 *   2. Base
 *   3. Layout
 *   4. Buttons
 *   5. Header and navigation
 *   6. Hero
 *   7. Trade strip
 *   8. Sections
 *   9. Cards
 *  10. Notes (definition list)
 *  11. Process steps
 *  12. Trade grid
 *  13. Plans
 *  14. FAQ
 *  15. Call to action
 *  16. Footer
 *  17. Page hero
 *  18. Columns and panels
 *  19. Callout and check list
 *  20. Form
 *  21. Prose (legal pages)
 */

/* 1. Design tokens
   ========================================================================== */

:root {
  /* Color */
  --ng-bg: #0d1017;
  --ng-bg-alt: #10141c;
  --ng-surface: #141922;
  --ng-line: #232a38;
  --ng-line-strong: #333c4d;
  --ng-text: #f3f1ec;
  --ng-text-muted: #b9c0cc;
  --ng-text-subtle: #8e97a6;
  --ng-accent: #e8720c;
  --ng-accent-hover: #f08a2e;
  --ng-on-accent: #14100a;

  /* Typography */
  --ng-font-display: "Fraunces", georgia, "Times New Roman", serif;
  --ng-font-body:
    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ng-font-mono: "JetBrains Mono", ui-monospace, menlo, consolas, monospace;
  --ng-text-hero: clamp(2.5rem, 1.6rem + 4.2vw, 5.25rem);
  --ng-text-title: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --ng-text-card: 1.625rem;

  /* Layout */
  --ng-container-max: 75rem;
  --ng-gutter: 1.25rem;
  --ng-section-y: clamp(4rem, 2.5rem + 6vw, 7rem);
  --ng-header-height: 4rem;
  --ng-radius: 0.375rem;
  --ng-radius-lg: 0.625rem;
}

@media (min-width: 40em) {
  :root {
    --ng-gutter: 2rem;
  }
}

@media (min-width: 72em) {
  :root {
    --ng-gutter: 2.5rem;
  }
}

/* 2. Base
   ========================================================================== */

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

html {
  /* stylelint-disable-next-line property-no-vendor-prefix -- iOS Safari still needs the prefix */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--ng-bg);
  color: var(--ng-text);
  font-family: var(--ng-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--ng-accent);
  outline-offset: 3px;
}

.ng-skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.625rem 1rem;
  border-radius: var(--ng-radius);
  background: var(--ng-text);
  color: var(--ng-bg);
  font-weight: 600;
  transform: translateY(-200%);
}

.ng-skip-link:focus {
  transform: none;
}

/* Inline SVG sprite: kept in the DOM (not display: none) so <use> works everywhere. */
.ng-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* 3. Layout
   ========================================================================== */

.ng-container {
  width: 100%;
  max-width: var(--ng-container-max);
  margin-inline: auto;
  padding-inline: var(--ng-gutter);
}

.ng-eyebrow {
  color: var(--ng-text-subtle);
  font-family: var(--ng-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ng-emph {
  color: var(--ng-accent);
  font-style: italic;
}

/* 4. Buttons
   ========================================================================== */

.ng-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--ng-radius);
  font: 600 1rem/1.2 var(--ng-font-body);
  text-align: center;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.ng-btn--sm {
  min-height: 2.75rem;
  padding: 0.6875rem 1.125rem;
  font-size: 0.875rem;
}

.ng-btn--primary {
  background: var(--ng-accent);
  color: var(--ng-on-accent);
}

.ng-btn--primary:hover {
  background: var(--ng-accent-hover);
}

.ng-btn--ghost {
  border-color: var(--ng-line-strong);
  color: var(--ng-text);
}

.ng-btn--ghost:hover {
  border-color: var(--ng-accent);
  color: var(--ng-accent);
}

.ng-btn--light {
  background: var(--ng-text);
  color: var(--ng-bg);
}

.ng-btn--light:hover {
  background: var(--ng-accent);
  color: var(--ng-on-accent);
}

/* 5. Header and navigation
   ========================================================================== */

.ng-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--ng-line);
  background: rgb(13 16 23 / 94%);
  backdrop-filter: blur(8px);
}

.ng-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: var(--ng-header-height);
  padding-block: 0.5rem;
}

.ng-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ng-brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--ng-text);
}

.ng-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1;
}

.ng-brand__name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ng-brand__tag {
  color: var(--ng-text-subtle);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* The toggle only appears when JavaScript is available (see the `js` class
   set in the document head), so the menu is never hidden without a way to open it. */
.ng-nav-toggle {
  display: none;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--ng-line-strong);
  border-radius: var(--ng-radius);
  background: transparent;
  color: var(--ng-text);
  font: 500 0.875rem/1 var(--ng-font-body);
  cursor: pointer;
}

.js .ng-nav-toggle {
  display: inline-flex;
  align-items: center;
}

.ng-nav {
  width: 100%;
}

.js .ng-nav {
  display: none;
}

.js .ng-nav.is-open {
  display: block;
}

.ng-nav__list {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.75rem;
}

.ng-nav__link {
  display: block;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--ng-line);
  color: var(--ng-text-muted);
}

.ng-nav__link:hover,
.ng-nav__link[aria-current="page"] {
  color: var(--ng-accent);
}

.ng-nav__item--cta {
  padding-top: 1rem;
}

.ng-nav__item--cta .ng-btn {
  width: 100%;
}

@media (min-width: 56em) {
  .ng-header__inner {
    min-height: 4.75rem;
  }

  .js .ng-nav-toggle {
    display: none;
  }

  .ng-nav,
  .js .ng-nav {
    display: block;
    width: auto;
  }

  .ng-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
  }

  .ng-nav__link {
    padding: 0;
    border: 0;
    font-size: 0.875rem;
  }

  .ng-nav__item--cta {
    padding-top: 0;
  }

  .ng-nav__item--cta .ng-btn {
    width: auto;
  }
}

/* 6. Hero
   ========================================================================== */

.ng-hero {
  padding-block: 4rem 4.5rem;
}

.ng-hero__inner {
  display: grid;
  gap: 3rem;
}

.ng-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.ng-hero__title {
  font-family: var(--ng-font-display);
  font-size: var(--ng-text-hero);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.ng-hero__lede {
  max-width: 35rem;
  color: var(--ng-text-muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.ng-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 100%;
  padding-top: 0.5rem;
}

@media (min-width: 40em) {
  .ng-hero__actions {
    flex-flow: row wrap;
    width: auto;
  }
}

@media (min-width: 56em) {
  .ng-hero {
    padding-block: 7rem;
  }

  .ng-hero__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
    align-items: center;
  }

  .ng-hero__copy {
    grid-column: span 7;
  }

  .ng-flow {
    grid-column: 9 / span 4;
  }
}

/* Example workflow card */

.ng-flow {
  width: 100%;
  max-width: 28rem;
  overflow: hidden;
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius-lg);
  background: var(--ng-surface);
}

.ng-flow__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--ng-line);
}

.ng-flow__label {
  color: var(--ng-text-subtle);
  font-family: var(--ng-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ng-flow__badge {
  color: var(--ng-text-muted);
  font-size: 0.75rem;
}

.ng-flow__intro {
  padding: 1.25rem 1.25rem 0.5rem;
}

.ng-flow__title {
  font-family: var(--ng-font-display);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.25;
}

.ng-flow__subtitle {
  margin-top: 0.25rem;
  color: var(--ng-text-subtle);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.ng-flow__steps {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 0.75rem 1.25rem 1.375rem;
}

.ng-flow__step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ng-flow__icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1875rem;
  color: var(--ng-accent);
}

.ng-flow__step--pending .ng-flow__icon {
  color: var(--ng-text-subtle);
}

.ng-flow__step-title {
  display: block;
  font-size: 0.875rem;
  line-height: 1.4;
}

.ng-flow__step--pending .ng-flow__step-title {
  color: var(--ng-text-muted);
}

.ng-flow__step-detail {
  display: block;
  color: var(--ng-text-subtle);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* 7. Trade strip
   ========================================================================== */

.ng-strip {
  border-block: 1px solid var(--ng-line);
}

.ng-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  padding-block: 1.5rem;
  color: var(--ng-text-subtle);
  font-family: var(--ng-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (min-width: 72em) {
  .ng-strip__list {
    justify-content: space-between;
  }
}

/* 8. Sections
   ========================================================================== */

.ng-section {
  padding-block: var(--ng-section-y);
  scroll-margin-top: 5rem;
}

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

/* Two consecutive sections that read as one block. */
.ng-section--follow {
  padding-top: 0;
}

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

.ng-section__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.ng-section__heading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
}

.ng-section__title {
  font-family: var(--ng-font-display);
  font-size: var(--ng-text-title);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.ng-section__intro {
  max-width: 26rem;
  color: var(--ng-text-muted);
  line-height: 1.6;
}

@media (min-width: 56em) {
  .ng-section__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3.5rem;
  }
}

/* 9. Cards
   ========================================================================== */

.ng-card-grid {
  display: grid;
  gap: 1.25rem;
}

.ng-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.5rem;
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius-lg);
  background: var(--ng-surface);
}

.ng-card__num {
  color: var(--ng-accent);
  font-family: var(--ng-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
}

.ng-card__title {
  font-family: var(--ng-font-display);
  font-size: var(--ng-text-card);
  font-weight: 400;
  line-height: 1.2;
}

.ng-card__text {
  color: var(--ng-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (min-width: 40em) {
  .ng-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ng-card {
    padding: 2rem;
  }
}

@media (min-width: 56em) {
  .ng-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ng-card {
    min-height: 15.5rem;
  }
}

/* 10. Notes (definition list)
   ========================================================================== */

.ng-split {
  display: grid;
  gap: 2.5rem;
}

.ng-split__lead {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ng-split__text {
  color: var(--ng-text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.ng-notes {
  border-bottom: 1px solid var(--ng-line-strong);
}

.ng-note {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--ng-line-strong);
}

.ng-note__term {
  color: var(--ng-accent);
  font-family: var(--ng-font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.2;
}

.ng-note__text {
  color: var(--ng-text-muted);
  line-height: 1.6;
}

@media (min-width: 40em) {
  .ng-note {
    flex-direction: row;
    gap: 1.75rem;
  }

  .ng-note__term {
    flex: 0 0 11rem;
  }
}

@media (min-width: 56em) {
  .ng-split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
    align-items: start;
  }

  .ng-split__lead {
    grid-column: span 5;
  }

  .ng-notes {
    grid-column: 7 / span 6;
  }
}

/* 11. Process steps
   ========================================================================== */

.ng-steps {
  display: grid;
  gap: 1.5rem;
}

.ng-step {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ng-line-strong);
}

.ng-step:first-child {
  border-top-color: var(--ng-accent);
}

.ng-step__label {
  font-family: var(--ng-font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
}

.ng-step:first-child .ng-step__label {
  color: var(--ng-accent);
}

.ng-step__text {
  color: var(--ng-text-muted);
  line-height: 1.6;
}

@media (min-width: 40em) {
  .ng-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 72em) {
  .ng-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 12. Trade grid
   ========================================================================== */

.ng-trades {
  display: grid;
  border-top: 1px solid var(--ng-line);
  border-left: 1px solid var(--ng-line);
}

.ng-trade {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-right: 1px solid var(--ng-line);
  border-bottom: 1px solid var(--ng-line);
}

.ng-trade__name {
  font-family: var(--ng-font-display);
  font-size: 1.375rem;
  line-height: 1.2;
}

.ng-trade__detail {
  color: var(--ng-text-subtle);
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (min-width: 40em) {
  .ng-trades {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 56em) {
  .ng-trades {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ng-trade {
    padding: 1.75rem;
  }
}

@media (min-width: 72em) {
  .ng-trades {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 13. Plans
   ========================================================================== */

.ng-plans {
  display: grid;
  gap: 1.25rem;
}

.ng-plan {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius-lg);
  background: var(--ng-surface);
}

.ng-plan--featured {
  border-color: var(--ng-accent);
}

.ng-plan__label {
  color: var(--ng-text-subtle);
  font-family: var(--ng-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ng-plan--featured .ng-plan__label {
  color: var(--ng-accent);
}

.ng-plan__price {
  font-family: var(--ng-font-display);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.1;
}

.ng-plan__text {
  color: var(--ng-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.ng-plans__more {
  margin-top: 2rem;
}

.ng-link {
  color: var(--ng-text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--ng-line-strong);
  text-underline-offset: 0.25em;
}

.ng-link:hover {
  color: var(--ng-accent);
  text-decoration-color: var(--ng-accent);
}

@media (min-width: 56em) {
  .ng-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ng-plan {
    padding: 2rem;
  }
}

/* 14. FAQ
   ========================================================================== */

.ng-faq {
  display: grid;
  gap: 2.5rem;
}

.ng-faq__list {
  border-bottom: 1px solid var(--ng-line-strong);
}

.ng-qa {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--ng-line-strong);
}

.ng-qa__question {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.ng-qa__answer {
  color: var(--ng-text-muted);
  line-height: 1.6;
}

@media (min-width: 56em) {
  .ng-faq {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
    align-items: start;
  }

  .ng-faq__intro {
    grid-column: span 4;
  }

  .ng-faq__list {
    grid-column: 6 / span 7;
  }
}

/* 15. Call to action
   ========================================================================== */

.ng-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.ng-cta__title {
  max-width: 55rem;
  font-family: var(--ng-font-display);
  font-size: clamp(2.25rem, 1.5rem + 3.6vw, 4.25rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.ng-cta__text {
  max-width: 35rem;
  color: var(--ng-text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.ng-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 100%;
  padding-top: 0.5rem;
}

.ng-cta__phone {
  color: var(--ng-text-muted);
  font-size: 0.9375rem;
}

@media (min-width: 40em) {
  .ng-cta__actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
}

/* 16. Footer
   ========================================================================== */

.ng-footer {
  border-top: 1px solid var(--ng-line);
  padding-block: 3.5rem 2.5rem;
}

.ng-footer__grid {
  display: grid;
  gap: 2.5rem;
}

.ng-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 22rem;
}

.ng-footer__blurb {
  color: var(--ng-text-subtle);
  font-size: 0.875rem;
  line-height: 1.6;
}

.ng-footer__heading {
  margin-bottom: 0.875rem;
  color: var(--ng-text-subtle);
  font-family: var(--ng-font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ng-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--ng-text-muted);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.ng-footer__list a:hover {
  color: var(--ng-accent);
}

.ng-footer__legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ng-line);
  color: var(--ng-text-subtle);
  font-size: 0.8125rem;
}

@media (min-width: 40em) {
  .ng-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ng-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 56em) {
  .ng-footer__grid {
    grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
    column-gap: 2rem;
  }

  .ng-footer__brand {
    grid-column: auto;
  }
}

/* 17. Page hero
   ========================================================================== */

.ng-page-hero {
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2rem, 1.5rem + 3vw, 3.5rem);
}

.ng-page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ng-page-hero__title {
  max-width: 50rem;
  font-family: var(--ng-font-display);
  font-size: clamp(2.25rem, 1.5rem + 3.6vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.ng-page-hero__lede {
  max-width: 40rem;
  color: var(--ng-text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* 18. Columns and panels
   ========================================================================== */

.ng-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.ng-columns + .ng-columns {
  margin-top: 3rem;
}

.ng-columns__stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ng-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius-lg);
  background: var(--ng-surface);
  color: var(--ng-text-muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ng-panel__title {
  color: var(--ng-text);
  font-family: var(--ng-font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.ng-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 100%;
  padding-top: 0.5rem;
}

.ng-panel__contact {
  font-style: normal;
  line-height: 1.8;
}

.ng-step__title {
  font-family: var(--ng-font-display);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.15;
}

.ng-step--wide {
  min-width: 0;
}

@media (min-width: 40em) {
  .ng-panel__actions {
    flex-direction: row;
    width: auto;
  }
}

@media (min-width: 56em) {
  .ng-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

/* 19. Callout and check list
   ========================================================================== */

.ng-callout {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  padding: 1.5rem;
  border: 1px solid var(--ng-line);
  border-left: 3px solid var(--ng-accent);
  border-radius: var(--ng-radius);
  background: var(--ng-surface);
}

.ng-callout__title {
  font-family: var(--ng-font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.ng-callout__text {
  color: var(--ng-text-muted);
  line-height: 1.6;
}

.ng-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  list-style: none;
}

.ng-check-list__item {
  display: flex;
  gap: 0.75rem;
  color: var(--ng-text-muted);
  line-height: 1.55;
}

.ng-check-list__icon {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2em;
  color: var(--ng-accent);
}

/* 20. Form
   ========================================================================== */

.ng-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ng-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ng-field__label {
  color: var(--ng-text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.ng-field__control {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--ng-line-strong);
  border-radius: var(--ng-radius);
  background: var(--ng-surface);
  color: var(--ng-text);
  font: inherit;
}

.ng-field__control:hover {
  border-color: var(--ng-text-subtle);
}

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

textarea.ng-field__control {
  min-height: 8rem;
  resize: vertical;
}

.ng-form__submit {
  align-self: flex-start;
}

.ng-form__note {
  color: var(--ng-text-subtle);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* 21. Prose (legal pages)
   ========================================================================== */

.ng-prose {
  max-width: 46rem;
  overflow-wrap: anywhere;
  color: var(--ng-text-muted);
  line-height: 1.7;
}

.ng-prose > * + * {
  margin-top: 1rem;
}

.ng-prose__title {
  color: var(--ng-text);
  font-family: var(--ng-font-display);
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ng-prose__heading {
  margin-top: 2.5rem;
  color: var(--ng-text);
  font-family: var(--ng-font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
}

.ng-prose__updated {
  color: var(--ng-text-subtle);
  font-size: 0.9375rem;
}

.ng-prose ul {
  padding-left: 1.25rem;
}

.ng-prose li + li {
  margin-top: 0.5rem;
}

.ng-tag {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border: 1px dashed var(--ng-accent);
  border-radius: var(--ng-radius);
  color: var(--ng-accent);
  font-family: var(--ng-font-mono);
  font-size: 0.8125rem;
}
