:root {
  --bg: #f2ede3;
  --surface: #fbf8f1;
  --surface-strong: #ffffff;
  --ink: #13212a;
  --muted: #55626a;
  --line: rgba(19, 33, 42, 0.12);
  --line-strong: rgba(19, 33, 42, 0.2);
  --accent: #b95c22;
  --accent-dark: #944816;
  --accent-soft: rgba(185, 92, 34, 0.08);
  --panel-dark: #1c2a33;
  --shadow: 0 18px 36px rgba(17, 28, 36, 0.08);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1120px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(19, 33, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 33, 42, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 75%);
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(242, 237, 227, 0.82);
  border-bottom: 1px solid rgba(19, 33, 42, 0.08);
}

.header-inner,
.header-actions {
  display: flex;
  align-items: center;
}

.header-inner {
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.85rem;
}

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

.brand strong,
h1,
h2,
h3,
.step-card span {
  font-family: "Barlow", sans-serif;
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.05rem;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 600;
}

.brand-copy span {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.98rem;
  line-height: 0.98;
  color: var(--muted);
}

.brand-mark {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.45rem;
  border: 2px solid var(--ink);
  background:
    linear-gradient(180deg, rgba(185, 92, 34, 0.18), rgba(185, 92, 34, 0)),
    rgba(255, 255, 255, 0.4);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
}

.brand-mark::before {
  inset: 0.34rem;
  border-top: 2px solid rgba(19, 33, 42, 0.55);
  border-bottom: 2px solid rgba(19, 33, 42, 0.25);
}

.brand-mark::after {
  inset: 0.34rem 0.68rem;
  border-left: 2px solid rgba(19, 33, 42, 0.25);
  border-right: 2px solid rgba(19, 33, 42, 0.55);
}

.header-actions,
.cta-actions {
  gap: 0.85rem;
}

.header-link,
.text-link {
  color: var(--muted);
  font-weight: 500;
}

.header-link:hover,
.text-link:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #cb6c2c, var(--accent));
  color: #fff;
  box-shadow: 0 12px 24px rgba(148, 72, 22, 0.2);
}

.button-primary:hover {
  background: linear-gradient(180deg, #c06120, var(--accent-dark));
}

.button-secondary {
  background: rgba(255, 255, 255, 0.52);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-small {
  min-height: 2.55rem;
  padding: 0.65rem 1rem;
}

.button-full {
  width: 100%;
}

.hero {
  padding: 0.8rem 0 1rem;
}

.hero-frame {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(circle at top right, rgba(185, 92, 34, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(29, 42, 51, 0.98), rgba(35, 52, 62, 0.98));
  box-shadow: var(--shadow);
  padding: 1rem;
  border-color: rgba(255, 255, 255, 0.06);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
}

.hero-copy {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 0;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.97;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.hero-subheadline {
  max-width: 34rem;
  margin-top: 0.9rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-copy h1 {
  color: #fff;
}

.hero-copy .eyebrow {
  color: rgba(214, 150, 104, 0.95);
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.upload-panel,
.benefit-card,
.step-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.upload-panel {
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    var(--surface);
  box-shadow: none;
}

.panel-head p:last-child {
  margin-top: 0.6rem;
  max-width: 34ch;
}

.panel-head h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
}

.upload-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

label {
  color: var(--ink);
  font-weight: 600;
}

.dropzone {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1.5px dashed rgba(19, 33, 42, 0.24);
  background:
    linear-gradient(180deg, rgba(185, 92, 34, 0.04), rgba(185, 92, 34, 0)),
    var(--surface-strong);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.dropzone:hover {
  border-color: rgba(185, 92, 34, 0.7);
  background: rgba(185, 92, 34, 0.08);
  transform: translateY(-1px);
}

.dropzone-title {
  color: var(--ink);
  font-weight: 600;
}

.dropzone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(185, 92, 34, 0.08);
  color: var(--accent-dark);
  margin-bottom: 0.1rem;
}

.dropzone-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.dropzone-copy {
  font-size: 0.9rem;
}

.section {
  padding: clamp(2.2rem, 4vw, 3rem) 0;
}

.section-compact {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.benefit-grid,
.steps-grid {
  display: grid;
  gap: 1rem;
}

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

.benefit-card {
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.7);
}

.benefit-card p,
.step-card p {
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.56rem 0.82rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
}

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

.step-card {
  padding: 1.1rem;
  background: linear-gradient(180deg, rgba(29, 42, 51, 0.98), rgba(35, 52, 62, 0.98));
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.step-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.step-card h3 {
  margin-top: 0.8rem;
  color: #fff;
}

.step-card p {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  margin-top: 0;
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.footer-main,
.footer-links,
.footer-fit,
.footer-bottom {
  display: flex;
  align-items: flex-start;
}

.footer-main {
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand-block {
  max-width: 34rem;
}

.footer-title {
  color: var(--ink);
  font-weight: 600;
}

.footer-copy {
  margin-top: 0.45rem;
  font-size: 0.94rem;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem 1.2rem;
}

.footer-links a,
.footer-links button {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 500;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--ink);
}

.footer-fit {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.fit-section {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.fit-section .footer-fit {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.footer-fit-disclosure {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
}

.footer-fit-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
}

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

.footer-fit-summary strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.footer-fit-toggle {
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.footer-fit-disclosure[open] .footer-fit-toggle::after {
  content: "  -";
}

.footer-fit-disclosure:not([open]) .footer-fit-toggle::after {
  content: "  +";
}

.footer-fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.2rem;
  margin: 0;
  padding: 0 1.1rem 1rem 2.2rem;
  color: var(--muted);
}

.footer-fit-list li {
  line-height: 1.45;
}

.footer-bottom {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  font-size: 0.9rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 15, 20, 0.5);
  backdrop-filter: blur(8px);
}

.schedule-modal {
  position: relative;
  width: min(34rem, 100%);
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.schedule-modal p:last-child {
  margin-top: 0.9rem;
}

.schedule-modal a {
  color: var(--accent-dark);
  font-weight: 600;
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(19, 33, 42, 0.08);
  color: var(--ink);
  font-size: 1.35rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-grid,
  .benefit-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 0.3rem 0.2rem 0;
  }

  .footer-main,
  .footer-fit,
  .footer-bottom {
    display: grid;
    gap: 1rem;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .container {
    width: min(100vw - 1.25rem, 100%);
  }

  .header-inner,
  .header-actions,
  .footer-links {
    flex-wrap: wrap;
  }

  .header-inner {
    justify-content: center;
    padding: 0.55rem 0;
  }

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

  .hero-frame {
    padding: 0.85rem;
  }

  h1 {
    max-width: 10ch;
  }

  .footer-fit-summary {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
