/* J&O Mini: buildless, mobile-first styles. The original NFC animation lives in nfc-demo.css. */
:root {
  --green: #3f6b42;
  --dark: #29472d;
  --sage: #e8eedc;
  --accent: #b9ca98;
  --paper: #faf8f2;
  --white: #fffefb;
  --ink: #26372b;
  --muted: #566352;
  --line: #d8dfce;
  --space: clamp(56px, 7vw, 96px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.85 -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; line-break: strict; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 650; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 19px; margin-bottom: 10px; font-weight: 600; }
p { color: var(--muted); }
p + p { margin-top: 16px; }
a { color: inherit; text-underline-offset: 5px; }
button, input, select, textarea { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: var(--space); }
.eyebrow { font-size: 14px; font-weight: 650; color: var(--green); margin-bottom: 16px; letter-spacing: .05em; }
.small, figcaption { font-size: 14px; }
.lead { font-size: 20px; color: var(--ink); margin-bottom: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; border: 1px solid var(--green); border-radius: 10px; padding: 12px 22px; background: var(--green); color: white; text-decoration: none; font-weight: 600; line-height: 1.5; }
.button:hover { background: var(--dark); }
.button-outline { color: var(--green); background: transparent; }
.button-outline:hover { background: var(--sage); }
.button-small { min-height: 46px; padding: 10px 16px; font-size: 15px; gap: 12px; }
.button:disabled { background: #eef0e8; color: #596350; border-color: #c6cebd; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; color: var(--green); font-weight: 600; }
.skip-link { position: fixed; left: 20px; top: -120px; z-index: 30; padding: 12px; background: var(--dark); color: white; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 48px; width: auto; flex: none; }
.brand span { font-size: 10px; letter-spacing: .1em; line-height: 1.5; color: var(--green); max-width: 68px; }
.header-inner nav { display: flex; gap: 28px; align-items: center; }
.nav-link { display: none; font-size: 15px; text-decoration: none; min-height: 44px; align-items: center; }
.hero { display: grid; padding-block: 38px 50px; gap: 24px; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); vertical-align: middle; }
.hero-subtitle { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.6; color: var(--green); margin-top: 18px; }
.hero-description { margin-top: 20px; max-width: 470px; }
.hero-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; }
.hero-price strong { color: var(--dark); font-size: 48px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hero-price strong span { font-size: 22px; letter-spacing: 0; margin-right: 5px; }
.hero-price > span { color: var(--ink); font-size: 15px; }
.hero-price small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.hero-visual { background: var(--sage); padding: 20px 12px; border-radius: 22px; min-width: 0; }
.visual-label { display: flex; justify-content: space-between; align-items: center; margin-inline: 8px; font-size: 14px; color: var(--dark); gap: 10px; }
.hero-visual .nfc-demo { margin: 18px auto 0; }
.hero-visual figcaption { font-size: 12px; text-align: center; margin-top: 8px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-actions .button { flex: 1 1 180px; }
.hero-actions p { width: 100%; font-size: 13px; margin-top: 2px; }
.package-section { background: var(--white); border-block: 1px solid var(--line); }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 12px; }
.feature-grid { display: grid; gap: 0; }
.feature-grid article { border-top: 1px solid var(--line); padding: 24px 0; }
.feature-mark { display: block; color: var(--green); font-size: 14px; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.feature-grid p { font-size: 15px; }
.package-note { margin-top: 12px; background: var(--sage); border-radius: 10px; padding: 18px 20px; font-size: 14px; color: var(--dark); }
.demo-grid { display: grid; gap: 36px; align-items: center; }
.demo-copy { max-width: 450px; }
.demo-status { margin-top: 28px; }
.demo-status p { margin-top: 12px; }
.mini-preview { width: min(340px, 100%); margin-inline: auto; }
.preview-page { background: #f8f9fa; border: 1px solid #d5dbe1; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 45px #252d3a12; }
.preview-header { background: #252d3a; color: white; padding: 32px 16px; text-align: center; font-weight: 600; font-size: 26px; }
.preview-contacts { padding: 48px 26px 62px; display: grid; gap: 14px; }
.preview-button { display: flex; gap: 14px; align-items: center; min-height: 56px; border-radius: 10px; padding: 10px 18px; font-size: 17px; font-weight: 600; color: white; }
.preview-button > span:last-child { margin-left: auto; font-size: 17px; }
.preview-button > span:first-child { width: 26px; text-align: center; font-size: 27px; line-height: 1; }
.preview-button img { width: 26px; height: 26px; object-fit: contain; }
.preview-line { background: #008532; }
.preview-instagram { background: linear-gradient(110deg, #9430b9, #c32c63, #bc4d1b); }
.preview-facebook { background: #0866d9; }
.facebook-icon { font-family: Arial, sans-serif; font-weight: 700; }
.preview-phone { background: #374151; }
.preview-footer { display: flex; align-items: center; justify-content: center; gap: 8px; border-top: 1px solid #e5e7eb; padding: 18px 10px; font-size: 11px; color: #58616b; }
.preview-footer img { width: 32px; height: auto; }
.mini-preview figcaption { text-align: center; color: var(--muted); margin-top: 16px; }
.process-section { background: var(--sage); }
.process-grid { display: grid; gap: 28px; padding: 0; margin: 32px 0 0; list-style: none; }
.process-grid li { display: flex; gap: 20px; border-top: 1px solid #bbc9ad; padding-top: 20px; }
.step-number { font: 36px/1.3 Georgia, serif; color: var(--green); }
.process-grid p { font-size: 15px; }
.order-grid { display: grid; gap: 32px; align-items: start; }
.order-grid > div:first-child > p { max-width: 360px; }
.order-grid .text-link { margin-top: 20px; }
.order-panel { padding: 22px 18px; border: 1px solid var(--line); background: var(--white); border-radius: 16px; min-width: 0; }
.integration-notice { background: var(--sage); color: var(--dark); padding: 16px; border-radius: 8px; font-size: 15px; }
.integration-notice p { font-size: 14px; margin-top: 6px; }
fieldset { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
legend { font-size: 15px; font-weight: 600; margin-bottom: 20px; padding: 0; }
.form-grid { display: grid; gap: 18px; }
label { display: block; color: var(--ink); font-size: 15px; }
label > span { font-size: 12px; color: var(--muted); margin-left: 4px; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; margin-top: 7px; background: #f4f5f0; color: #566352; border: 1px solid #d5dccf; border-radius: 7px; font-size: 16px; opacity: 1; -webkit-text-fill-color: #566352; }
input::placeholder, textarea::placeholder { color: #64705f; opacity: 1; }
textarea { resize: vertical; }
.form-footnote { margin-top: 22px; }
.faq-section { padding-top: 0; }
.faq-grid { display: grid; gap: 20px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 16px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--green); font-size: 23px; flex: none; }
details[open] > summary::after { content: '−'; }
details p { padding-bottom: 22px; font-size: 15px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 30px; }
.footer-inner { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.footer-inner .brand span { font-size: 14px; letter-spacing: 0; max-width: none; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-inner small { color: var(--muted); font-size: 12px; }
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 30px; }
.prose h2 { font-size: 24px; margin-top: 34px; margin-bottom: 14px; }
.prose p { overflow-wrap: anywhere; }
.prose .text-link { margin-top: 30px; }
@media (min-width: 600px) {
  .container { width: min(1120px, calc(100% - 64px)); }
  .nav-link { display: inline-flex; }
  .hero-actions .button { flex: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .full-width { grid-column: 1 / -1; }
  .order-panel { padding: 28px; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 28px; padding-block: 64px 72px; align-items: center; }
  .hero-copy { align-self: end; }
  .hero-visual { grid-column: 2; grid-row: 1 / 3; align-self: center; padding: 24px 20px; }
  .hero-actions { align-self: start; }
  .hero-actions .button { padding-inline: 18px; gap: 18px; }
  .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
  .section-heading h2 { margin-bottom: 0; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; }
  .feature-grid article { padding-block: 28px; }
  .demo-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .process-grid li { display: block; }
  .step-number { display: block; margin-bottom: 20px; }
  .order-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .order-grid > div:first-child { position: sticky; top: 125px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .footer-inner { flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Restored from 03d5652: original mobile contact bar, adapted to Mini's #order.
   Reserve its height after the regular footer, including the iPhone safe area. */
.mobile-contact { display: none; }
.mobile-contact .line-button {
  background: #06c755;
  border-color: #06c755;
  color: #fff;
  transition: background .15s;
}
.mobile-contact .line-logo { width: 26px; height: auto; flex: none; }
@media (hover: hover) {
  .mobile-contact .line-button:hover { background: #06bc50; border-color: #06bc50; }
}
.mobile-contact .line-button:active { background: #05ae49; border-color: #05ae49; }
.mobile-contact .line-button:focus-visible { outline-color: var(--dark); }
@media (max-width: 699px) {
  html.mini-landing { scroll-padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
  .mini-landing body { padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
  .mobile-contact {
    position: fixed;
    z-index: 5;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: #faf8f2f5;
    border-top: 1px solid var(--line);
    box-shadow: 0 -3px 20px #29472D0A;
  }
  .mobile-contact .button {
    min-width: 0;
    min-height: 45px;
    padding: 10px 8px;
    gap: 11px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1.8;
    white-space: nowrap;
    box-shadow: none;
  }
}
@media (max-width: 359px) {
  .mobile-contact .button { font-size: 15px; gap: 7px; padding-inline: 4px; }
}
