:root {
  --ink: #182029;
  --muted: #66717b;
  --gold: #c59655;
  --gold-strong: #e7bf7c;
  --panel: rgba(255, 250, 241, .88);
  --line: rgba(197, 150, 85, .28);
  --dark: #0b1218;
  --shadow: 0 22px 70px rgba(20, 22, 24, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7efe4;
}

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

.appeal-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  color: #fff5e6;
  background: rgba(8, 13, 18, .92);
  border-bottom: 1px solid rgba(231, 191, 124, .18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(231, 191, 124, .42);
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 245, 230, .72);
  font-size: 12px;
  letter-spacing: 0;
}

.appeal-nav nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 245, 230, .78);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.appeal-nav nav a:hover { color: var(--gold-strong); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .68fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: 700px;
  padding: clamp(64px, 8vw, 116px) clamp(18px, 6vw, 92px);
  color: #fff8ec;
  background:
    linear-gradient(90deg, rgba(7, 12, 17, .94) 0%, rgba(7, 12, 17, .78) 48%, rgba(7, 12, 17, .24) 100%),
    url("../../assets/owner-playbook/owner-operations.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(247, 239, 228, 0), #f7efe4);
  pointer-events: none;
}

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

.kicker {
  margin: 0 0 12px;
  color: var(--gold-strong);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.06;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 248, 236, .86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(231, 191, 124, .38);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary,
button {
  color: #111820;
  background: linear-gradient(135deg, #f3d694, #c8954d);
  box-shadow: 0 16px 38px rgba(205, 154, 80, .22);
}

.btn.ghost {
  color: #fff5e6;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.hero-panel {
  align-self: center;
  display: grid;
  gap: 18px;
}

.panel-photo {
  min-height: 260px;
  border: 1px solid rgba(231, 191, 124, .30);
  border-radius: 28px;
  background: url("../../assets/event-qr-scan-real.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 24px;
  border: 1px solid rgba(231, 191, 124, .34);
  border-radius: 24px;
  background: rgba(8, 13, 18, .78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-card span,
.value-grid span,
.story-steps span {
  color: var(--gold-strong);
  font-weight: 900;
}

.panel-card strong {
  display: block;
  margin: 8px 0;
  font-size: 24px;
  line-height: 1.2;
}

.panel-card p {
  margin: 0;
  color: rgba(255, 248, 236, .76);
  line-height: 1.55;
}

.section {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 6vw, 92px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.section-head h2,
.fit-card h2,
.story-copy h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
}

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

.value-grid article,
.module-grid a,
.story-steps article,
.fit-card {
  border: 1px solid rgba(197, 150, 85, .26);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.value-grid article,
.module-grid a,
.story-steps article {
  padding: 24px;
}

.value-grid strong,
.module-grid strong,
.story-steps strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.value-grid p,
.module-grid p,
.story-steps p,
.fit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-weight: 700;
}

.qr-story {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 239, 228, .96), rgba(247, 239, 228, .74)),
    url("../../assets/owner-playbook/hero-dining.jpg") center / cover no-repeat;
}

.story-copy p:not(.kicker) {
  max-width: 560px;
  color: #4e5964;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 800;
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.module-grid a {
  min-height: 158px;
  transition: transform .18s ease, border-color .18s ease;
}

.module-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 150, 85, .62);
}

.fit-card {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(320px, .55fr);
  gap: 28px;
  padding: clamp(24px, 5vw, 44px);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, .96), rgba(255, 250, 241, .82)),
    url("../../assets/owner-playbook/kitchen-inventory.jpg") right center / auto 100% no-repeat;
}

form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(197, 150, 85, .22);
}

label {
  display: grid;
  gap: 7px;
  color: #3b424a;
  font-weight: 900;
}

select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(24, 32, 41, .16);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: #fffaf1;
  font: inherit;
  font-weight: 800;
}

#appealFitStatus {
  min-height: 22px;
  margin: 0;
  color: #5c6570;
  font-weight: 800;
  line-height: 1.5;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 6vw, 92px);
  color: #f8e8ca;
  background: var(--dark);
}

footer span {
  color: rgba(248, 232, 202, .72);
}

@media (max-width: 980px) {
  .appeal-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .appeal-nav nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .qr-story,
  .fit-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .appeal-nav nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  footer {
    flex-direction: column;
  }

  .btn,
  button {
    width: 100%;
  }

  .value-grid,
  .module-grid,
  .story-steps {
    grid-template-columns: 1fr;
  }
}
