@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin.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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin.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;
}

:root {
  --paper: #f4f1ea;
  --paper-deep: #ebe6dc;
  --surface: #fffdf8;
  --surface-soft: #f9f6f0;
  --ink: #14252d;
  --muted: #5c696d;
  --line: #d9d6cd;
  --brand: #0d566e;
  --brand-strong: #083b4c;
  --brand-soft: #dcecef;
  --accent: #bd522f;
  --accent-strong: #a94226;
  --accent-soft: #f3dfd5;
  --success: #237a55;
  --warning: #9a4b22;
  --shadow: 0 24px 70px rgba(24, 43, 49, 0.14);
  --shadow-soft: 0 12px 34px rgba(24, 43, 49, 0.08);
  --radius: 28px;
  --radius-small: 16px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 4% 4%, rgba(13, 86, 110, 0.08), transparent 26rem),
    radial-gradient(circle at 95% 28%, rgba(200, 92, 56, 0.07), transparent 24rem);
}

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

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

figure {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(200, 92, 56, 0.38);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 248, 243, 0.94);
  border-bottom: 1px solid rgba(20, 37, 45, 0.1);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

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

.brand-mark {
  display: block;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  overflow: hidden;
  color: transparent;
  border-radius: 14px;
  background: url("/assets/logo-mark-v2.svg") center / contain no-repeat;
  box-shadow: 0 8px 22px rgba(8, 59, 76, 0.18);
  font-size: 0;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
}

.brand strong {
  color: var(--ink);
  font-family: "Bricolage Grotesque", "IBM Plex Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand strong span {
  color: var(--accent);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav > a:not(.button) {
  position: relative;
  color: #405057;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -0.42rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover {
  color: var(--ink);
}

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

.nav-cta {
  margin-left: 0.25rem;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(169, 66, 38, 0.22);
}

.button-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 18px 36px rgba(169, 66, 38, 0.28);
}

.button-secondary {
  color: var(--brand-strong);
  background: transparent;
  border-color: rgba(13, 86, 110, 0.34);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--brand);
}

.button-block {
  width: 100%;
}

.hero {
  position: relative;
}

.hero-home {
  padding: 5.6rem 0 4.3rem;
  background:
    linear-gradient(108deg, rgba(255, 253, 248, 0.9), rgba(244, 241, 234, 0.48)),
    var(--paper);
}

.hero-tool,
.hero-small {
  padding: 4.8rem 0 3.7rem;
  background: linear-gradient(180deg, var(--surface-soft), var(--paper));
  border-bottom: 1px solid var(--line);
}

.cad-grid {
  background-image: none;
}

.hero-layout,
.section-grid,
.split-panel,
.faq-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4.6rem);
}

.hero-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(31rem, 1.08fr);
  align-items: center;
}

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

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.6rem;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: var(--accent);
}

.mini-breadcrumb {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-breadcrumb a {
  color: var(--brand);
  font-weight: 600;
}

h1,
h2,
h3,
summary {
  font-family: "Bricolage Grotesque", "IBM Plex Sans", sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin: 0 0 1.2rem;
  font-size: clamp(3rem, 5.3vw, 5.15rem);
  font-weight: 720;
  line-height: 0.96;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  font-weight: 700;
  line-height: 1.02;
}

h3 {
  margin: 0 0 0.7rem;
  font-size: 1.22rem;
  line-height: 1.2;
}

.lead {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.cta-row,
.chip-list,
.tool-card-head,
.status-meta,
.field-row,
.cta-band-wrap,
.section-actions {
  display: flex;
  gap: 0.85rem;
}

.cta-row,
.section-actions {
  flex-wrap: wrap;
}

.cta-row {
  margin: 2rem 0 1.45rem;
}

.chip-list {
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chip-list li,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.72rem;
  color: #385159;
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid rgba(13, 86, 110, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
}

.badge-accent {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: rgba(200, 92, 56, 0.24);
}

.hero-visual {
  min-width: 0;
}

.hero-photo {
  position: relative;
  min-height: 36rem;
  overflow: hidden;
  border: 8px solid var(--surface);
  border-radius: 34px 10px 34px 10px;
  background: #d9d5cd;
  box-shadow: var(--shadow);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 54%, rgba(6, 34, 43, 0.72));
}

.hero-photo > img {
  width: 100%;
  height: 100%;
  min-height: 36rem;
  object-fit: cover;
  object-position: 53% center;
}

.photo-chip {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  padding: 0.55rem 0.75rem;
  color: var(--brand-strong);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(20, 37, 45, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.photo-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.35rem;
  left: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
}

.photo-caption strong {
  display: block;
  max-width: 22rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.photo-caption span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(13, 86, 110, 0.16);
  border-radius: 16px;
  background: rgba(13, 86, 110, 0.16);
}

.proof-item {
  padding: 0.8rem 0.85rem;
  background: rgba(255, 253, 248, 0.82);
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  color: var(--brand-strong);
  font-size: 0.88rem;
}

.proof-item span {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.trust-strip {
  padding: 0;
  background: var(--brand-strong);
}

.trust-grid,
.card-grid,
.pricing-grid,
.info-grid,
.footer-grid {
  display: grid;
  gap: 1.15rem;
}

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

.trust-grid article {
  position: relative;
  padding: 1.65rem 1.35rem;
  color: #fff;
}

.trust-grid article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: #f2a88e;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.trust-grid h2 {
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.trust-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.5;
}

.section {
  padding: clamp(4.8rem, 8vw, 7rem) 0;
}

.section-muted {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 55rem;
  margin-bottom: 2rem;
}

.section-text {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.service-card,
.price-card,
.info-card,
.content-card,
.contact-form,
.tool-card,
.prose-card,
.status-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
}

.service-card,
.price-card,
.info-card {
  padding: 1.55rem;
}

.service-card {
  position: relative;
  min-height: 12.5rem;
  padding-top: 4.3rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card::before {
  position: absolute;
  top: 1.45rem;
  left: 1.55rem;
  color: var(--accent);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.service-card:nth-child(1)::before {
  content: "01 /";
}

.service-card:nth-child(2)::before {
  content: "02 /";
}

.service-card:nth-child(3)::before {
  content: "03 /";
}

.service-card:nth-child(4)::before {
  content: "04 /";
}

.service-card:nth-child(5)::before {
  content: "05 /";
}

.service-card:nth-child(6)::before {
  content: "06 /";
}

.service-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(24, 43, 49, 0.12);
}

.service-card p,
.price-card p,
.info-card p,
.content-card p,
.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.content-card,
.contact-form,
.tool-card,
.prose-card,
.status-panel {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.content-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.accent-card {
  color: #fff;
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.accent-card .eyebrow,
.accent-card .check-list li::before {
  color: #f2a88e;
}

.accent-card p,
.accent-card .check-list li {
  color: rgba(255, 255, 255, 0.78);
}

.accent-card .check-list li {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.bullet-stack,
.status-list,
.ordered-list,
.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
}

.bullet-stack div,
.ordered-list li,
.check-list li,
.status-list li {
  list-style: none;
  padding: 0.85rem 0.95rem;
  color: #415158;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ordered-list {
  counter-reset: item;
}

.ordered-list li {
  position: relative;
  padding-left: 3.3rem;
}

.ordered-list li::before {
  position: absolute;
  top: 0.7rem;
  left: 0.85rem;
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  color: #fff;
  content: counter(item);
  counter-increment: item;
  background: var(--brand);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.check-list li::before {
  margin-right: 0.55rem;
  color: var(--success);
  content: "✓";
  font-weight: 800;
}

.service-photo {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border-radius: 12px 30px 12px 30px;
  box-shadow: var(--shadow);
}

.service-photo img {
  width: 100%;
  height: 100%;
  min-height: 32rem;
  object-fit: cover;
}

.service-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem 1.1rem;
  color: #fff;
  background: rgba(8, 59, 76, 0.9);
  border-radius: 12px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.price-card strong {
  display: block;
  margin: 0.6rem 0 0.8rem;
  color: var(--brand-strong);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2rem;
  line-height: 1.05;
}

.price-card.featured {
  color: #fff;
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  box-shadow: var(--shadow);
}

.price-card.featured strong {
  color: #fff;
}

.price-card.featured p {
  color: rgba(255, 255, 255, 0.7);
}

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

.order-page-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.order-pricing.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
}

.order-pricing .price-card {
  display: flex;
  min-width: 0;
  min-height: 19rem;
  flex-direction: column;
  padding: clamp(1.45rem, 2.8vw, 2rem);
}

.order-pricing .price-card h2 {
  max-width: 9ch;
  font-size: clamp(2.35rem, 4.5vw, 3.5rem);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

.order-pricing .price-card strong {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.order-pricing .price-card p {
  max-width: 32rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.order-form {
  width: min(100%, 58rem);
  margin-inline: auto;
}

.section-actions {
  justify-content: center;
  margin-top: 2rem;
}

.faq-layout {
  grid-template-columns: 0.78fr 1.22fr;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 160ms ease;
}

.faq-list details[open] {
  border-color: rgba(13, 86, 110, 0.45);
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-list p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.inline-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(13, 86, 110, 0.35);
  text-underline-offset: 0.18em;
}

.helper-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-band {
  padding-top: 0;
}

.cta-band-wrap {
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  color: #fff;
  background: var(--brand-strong);
  border-radius: 12px 30px 12px 30px;
  box-shadow: var(--shadow);
}

.cta-band-wrap .eyebrow {
  color: #f2a88e;
}

.cta-band-wrap p {
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.72);
}

.cta-band-wrap h2 {
  max-width: 22ch;
}

.site-footer {
  padding: 3rem 0 2.8rem;
  color: rgba(255, 255, 255, 0.88);
  background: #10262f;
}

.footer-grid {
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.56);
}

.footer-grid a:hover {
  color: #f2a88e;
}

.tool-card-head,
.status-meta,
.cta-band-wrap,
.field-row {
  justify-content: space-between;
}

.tool-card-head {
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tool-form,
.contact-form {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-meta {
  margin-top: 1.2rem;
}

.contact-meta p + p {
  margin-top: 0.5rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field > span {
  color: #31454d;
  font-size: 0.92rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.82rem 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9cbc5;
  border-radius: 10px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(13, 86, 110, 0.1);
}

input[type="file"] {
  padding: 0.68rem;
  background: var(--surface-soft);
}

.order-upload {
  margin-top: 0.1rem;
}

.upload-zone {
  position: relative;
  display: flex;
  min-height: 6.7rem;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(220, 236, 239, 0.55), rgba(255, 253, 248, 0.92));
  border: 1px dashed rgba(13, 86, 110, 0.48);
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.upload-zone:hover,
.upload-zone:focus-within {
  background:
    linear-gradient(135deg, rgba(220, 236, 239, 0.9), rgba(255, 253, 248, 1));
  border-color: var(--brand);
  transform: translateY(-1px);
}

.upload-zone.has-files {
  border-style: solid;
  border-color: var(--success);
}

.upload-zone.has-error {
  border-style: solid;
  border-color: var(--warning);
  background: #f8e9df;
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  opacity: 0;
  border: 0;
  cursor: pointer;
}

.upload-mark {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  place-items: center;
  color: #fff;
  background: var(--brand-strong);
  border-radius: 11px;
  font-family: "Bricolage Grotesque", "IBM Plex Sans", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.upload-copy {
  display: grid;
  gap: 0.18rem;
}

.upload-copy strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.upload-copy small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.upload-selection {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.upload-selection[hidden] {
  display: none;
}

.upload-file-list {
  display: flex;
  min-width: 0;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.upload-file-chip {
  display: inline-flex;
  max-width: 100%;
  padding: 0.3rem 0.55rem;
  overflow: hidden;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-file-summary {
  color: var(--muted);
  font-size: 0.8rem;
}

.upload-file-summary.is-warning {
  color: var(--warning);
  font-weight: 700;
}

.upload-clear {
  flex: 0 0 auto;
  padding: 0.35rem 0;
  color: var(--accent-strong);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(169, 66, 38, 0.35);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
}

textarea {
  min-height: unset;
  resize: vertical;
}

.checkbox {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkbox input {
  width: 1.05rem;
  min-height: 1.05rem;
  margin-top: 0.18rem;
}

.honey-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.progress-line {
  height: 0.65rem;
  overflow: hidden;
  background: #e4e2dc;
  border-radius: 999px;
}

.progress-line i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: inherit;
  transition: width 260ms ease;
}

.progress-large {
  margin: 0.9rem 0 1.1rem;
}

.status-list li.is-active {
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-color: rgba(13, 86, 110, 0.24);
}

.status-result {
  padding: 1rem;
  color: var(--muted);
  background: var(--surface-soft);
  border-radius: 12px;
}

.status-result p {
  margin: 0.65rem 0 0;
}

.status-result.is-success,
.form-message.is-success {
  color: #1f6448;
  background: #e4f2e9;
  border-color: #b9d8c5;
}

.status-result.is-warning,
.form-message.is-warning {
  color: #89441f;
  background: #f8e9df;
  border-color: #e5c5b1;
}

.form-message {
  padding: 0.95rem 1rem;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.prose-card h2 {
  margin-top: 1.8rem;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.prose-card p {
  margin: 0.65rem 0 0;
}

.legal-hero {
  padding-bottom: 3.1rem;
}

.legal-hero h1 {
  max-width: 15ch;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.legal-meta span {
  padding: 0.5rem 0.75rem;
  color: var(--brand-strong);
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(13, 86, 110, 0.2);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 650;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 6.5rem;
  padding: 1.2rem;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
}

.legal-toc strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: "Bricolage Grotesque", "IBM Plex Sans", sans-serif;
  font-size: 1rem;
}

.legal-toc a {
  display: block;
  padding: 0.42rem 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(20, 37, 45, 0.07);
  font-size: 0.9rem;
  line-height: 1.35;
}

.legal-toc a:last-child {
  border-bottom: 0;
}

.legal-toc a:hover {
  color: var(--accent);
}

.legal-document {
  min-width: 0;
  padding: clamp(1.35rem, 4vw, 2.7rem);
}

.legal-document > section {
  padding: 0 0 2rem;
  scroll-margin-top: 7rem;
  border-bottom: 1px solid var(--line);
}

.legal-document > section + section {
  padding-top: 2rem;
}

.legal-document > section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-document h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.legal-document h3 {
  margin: 1.3rem 0 0.45rem;
  font-size: 1.08rem;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document p {
  margin: 0.65rem 0 0;
}

.legal-document ul,
.legal-document ol {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.legal-document li + li {
  margin-top: 0.4rem;
}

.legal-document address {
  color: var(--muted);
  font-style: normal;
}

.legal-notice,
.legal-template {
  margin-top: 1rem;
  padding: 1.05rem 1.15rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
}

.legal-notice strong,
.legal-template strong {
  color: var(--ink);
}

.legal-template p {
  white-space: pre-line;
}

.legal-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.legal-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 0.85rem 0.9rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  color: var(--ink);
  background: var(--surface-soft);
  font-size: 0.88rem;
}

.legal-table td {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.legal-contact div {
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.legal-contact strong {
  display: block;
  margin-bottom: 0.2rem;
}

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

.hero-small h1 {
  max-width: 16ch;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-photo,
  .hero-visual > .tool-card,
  .hero-visual > .content-card {
    animation: rise-in 720ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .trust-grid article {
    animation: fade-in 520ms both;
  }

  .trust-grid article:nth-child(2) {
    animation-delay: 70ms;
  }

  .trust-grid article:nth-child(3) {
    animation-delay: 140ms;
  }

  .trust-grid article:nth-child(4) {
    animation-delay: 210ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 48rem;
  }

  .hero-photo,
  .hero-photo > img {
    min-height: 31rem;
  }

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

@media (max-width: 900px) {
  .section-grid,
  .faq-layout,
  .split-panel,
  .card-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .trust-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .trust-grid article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .order-pricing .price-card:last-child {
    grid-column: 1 / -1;
    min-height: 15rem;
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

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

  .legal-toc {
    position: static;
  }

  .legal-toc a {
    display: inline-block;
    margin-right: 0.7rem;
    border-bottom: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    color: var(--brand-strong);
    background: transparent;
    border: 1px solid rgba(13, 86, 110, 0.3);
    border-radius: 10px;
    font-weight: 700;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 0 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(20, 37, 45, 0.08);
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .nav-cta {
    margin: 0.7rem 0 0;
  }

  .cta-band-wrap,
  .status-meta {
    flex-direction: column;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .order-pricing.pricing-grid {
    grid-template-columns: 1fr;
  }

  .order-pricing .price-card,
  .order-pricing .price-card:last-child {
    min-height: 0;
    grid-column: auto;
  }

  .order-pricing .price-card h2 {
    max-width: none;
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

  .order-pricing .price-card p {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.4rem, var(--container));
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 2.65rem;
    height: 2.65rem;
    flex-basis: 2.65rem;
  }

  .hero-home {
    padding: 3.9rem 0 3rem;
  }

  .hero-tool,
  .hero-small {
    padding: 3.6rem 0 2.8rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.35rem);
  }

  h2 {
    font-size: 2.15rem;
  }

  .button,
  .button-block {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
  }

  .hero-photo,
  .hero-photo > img {
    min-height: 27rem;
  }

  .hero-photo {
    border-width: 5px;
    border-radius: 24px 8px 24px 8px;
  }

  .photo-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .proof-row,
  .pricing-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid article + article,
  .trust-grid article:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .service-photo,
  .service-photo img {
    min-height: 25rem;
  }

  .section {
    padding: 4.4rem 0;
  }

  .legal-contact {
    grid-template-columns: 1fr;
  }

  .legal-document {
    padding: 1.15rem;
  }

  .upload-zone,
  .upload-selection {
    align-items: flex-start;
  }

  .upload-selection {
    flex-direction: column;
  }
}

@media print {
  .topbar,
  .site-footer,
  .legal-toc {
    display: none;
  }

  body,
  .content-card {
    background: #fff;
  }

  .section,
  .legal-hero {
    padding: 1rem 0;
  }

  .legal-layout {
    display: block;
  }

  .legal-document {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
