/* ==========================================================================
   Ring Roller Mill Spare Parts — global design tokens
   ========================================================================== */

:root {
  --color-ink: #202020;
  --color-ink-soft: #4d5662;
  --color-muted: #6d7785;
  --color-blue: #1e50ae;
  --color-blue-dark: #153d89;
  --color-blue-soft: #eaf1ff;
  --color-navy: #102033;
  --color-navy-light: #18314d;
  --color-surface: #ffffff;
  --color-mist: #f3f6fa;
  --color-line: #dde4ee;
  --color-line-dark: rgba(255, 255, 255, 0.16);
  --color-steel: #717b89;
  --shadow-sm: 0 8px 24px rgba(20, 36, 58, 0.07);
  --shadow-md: 0 20px 60px rgba(16, 32, 51, 0.12);
  --shadow-modal: 0 32px 100px rgba(4, 12, 24, 0.34);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1220px;
  --header-height: 76px;
  --font-sans: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 5.6vw, 5.25rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 680;
}

h3 {
  font-size: 1.35rem;
  font-weight: 680;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(30, 80, 174, 0.35);
  outline-offset: 3px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(32, 32, 32, 0.09);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), transparent 48%),
    var(--color-navy);
  box-shadow: inset 0 -3px 0 var(--color-blue);
  color: #fff;
}

.brand-mark span {
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.93rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 29px;
}

.main-nav > a {
  position: relative;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 180ms ease;
}

.main-nav > a:not(.main-site-link)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--color-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.main-nav > a:hover {
  color: var(--color-blue);
}

.main-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav .main-site-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  color: var(--color-ink);
}

.main-site-link svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Buttons and shared labels
   ========================================================================== */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 680;
  line-height: 1;
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-large {
  min-height: 54px;
  padding: 0 24px;
  font-size: 0.98rem;
}

.button-primary {
  background: var(--color-blue);
  box-shadow: 0 10px 24px rgba(30, 80, 174, 0.24);
  color: #fff;
}

.button-primary:hover {
  background: var(--color-blue-dark);
  box-shadow: 0 14px 30px rgba(30, 80, 174, 0.3);
}

.button-secondary {
  border-color: var(--color-line);
  background: #fff;
  color: var(--color-ink);
}

.button-secondary:hover {
  border-color: var(--color-ink-soft);
  background: var(--color-mist);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.eyebrow {
  display: flex;
  margin-bottom: 19px;
  align-items: center;
  gap: 11px;
  color: var(--color-blue);
  font-size: 0.73rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 25px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}

.eyebrow-light {
  color: #9cc1ff;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(36, 91, 189, 0.52), transparent 32%),
    radial-gradient(circle at 7% 90%, rgba(36, 91, 189, 0.18), transparent 28%),
    linear-gradient(135deg, #102033 0%, #142a42 56%, #112239 100%);
  color: #fff;
}

.hero::after {
  position: absolute;
  right: -9%;
  bottom: -33%;
  width: 54vw;
  height: 54vw;
  max-width: 800px;
  max-height: 800px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 150px rgba(255, 255, 255, 0.018);
  content: "";
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 20%, black 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  max-height: 860px;
  padding-block: 82px 92px;
  align-items: center;
  gap: clamp(48px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.82fr);
}

.hero-copy {
  max-width: 740px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
}

.hero-subtitle {
  max-width: 700px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-proof {
  display: flex;
  margin: 49px 0 0;
  padding: 25px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  gap: 28px;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.hero-proof li span {
  color: #9cc1ff;
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  padding: 34px 26px 30px 20px;
}

.machine-plate {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  pointer-events: none;
}

.plate-one {
  inset: 6px 0 16px 42px;
  transform: rotate(3.5deg);
}

.plate-two {
  inset: 28px 31px 0 7px;
  transform: rotate(-3deg);
}

.hero-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 36px 80px rgba(3, 10, 20, 0.32);
  color: var(--color-ink);
  transform: rotate(1deg);
  animation: hero-card-in 900ms var(--ease) both;
}

.hero-card-topline,
.hero-card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-card-topline {
  padding: 17px 20px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card-image {
  aspect-ratio: 1.06;
  overflow: hidden;
  background: #f5f6f8;
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.hero-card:hover .hero-card-image img {
  transform: scale(1.025);
}

.hero-card-caption {
  padding: 18px 20px 20px;
}

.hero-card-caption > div {
  display: flex;
  flex-direction: column;
}

.hero-card-caption span {
  color: var(--color-muted);
  font-size: 0.72rem;
}

.hero-card-caption strong {
  margin-top: 3px;
  font-size: 0.96rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid #cbd9ef;
  border-radius: 999px;
  color: var(--color-blue) !important;
  white-space: nowrap;
}

.status-chip::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
  content: "";
}

.hero-material-card,
.hero-case-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  background: rgba(15, 31, 50, 0.88);
  box-shadow: 0 16px 40px rgba(3, 10, 20, 0.24);
  backdrop-filter: blur(14px);
  color: #fff;
}

.hero-material-card {
  top: 4px;
  left: -20px;
  display: flex;
  flex-direction: column;
  padding: 13px 16px;
}

.hero-material-card span,
.hero-case-card span:last-child {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  letter-spacing: 0.03em;
}

.hero-material-card strong {
  margin-top: 2px;
  font-size: 0.92rem;
}

.hero-material-card i {
  color: #9cc1ff;
  font-style: normal;
}

.hero-case-card {
  right: -20px;
  bottom: -3px;
  display: flex;
  width: 132px;
  flex-direction: column;
  padding: 15px 17px;
}

.case-number {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 720;
  line-height: 1.1;
}

@keyframes hero-card-in {
  from {
    opacity: 0;
    transform: translateY(25px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1deg);
  }
}

/* ==========================================================================
   Shared sections
   ========================================================================== */

.section {
  padding-block: 112px;
}

.section-heading {
  display: grid;
  margin-bottom: 47px;
  align-items: end;
  gap: 44px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.section-heading > p {
  max-width: 510px;
  margin: 0 0 4px auto;
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.section-heading-compact {
  margin-bottom: 34px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Parts
   ========================================================================== */

.parts-section {
  background:
    linear-gradient(#fff, #fff) padding-box,
    radial-gradient(circle at 50% 0, rgba(30, 80, 174, 0.06), transparent 42%);
}

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

.part-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease), border-color 260ms ease, box-shadow 260ms ease;
}

.part-card:hover {
  border-color: #c5d2e3;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.part-card:nth-child(4) {
  grid-column: 1 / 2;
}

.part-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.16;
  background: #f3f4f6;
}

.part-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(10, 20, 34, 0.09));
  content: "";
  pointer-events: none;
}

.part-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}

.part-card:hover .part-media img {
  transform: scale(1.035);
}

.part-index {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(16, 32, 51, 0.74);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 720;
  letter-spacing: 0.06em;
}

.part-body {
  display: flex;
  min-height: 283px;
  padding: 25px;
  flex: 1;
  flex-direction: column;
}

.part-body h3 {
  margin-bottom: 11px;
}

.part-description {
  margin-bottom: 22px;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.material-row {
  display: flex;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--color-line);
  flex-direction: column;
  gap: 3px;
}

.material-row span {
  color: var(--color-muted);
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.material-row strong {
  color: var(--color-ink-soft);
  font-size: 0.83rem;
  font-weight: 650;
}

.inquire-link {
  display: inline-flex;
  margin-top: 20px;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  color: var(--color-blue);
  font-size: 0.88rem;
  font-weight: 720;
}

.inquire-link svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms var(--ease);
}

.inquire-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Data tables
   ========================================================================== */

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

.materials-section {
  background: #fff;
}

.table-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.table-meta {
  display: flex;
  padding: 14px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--color-line);
  background: #f9fbfd;
  color: var(--color-muted);
  font-size: 0.67rem;
  font-weight: 720;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.table-scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: #aebbd0 #eef2f7;
  scrollbar-width: thin;
}

.table-scroll::-webkit-scrollbar {
  height: 9px;
}

.table-scroll::-webkit-scrollbar-track {
  background: #eef2f7;
}

.table-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #eef2f7;
  border-radius: 99px;
  background: #aebbd0;
}

table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

th,
td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}

thead th {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.065em;
  line-height: 1.35;
  text-transform: uppercase;
}

tbody th {
  color: var(--color-ink);
  font-size: 0.83rem;
  font-weight: 720;
}

tbody td {
  color: var(--color-ink-soft);
  font-size: 0.83rem;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr {
  transition: background 160ms ease;
}

tbody tr:hover {
  background: #f6f9fd;
}

.table-card-materials thead th:first-child {
  min-width: 165px;
}

.table-card-materials th:nth-child(2) {
  min-width: 220px;
}

.table-note {
  margin: 0;
  padding: 18px 20px;
  border-top: 1px solid var(--color-line);
  background: #fbfcfe;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section {
  padding-bottom: 58px;
  border-top: 1px solid var(--color-line);
  background:
    radial-gradient(circle at 4% 15%, rgba(30, 80, 174, 0.06), transparent 27%),
    #fff;
}

.faq-layout {
  display: grid;
  align-items: start;
  gap: clamp(42px, 7vw, 96px);
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.78fr);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.faq-intro > p:not(.eyebrow) {
  max-width: 360px;
  margin: 24px 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.faq-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-size: 0.88rem;
  font-weight: 720;
}

.faq-email::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.faq-list {
  border-top: 1px solid var(--color-line);
}

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

.faq-item summary {
  display: grid;
  padding: 23px 3px;
  align-items: center;
  gap: 24px;
  color: var(--color-ink);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.48;
  list-style: none;
  transition: color 160ms ease;
  grid-template-columns: minmax(0, 1fr) auto;
}

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

.faq-item summary:hover {
  color: var(--color-blue);
}

.faq-icon {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: #fff;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 10px;
  background: var(--color-ink-soft);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms var(--ease), background 180ms ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  border-color: var(--color-blue);
  background: var(--color-blue);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: #fff;
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 54px 23px 3px;
}

.faq-answer p {
  max-width: 800px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-answer a {
  color: var(--color-blue);
  font-weight: 650;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Technical Notes
   ========================================================================== */

.notes-section {
  padding-top: 54px;
  border-top: 1px solid var(--color-line);
  background:
    radial-gradient(circle at 93% 5%, rgba(30, 80, 174, 0.08), transparent 24%),
    var(--color-mist);
}

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

.notes-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 37px;
  border: 1px dashed #c8d3e2;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
}

.notes-status a {
  color: var(--color-blue);
  font-weight: 650;
}

.note-card {
  min-width: 0;
}

.note-card-link {
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 230ms var(--ease), border-color 230ms ease, box-shadow 230ms ease;
}

.note-card-link:hover {
  border-color: #bdcbe0;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.note-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.42;
  background: #edf0f4;
}

.note-card-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 20, 34, 0.13));
  content: "";
}

.note-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.note-card-link:hover .note-card-media img {
  transform: scale(1.035);
}

.note-card-content {
  display: flex;
  padding: 23px;
  flex: 1;
  flex-direction: column;
}

.note-card-date {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-size: 0.67rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-card-date::before {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  content: "";
}

.note-card-content h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  line-height: 1.32;
  letter-spacing: -0.026em;
}

.note-card-summary {
  margin-bottom: 20px;
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.68;
}

.note-card-tags {
  display: flex;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 6px;
}

.note-card-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--color-blue-soft);
  color: #365d99;
  font-size: 0.63rem;
  font-weight: 620;
  line-height: 1.25;
}

.note-card-read {
  display: flex;
  margin-top: 19px;
  padding-top: 15px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-line);
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 720;
}

.note-card-read svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms var(--ease);
}

.note-card-link:hover .note-card-read svg {
  transform: translateX(4px);
}

.notes-footer {
  display: flex;
  margin-top: 31px;
  padding-top: 19px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #d5deea;
}

.notes-footer p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.76rem;
}

.notes-footer a {
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ==========================================================================
   Benefits
   ========================================================================== */

.benefits-section {
  background:
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

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

.benefit-card {
  min-height: 260px;
  padding: 27px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  transition: border-color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

.benefit-card:hover {
  border-color: #c5d2e3;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.benefit-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 13px;
  background: var(--color-blue-soft);
  color: var(--color-blue);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.benefit-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

/* ==========================================================================
   Quote band and footer
   ========================================================================== */

.quote-band {
  position: relative;
  overflow: hidden;
  padding-block: 66px;
  background:
    radial-gradient(circle at 90% 20%, rgba(87, 139, 230, 0.3), transparent 27%),
    var(--color-navy);
  color: #fff;
}

.quote-band::after {
  position: absolute;
  top: -80%;
  right: 8%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.quote-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.quote-band h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.site-footer {
  padding: 72px 0 30px;
  background: #18191b;
  color: #fff;
}

.footer-grid {
  display: grid;
  padding-bottom: 52px;
  gap: 40px;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
}

.brand-footer .brand-mark {
  background: #fff;
  box-shadow: inset 0 -3px 0 var(--color-blue);
  color: var(--color-navy);
}

.brand-footer .brand-copy small {
  color: rgba(255, 255, 255, 0.48);
}

.footer-brand > p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

.footer-contact,
.footer-site {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-contact > span,
.footer-site > span {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-contact a,
.footer-site a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  transition: color 160ms ease;
}

.footer-contact a:hover,
.footer-site a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  padding-top: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.76rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  transition: color 160ms ease;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ==========================================================================
   Fixed inquiry action
   ========================================================================== */

.floating-inquiry {
  position: fixed;
  z-index: 150;
  right: clamp(14px, 2.4vw, 28px);
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  min-height: 60px;
  padding: 9px 35px 9px 10px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 15px;
  background: var(--color-blue);
  box-shadow: 0 14px 34px rgba(15, 48, 107, 0.34);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.floating-inquiry:hover {
  background: var(--color-blue-dark);
  box-shadow: 0 18px 40px rgba(15, 48, 107, 0.42);
  transform: translateY(-3px);
}

.floating-inquiry-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
}

.floating-inquiry-icon svg {
  width: 22px;
  height: 22px;
}

.floating-inquiry-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.floating-inquiry-copy strong {
  font-size: 0.85rem;
  font-weight: 720;
}

.floating-inquiry-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.65rem;
}

.floating-inquiry-dot {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #65db8b;
}

/* ==========================================================================
   Technical note detail pages
   ========================================================================== */

.note-page {
  background: var(--color-mist);
}

.note-hero {
  position: relative;
  overflow: hidden;
  padding-block: 55px 74px;
  background:
    radial-gradient(circle at 90% 10%, rgba(55, 109, 208, 0.37), transparent 30%),
    var(--color-navy);
  color: #fff;
}

.note-hero::after {
  position: absolute;
  right: -110px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.022);
  content: "";
}

.note-breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  margin-bottom: 56px;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
}

.note-breadcrumbs a {
  transition: color 160ms ease;
}

.note-breadcrumbs a:hover {
  color: #fff;
}

.note-breadcrumbs span {
  color: rgba(255, 255, 255, 0.25);
}

.note-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.68fr);
}

.note-hero .eyebrow {
  color: #9cc1ff;
}

.note-hero h1 {
  max-width: 780px;
  margin-bottom: 23px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.note-lead {
  max-width: 720px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
  line-height: 1.8;
}

.note-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.77rem;
}

.note-meta time {
  color: #b7d0ff;
  font-weight: 680;
}

.note-meta span {
  color: rgba(255, 255, 255, 0.32);
}

.note-hero-image {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(3, 10, 20, 0.27);
  transform: rotate(1deg);
}

.note-hero-image img {
  width: 100%;
  aspect-ratio: 1.03;
  object-fit: cover;
}

.note-main {
  padding-block: 72px 96px;
}

.note-article-layout {
  display: grid;
  align-items: start;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 270px;
}

.note-article {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.note-article > p:first-of-type {
  color: var(--color-ink);
  font-size: 1.08rem;
  font-weight: 540;
  line-height: 1.8;
}

.note-article p,
.note-article li {
  color: var(--color-ink-soft);
  font-size: 0.94rem;
  line-height: 1.82;
}

.note-article p {
  margin-bottom: 20px;
}

.note-article h2 {
  margin: 43px 0 17px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.note-article ul,
.note-article ol {
  margin: 0 0 23px;
  padding-left: 22px;
}

.note-article li {
  margin-bottom: 8px;
  padding-left: 5px;
}

.note-article a {
  color: var(--color-blue);
  font-weight: 650;
}

.note-callout {
  margin: 32px 0;
  padding: 24px 25px;
  border-left: 4px solid var(--color-blue);
  border-radius: 0 12px 12px 0;
  background: var(--color-blue-soft);
}

.note-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-ink);
}

.note-callout p {
  margin: 0;
}

.note-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.note-side-card {
  padding: 23px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.note-side-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--color-blue);
  font-size: 0.65rem;
  font-weight: 730;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.note-side-card h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.note-side-card p {
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.68;
}

.note-side-card .button {
  width: 100%;
  padding-inline: 14px;
}

.note-back-link {
  display: inline-flex;
  padding: 12px 4px;
  align-items: center;
  gap: 8px;
  color: var(--color-ink-soft);
  font-size: 0.8rem;
  font-weight: 680;
}

.note-back-link svg {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

.note-bottom-actions {
  display: flex;
  margin-top: 42px;
  padding-top: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--color-line);
}

.note-bottom-actions .button {
  padding-inline: 18px;
}

/* ==========================================================================
   Inquiry modal
   ========================================================================== */

.modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  overflow-y: auto;
  padding: 32px 20px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 23, 0.72);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 730px);
  max-height: calc(100svh - 64px);
  overflow-y: auto;
  padding: 32px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-modal);
  transform: translateY(18px) scale(0.985);
  transition: transform 260ms var(--ease);
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  margin-bottom: 26px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.modal-kicker {
  margin-bottom: 8px;
  color: var(--color-blue);
  font-size: 0.68rem;
  font-weight: 730;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.modal-header h2 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.modal-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.modal-close:hover {
  border-color: var(--color-ink-soft);
  background: var(--color-mist);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

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

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.field > span {
  color: var(--color-ink-soft);
  font-size: 0.78rem;
  font-weight: 680;
}

.field em {
  color: #c03535;
  font-style: normal;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #cdd5e0;
  border-radius: 9px;
  background: #fbfcfe;
  color: var(--color-ink);
  font-size: 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input {
  height: 46px;
  padding: 0 13px;
}

.field textarea {
  min-height: 108px;
  padding: 12px 13px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa3b0;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-blue);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 80, 174, 0.1);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #c03535;
  background: #fff8f8;
}

.field-full {
  grid-column: 1 / -1;
}

.field-error {
  min-height: 17px;
  color: #b52b2b;
  font-size: 0.72rem;
  line-height: 1.35;
}

.form-message {
  margin: 20px 0 0;
  padding: 11px 13px;
  border-radius: 8px;
  background: #fff2f2;
  color: #9a2525;
  font-size: 0.82rem;
}

.modal-actions {
  display: flex;
  margin-top: 25px;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
}

.modal-actions .button {
  min-width: 120px;
  padding-inline: 20px;
}

.modal-actions .button-primary {
  min-width: 160px;
}

.button[disabled] {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-note {
  margin: 17px 0 0;
  color: var(--color-muted);
  font-size: 0.7rem;
  line-height: 1.55;
  text-align: right;
}

/* ==========================================================================
   Thank-you page
   ========================================================================== */

.thank-page {
  min-height: calc(100svh - var(--header-height));
  background:
    radial-gradient(circle at 85% 15%, rgba(30, 80, 174, 0.1), transparent 30%),
    linear-gradient(180deg, #f7f9fc 0%, #fff 70%);
}

.thank-main {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  padding-block: 70px;
  place-items: center;
}

.thank-card {
  position: relative;
  width: min(100%, 780px);
  overflow: hidden;
  padding: clamp(34px, 7vw, 70px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.thank-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--color-blue);
  content: "";
}

.thank-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blue-soft);
  color: var(--color-blue);
}

.thank-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2;
}

.thank-eyebrow {
  justify-content: center;
}

.thank-card h1 {
  max-width: 650px;
  margin: 0 auto 23px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.thank-card > p {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.thank-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .hero-inner {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.75fr);
  }

  .hero h1 {
    font-size: clamp(3rem, 6.2vw, 4.4rem);
  }

  .hero-proof {
    flex-wrap: wrap;
    gap: 15px 24px;
  }

  .parts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .part-card:nth-child(4) {
    grid-column: auto;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .main-nav {
    gap: 19px;
  }

  .main-nav > a:not(.main-site-link) {
    display: none;
  }

  .hero-inner {
    padding-block: 76px 85px;
    gap: 42px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-subtitle {
    max-width: 660px;
  }

  .hero-visual {
    width: min(100%, 540px);
    margin: 0 auto;
  }

  .section {
    padding-block: 86px;
  }

  .section-heading {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    max-width: 680px;
    margin: 0;
  }

  .faq-layout {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .note-hero-grid {
    grid-template-columns: 1fr;
  }

  .note-hero-image {
    width: min(100%, 560px);
  }

  .note-article-layout {
    grid-template-columns: 1fr;
  }

  .note-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 66px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 9px;
  }

  .brand-copy strong {
    font-size: 0.85rem;
  }

  .brand-copy small {
    font-size: 0.62rem;
  }

  .main-nav .main-site-link {
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .hero-inner {
    padding-block: 62px 78px;
  }

  .hero h1 {
    margin-bottom: 23px;
    font-size: clamp(2.55rem, 12vw, 4rem);
    letter-spacing: -0.045em;
  }

  .hero-subtitle {
    margin-bottom: 28px;
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    margin-top: 35px;
    padding-top: 21px;
  }

  .hero-proof li {
    width: 100%;
  }

  .hero-visual {
    padding: 20px 16px 25px 12px;
  }

  .hero-material-card {
    top: -3px;
    left: 4px;
  }

  .hero-case-card {
    right: 2px;
    bottom: -2px;
  }

  .hero-card-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.75rem);
  }

  .parts-grid,
  .benefits-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    padding-block: 20px;
    gap: 16px;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding-right: 4px;
  }

  .notes-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .part-media {
    aspect-ratio: 1.26;
  }

  .part-body {
    min-height: auto;
  }

  .benefit-card {
    min-height: auto;
  }

  .table-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  th,
  td {
    padding: 15px 17px;
  }

  .quote-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-band .button {
    width: 100%;
  }

  .footer-grid {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .modal {
    padding: 14px;
    place-items: start center;
  }

  .modal-dialog {
    max-height: calc(100svh - 28px);
    padding: 24px 19px;
    border-radius: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .modal-actions .button {
    width: 100%;
  }

  .form-note {
    text-align: left;
  }

  .thank-main {
    padding-block: 38px;
  }

  .thank-card {
    border-radius: 22px;
  }

  .note-hero {
    padding-block: 35px 55px;
  }

  .note-breadcrumbs {
    margin-bottom: 38px;
    flex-wrap: wrap;
  }

  .note-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.3rem);
  }

  .note-main {
    padding-block: 44px 70px;
  }

  .note-article {
    border-radius: 16px;
  }

  .note-sidebar {
    grid-template-columns: 1fr;
  }

  .note-bottom-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .note-bottom-actions .button {
    width: 100%;
  }

  .thank-actions {
    flex-direction: column;
  }

  .thank-actions .button {
    width: 100%;
  }

  .floating-inquiry {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 56px;
    padding-right: 31px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-copy small {
    display: none;
  }

  .main-nav .main-site-link svg {
    display: none;
  }

  .hero-card-topline {
    padding-inline: 15px;
  }

  .hero-card-caption {
    padding-inline: 15px;
  }

  .hero-material-card {
    padding: 10px 12px;
  }

  .hero-case-card {
    width: 116px;
    padding: 12px 14px;
  }

  .floating-inquiry-copy small {
    display: none;
  }

  .floating-inquiry-copy strong {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
