:root {
  --paper: #fffdf8;
  --paper-soft: #f8f3e9;
  --surface: #ffffff;
  --ink: #202c31;
  --muted: #66747a;
  --teal: #0f766e;
  --teal-dark: #075e59;
  --teal-soft: #e4f4f1;
  --gold: #be7b18;
  --gold-soft: #fff1d0;
  --magenta: #b53d6a;
  --line: #e6dac7;
  --shadow: 0 24px 70px rgba(48, 45, 36, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Sarabun", "Leelawadee UI", Tahoma, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: -100px; left: 16px; padding: 10px 18px; border-radius: 8px; background: #fff; color: var(--teal-dark); box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(213, 197, 171, .8); background: rgba(255, 253, 248, .96); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 16px; color: var(--teal-dark); text-decoration: none; }
.brand img { display: block; width: 150px; height: auto; max-height: 76px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 21px; }
.brand small { margin-top: 5px; color: #776c60; font-size: 13px; }
.top-nav { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.top-nav a { color: #43595b; text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.top-nav a:hover { color: var(--teal); }
.top-nav .nav-guide { padding: 9px 14px; border: 1px solid #e2c27e; border-radius: 9px; color: #80520f; background: var(--gold-soft); }
.top-nav .nav-guide:hover { color: #684006; background: #ffe7ae; }
.top-nav .nav-contact { padding: 10px 17px; border-radius: 9px; color: #fff; background: var(--teal); }
.top-nav .nav-contact:hover { color: #fff; background: var(--teal-dark); }

.hero { position: relative; overflow: hidden; padding: 84px 0 104px; background: radial-gradient(circle at 85% 18%, rgba(15, 118, 110, .13), transparent 31%), radial-gradient(circle at 10% 80%, rgba(190, 123, 24, .11), transparent 28%), linear-gradient(135deg, #fffdf9, #f7f3ea); }
.hero::after { content: ""; position: absolute; inset: auto -8% -260px 50%; height: 520px; border-radius: 50%; border: 1px solid rgba(15, 118, 110, .12); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); gap: 62px; align-items: center; }
.eyebrow, .kicker { margin: 0 0 10px; color: var(--magenta); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border-radius: 999px; color: var(--teal-dark); background: var(--teal-soft); letter-spacing: 0; text-transform: none; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: #26a775; box-shadow: 0 0 0 5px rgba(38, 167, 117, .12); }
.hero h1 { margin: 20px 0 22px; font-size: clamp(56px, 6.5vw, 86px); line-height: .98; letter-spacing: -.035em; }
.hero h1 em { color: var(--teal); font-size: .66em; font-style: normal; letter-spacing: -.02em; }
.hero-lead { max-width: 660px; margin: 0; color: #55666a; font-size: 20px; line-height: 1.75; }
.compatibility { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 0; padding: 0; list-style: none; }
.compatibility li { padding: 6px 12px; border: 1px solid #cddedb; border-radius: 999px; color: var(--teal-dark); background: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 700; }
.hero-actions { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px; padding: 11px 23px; border: 1px solid transparent; border-radius: 10px; text-align: center; text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { min-width: 285px; color: #fff; background: var(--teal); box-shadow: 0 12px 28px rgba(15, 118, 110, .24); }
.button-primary:hover { color: #fff; background: var(--teal-dark); box-shadow: 0 15px 34px rgba(15, 118, 110, .3); }
.button-secondary { color: var(--teal-dark); border-color: #9fc7c1; background: rgba(255, 255, 255, .86); }
.button-secondary:hover { background: #fff; }
.download-button { min-height: 70px; padding: 14px 24px; border-radius: 14px; text-align: left; }
.download-button > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.download-button strong { font-size: 20px; line-height: 1.2; }
.download-button small { margin-top: 5px; color: rgba(255, 255, 255, .94); font-size: 14px; font-weight: 600; }
.download-icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 50%; color: var(--magenta); background: #fff; font-size: 32px; line-height: 1; }
.download-button:not(.is-checking):not(.is-unavailable) { color: #fff; background: linear-gradient(135deg, #c74673, #9e2d59); box-shadow: 0 16px 38px rgba(181, 61, 106, .34); }
.download-button:not(.is-checking):not(.is-unavailable):hover { color: #fff; background: linear-gradient(135deg, #b73a67, #872348); box-shadow: 0 19px 44px rgba(181, 61, 106, .42); }
.download-button.is-checking, .download-button.is-unavailable { color: #72685f; border-color: #d9cdbd; background: #e8e2d8; box-shadow: none; cursor: not-allowed; }
.download-button.is-checking small, .download-button.is-unavailable small { color: #85796e; }
.download-button.is-checking .download-icon, .download-button.is-unavailable .download-icon { color: #82776e; }
.download-button.is-checking:hover, .download-button.is-unavailable:hover { transform: none; background: #e8e2d8; box-shadow: none; }
.download-status { min-height: 29px; margin: 16px 0 0; color: var(--teal-dark); font-size: 19px; line-height: 1.45; font-weight: 800; }
.download-status.is-error { color: #9d4b34; }
.license-note { max-width: 720px; margin: 12px 0 0; color: #5f5750; font-size: 18px; line-height: 1.65; }

.hero-visual { position: relative; padding: 30px 0 50px 28px; }
.app-window { overflow: hidden; border: 1px solid #cad6d4; border-radius: 15px; background: #fff; box-shadow: 0 30px 80px rgba(33, 58, 62, .22); transform: rotate(1deg); }
.window-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid #e0e7e6; color: #6b797b; background: #f6f8f8; font-size: 12px; }
.window-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #db6259; }
.window-bar > span:nth-child(2) { background: #e6b54c; }
.window-bar > span:nth-child(3) { background: #54b889; }
.window-bar b { margin-left: 7px; font-weight: 600; }
.app-window picture, .app-window img { display: block; width: 100%; height: auto; }
.free-badge { position: absolute; right: -16px; bottom: 4px; display: flex; flex-direction: column; min-width: 170px; padding: 15px 18px; border: 1px solid #e7ca8d; border-radius: 12px; color: #6f4511; background: var(--gold-soft); box-shadow: 0 15px 35px rgba(81, 54, 18, .15); transform: rotate(-2deg); }
.free-badge strong { font-size: 19px; }
.free-badge span { font-size: 13px; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 18px; min-height: 136px; padding: 26px 28px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid > div > span { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: var(--teal-dark); background: var(--teal-soft); font-size: 16px; font-weight: 800; }
.trust-grid p { display: flex; flex-direction: column; margin: 0; line-height: 1.4; }
.trust-grid strong { font-size: 19px; line-height: 1.35; }
.trust-grid small { margin-top: 7px; color: var(--muted); font-size: 15px; line-height: 1.45; }

.section { padding: 96px 0; }
.section-tint { background: #f5f2eb; }
.section-heading { max-width: 780px; margin: 0 auto 45px; text-align: center; }
.section-heading.align-left { margin-inline: 0; text-align: left; }
.section-heading h2, .contact-copy h2 { margin: 4px 0 14px; font-size: clamp(34px, 4vw, 50px); line-height: 1.2; letter-spacing: -.025em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
#features .section-heading { max-width: 1000px; }
#features .section-heading h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.25; letter-spacing: -.015em; overflow-wrap: break-word; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-grid article { min-height: 225px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(56, 49, 38, .05); }
.feature-grid article > span { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 11px; color: var(--teal-dark); background: var(--teal-soft); font-size: 20px; font-weight: 800; }
.feature-grid h3 { margin: 20px 0 8px; color: var(--teal-dark); font-size: 21px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.center-action { margin-top: 38px; text-align: center; }
.text-link { color: var(--teal-dark); font-weight: 800; text-underline-offset: 5px; }
.text-link span { margin-left: 5px; }

.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.screenshot-card { overflow: hidden; border: 1px solid #dcd3c4; border-radius: 15px; color: var(--ink); background: #fff; box-shadow: 0 14px 40px rgba(55, 49, 39, .09); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.screenshot-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(55, 49, 39, .14); }
.screenshot-card img { display: block; width: 100%; height: auto; background: #e9eeee; object-fit: cover; object-position: top center; }
.screenshot-card > span { display: flex; flex-direction: column; padding: 20px 22px; }
.screenshot-card strong { color: var(--teal-dark); font-size: 19px; }
.screenshot-card small { margin-top: 3px; color: var(--muted); font-size: 14px; }

.install-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; align-items: start; }
.install-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.install-steps li { display: flex; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.install-steps li > span { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 800; }
.install-steps strong { color: var(--teal-dark); font-size: 18px; }
.install-steps p { margin: 3px 0 0; color: var(--muted); font-size: 15px; }
.install-steps code { padding: 1px 5px; border-radius: 4px; color: #7e4712; background: var(--gold-soft); font-family: Consolas, monospace; font-size: 14px; }
.download-panel { position: sticky; top: 26px; padding: 34px; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #0c7069, #07504e); box-shadow: 0 22px 55px rgba(10, 91, 86, .24); text-align: center; }
.windows-mark { width: 64px; height: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 auto 20px; padding: 8px; border-radius: 13px; background: #fff; }
.windows-mark i { display: block; background: #1887cf; }
.panel-label { margin: 0; color: #bde4de; font-size: 13px; font-weight: 700; }
.download-panel h3 { margin: 5px 0 6px; font-size: 31px; }
.download-panel > p:not(.panel-label) { margin: 0 0 22px; color: #d6ece8; }
.download-panel .button-primary { width: 100%; min-width: 0; color: var(--teal-dark); background: #fff; box-shadow: none; }
.download-panel .button-primary small { color: rgba(255, 255, 255, .94); }
.download-panel .download-icon { color: #fff; background: var(--teal); }
.download-panel .download-button:not(.is-checking):not(.is-unavailable) .download-icon { color: var(--magenta); background: #fff; }
.download-panel .download-button.is-checking, .download-panel .download-button.is-unavailable { color: #756c64; background: #dfd9d0; }
.download-panel .download-button.is-checking small, .download-panel .download-button.is-unavailable small { color: #81776e; }
.download-panel .download-button.is-checking .download-icon, .download-panel .download-button.is-unavailable .download-icon { color: #fff; background: #8e857d; }
.panel-guide { display: inline-block; margin-top: 20px; color: #fff; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }

.contact-section { color: #fff; background: radial-gradient(circle at 90% 0, rgba(190, 123, 24, .24), transparent 34%), linear-gradient(135deg, #0b3134, #09282c); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: center; }
.contact-copy { max-width: 760px; }
.contact-copy .kicker { color: #edc87a; }
.contact-copy > p:not(.kicker) { color: #c5d8d7; font-size: 19px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button-line { color: #123d35; background: #72e3a6; }
.button-line:hover { color: #123d35; background: #8af0b7; }
.contact-section .button-secondary { color: #fff; border-color: #6d9293; background: rgba(255, 255, 255, .08); }
.plain-contact { display: inline-flex; align-items: center; padding-inline: 8px; color: #edc87a; font-weight: 700; }
.qr-card { padding: 20px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; background: rgba(255, 255, 255, .08); text-align: center; }
.qr-card img { display: block; width: 100%; height: auto; border-radius: 9px; background: #fff; }
.qr-card strong, .qr-card span { display: block; }
.qr-card strong { margin-top: 14px; }
.qr-card span { color: #edc87a; }

.faq-section { background: #fff; }
.faq-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 70px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: #fffdf9; }
.faq-list summary { cursor: pointer; padding: 18px 22px; color: var(--teal-dark); font-weight: 800; }
.faq-list details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.faq-section .section-heading h2 { font-size: clamp(30px, 3vw, 38px); line-height: 1.2; letter-spacing: -.015em; white-space: nowrap; }

.site-footer { padding: 36px 0; border-top: 1px solid var(--line); color: #d5e5e3; background: #092b2e; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-inner > div:first-child { display: flex; flex-direction: column; }
.footer-inner > div:first-child span { color: #9fb8b6; font-size: 14px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #e7c36f; font-size: 14px; }
.mobile-download-bar { display: none; }

.top-nav a:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
.panel-guide:focus-visible,
.footer-links a:focus-visible,
.faq-list summary:focus-visible,
.mobile-download-button:focus-visible {
  outline: 3px solid #edb94f;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .top-nav { gap: 12px; }
  .top-nav a:not(.nav-contact):not(.nav-guide) { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-visual { max-width: 820px; padding-left: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid > div { padding-inline: 18px; }
}

@media (max-width: 820px) {
  body { font-size: 17px; }
  .shell { width: min(100% - 28px, 680px); }
  .section { padding: 74px 0; }
  .header-inner { min-height: 86px; }
  .brand img { width: 122px; max-height: 62px; }
  .brand span { display: none; }
  .top-nav .nav-contact { padding: 9px 12px; font-size: 13px; }
  .hero { padding: 62px 0 78px; }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: clamp(50px, 13vw, 72px); }
  .hero-lead { font-size: 18px; }
  .free-badge { right: -4px; }
  .trust-grid { grid-template-columns: 1fr; padding-block: 8px; }
  .trust-grid > div { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .install-layout { grid-template-columns: 1fr; gap: 45px; }
  .download-panel { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .qr-card { width: min(100%, 330px); }
  .faq-layout { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  body { padding-bottom: 70px; }
  html { scroll-padding-top: 20px; }
  .header-inner { gap: 12px; }
  .brand img { width: 105px; }
  .top-nav .nav-guide { display: none; }
  .hero { padding-top: 46px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { margin-top: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .download-button { min-height: 72px; }
  .button-primary { min-width: 0; }
  .hero-visual { padding-bottom: 60px; }
  .window-bar { height: 32px; }
  .free-badge { bottom: 0; min-width: 150px; padding: 11px 14px; }
  .free-badge strong { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; padding: 24px; }
  .section-heading { text-align: left; }
  .section-heading h2, .contact-copy h2 { font-size: 34px; }
  #features .section-heading h2 { font-size: 32px; }
  .faq-section .section-heading h2 { font-size: 30px; white-space: normal; }
  .screenshot-grid { gap: 16px; }
  .screenshot-card > span { padding: 16px 17px; }
  .install-steps li { padding: 17px; }
  .install-steps li > span { flex-basis: 36px; height: 36px; }
  .download-panel { padding: 28px 20px; }
  .download-status { font-size: 17px; }
  .license-note { font-size: 16px; }
  .trust-grid > div { padding: 20px 14px; }
  .trust-grid strong { font-size: 18px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .button { width: 100%; overflow-wrap: anywhere; }
  .qr-card { margin-inline: auto; }
  .footer-links { gap: 14px; }
  .mobile-download-bar { position: fixed; z-index: 100; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; padding: 9px 14px; border-top: 1px solid #b9d8d3; color: var(--teal-dark); background: rgba(255, 255, 255, .97); box-shadow: 0 -10px 30px rgba(27, 60, 59, .12); backdrop-filter: blur(10px); }
  .mobile-download-bar > span { display: flex; min-width: 0; flex-direction: column; line-height: 1.2; }
  .mobile-download-bar > span strong { white-space: nowrap; }
  .mobile-download-bar > span small { color: var(--muted); font-size: 11px; }
  .mobile-download-button { flex: 0 1 52%; min-width: 0; padding: 10px 12px; border-radius: 8px; color: #fff; background: var(--teal); text-align: center; text-decoration: none; font-size: 13px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
  .mobile-download-button.is-checking, .mobile-download-button.is-unavailable { color: #756c64; background: #ded8cf; cursor: not-allowed; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .screenshot-card { transition: none; }
}
