:root {
  color-scheme: light;
  --paper: #f6f1e9;
  --paper-deep: #efe6da;
  --surface: #fffdf8;
  --surface-soft: #fbf6ee;
  --ink: #191613;
  --muted: #5f554e;
  --subtle: #7f746b;
  --line: #e4d8cb;
  --accent: #b35b3f;
  --accent-dark: #823b29;
  --mint: #dbe9df;
  --mint-ink: #31785f;
  --shadow: 0 22px 70px rgba(49, 34, 23, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

legend {
  padding: 0;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.65), rgba(246, 241, 233, 0)),
    var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC",
    "PingFang TC", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(130, 59, 41, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 59, 41, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 74%);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(49, 120, 95, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  transform: translateY(-160%);
}

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

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

picture {
  display: contents;
}

section[id] {
  scroll-margin-top: 84px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  min-height: 72px;
  padding: 0 30px;
  background: rgba(246, 241, 233, 0.9);
  border-bottom: 1px solid rgba(228, 216, 203, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 17px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.header-cta,
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 900;
  border: 1px solid transparent;
}

.header-cta {
  background: var(--ink);
  color: #fff;
  font-size: 15px;
}

.context-trail {
  display: flex;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding-top: 22px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.context-trail a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.context-trail strong {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 56px));
  min-height: min(680px, calc(100vh - 72px));
  margin: 0 auto;
  padding: 42px 0 38px;
}

.hero-copy {
  min-width: 0;
  padding-top: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 20px;
}

.hero-note {
  max-width: 600px;
  margin: -2px 0 22px;
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 34px rgba(179, 91, 63, 0.2);
}

.btn.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn.light {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.hero-text-link {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  height: min(720px, calc(100vh - 120px));
  min-height: 580px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 290px;
  height: 628px;
  border: 10px solid #181512;
  border-radius: 34px;
  background: #f7f2ea;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-main {
  right: 72px;
  top: 18px;
  z-index: 3;
  width: 330px;
  height: 716px;
}

.phone-back {
  opacity: 0.74;
  filter: saturate(0.92);
}

.phone-back.one {
  right: 300px;
  top: 88px;
  transform: rotate(-6deg);
}

.phone-back.two {
  right: 4px;
  top: 116px;
  transform: rotate(5deg);
}

.hero-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.82fr);
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 14px;
  min-height: 540px;
}

.hero-cover {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(25, 22, 19, 0.08);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-cover.large {
  grid-row: 1 / span 2;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(25, 22, 19, 0.02),
    rgba(25, 22, 19, 0.72)
  );
}

.hero-cover span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.proof-band div {
  min-height: 104px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.proof-band strong {
  display: block;
  font-size: 21px;
  line-height: 1.25;
}

.section {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 62px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-heading.wide {
  max-width: 900px;
}

.section-heading p,
.story-copy p {
  color: var(--muted);
  font-size: 17px;
}

.demo-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.demo-phone-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(49, 34, 23, 0.08);
}

.demo-phone-card img {
  width: 100%;
  aspect-ratio: 0.56;
  object-fit: cover;
  object-position: top center;
}

.caption {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 18px;
}

.caption strong {
  font-size: 19px;
  line-height: 1.3;
}

.caption span {
  color: var(--muted);
  font-size: 14px;
}

.commerce-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.62fr);
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-copy {
  max-width: 650px;
}

.explore-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.explore-card img {
  width: 100%;
  max-height: 740px;
  object-fit: cover;
  object-position: top center;
}

.detail-demo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.4fr);
  gap: 54px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.detail-demo-copy {
  max-width: 540px;
}

.detail-demo-copy p {
  color: var(--muted);
  font-size: 17px;
}

.app-preview {
  display: grid;
  grid-template-columns: minmax(0, 250px);
  justify-content: center;
  align-items: start;
}

.app-phone {
  position: relative;
  overflow: hidden;
  width: min(100%, 250px);
  height: auto;
  aspect-ratio: 0.462;
  justify-self: center;
  border: 10px solid #181512;
  border-radius: 34px;
  background: #f7f2ea;
  box-shadow: var(--shadow);
}

.app-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.app-phone.main {
  z-index: 2;
}

.app-phone.side {
  opacity: 1;
}

.store-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.store-ribbon span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.store-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.store-card {
  display: grid;
  align-content: space-between;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.store-card.featured {
  background: var(--ink);
  color: #fff;
}

.store-card span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.store-card.featured span,
.store-card.featured em {
  color: #f0cbbb;
}

.store-card strong {
  display: block;
  margin: 20px 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.store-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

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

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

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

.help-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(49, 34, 23, 0.06);
}

.help-grid span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.help-grid strong {
  font-size: 23px;
  line-height: 1.22;
}

.help-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.info-grid span {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.merchant-app-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.merchant-app-copy {
  max-width: 740px;
}

.merchant-app-copy > p:not(.eyebrow):not(.merchant-app-note) {
  color: var(--muted);
  font-size: 17px;
}

.merchant-app-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.merchant-app-points li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.merchant-app-note {
  margin-bottom: 0;
  color: var(--accent-dark);
  font-weight: 900;
}

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

.merchant-app-actions .btn {
  width: 100%;
}

.questionnaire-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.questionnaire-heading p {
  color: var(--muted);
  font-size: 18px;
}

.social-entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  margin: 34px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.social-entry strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
}

.social-entry span {
  display: block;
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.social-links {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  gap: 12px;
  width: 100%;
}

.social-links a {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(49, 120, 95, 0.22);
  border-radius: 8px;
  padding: 12px 16px;
  background: rgba(219, 233, 223, 0.62);
  color: var(--mint-ink);
  font-size: 17px;
  font-weight: 900;
}

.social-icon {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-link span:last-child {
  white-space: nowrap;
}

.intake-form {
  display: grid;
  gap: 0;
}

.form-progress {
  display: grid;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.form-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-progress strong {
  color: var(--accent-dark);
  font-size: 16px;
}

.form-progress span {
  color: var(--muted);
  font-size: 15px;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress-track span {
  display: block;
  width: calc(100% / 6);
  height: 100%;
  border-radius: inherit;
  background: var(--accent-dark);
  transition: width 180ms ease;
}

.form-step {
  padding: 30px 0 8px;
}

.form-step[hidden] {
  display: none;
}

.step-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 8px;
}

.step-heading > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--accent-dark);
  font-weight: 900;
}

.step-heading h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.3;
}

.step-heading h3[tabindex="-1"]:focus {
  outline: none;
}

.step-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.step-actions .btn {
  min-width: 180px;
}

.form-footer .step-actions {
  width: 100%;
  margin-top: 0;
}

.form-footer .step-actions .btn {
  width: auto;
  min-width: 180px;
  min-height: 58px;
  box-shadow: none;
}

.taxonomy-unavailable {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(180, 35, 24, 0.24);
  border-radius: 8px;
  padding: 18px;
  background: #fff2f0;
  color: #8f2017;
}

.taxonomy-unavailable[hidden] {
  display: none;
}

.taxonomy-unavailable p,
.field-error {
  margin: 0;
}

.field-error {
  color: #b42318;
  font-size: 14px;
  font-weight: 900;
}

.field-error:empty {
  display: none;
}

.noscript-notice {
  margin: 22px 0 0;
  border: 1px solid rgba(180, 35, 24, 0.24);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff2f0;
  color: #8f2017;
  font-size: 16px;
  font-weight: 900;
}

.question-cluster {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

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

.form-grid.question-cluster {
  gap: 18px 16px;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

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

.payment-grid {
  margin-top: 0;
}

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

.choice-group {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.schedule-question {
  gap: 14px;
}

.hours-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-action {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: rgba(219, 233, 223, 0.76);
  color: var(--accent-dark);
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.hours-grid {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.hours-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.hours-grid .hours-row:first-child {
  border-top: 0;
}

.hours-row-toggle {
  display: grid;
  width: 100%;
  min-height: 58px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 14px 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.hours-row-toggle:hover {
  background: rgba(246, 240, 232, 0.54);
}

.hours-toggle-left,
.hours-toggle-right {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}

.hours-toggle-left {
  gap: 9px;
}

.hours-toggle-right {
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
}

.hours-status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
}

.hours-row strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.hours-summary {
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hours-chevron {
  flex: 0 0 auto;
  color: var(--subtle);
  font-size: 25px;
  line-height: 1;
  transition: transform 160ms ease;
}

.hours-row.is-editing .hours-chevron {
  transform: rotate(90deg);
}

.hours-row.is-closed {
  opacity: 1;
}

.hours-row.is-closed .hours-status-dot {
  background: var(--subtle);
}

.hours-row.is-closed .hours-summary {
  color: var(--muted);
}

.hours-row-header {
  display: grid;
  gap: 10px;
  padding: 0 16px 12px;
}

.hours-row.is-enhanced .hours-row-header {
  display: none;
}

.hours-row.is-enhanced.is-editing .hours-row-header {
  display: grid;
}

.hours-row.is-enhanced .hours-row-header > strong {
  display: none;
}

.hours-row.is-enhanced .hours-status {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hours-status-segment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f3f4f2;
}

.hours-status-segment button {
  min-height: 48px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.hours-status-segment button:first-child {
  border-left: 0;
}

.hours-status-segment button.is-active {
  background: rgba(219, 233, 223, 0.9);
  color: var(--accent-dark);
}

.hours-row input:disabled {
  color: var(--muted);
  background: rgba(246, 240, 232, 0.8);
  opacity: 0.68;
}

.hours-slots {
  display: grid;
  gap: 8px;
  padding: 0 16px 12px;
}

.hours-row.is-enhanced .hours-slots {
  display: none;
}

.hours-row.is-enhanced.is-editing .hours-slots {
  display: grid;
}

.hours-slot {
  display: grid;
  grid-template-columns: minmax(104px, 1fr) minmax(104px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.hours-slot input {
  min-height: 52px;
  border-radius: 10px;
  background: #f3f4f2;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

.slot-add,
.slot-remove {
  min-height: 46px;
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.slot-add {
  margin: 0 16px 16px;
  border: 0;
  background: #f3f4f2;
  color: #4b5563;
}

.hours-row.is-enhanced .slot-add {
  display: none;
}

.hours-row.is-enhanced.is-editing .slot-add {
  display: block;
}

.slot-remove {
  border: 1px solid rgba(162, 77, 49, 0.2);
  background: #fff8f2;
  color: var(--accent-dark);
}

.slot-add:disabled,
.slot-remove:disabled,
.slot-remove[hidden] {
  display: none;
}

.intake-form label,
.form-field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.intake-form label:not(.check-option):not(.consent-row) > span,
.form-field > span,
.form-field > legend,
.file-label,
.choice-group > legend,
.field-title-row span {
  color: var(--accent-dark);
  font-size: 21px;
  line-height: 1.22;
  font-weight: 900;
}

.consent-row span,
.check-option span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.consent-row a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.field-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-title-row em {
  flex: 0 0 auto;
  color: var(--mint-ink);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.field-help {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.cuisine-picker {
  padding: 0;
}

.cuisine-picker.has-error {
  border-color: var(--accent);
  outline: 3px solid rgba(179, 91, 63, 0.16);
}

.selected-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 42px;
  align-items: center;
}

.tag-placeholder {
  color: var(--subtle);
  font-size: 15px;
  font-weight: 800;
}

.selected-tag,
.tag-option,
.category-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.selected-tag {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
}

.selected-tag::after {
  content: "×";
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1;
}

.tag-picker-layout {
  display: grid;
  grid-template-columns: minmax(164px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.tag-category-list,
.tag-item-grid {
  display: grid;
  gap: 8px;
}

.tag-category-list {
  align-content: start;
  max-height: 420px;
  overflow: auto;
  padding-right: 2px;
}

.category-option {
  min-height: 46px;
  padding: 9px 11px;
  text-align: left;
  font-size: 15px;
}

.category-option.is-active {
  border-color: rgba(49, 120, 95, 0.35);
  background: rgba(219, 233, 223, 0.76);
  color: var(--mint-ink);
}

.tag-item-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 246px;
  padding: 0;
  background: transparent;
}

.tag-panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.tag-panel-heading strong {
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 900;
}

.tag-panel-heading span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

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

.tag-option {
  min-height: 48px;
  padding: 9px 11px;
  font-size: 15px;
  text-align: left;
}

.tag-option.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.tag-option:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}

.intake-form textarea {
  min-height: 112px;
  resize: vertical;
}

.intake-form .check-option {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
}

.check-option input {
  width: 20px;
  min-height: 20px;
  flex: 0 0 auto;
}

.form-note-field {
  margin-top: 2px;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  outline: 3px solid rgba(49, 120, 95, 0.2);
  border-color: var(--mint-ink);
}

.file-field {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 148px;
  padding: 0;
  background: transparent;
}

.file-field input {
  border-color: var(--line);
  background: #fff;
}

.file-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.file-preview-grid:empty {
  display: none;
}

.file-preview-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(49, 120, 95, 0.18);
  border-radius: 8px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.9);
}

.file-preview-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-soft);
}

.file-preview-meta {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.file-preview-name {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-status {
  min-height: 0;
  border: 1px solid rgba(79, 111, 100, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #4f6f64;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.file-upload-status:empty {
  display: none;
}

.file-upload-status[data-tone="loading"] {
  color: #a24d31;
  border-color: rgba(162, 77, 49, 0.24);
  background: #fff8f2;
}

.file-upload-status[data-tone="success"] {
  color: #167247;
  border-color: rgba(22, 114, 71, 0.22);
  background: #effaf3;
}

.file-upload-status[data-tone="error"] {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.22);
  background: #fff2f0;
}

.file-remove {
  min-height: 36px;
  border: 1px solid rgba(162, 77, 49, 0.2);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff8f2;
  color: var(--accent-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.form-footer {
  display: grid;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
  padding: 28px 0 0;
  border: 0;
  background: transparent;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.consent-row input {
  width: 24px;
  min-height: 24px;
  margin-top: 3px;
}

.form-footer .btn {
  width: min(100%, 420px);
  min-height: 64px;
  min-width: 0;
  border: 0;
  border-radius: 10px;
  padding: 16px 24px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(179, 91, 63, 0.28);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.form-footer .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(179, 91, 63, 0.32);
}

.form-footer .btn:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.form-status {
  min-height: 0;
  max-width: 780px;
  margin: 0;
  border: 1px solid rgba(79, 111, 100, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  background: #f3faf6;
  color: #2f6858;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
  white-space: pre-line;
}

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

.form-status[data-tone="loading"] {
  color: #a24d31;
  border-color: rgba(162, 77, 49, 0.26);
  background: #fff6ed;
}

.form-status[data-tone="success"] {
  color: #167247;
  border-color: rgba(22, 114, 71, 0.24);
  background: #effaf3;
}

.form-status[data-tone="error"] {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.22);
  background: #fff2f0;
}

.form-footer p {
  max-width: 780px;
  margin: 0;
  color: #4f6f64;
  font-size: 16px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  align-items: center;
  gap: 24px;
  min-height: 116px;
  padding: 22px 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.footer-brand-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-tagline {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.footer-legal {
  display: grid;
  gap: 7px;
  text-align: right;
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

/* 店家合作入口：中原開學祭、店家頁與商家版共用的首頁。 */
.merchant-portal .site-header {
  background: rgba(246, 241, 233, 0.94);
}

.portal-hero,
.portal-section,
.portal-contact {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.portal-hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  gap: 64px;
  align-items: center;
  padding: 64px 0 48px;
}

.portal-hero-copy {
  max-width: 650px;
}

.portal-hero-visual {
  position: relative;
  min-height: 470px;
}

.portal-photo {
  overflow: hidden;
  height: 440px;
  margin: 0;
  border: 1px solid rgba(25, 22, 19, 0.08);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.portal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-status-card {
  position: absolute;
  right: -22px;
  bottom: 0;
  display: grid;
  gap: 6px;
  width: min(320px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 22px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.portal-status-card span {
  color: #f0cbbb;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.portal-status-card strong {
  font-size: 24px;
  line-height: 1.2;
}

.portal-status-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 800;
}

.portal-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.portal-proof div {
  min-height: 118px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.portal-proof div:last-child {
  border-right: 0;
}

.portal-proof span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.portal-proof strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}

.portal-section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.portal-choice {
  padding-top: 44px;
}

.portal-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.portal-choice-card {
  display: grid;
  min-height: 280px;
  align-content: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(49, 34, 23, 0.06);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.portal-choice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(179, 91, 63, 0.5);
  box-shadow: 0 18px 44px rgba(49, 34, 23, 0.1);
}

.portal-choice-card > span {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.portal-choice-card strong {
  margin: 20px 0 12px;
  font-size: 25px;
  line-height: 1.25;
}

.portal-choice-card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 17px;
}

.portal-choice-card em {
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 17px;
  font-style: normal;
  font-weight: 900;
}

.portal-section-heading {
  max-width: 850px;
}

.portal-section-heading > p:not(.eyebrow),
.portal-split > div > p:not(.eyebrow),
.merchant-portal-app p:not(.eyebrow),
.portal-contact p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.cooperation-grid article,
.storefront-facts article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.cooperation-grid article > span {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.cooperation-grid h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.cooperation-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.campaign-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  border-radius: 8px;
  padding: 24px;
  background: var(--mint);
}

.campaign-callout strong,
.campaign-callout span {
  display: block;
}

.campaign-callout strong {
  margin-bottom: 4px;
  font-size: 21px;
}

.campaign-callout span {
  color: var(--muted);
  font-weight: 800;
}

.portal-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr);
  gap: 72px;
  align-items: center;
}

.portal-split .btn {
  margin-top: 8px;
}

.storefront-facts {
  display: grid;
  gap: 10px;
}

.storefront-facts article {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
}

.storefront-facts strong {
  font-size: 20px;
}

.storefront-facts span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.merchant-portal-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.merchant-portal-app > div {
  max-width: 760px;
}

.portal-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  margin-top: 72px;
  margin-bottom: 72px;
  border-radius: 8px;
  padding: 40px;
  background: var(--ink);
  color: #fff;
}

.portal-contact .eyebrow {
  color: #f0cbbb;
}

.portal-contact h2 {
  margin-bottom: 10px;
}

.portal-contact p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-visual {
    height: 720px;
  }

  .hero-gallery {
    min-height: 520px;
  }

  .phone-main {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .phone-back.one {
    left: calc(50% - 330px);
    right: auto;
  }

  .phone-back.two {
    right: calc(50% - 330px);
  }

  .demo-layout,
  .commerce-section,
  .detail-demo-section,
  .merchant-app-section {
    grid-template-columns: 1fr;
  }

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

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

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

  .app-preview {
    width: min(420px, 100%);
    margin: 0 auto;
  }

  .social-entry {
    grid-template-columns: 1fr;
  }

  .social-links {
    justify-content: stretch;
  }

  .portal-hero,
  .portal-split {
    grid-template-columns: 1fr;
  }

  .portal-hero {
    gap: 34px;
  }

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

  .portal-hero-visual {
    width: min(720px, 100%);
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 64px;
    padding: 0 18px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .site-header nav {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .hero,
  .section,
  .proof-band,
  .portal-hero,
  .portal-section,
  .portal-contact,
  .portal-proof,
  .context-trail {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    gap: 26px;
    padding: 34px 0 28px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .eyebrow {
    font-size: 13px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  h1 span {
    display: block;
  }

  h2 {
    font-size: 30px;
    line-height: 1.16;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-note {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .hero-actions .btn,
  .merchant-app-actions .btn,
  .form-footer .btn {
    width: 100%;
  }

  .hero-text-link {
    margin: 2px auto 0;
    font-size: 16px;
    text-align: center;
    white-space: normal;
  }

  .question-cluster {
    padding: 24px 0;
  }

  .form-footer {
    padding: 24px 0 0;
  }

  .social-entry {
    margin-top: 30px;
    padding: 24px 0 0;
  }

  .social-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .social-links a {
    min-height: 58px;
    gap: 8px;
    padding: 10px 8px;
    font-size: 15px;
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

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

  .mini-action {
    width: 100%;
    padding: 10px 8px;
  }

  .hours-row-toggle {
    padding: 14px;
  }

  .hours-summary {
    font-size: 16px;
  }

  .choice-group {
    min-height: auto;
  }

  .tag-picker-layout {
    grid-template-columns: minmax(118px, 0.38fr) minmax(0, 1fr);
    gap: 8px;
  }

  .tag-category-list {
    max-height: 360px;
  }

  .category-option,
  .tag-option {
    min-height: 48px;
    padding: 9px 10px;
    font-size: 15px;
  }

  .tag-item-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    height: 500px;
    min-height: 500px;
    overflow: hidden;
  }

  .hero-gallery {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-rows: repeat(2, minmax(140px, 1fr));
    min-height: 300px;
  }

  .hero-cover,
  .hero-cover.large {
    min-height: 0;
  }

  .hero-cover.large {
    grid-row: 1 / span 2;
  }

  .hero-cover span {
    right: 12px;
    bottom: 10px;
    left: 12px;
    font-size: 14px;
  }

  .phone {
    width: 220px;
    height: 476px;
    border-width: 8px;
    border-radius: 28px;
  }

  .phone-main {
    width: 250px;
    height: 542px;
    top: 4px;
  }

  .phone-back.one {
    left: -4px;
    top: 76px;
  }

  .phone-back.two {
    right: -4px;
    top: 90px;
  }

  .proof-band,
  .portal-proof,
  .demo-layout,
  .app-preview,
  .form-grid.two,
  .form-grid.three,
  .choice-grid,
  .help-grid,
  .store-wall,
  .info-grid,
  .merchant-app-section {
    grid-template-columns: 1fr;
  }

  .portal-hero {
    min-height: auto;
    gap: 26px;
    padding: 38px 0 28px;
  }

  .portal-hero-visual {
    min-height: 350px;
  }

  .portal-photo {
    height: 330px;
  }

  .portal-status-card {
    right: 12px;
    bottom: -8px;
    padding: 18px;
  }

  .portal-proof div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .portal-proof div:last-child {
    border-bottom: 0;
  }

  .portal-proof strong {
    font-size: 21px;
  }

  .portal-section {
    padding: 54px 0;
  }

  .cooperation-grid,
  .portal-choice-grid,
  .portal-split,
  .merchant-portal-app,
  .portal-contact,
  .campaign-callout {
    grid-template-columns: 1fr;
  }

  .cooperation-grid {
    gap: 10px;
  }

  .cooperation-grid h3 {
    font-size: 22px;
  }

  .portal-split,
  .merchant-portal-app {
    gap: 28px;
  }

  .merchant-portal-app .btn,
  .portal-contact .btn,
  .campaign-callout .btn {
    width: 100%;
  }

  .portal-contact {
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 28px 22px;
  }

  .section {
    padding: 54px 0;
  }

  .proof-band {
    margin-bottom: 36px;
  }

  .proof-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-band div:last-child {
    border-bottom: 0;
  }

  .proof-band div,
  .caption,
  .store-card {
    min-height: auto;
  }

  .proof-band strong {
    font-size: 21px;
  }

  .caption {
    padding: 16px;
  }

  .store-ribbon {
    gap: 8px;
  }

  .store-ribbon span {
    font-size: 12px;
  }

  .commerce-section,
  .detail-demo-section,
  .merchant-app-section {
    gap: 28px;
  }

  .app-preview {
    display: grid;
    gap: 14px;
    min-height: auto;
    width: 100%;
  }

  .app-phone,
  .app-phone.main {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 280px);
    height: auto;
    aspect-ratio: 0.46;
    margin: 0 auto;
    opacity: 1;
    transform: none;
  }

  .store-card strong {
    margin: 16px 0 8px;
    font-size: 20px;
  }

  .info-grid span {
    min-height: 62px;
    font-size: 16px;
  }

  .help-grid article {
    min-height: auto;
  }

  .question-cluster {
    padding: 24px 0;
  }

  .form-footer {
    padding: 24px 0 0;
  }

  .form-footer .btn {
    width: 100%;
  }

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

  .step-actions .btn:only-child {
    grid-column: 1 / -1;
  }

  .step-actions .btn,
  .form-footer .step-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    align-items: start;
    padding: 24px 18px;
    grid-template-columns: 1fr;
  }

  .footer-brand-line {
    display: grid;
  }

  .footer-legal {
    text-align: left;
  }

  .footer-legal nav {
    justify-content: flex-start;
  }

  .footer-brand-line {
    gap: 10px;
  }

  .footer-tagline {
    font-size: 14px;
  }
}

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

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

@media (max-width: 380px) {
  .site-header {
    padding: 0 14px;
  }

  .brand {
    font-size: 15px;
  }

  .header-cta {
    padding: 8px 10px;
    font-size: 14px;
  }

  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 28px;
  }

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

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

  .hours-tools {
    grid-template-columns: 1fr;
  }

  .hours-slot {
    grid-template-columns: 1fr;
  }

  .hours-row-toggle {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hours-toggle-right {
    justify-content: flex-start;
    text-align: left;
  }

  .hours-summary {
    white-space: normal;
  }
}
