:root {
  color-scheme: light;
  --paper: #fbf7ee;
  --paper-deep: #efe7d8;
  --panel: rgba(255, 252, 245, 0.82);
  --panel-strong: #fffdf8;
  --ink: #14281f;
  --muted: #5f645f;
  --line: rgba(35, 42, 35, 0.16);
  --line-strong: rgba(35, 42, 35, 0.28);
  --green: #1f3a2b;
  --green-soft: #63745f;
  --gold: #c9a16d;
  --wood: #69462c;
  --shadow: 0 22px 55px rgba(48, 39, 28, 0.14);
  --soft-shadow: 0 10px 28px rgba(48, 39, 28, 0.1);
  --radius: 22px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    repeating-radial-gradient(ellipse at 16% 12%, transparent 0 22px, rgba(37, 56, 46, 0.045) 23px 24px, transparent 25px 42px),
    repeating-radial-gradient(ellipse at 84% 20%, transparent 0 24px, rgba(37, 56, 46, 0.04) 25px 26px, transparent 27px 46px),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(180deg, #fffaf0 0%, #f5eee2 52%, #efe7d8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.8), transparent 25%),
    linear-gradient(90deg, rgba(255,255,255,.38), transparent 18%, transparent 82%, rgba(255,255,255,.32));
  opacity: 0.5;
}

.policy-page {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 64px;
}

.policy-content {
  margin-top: 36px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.86);
  box-shadow: var(--soft-shadow);
}

.policy-content h1,
.policy-content h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.policy-content h1 {
  font-size: clamp(34px, 6vw, 58px);
}

.policy-content h2 {
  margin-top: 30px;
  font-size: 24px;
}

.policy-content p {
  max-width: 70ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.policy-content a {
  color: var(--green);
  font-weight: 850;
  text-underline-offset: 3px;
}

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

.admin-preview-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  padding: 12px 18px;
  background: #b42318;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(61, 14, 10, 0.22);
}

.admin-preview-banner > span {
  min-width: min(100%, 280px);
}

.admin-preview-banner.is-user-view {
  background: #7a1e17;
}

.admin-preview-toggle {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.admin-preview-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-preview-toggle:hover,
.admin-preview-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

button,
label,
select,
input {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 48px) 54px;
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  grid-template-areas:
    "topbar topbar"
    "intro intro"
    "preview source"
    "preview source";
  column-gap: clamp(26px, 4vw, 54px);
  row-gap: 22px;
  align-items: start;
  min-height: calc(100vh - 56px);
}

.topbar {
  grid-area: topbar;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.brand__mark {
  width: 86px;
  height: 36px;
  position: relative;
}

.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  inset: auto;
  border-color: var(--green);
  border-style: solid;
  transform: rotate(-45deg);
}

.brand__mark::before {
  left: 18px;
  top: 11px;
  width: 34px;
  height: 34px;
  border-width: 3px 3px 0 0;
}

.brand__mark::after {
  left: 42px;
  top: 17px;
  width: 24px;
  height: 24px;
  border-width: 3px 3px 0 0;
}

.intro {
  grid-area: intro;
  text-align: center;
  width: min(980px, 100%);
  margin: 0 auto 8px;
}

.intro h1,
.section-heading h2,
.build-notes h2 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.intro h1 {
  font-size: clamp(54px, 7vw, 98px);
  line-height: 0.95;
}

.ornament {
  width: 156px;
  height: 18px;
  margin: 20px auto 16px;
  position: relative;
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 68px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::before {
  left: 0;
}

.ornament::after {
  right: 0;
  transform: scaleX(-1);
}

.ornament {
  background:
    linear-gradient(45deg, transparent 43%, var(--gold) 44%, var(--gold) 56%, transparent 57%)
    center / 12px 12px no-repeat;
}

.intro p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.34;
}

.preview-wrap {
  grid-area: preview;
  position: relative;
  min-height: clamp(430px, 54vw, 610px);
  overflow: hidden;
  border: 1px solid rgba(255, 252, 245, 0.72);
  border-radius: 30px;
  background: rgba(255, 252, 245, 0.72);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.preview-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(20, 24, 18, 0.26) 72%, rgba(251, 247, 238, 0.1));
  pointer-events: none;
}

.sample-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(430px, 54vw, 610px);
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 0;
  transition: opacity 220ms ease;
}

.upload-panel {
  display: grid;
}

.route-source-panel {
  grid-area: source;
  display: grid;
  gap: 12px;
}

.source-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 10px;
  align-items: stretch;
}

.strava-button {
  appearance: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fffdf8;
  box-shadow: none;
  padding: 0;
  font-size: 18px;
  font-weight: 820;
  cursor: pointer;
  line-height: 1;
}

.strava-connect-asset {
  display: block;
  width: 237px;
  height: 48px;
  flex: 0 0 auto;
}

.strava-button:not(.is-text-state) #strava-button-label,
.strava-button:not(.is-text-state) > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

#strava-button-label {
  white-space: nowrap;
}

.strava-button.is-text-state {
  display: grid;
  min-height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f3a2b, #16281f);
  box-shadow: 0 18px 34px rgba(22, 42, 32, 0.22);
  padding: 0 24px;
}

.strava-button.is-pending {
  opacity: 0.86;
}

.strava-button:disabled {
  opacity: 1;
}

.strava-button.is-text-state .strava-connect-asset {
  display: none;
}

.strava-status {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
}

.strava-status:empty {
  display: none;
}

.activity-picker {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 252, 245, 0.7);
  box-shadow: var(--soft-shadow);
}

.site-footer {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 12px 0 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

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

.activity-picker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.activity-picker__header strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.activity-picker__header button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.86);
  color: var(--green);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.activity-filters {
  display: grid;
  grid-template-columns: 1fr 150px 178px;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(31, 58, 43, 0.08);
}

.activity-search input,
.activity-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 245, 0.9);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.activity-search input {
  padding: 0 14px;
}

.activity-filters select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding: 0 34px 0 12px;
  cursor: pointer;
}

.activity-search input:focus,
.activity-filters select:focus {
  border-color: rgba(31, 58, 43, 0.48);
  box-shadow: 0 0 0 3px rgba(31, 58, 43, 0.08);
}

.activity-count {
  margin: 0;
  padding: 0 18px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.activity-list {
  display: grid;
  max-height: min(420px, 44vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(31, 58, 43, 0.34) transparent;
  scrollbar-width: thin;
}

.activity-list::-webkit-scrollbar {
  width: 10px;
}

.activity-list::-webkit-scrollbar-track {
  background: transparent;
}

.activity-list::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(31, 58, 43, 0.3);
  background-clip: padding-box;
}

.activity-empty {
  padding: 24px 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.activity-card {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
}

.activity-card__map {
  display: block;
  width: 92px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(31, 58, 43, 0.16);
  border-radius: 14px;
  background:
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(31, 58, 43, 0.05) 14px),
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(31, 58, 43, 0.045) 14px),
    rgba(239, 231, 216, 0.72);
}

.activity-card__map svg {
  display: block;
  width: 100%;
  height: 100%;
}

.activity-card__map path {
  fill: none;
  stroke: #8e3f2e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.activity-card__map > span {
  display: block;
  width: 42px;
  height: 3px;
  margin: 27px auto 0;
  border-radius: 999px;
  background: rgba(31, 58, 43, 0.25);
}

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

.activity-card:last-child {
  border-bottom: 0;
}

.activity-card:hover,
.activity-card.is-selected {
  background: rgba(237, 228, 212, 0.7);
}

.activity-card strong {
  display: block;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.1;
}

.activity-card small,
.activity-card span {
  color: var(--muted);
  font-size: 13px;
}

.activity-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 7px;
}

.activity-card__chevron {
  align-self: center;
  color: var(--green);
  font-size: 32px;
}

@media (max-width: 560px) {
  .activity-card {
    grid-template-columns: 70px 1fr auto;
  }

  .activity-card__map {
    width: 70px;
    height: 48px;
  }
}

/* Marketing refresh */
.landing-shell,
.about-shell {
  width: min(100%, 1480px);
  padding-top: 30px;
}

.marketing-topbar {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(42px, 5vw, 70px);
}

.marketing-topbar .brand,
.production-shell .brand {
  display: flex;
  align-items: center;
  justify-items: start;
  gap: 12px;
  font-size: clamp(30px, 3vw, 46px);
  white-space: nowrap;
}

.marketing-topbar .brand__mark,
.production-shell .brand__mark {
  width: 58px;
  height: 32px;
}

.marketing-topbar .brand__mark::before,
.production-shell .brand__mark::before {
  left: 8px;
  top: 10px;
  width: 26px;
  height: 26px;
  border-width: 2px 2px 0 0;
}

.marketing-topbar .brand__mark::after,
.production-shell .brand__mark::after {
  left: 29px;
  top: 15px;
  width: 19px;
  height: 19px;
  border-width: 2px 2px 0 0;
}

.marketing-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  flex: 1;
}

.marketing-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.hero-copy h1,
.about-hero h1,
.about-status h2,
.quality-section h2,
.final-cta h2 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(58px, 7vw, 104px);
  line-height: 0.96;
}

.hero-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: stretch;
}

.hero-actions .upload-panel {
  width: auto;
}

.route-choice {
  display: grid;
  grid-template-columns: 237px auto 237px;
  grid-template-rows: auto 48px;
  gap: 7px 12px;
  align-items: center;
  max-width: 532px;
}

.route-choice__separator {
  display: inline-grid;
  grid-column: 2;
  grid-row: 2;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.76);
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
  text-transform: uppercase;
}

.route-choice .upload-panel {
  grid-column: 1;
  grid-row: 2;
  width: 237px;
}

.hero-strava {
  display: flex;
  width: auto;
  height: 48px;
  min-height: 48px;
  grid-template-columns: none;
  align-items: flex-start;
  border-radius: 6px;
  padding: 0;
  font-size: 18px;
  overflow: hidden;
}

.route-choice .hero-strava {
  grid-column: 3;
  grid-row: 2;
  width: 237px;
  height: 48px;
  min-height: 48px;
  align-items: flex-start;
  overflow: hidden;
}

.strava-choice__note {
  grid-column: 3;
  grid-row: 1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.15;
  text-align: center;
}

.hero-strava.is-text-state {
  height: auto;
  min-height: 72px;
  align-items: center;
  overflow: visible;
}

.hero-upload {
  width: 237px;
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 252, 245, 0.72);
  box-shadow: none;
  padding: 0 20px;
  text-align: center;
}

.hero-upload--primary {
  width: 100%;
  min-width: 0;
  border-color: transparent;
  background: linear-gradient(135deg, #1f3a2b, #16281f);
  color: #fffdf8;
  box-shadow: 0 18px 34px rgba(22, 42, 32, 0.22);
}

.hero-upload--primary .dropzone__sub {
  color: rgba(255, 253, 248, 0.72);
}

.hero-upload .dropzone__main {
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
}

.hero-upload .dropzone__sub {
  display: none;
}

.hero-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  max-width: 680px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.5);
}

.hero-chips span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  line-height: 1.2;
}

.hero-chips span + span {
  border-left: 1px solid rgba(35, 42, 35, 0.1);
}

.hero-media {
  position: relative;
  min-height: clamp(520px, 54vw, 780px);
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.7);
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(25, 21, 17, 0.22));
  pointer-events: none;
}

.hero-media .sample-photo {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}


.landing-activity-picker {
  margin: 34px auto 0;
  max-width: 980px;
}

.receive-section,
.steps-section,
.pricing-section,
.use-cases,
.faq-section {
  margin-top: clamp(54px, 7vw, 96px);
}

.receive-section .section-heading,
.steps-section .section-heading,
.pricing-section .section-heading,
.use-cases .section-heading,
.faq-section .section-heading {
  max-width: 820px;
  margin-inline: auto;
}

.benefit-grid,
.use-case-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.benefit-grid article,
.steps-grid article,
.pricing-card,
.use-case-grid article,
.faq-grid details,
.about-made-for,
.about-status,
.preview-reassurance,
.order-product-card,
.after-order-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 245, 0.64);
  box-shadow: var(--soft-shadow);
}

.benefit-grid article {
  display: grid;
  flex: 1 1 190px;
  gap: 12px;
  align-content: start;
  max-width: 220px;
  min-height: 210px;
  padding: 24px 20px;
  text-align: center;
}

.benefit-grid article > span {
  color: var(--green);
  font-size: 36px;
  line-height: 1;
}

.benefit-grid h3,
.steps-grid h3,
.use-case-grid h3 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.12;
}

.benefit-grid p,
.steps-grid p,
.pricing-card p,
.pricing-card li,
.use-case-grid p,
.faq-grid p,
.quality-section p,
.final-cta p,
.about-hero p,
.about-status p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid article {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 10px 20px 20px;
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  text-align: center;
}

.steps-grid article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fffdf8;
  font-weight: 900;
}

.pricing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 38px;
  align-items: start;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 40px);
  border-color: rgba(31, 58, 43, 0.38);
}

.pricing-card h3 {
  margin: 4px 0 10px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.pricing-card > strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 520;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li::before,
.order-product-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
  font-weight: 900;
}

.pricing-card .primary-button {
  min-height: 56px;
  grid-column: 1 / -1;
  border-radius: 12px;
  font-size: 16px;
}

.use-case-grid {
  grid-template-columns: repeat(4, 1fr);
}

.use-case-grid article {
  overflow: hidden;
}

.use-case-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.use-case-grid h3,
.use-case-grid p {
  padding-inline: 22px;
}

.use-case-grid h3 {
  padding-top: 20px;
}

.use-case-grid p {
  padding-bottom: 24px;
  padding-top: 8px;
}

.quality-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  margin-top: clamp(54px, 7vw, 96px);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.6);
}

.quality-section h2,
.final-cta h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.quality-section p,
.final-cta p {
  margin-top: 12px;
  font-size: 18px;
}

.quality-section img {
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: 12px;
  object-fit: cover;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1120px;
  margin: 0 auto;
}

.faq-grid details {
  padding: 18px 20px;
  box-shadow: none;
}

.faq-grid summary {
  color: var(--green);
  font-weight: 850;
  cursor: pointer;
}

.faq-grid p {
  margin-top: 12px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(54px, 7vw, 96px);
  padding: clamp(28px, 5vw, 44px);
  border-radius: 16px;
  background:
    repeating-radial-gradient(ellipse at 12% 30%, transparent 0 18px, rgba(255, 255, 255, 0.045) 19px 20px, transparent 21px 36px),
    linear-gradient(135deg, #123f2e, #0d3024);
  color: #fffdf8;
  box-shadow: var(--shadow);
}

.final-cta h2,
.final-cta p {
  color: #fffdf8;
}

.final-cta .secondary-button {
  min-width: 180px;
  min-height: 72px;
  border-radius: 14px;
  background: #fffdf8;
}

.production-shell {
  width: min(100%, 1580px);
}

.production-shell > .topbar {
  justify-content: space-between;
  gap: 24px;
}

.icon-button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 245, 0.72);
  color: var(--green);
  text-decoration: none;
}

.icon-button svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.production-nav {
  flex: 0 1 auto;
}

.production-view .section-heading {
  text-align: left;
}

.production-view .section-heading h1 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.03;
}

.production-view .section-heading p {
  max-width: 760px;
  font-size: clamp(16px, 1.35vw, 18px);
}

.preview-proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.preview-proof-chips span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 252, 245, 0.62);
  color: var(--green);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 800;
}

.preview-reassurance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 24px;
}

.preview-reassurance > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reassurance-mark {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(31, 58, 43, 0.28);
  border-radius: 999px;
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
}

.preview-reassurance strong {
  color: var(--green);
  font-size: 20px;
}

.preview-reassurance p {
  margin: 5px 0 0;
  color: var(--muted);
}

.preview-reassurance .secondary-button {
  flex: 0 0 auto;
  min-width: 142px;
  padding: 0 22px;
  white-space: nowrap;
}

.preview-feedback {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.68);
  box-shadow: var(--soft-shadow);
}

.preview-feedback.is-hidden {
  display: none;
}

.preview-feedback__prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.feedback-spark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  color: var(--green);
  background: rgba(239, 231, 216, 0.64);
}

.feedback-spark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.preview-feedback h2,
.site-feedback-modal h2 {
  margin: 0;
  color: var(--green);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
}

.preview-feedback__choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.feedback-choice,
.feedback-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.82);
  color: var(--green);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.feedback-choice:hover,
.feedback-chip:hover,
.feedback-choice.is-active,
.feedback-chip.is-active {
  border-color: rgba(31, 58, 43, 0.38);
  background: rgba(239, 231, 216, 0.78);
}

.feedback-choice svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.preview-feedback__followup {
  display: grid;
  grid-column: 1 / -1;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(35, 42, 35, 0.1);
}

.preview-feedback__followup[hidden],
.preview-feedback__thanks[hidden] {
  display: none;
}

.feedback-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
}

.feedback-field {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.feedback-field textarea,
.site-feedback-modal textarea,
.feedback-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 245, 0.86);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

.feedback-field textarea,
.site-feedback-modal textarea {
  min-height: 96px;
  resize: vertical;
}

.feedback-field input {
  min-height: 46px;
}

.feedback-field textarea:focus,
.site-feedback-modal textarea:focus,
.feedback-field input:focus {
  outline: 3px solid rgba(31, 58, 43, 0.18);
  outline-offset: 2px;
}

.preview-feedback__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.preview-feedback__actions .primary-button,
.preview-feedback__actions .secondary-button,
.site-feedback-modal__actions .primary-button,
.site-feedback-modal__actions .secondary-button {
  min-height: 44px;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 14px;
}

.preview-feedback__thanks,
.site-feedback-modal__status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.floating-feedback-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  min-height: 42px;
  border: 1px solid rgba(31, 58, 43, 0.24);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.86);
  color: var(--green);
  box-shadow: 0 14px 34px rgba(20, 40, 31, 0.14);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.site-feedback-modal {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
}

.site-feedback-modal::backdrop {
  background: rgba(20, 31, 25, 0.24);
}

.site-feedback-modal__panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(31, 58, 43, 0.16);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.96);
  box-shadow: 0 26px 70px rgba(20, 40, 31, 0.22);
}

.site-feedback-modal fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.site-feedback-modal legend {
  width: 100%;
  margin-bottom: 2px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.site-feedback-modal label {
  color: var(--green);
}

.site-feedback-modal fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.76);
  padding: 0 11px;
  font-size: 13px;
  font-weight: 800;
}

.site-feedback-modal input[type="checkbox"] {
  accent-color: var(--green);
}

.site-feedback-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.commerce-panel {
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.order-product-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  border-color: rgba(31, 58, 43, 0.42);
  box-shadow: none;
}

.order-product-card__header {
  display: block;
}

.order-product-card__header strong {
  font-size: 24px;
  white-space: normal;
}

.order-product-card p,
.after-order-box p,
.after-order-box li,
.order-product-card li {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.order-product-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.after-order-box {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 18px;
  box-shadow: none;
}

.after-order-box > strong {
  color: var(--green);
  font-size: 17px;
}

.after-order-box ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.about-hero h1 {
  font-size: clamp(54px, 7vw, 94px);
  line-height: 0.96;
}

.about-hero p {
  max-width: 670px;
  margin-top: 18px;
  font-size: 19px;
}

.about-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-made-for,
.about-status {
  margin-top: clamp(42px, 6vw, 78px);
  padding: clamp(24px, 5vw, 42px);
}

.about-made-for h2 {
  margin: 0 0 18px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
}

.about-made-for div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-made-for span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--green);
  font-weight: 850;
}

.about-status {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.about-status h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.about-status .primary-button {
  width: fit-content;
  min-height: 58px;
  border-radius: 14px;
  padding: 0 22px;
  font-size: 16px;
  text-decoration: none;
}

.nav-about-cta {
  min-height: 50px;
  border-radius: 12px;
  padding: 0 18px;
}

@media (max-width: 1180px) {
  .benefit-grid {
    max-width: 760px;
    margin-inline: auto;
  }

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

  .hero-copy h1 {
    max-width: 900px;
  }

  .hero-media {
    min-height: 560px;
  }

  .marketing-nav {
    display: none;
  }
}

@media (max-width: 920px) {
  .app-shell,
  .landing-shell,
  .about-shell,
  .production-shell {
    max-width: none;
    width: min(100%, 720px);
  }

  .marketing-topbar,
  .production-shell > .topbar {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
  }

  .hero-copy h1,
  .about-hero h1 {
    font-size: clamp(48px, 12vw, 72px);
  }

  .hero-chips,
  .steps-grid,
  .use-case-grid,
  .faq-grid,
  .quality-section,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .hero-chips span + span {
    border-left: 0;
    border-top: 1px solid rgba(35, 42, 35, 0.1);
  }

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

  .pricing-card {
    grid-template-columns: 1fr;
  }

  .final-cta,
  .preview-reassurance {
    align-items: stretch;
    flex-direction: column;
  }

  .production-nav {
    display: none;
  }

  .order-product-card__header strong {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .landing-shell,
  .about-shell,
  .production-shell {
    padding-inline: 14px;
  }

  .marketing-topbar .brand,
  .production-shell .brand {
    max-width: 100%;
    font-size: 30px;
  }

  .marketing-topbar .brand__mark,
  .production-shell .brand__mark {
    width: 46px;
    flex: 0 0 46px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .route-choice {
    grid-template-columns: 1fr;
    grid-template-rows: auto 48px auto 48px;
    justify-items: stretch;
    gap: 10px;
  }

  .route-choice__separator {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
  }

  .strava-choice__note {
    grid-column: 1;
    grid-row: 1;
  }

  .route-choice .upload-panel {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
  }

  .landing-hero,
  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 28px);
    overflow: hidden;
  }

  .hero-strava,
  .hero-upload {
    min-width: 0;
    width: 100%;
  }

  .hero-strava {
    justify-content: flex-start;
    font-size: 16px;
  }

  .route-choice .hero-strava {
    grid-column: 1;
    grid-row: 4;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    height: 48px;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-copy h1,
  .about-hero h1 {
    width: 100%;
    max-width: calc(100vw - 28px);
    font-size: clamp(34px, 10vw, 38px);
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    max-width: calc(100vw - 28px);
    font-size: 18px;
  }

  .benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .benefit-grid article {
    max-width: none;
    min-height: auto;
  }

  .preview-proof-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.dropzone {
  display: grid;
  grid-template-columns: 58px 1fr 24px;
  gap: 6px 16px;
  align-items: center;
  min-height: 92px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 252, 245, 0.72);
  color: var(--green);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.route-choice .hero-upload {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
  width: 237px;
  height: 48px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  box-shadow: none;
  text-align: center;
}

.route-choice .hero-upload.hero-upload--primary {
  border-color: transparent;
  background: linear-gradient(135deg, #1f3a2b, #16281f);
  color: #fffdf8;
  box-shadow: 0 18px 34px rgba(22, 42, 32, 0.22);
}

.route-choice .hero-upload .dropzone__main {
  display: block;
  width: 100%;
  font-size: 17px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .route-choice .hero-upload {
    width: 100%;
  }
}

.source-actions .dropzone {
  grid-template-columns: 1fr;
  gap: 3px;
  align-content: center;
  justify-items: center;
  height: 100%;
  min-height: 82px;
  padding: 12px 10px;
  border-color: rgba(35, 42, 35, 0.18);
  background: rgba(255, 252, 245, 0.58);
  box-shadow: none;
  text-align: center;
}

.source-actions .dropzone__icon {
  display: none;
}

.source-actions .dropzone__main {
  font-size: 16px;
  line-height: 1.05;
}

.source-actions .dropzone__sub {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.source-actions .dropzone__chevron {
  display: none;
}

.dropzone.is-dragging {
  border-color: var(--green);
  background: rgba(255, 252, 245, 0.96);
  transform: translateY(-2px);
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dropzone__icon {
  grid-column: 1;
  grid-row: span 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 245, 0.8);
  color: var(--green);
}

.dropzone__icon svg,
.trust-strip svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.dropzone__icon svg {
  width: 30px;
}

.dropzone__main {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.dropzone__sub {
  grid-column: 2;
  grid-row: 2;
}

.dropzone__sub,
.metric__label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dropzone__chevron {
  grid-column: 3;
  grid-row: span 2;
  justify-self: end;
  color: var(--green);
  font-size: 42px;
  line-height: 1;
}

.route-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.route-summary div {
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid rgba(35, 42, 35, 0.1);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.56);
}

.route-summary strong {
  color: var(--green);
  font-size: clamp(18px, 2vw, 24px);
}

.product-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 22px;
  align-items: start;
  margin-top: clamp(28px, 5vw, 64px);
}

.inspection-step {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 252, 245, 0.58);
  box-shadow: var(--soft-shadow);
}

.inspect-wrap {
  position: relative;
  min-height: clamp(420px, 58vw, 660px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.06), rgba(255, 250, 241, 0.76) 72%),
    linear-gradient(135deg, #d5d7cc, #8f9a8e 46%, #344236 100%);
  cursor: grab;
  touch-action: none;
}

.inspect-wrap:active {
  cursor: grabbing;
}

#inspect-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 58vw, 660px);
}

.production-shell {
  min-height: 100vh;
  width: min(100%, 1540px);
}

.production-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.36fr);
  gap: 22px;
  align-items: start;
  margin-top: clamp(18px, 3vw, 38px);
}

.production-view,
.production-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 252, 245, 0.64);
  box-shadow: var(--soft-shadow);
}

.production-view {
  display: grid;
  gap: 20px;
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
}

.production-view .section-heading {
  margin-bottom: 0;
}

.production-panel {
  display: grid;
  gap: 18px;
  align-self: start;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 252, 245, 0.78);
  padding: clamp(20px, 3vw, 28px);
  position: sticky;
  top: 22px;
}

.production-panel > * {
  min-width: 0;
}

.route-location {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
}

.route-details-panel {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.56);
}

.route-details-panel__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(126px, 0.48fr);
  gap: 14px;
  align-items: center;
}

.route-details-panel__top > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.route-details-panel__top strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1;
}

#route-mini-map {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 96px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 58, 43, 0.1);
  border-radius: 14px;
}

#route-mini-map rect {
  fill: rgba(239, 231, 216, 0.72);
  stroke: rgba(31, 58, 43, 0.12);
}

#route-mini-map path {
  fill: none;
  stroke: #8e3f2e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.route-context-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.route-context-card__actions a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 245, 0.88);
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.route-context-card__actions a:hover {
  border-color: rgba(31, 58, 43, 0.34);
  background: rgba(237, 228, 212, 0.72);
}

.production-summary {
  grid-template-columns: repeat(2, 1fr);
}

.palette-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  padding: 14px;
  border: 1px solid rgba(35, 42, 35, 0.1);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.5);
}

.palette-panel > div:first-child {
  display: grid;
  gap: 4px;
}

.palette-panel strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 520;
  line-height: 1.05;
}

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

.palette-option {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 252, 245, 0.78);
  padding: 5px;
  cursor: pointer;
}

.palette-option span {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 36px;
  overflow: hidden;
  border-radius: 11px;
  background:
    linear-gradient(135deg, var(--terrain) 0 62%, var(--route) 62% 100%);
}

.palette-option.is-active {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 58, 43, 0.1);
}

.print-size-selector,
.print-size-options {
  display: grid;
  gap: 10px;
}

.print-size-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 76px;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.58);
  cursor: pointer;
}

.print-size-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.print-size-option__mark {
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(31, 58, 43, 0.42);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.82);
}

.print-size-option.is-selected {
  border-color: var(--green);
  background: rgba(255, 252, 245, 0.82);
  box-shadow: 0 0 0 3px rgba(31, 58, 43, 0.08);
}

.print-size-option.is-selected .print-size-option__mark {
  border: 7px solid var(--green);
}

.print-size-option__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.print-size-option__copy strong {
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
}

.print-size-option__copy span,
.print-size-option__copy small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
}

.print-size-option b {
  color: var(--green);
  font-size: 18px;
  line-height: 1;
}

.print-size-option em {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(31, 58, 43, 0.1);
  color: var(--green);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.print-size-option em + b {
  align-self: end;
}

.terrain-controls-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  padding: 14px;
  border: 1px solid rgba(35, 42, 35, 0.1);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.5);
}

.terrain-controls-panel[hidden] {
  display: none !important;
}

.terrain-controls-toggle {
  width: 100%;
  justify-content: center;
}

.terrain-controls-panel__header,
.terrain-control__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.terrain-controls-panel__header {
  display: grid;
  gap: 4px;
}

.terrain-controls-panel__header strong {
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
}

.terrain-control {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.terrain-control__header span {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.terrain-control__header strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.terrain-control input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.terrain-control input[type="range"]:focus-visible {
  outline: 3px solid rgba(31, 58, 43, 0.18);
  outline-offset: 4px;
}

.terrain-control__ticks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
}

.production-progress {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 9%, 72px);
  z-index: 2;
  display: grid;
  gap: 10px;
  width: min(560px, calc(100% - 360px));
  min-width: 320px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 252, 245, 0.72);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.82);
  box-shadow: 0 16px 42px rgba(20, 40, 31, 0.16);
  transform: translateX(-50%);
  pointer-events: none;
}

.production-progress[hidden] {
  display: none;
}

.production-progress__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.production-progress__header span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.production-progress__header strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 520;
  line-height: 1;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(31, 58, 43, 0.11);
}

.progress-track span {
  display: block;
  width: 12%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f3a2b, #63745f);
  transition: width 420ms ease;
}

.production-progress p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
}

.artifact-actions {
  display: grid;
  gap: 10px;
}

.artifact-actions .secondary-button {
  width: 100%;
  justify-content: center;
}

.checkout-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  border: 1px solid rgba(35, 42, 35, 0.1);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.62);
}

.checkout-panel strong {
  display: block;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 540;
  line-height: 1.05;
}

.checkout-panel .primary-button,
.checkout-panel .secondary-button {
  min-height: 54px;
  border-radius: 16px;
  padding: 0 16px;
  font-size: 16px;
  line-height: 1.15;
}

.checkout-panel .primary-button {
  justify-content: space-between;
}

.checkout-panel .primary-button span {
  font-size: 18px;
}

.checkout-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.artifact-actions .primary-button {
  min-height: 54px;
  border-radius: 16px;
  padding: 0 18px;
  font-size: 16px;
  line-height: 1.15;
  text-align: center;
}

.cache-choice-modal {
  width: min(430px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--ink);
}

.cache-choice-modal::backdrop {
  background: rgba(23, 28, 23, 0.42);
  backdrop-filter: blur(5px);
}

.cache-choice-modal__panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(35, 42, 35, 0.12);
  border-radius: 18px;
  background: #fffaf0;
  box-shadow: 0 28px 80px rgba(32, 28, 22, 0.24);
}

.cache-choice-modal h2 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 540;
  line-height: 1.05;
}

.cache-choice-modal p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.cache-choice-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cache-choice-modal__actions .primary-button,
.cache-choice-modal__actions .secondary-button {
  min-height: 50px;
  justify-content: center;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 15px;
  line-height: 1.15;
}

.controls,
.order-panel,
.build-notes,
.trust-strip {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 252, 245, 0.62);
  box-shadow: var(--soft-shadow);
}

.controls {
  padding: clamp(20px, 4vw, 32px);
}

.section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.section-heading h2,
.build-notes h2 {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.98;
}

.section-heading p,
.build-notes p,
.order-panel p,
.note-list p {
  color: var(--muted);
  line-height: 1.45;
}

.section-heading p {
  margin: 10px 0 0;
  font-size: 20px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
}

.field-grid label,
.slider-row {
  display: grid;
  gap: 8px;
}

.field-grid label span,
.slider-row span,
.toggle-row label {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.field-grid input,
.field-grid select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.72);
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.field-grid input:focus,
.field-grid select:focus,
.slider-row input:focus-visible,
.primary-button:focus-visible {
  outline: 3px solid rgba(31, 58, 43, 0.18);
  outline-offset: 2px;
}

.slider-row {
  margin-top: 22px;
}

.slider-row input,
.toggle-row input {
  accent-color: var(--green);
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.toggle-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 245, 0.62);
}

.order-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.order-panel > div {
  display: grid;
  gap: 4px;
}

#price-value {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: 0;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 68px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #1d392b, #172a20);
  color: #fffdf8;
  box-shadow: 0 18px 34px rgba(22, 42, 32, 0.22);
  font-size: 21px;
  font-weight: 820;
  cursor: pointer;
}

.primary-button span {
  font-size: 34px;
  line-height: 1;
}

.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.7);
  color: var(--green);
  font-size: 16px;
  font-weight: 820;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.secondary-button:focus-visible {
  outline: 3px solid rgba(31, 58, 43, 0.18);
  outline-offset: 2px;
}

.confirmation {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 760;
}

.confirmation:empty {
  display: none;
}

.success-shell {
  max-width: 980px;
  min-height: 100vh;
}

.success-panel {
  display: grid;
  gap: 22px;
  margin: clamp(24px, 5vw, 58px) auto 0;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 252, 245, 0.72);
  box-shadow: var(--shadow);
}

.success-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 2px solid rgba(31, 58, 43, 0.22);
  border-radius: 999px;
  color: var(--green);
  background: rgba(239, 231, 216, 0.56);
}

.success-mark svg {
  width: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.success-hero h1 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 92px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

.success-hero p,
.success-note p,
.success-steps p,
.success-route-card span {
  margin: 0;
  color: var(--muted);
  font-weight: 720;
  line-height: 1.45;
}

.success-hero p {
  max-width: 620px;
  font-size: clamp(18px, 2.4vw, 24px);
}

.success-route-card,
.success-note,
.success-steps article {
  border: 1px solid rgba(35, 42, 35, 0.1);
  border-radius: 20px;
  background: rgba(255, 252, 245, 0.58);
}

.success-route-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.success-route-card > div {
  display: grid;
  gap: 5px;
}

.success-route-card strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 540;
  line-height: 1.02;
}

#success-order-ref {
  flex: 0 0 auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(239, 231, 216, 0.54);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

#success-order-ref:empty {
  display: none;
}

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

.success-steps article,
.success-note {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.success-steps article span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fffdf8;
  font-weight: 900;
}

.success-steps strong,
.success-note strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 540;
  line-height: 1.08;
}

.success-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.42fr);
  gap: 12px;
}

.success-actions .primary-button,
.success-actions .secondary-button {
  min-height: 58px;
  border-radius: 18px;
  font-size: 17px;
  text-decoration: none;
}

.admin-shell {
  max-width: 1180px;
}

.admin-panel {
  display: grid;
  gap: 22px;
  padding-bottom: 48px;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 252, 245, 0.68);
  box-shadow: var(--soft-shadow);
}

.admin-login label {
  display: grid;
  gap: 8px;
}

.admin-login label span {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-login input {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.78);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
}

.admin-login .primary-button {
  min-height: 54px;
  border-radius: 16px;
  padding: 0 22px;
  font-size: 16px;
}

.admin-orders {
  display: grid;
  gap: 16px;
}

.admin-subheading {
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

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

.admin-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.72);
}

.admin-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.admin-diagnostics {
  margin: 10px 0 18px;
}

.admin-diagnostics-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.72);
}

.admin-diagnostics-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.admin-diagnostics-panel h2 {
  margin: 0;
  color: var(--green);
  font-size: 18px;
  line-height: 1.2;
}

.admin-diagnostics-panel__header span,
.admin-diagnostics-path,
.admin-diagnostics-counts {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.admin-diagnostics-stats strong {
  font-size: clamp(18px, 2vw, 24px);
}

.admin-diagnostics-path {
  overflow-wrap: anywhere;
}

.admin-diagnostics-badges,
.admin-diagnostics-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-diagnostics-badges span,
.admin-diagnostics-counts span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

.admin-diagnostics-badges span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d06a4f;
  content: "";
}

.admin-diagnostics-badges span.is-enabled::before {
  background: var(--green);
}

.admin-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.admin-analytics-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.72);
}

.admin-analytics-panel--wide {
  grid-column: 1 / -1;
}

.admin-analytics-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.admin-analytics-panel h3 {
  margin: 0;
  color: var(--green);
  font-size: 18px;
  line-height: 1.2;
}

.admin-analytics-panel__header span,
.admin-analytics-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.admin-analytics-table {
  display: grid;
  gap: 8px;
}

.admin-analytics-table > div {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) repeat(3, minmax(84px, auto));
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(35, 42, 35, 0.09);
}

.admin-analytics-table > div:first-child {
  border-top: 0;
}

.admin-analytics-table strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--green);
  font-size: 14px;
  line-height: 1.25;
}

.admin-analytics-table span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-align: right;
  white-space: nowrap;
}

.admin-order-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 252, 245, 0.72);
  box-shadow: var(--soft-shadow);
}

.admin-order-card__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.admin-order-card__header strong {
  display: block;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 540;
  line-height: 1;
}

.order-status {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.order-status.is-paid {
  border-color: rgba(31, 58, 43, 0.28);
  background: rgba(31, 58, 43, 0.1);
  color: var(--green);
}

.order-status.is-failed {
  border-color: rgba(164, 90, 63, 0.34);
  background: rgba(164, 90, 63, 0.1);
  color: #8e4738;
}

.order-status.is-running {
  border-color: rgba(95, 107, 87, 0.34);
  background: rgba(95, 107, 87, 0.1);
  color: #5f6b57;
}

.admin-attempt-card .admin-order-card__header strong {
  font-size: clamp(24px, 3vw, 38px);
}

.admin-attempt-body {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 14px;
  align-items: stretch;
}

.admin-job-thumbnail {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(35, 42, 35, 0.09);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.54);
  object-fit: cover;
}

.admin-job-thumbnail--empty {
  background:
    linear-gradient(135deg, rgba(31, 58, 43, 0.08), rgba(164, 90, 63, 0.1)),
    rgba(255, 252, 245, 0.54);
}

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

.admin-order-grid > div,
.admin-order-files {
  padding: 14px;
  border: 1px solid rgba(35, 42, 35, 0.09);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.54);
}

.admin-order-grid strong,
.admin-order-grid p,
.admin-order-files p {
  margin: 5px 0 0;
  color: var(--green);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.35;
}

.admin-order-files {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-order-files .metric__label {
  width: 100%;
}

.admin-order-files a,
.admin-file-button,
.admin-file-pill {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 13px;
  background: rgba(255, 252, 245, 0.76);
  color: var(--green);
  font: inherit;
  font-weight: 820;
  text-decoration: none;
}

.admin-file-button {
  cursor: pointer;
}

.admin-file-button--danger {
  border-color: rgba(150, 52, 40, 0.28);
  color: #963428;
}

.admin-file-pill {
  cursor: default;
}

.admin-file-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.admin-order-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 22px;
  overflow: hidden;
}

.trust-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
  color: var(--green);
  font-weight: 760;
}

.trust-strip div + div {
  border-left: 1px solid var(--line);
}

.trust-strip svg {
  width: 34px;
  flex: 0 0 auto;
}

.build-notes {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: clamp(24px, 5vw, 62px);
  margin-top: 22px;
  padding: clamp(22px, 4vw, 34px);
}

.build-notes h2 {
  font-size: clamp(36px, 4vw, 52px);
}

.build-notes p {
  margin: 14px 0 0;
}

.note-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.note-list article {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.note-list h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 17px;
}

.note-list p {
  margin: 0;
}

@media (max-width: 1100px) {
  .studio {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  }

  .activity-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .app-shell {
    max-width: 520px;
    padding: 22px 16px 34px;
  }

  .studio {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: auto;
  }

  .topbar,
  .intro,
  .preview-wrap,
  .route-source-panel,
  .upload-panel {
    width: 100%;
  }

  .source-actions {
    grid-template-columns: 1fr;
  }

  .source-actions .dropzone {
    grid-template-columns: 46px 1fr;
    min-height: 68px;
  }

  .topbar {
    justify-content: center;
    position: relative;
  }

  .brand {
    font-size: 44px;
  }

  .intro h1 {
    font-size: clamp(54px, 14vw, 76px);
  }

  .preview-wrap {
    min-height: 420px;
    margin-top: -6px;
  }

  .sample-photo {
    min-height: 420px;
  }

  .product-flow {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

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

  .production-progress {
    width: calc(100% - 44px);
    min-width: 0;
  }

  .production-panel {
    position: static;
  }

  .preview-feedback {
    grid-template-columns: 1fr;
  }

  .preview-feedback__choices {
    justify-content: flex-start;
  }

  .success-steps,
  .success-actions {
    grid-template-columns: 1fr;
  }

  .success-route-card {
    align-items: start;
    flex-direction: column;
  }

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

  .build-notes,
  .note-list {
    grid-template-columns: 1fr;
  }

  .note-list article {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .app-shell {
    padding-inline: 14px;
  }

  .brand {
    font-size: 40px;
  }

  .brand__mark {
    width: 74px;
    height: 30px;
  }

  .brand__mark::before {
    left: 16px;
    width: 28px;
    height: 28px;
  }

  .brand__mark::after {
    left: 38px;
    width: 20px;
    height: 20px;
  }

  .intro h1 {
    font-size: clamp(48px, 13vw, 64px);
  }

  .intro p {
    font-size: 21px;
  }

  .preview-wrap {
    min-height: 360px;
    border-radius: 26px;
  }

  .sample-photo {
    min-height: 360px;
  }

  .production-view,
  .production-panel {
    border-radius: 22px;
  }

  .preview-feedback__choices,
  .feedback-chip-grid,
  .preview-feedback__actions,
  .site-feedback-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .feedback-choice,
  .feedback-chip,
  .preview-feedback__actions .primary-button,
  .preview-feedback__actions .secondary-button,
  .site-feedback-modal__actions .primary-button,
  .site-feedback-modal__actions .secondary-button {
    width: 100%;
  }

  .floating-feedback-button {
    right: 14px;
    bottom: 14px;
  }

  .dropzone {
    grid-template-columns: 54px 1fr 18px;
    min-height: 86px;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .dropzone__icon {
    width: 54px;
    height: 54px;
  }

  .dropzone__main {
    font-size: 24px;
  }

  .source-actions .dropzone__main {
    font-size: 20px;
  }

  .route-summary {
    gap: 8px;
  }

  .route-details-panel__top {
    grid-template-columns: 1fr;
  }

  .route-summary div {
    padding: 12px 10px;
  }

  .route-summary strong {
    font-size: 18px;
  }

  .admin-login,
  .admin-attempt-body,
  .admin-analytics-grid,
  .admin-order-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-analytics-table > div {
    grid-template-columns: 1fr;
  }

  .admin-analytics-table span {
    text-align: left;
  }

  .admin-order-card__header {
    display: grid;
  }

  .controls,
  .order-panel,
  .build-notes {
    border-radius: 22px;
  }

  .section-heading h2 {
    font-size: 46px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .trust-strip div {
    flex-direction: column;
    gap: 7px;
    min-height: 98px;
    text-align: center;
    font-size: 13px;
  }

  .trust-strip svg {
    width: 30px;
  }
}
