:root {
  --ink: #171326;
  --muted: #6e6877;
  --plum: #6e2f63;
  --plum-dark: #55204c;
  --plum-pale: #f2e8f0;
  --paper: #fbf8f5;
  --white: #ffffff;
  --coral: #f27e75;
  --line: #ebe4e8;
  --shadow: 0 20px 60px rgba(55, 34, 50, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Thai", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { height: 76px; background: rgba(251,248,245,.94); border-bottom: 1px solid rgba(110,47,99,.08); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.65rem; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { color: var(--plum); font-size: 2rem; font-style: normal; font-weight: 800; line-height: 1; letter-spacing: -.07em; }
.main-nav { display: flex; align-items: center; gap: 34px; font-weight: 600; }
.main-nav > a:not(.button):hover { color: var(--plum); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 14px; color: white; background: var(--plum); box-shadow: 0 10px 24px rgba(110,47,99,.2); font-weight: 700; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: var(--plum-dark); box-shadow: 0 14px 30px rgba(110,47,99,.25); }
.button-small { min-height: 44px; padding-inline: 22px; border-radius: 11px; }

.hero { padding: 50px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr); gap: 44px; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--plum); font-weight: 700; }
.hero h1 { margin: 0; font-size: clamp(3.55rem, 5vw, 4.8rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 800; }
.hero h1 span { color: var(--plum); }
.hero-lead { max-width: 520px; margin: 25px 0 28px; color: #312c3a; font-size: 1.22rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.text-link { color: var(--plum); font-weight: 700; }
.text-link span { margin-left: 7px; font-size: 1.35em; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 13px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: white; background: var(--coral); font-size: .78rem; font-weight: 800; }

.hero-media { position: relative; min-height: 590px; border-radius: 36px; background: #efdceb; overflow: hidden; isolation: isolate; }
.hero-person { position: absolute; z-index: 1; right: -34px; bottom: -2px; width: 58%; height: 100%; object-fit: cover; object-position: center top; opacity: .96; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 13%, #000 100%); mask-image: linear-gradient(to right, transparent 0%, #000 13%, #000 100%); }
.phone { position: absolute; z-index: 3; left: 26px; bottom: 18px; width: 310px; height: 568px; padding: 10px; border: 3px solid #17161a; border-radius: 42px; background: #232126; box-shadow: 0 25px 48px rgba(23,19,38,.27); transform: rotate(-1deg); }
.shop-proof { position: absolute; z-index: 4; right: 20px; bottom: 24px; width: 184px; padding: 14px 15px; border: 1px solid rgba(110,47,99,.1); border-radius: 15px; background: white; box-shadow: 0 15px 34px rgba(55,34,50,.14); }
.shop-proof small { display: block; margin-bottom: 7px; color: var(--plum); font-size: .73rem; font-weight: 700; }
.shop-proof div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: .76rem; }
.shop-proof div + div { border-top: 1px solid var(--line); }
.shop-proof b { color: var(--ink); white-space: nowrap; }
.shop-proof p { margin: 8px -4px -3px; padding: 8px 8px 4px; border-top: 1px solid var(--line); color: #397554; font-size: .75rem; font-weight: 800; }
.shop-proof p span { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 3px; border-radius: 50%; color: white; background: #4b9467; font-size: .65rem; }
.phone-island { position: absolute; z-index: 4; top: 17px; left: 50%; width: 83px; height: 23px; transform: translateX(-50%); border-radius: 15px; background: #0a090b; }
.phone-screen { position: relative; height: 100%; padding: 12px 12px 0; overflow: hidden; border-radius: 31px; background: #fcfaf8; font-family: "Noto Sans Thai", sans-serif; color: #171326; }
.phone-screen--shot { padding: 0; background: #111; }
.phone-shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.app-status { display: flex; justify-content: space-between; align-items: center; padding: 0 3px; font-size: 8px; }
.app-brand { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 14px; font-size: 10px; font-weight: 800; }
.app-brand b { color: var(--plum); font-size: 14px; font-style: italic; }
.app-gear { position: absolute; right: 14px; color: var(--plum); }
.app-heading { display: flex; flex-direction: column; margin: 12px 0 9px; }
.app-heading strong { font-size: 21px; line-height: 1.2; }
.app-heading small { color: #77717c; font-size: 8px; }
.shop-select, .log-button { width: 100%; border: 0; border-radius: 8px; }
.shop-select { display: flex; justify-content: space-between; align-items: center; height: 39px; padding: 0 10px; color: var(--ink); background: white; box-shadow: 0 4px 16px rgba(39,27,37,.09); font-size: 10px; }
.shop-select span:first-child { color: var(--plum); }
.log-button { height: 40px; margin-top: 8px; color: white; background: var(--plum); font-size: 12px; font-weight: 700; }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.totals article { display: flex; flex-direction: column; padding: 10px; border: 1px solid #f0eaed; border-radius: 9px; background: white; }
.totals small { font-size: 8px; font-weight: 700; }
.totals strong { font-size: 20px; line-height: 1.2; }
.totals em { font-size: 8px; font-style: normal; }
.recent-head { display: flex; justify-content: space-between; margin: 12px 0 5px; color: var(--plum); font-size: 8px; }
.log-list div { display: grid; grid-template-columns: 40px 1fr auto; padding: 6px 3px; border-bottom: 1px solid #eee7eb; font-size: 8px; }
.log-list b { color: var(--plum); }
.app-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 7px 8px 8px; border-top: 1px solid #eee7eb; background: white; }
.app-tabs span { display: flex; flex-direction: column; align-items: center; color: #88818c; font-size: 7px; }
.app-tabs b { font-size: 15px; line-height: 1; }
.app-tabs .active { color: var(--plum); font-weight: 700; }

.section { padding: 78px 0; }
.section h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.25; letter-spacing: -.035em; }
.multi-shop { padding-top: 18px; }
.journey-card { position: relative; display: flex; align-items: center; min-height: 520px; overflow: hidden; border-radius: 30px; background: #dfd6cc; box-shadow: var(--shadow); }
.journey-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.journey-copy { position: relative; z-index: 2; width: min(47%, 490px); margin-left: 34px; padding: 36px; border-radius: 22px; background: rgba(251,248,245,.96); box-shadow: 0 16px 42px rgba(55,34,50,.13); }
.journey-copy > p:not(.section-kicker) { max-width: 430px; margin: 20px 0 28px; color: var(--muted); font-size: 1.03rem; }
.venue-flow { display: flex; align-items: center; gap: 10px; }
.venue-flow span { display: flex; flex-direction: column; min-width: 142px; padding: 13px 15px; border: 1px solid rgba(110,47,99,.13); border-radius: 13px; background: rgba(255,255,255,.88); box-shadow: 0 8px 22px rgba(55,34,50,.08); font-size: .88rem; }
.venue-flow b { color: var(--plum); font-size: .72rem; }
.venue-flow i { color: var(--plum); font-style: normal; font-weight: 800; }
.steps { background: white; text-align: center; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; text-align: left; }
.step-card { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 30px rgba(60,40,54,.06); }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--plum); background: var(--plum-pale); font-weight: 800; }
.step-icon { display: grid; place-items: center; width: 36px; color: var(--plum); font-size: 2rem; font-weight: 500; }
.step-card h3 { margin: 0; font-size: 1.2rem; }
.step-card p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

.reconcile { background: #f7f1f4; }
.reconcile-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.reconcile-visual { position: relative; height: 490px; overflow: hidden; border-radius: 28px; background: #e8ddd6; box-shadow: var(--shadow); }
.reconcile-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.result-card { position: absolute; left: 24px; bottom: 24px; width: 224px; padding: 17px; border: 1px solid rgba(110,47,99,.1); border-radius: 17px; background: white; box-shadow: 0 18px 42px rgba(36,22,32,.18); }
.result-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.result-head span { color: var(--plum); font-weight: 800; }
.result-head small { color: var(--muted); }
.result-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: .82rem; }
.result-row strong { font-size: .9rem; }
.result-ok { margin: 8px -4px -4px; padding: 10px 8px 3px; border-top: 1px solid var(--line); color: #397554; font-size: .82rem; font-weight: 800; }
.result-ok span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 5px; border-radius: 50%; color: white; background: #4b9467; font-size: .68rem; }
.reconcile-copy > p:not(.section-kicker) { max-width: 490px; margin: 20px 0 28px; color: var(--muted); font-size: 1.04rem; }
.value-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.value-list li { display: flex; align-items: center; gap: 13px; }
.value-list li > span { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border-radius: 50%; color: var(--plum); background: white; box-shadow: 0 7px 18px rgba(55,34,50,.08); font-weight: 800; }
.value-list div { display: flex; flex-direction: column; }
.value-list small { color: var(--muted); font-size: .86rem; }

.purpose-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; padding: 62px; border-radius: 28px; background: var(--plum-pale); }
.purpose-copy p:last-child { max-width: 490px; margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-grid div { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 16px; border-radius: 15px; background: rgba(255,255,255,.75); }
.feature-grid span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: white; background: var(--plum); font-size: 1.2rem; }

.faq { background: white; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 76px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--plum); font-size: 1.45rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -4px 0 22px; padding-right: 40px; color: var(--muted); }

.trial { padding-top: 68px; }
.trial-card { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 52px 58px; color: white; border-radius: 26px; background: var(--plum); }
.trial-card .section-kicker { color: #f2cadf; }
.trial-card h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
.trial-card p:last-child { margin: 10px 0 0; color: #eadbe6; }
.button-light { flex: 0 0 auto; color: var(--plum); background: white; box-shadow: none; }
.button-light:hover { color: white; background: var(--ink); }

footer { padding: 32px 0 44px; }
.footer-wrap { display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: .9rem; }
.footer-wrap .brand { margin-right: auto; color: var(--ink); font-size: 1.2rem; }
.footer-wrap .brand-mark { font-size: 1.55rem; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: 28px; }
  .hero h1 { font-size: clamp(3.3rem, 6vw, 4.25rem); }
  .hero-media { min-height: 540px; }
  .phone { left: 15px; width: 278px; height: 520px; }
  .hero-person { right: -52px; width: 63%; }
  .shop-proof { right: 12px; bottom: 18px; width: 165px; padding: 12px; }
  .journey-copy { width: 51%; margin-left: 24px; padding: 30px; }
  .reconcile-grid { gap: 38px; }
  .reconcile-visual { height: 450px; }
  .step-card { grid-template-columns: auto 1fr; gap: 10px 14px; padding: 22px 18px; }
  .step-icon { grid-row: 1 / span 2; }
  .step-card > div:last-child { grid-column: 2 / 3; }
  .purpose-panel { gap: 36px; padding: 46px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 620px); }
  .site-header { height: 68px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 34px rgba(40,25,35,.08); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 13px 10px; }
  .main-nav .button { margin-top: 8px; }
  .hero { padding: 44px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 4.25rem); }
  .hero-lead { font-size: 1.06rem; }
  .hero-checks { display: grid; gap: 10px; }
  .hero-media { min-height: 560px; margin-top: 10px; }
  .phone { left: 6%; width: 290px; height: 540px; }
  .hero-person { right: -34px; width: 58%; }
  .shop-proof { right: 14px; bottom: 20px; }
  .journey-card { min-height: 660px; }
  .journey-card > img { object-position: 64% center; }
  .journey-copy { align-self: flex-end; width: calc(100% - 48px); margin: 0 24px 24px; padding: 28px; }
  .reconcile-grid { grid-template-columns: 1fr; gap: 38px; }
  .reconcile-visual { height: 470px; }
  .section { padding: 60px 0; }
  .step-grid, .purpose-panel, .faq-wrap { grid-template-columns: 1fr; }
  .step-grid { gap: 13px; }
  .step-card { grid-template-columns: auto auto 1fr; }
  .step-icon { grid-row: auto; }
  .step-card > div:last-child { grid-column: auto; }
  .purpose-panel { gap: 34px; padding: 34px 24px; }
  .faq-wrap { gap: 34px; }
  .trial-card { align-items: flex-start; flex-direction: column; padding: 38px 27px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-wrap .brand { margin-bottom: 10px; }
  .footer-wrap p { margin: 0; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.35rem; }
  .hero h1 { font-size: 3rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-media { min-height: 500px; }
  .hero-person, .shop-proof { display: none; }
  .phone { left: 50%; bottom: 18px; width: 252px; height: 486px; transform: translateX(-50%); }
  .multi-shop { padding-top: 4px; }
  .journey-card { min-height: 590px; border-radius: 23px; }
  .journey-card > img { height: 58%; object-position: 69% center; }
  .journey-copy { width: 100%; margin: 300px 0 0; padding: 28px 22px 24px; border-radius: 0; box-shadow: none; }
  .venue-flow { align-items: stretch; flex-direction: column; }
  .venue-flow span { min-width: 0; }
  .venue-flow i { display: none; }
  .reconcile-visual { height: 420px; }
  .reconcile-visual > img { object-position: 46% center; }
  .result-card { left: 14px; right: 14px; bottom: 14px; width: auto; }
  .step-card { grid-template-columns: auto 1fr; }
  .step-icon { grid-row: 1 / span 2; }
  .step-card > div:last-child { grid-column: 2; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
