:root { color-scheme: light; font-family: "Segoe UI", Tahoma, sans-serif; color: #211c18; background: #fffdfa; --muted: #645a51; --line: #e4dad0; --accent: #8a442c; --tint: #f5eee7; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; }
a { color: inherit; }
a,button,select,summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid #984c32; outline-offset: 4px; }
img,video { display: block; max-width: 100%; height: auto; }
figure,p { margin: 0; }
p, dd, li { line-height: 1.65; }
h1,h2,h3 { margin: 0; }
h1,h2 { font-family: Georgia, Tahoma, serif; font-weight: 400; }
h2 { font-size: clamp(2rem, 5vw, 3.65rem); line-height: 1.1; letter-spacing: -.04em; }
h3 { font-size: 1.24rem; }
:lang(th) h1,:lang(th) h2 { letter-spacing: normal; line-height: 1.25; }
.wrap { width: min(1280px, 100% - 7vw); margin-inline: auto; }
.bar { position: sticky; top: 0; z-index: 2; background: #fffdfa; border-bottom: 1px solid var(--line); }
.nav,.nav nav,.actions { display: flex; align-items: center; gap: 1.35rem; }
.nav { justify-content: space-between; min-height: 4.4rem; }
.nav nav { flex-wrap: wrap; justify-content: center; }
.nav a { text-decoration: none; }
.nav nav a,.fine,figcaption { font-size: .875rem; }
.brand { display: inline-flex; gap: .3rem; align-items: center; white-space: nowrap; font-weight: 700; }
.brand img { margin-right: .25rem; border-radius: .5rem; }
.brand span { color: var(--accent); }
button,select { font: inherit; color: inherit; background: #fffdfa; border: 1px solid var(--line); padding: .5rem .7rem; border-radius: .4rem; cursor: pointer; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.1rem; border-radius: 2rem; background: #28201b; color: #fffdfa; font-weight: 600; text-decoration: none; padding: .65rem 1.2rem; text-align: center; }
.button:hover { background: var(--accent); }
.button[data-trial], #installer { background: #d4af6a; color: #1a1917; }
.button[data-trial]:hover, #installer:hover { background: #c69c52; }
.button.small { font-size: .875rem; min-height: 2.5rem; white-space: nowrap; }
[hidden] { display: none !important; }
.skip { position: fixed; left: 1rem; top: -8rem; z-index: 3; background: white; padding: 1rem; }
.skip:focus { top: 1rem; }
.hero { display: grid; grid-template-columns: .82fr 1.18fr; gap: 3vw; align-items: center; padding-block: clamp(2.75rem, 7.5vw, 7rem); }
.hero-copy { display: grid; gap: 1.35rem; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .12em; margin-bottom: .6rem; }
:lang(th) .eyebrow { letter-spacing: normal; }
h1 { font-size: clamp(3.4rem, 8vw, 7.6rem); line-height: .87; letter-spacing: -.075em; }
h1 em { color: var(--accent); font-weight: 400; }
.lede { font-size: clamp(1rem, 2vw, 1.23rem); max-width: 34ch; }
.hero-actions { flex-wrap: wrap; gap: .8rem 1.2rem; }
.quiet { text-underline-offset: .28rem; }
.hero-image { position: relative; }
.hero-image img { width: 100%; aspect-ratio: 1.24; object-fit: cover; border-radius: .9rem; }
.hero-image figcaption { position: absolute; left: .85rem; bottom: .85rem; background: #211c18; color: #fffdfa; border-radius: .3rem; padding: .35rem .65rem; }
.muted, figcaption { color: var(--muted); }
.section { padding-block: clamp(3rem, 7vw, 6.4rem); }
main > .section { border-top: 1px solid var(--line); }
.tinted { background: var(--tint); }
.cards,.gallery,.plans,.download,.workflow { display: grid; gap: 1.2rem; }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin-top: 2rem; }
.cards article,.plans article { border: 1px solid var(--line); border-radius: .75rem; background: #fffdfa; padding: 1.35rem; }
.cards p,.plans p { margin-top: .6rem; }
.workflow { grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); }
.workflow img,.gallery img,.gallery video { width: 100%; border-radius: .65rem; }
li + li { margin-top: .35rem; }
.gallery { grid-template-columns: 1.5fr 1fr 1fr; margin-top: 2rem; }
.gallery img,.gallery video { aspect-ratio: 1.55; object-fit: cover; background: #211c18; }
.gallery video { object-fit: contain; }
.gallery figcaption { margin-top: .65rem; }
.section-heading,.footer { display: flex; justify-content: space-between; gap: 1.2rem; align-items: end; }
.section-heading label { display: grid; gap: .3rem; }
select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg,transparent 50%,#645a51 50%) right 1rem center / 5px 5px no-repeat, linear-gradient(135deg,#645a51 50%,transparent 50%) right .7rem center / 5px 5px no-repeat #fffdfa; }
.plans { grid-template-columns: 1fr 1fr; margin-top: 2rem; }
.price { font-size: 1.75rem; font-weight: 650; }
.plans .button,.download .button { margin-top: .9rem; }
.download { grid-template-columns: 1fr; gap: 1.75rem; }
.download > div:first-child { display: grid; grid-template-columns: 1.35fr 1fr; align-items: stretch; overflow: hidden; border-radius: 1rem; background: #1a1917; color: #ede6d8; }
.brand-detail { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.download-copy { display: grid; align-content: center; justify-items: start; padding: clamp(1.6rem, 5vw, 5rem); }
.download-copy h2 { font-family: "Segoe UI", Tahoma, sans-serif; font-size: clamp(1.9rem, 4.1vw, 4rem); font-weight: 600; line-height: 1.15; }
.download-copy .eyebrow { color: #d4af6a; margin-bottom: 1rem; }
.download-copy .notice { color: #c9bfb2; }
.download .specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; border-top: 0; }
.download .specs div { grid-template-columns: 1fr; gap: .2rem; align-content: start; }
.download .specs dd { color: var(--muted); }
.notice { margin-top: .9rem; color: var(--accent); }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 1fr 2fr; gap: .8rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; }
.specs dd { margin: 0; overflow-wrap: anywhere; }
details { padding: 1rem 0; border-bottom: 1px solid var(--line); }
details p { margin-top: .55rem; }
summary { cursor: pointer; font-weight: 600; }
#support h2 { margin-bottom: 1.4rem; }
.footer { align-items: start; padding-block: 2.3rem; font-size: .9rem; }
.footer p { margin-top: .35rem; }
.footer details { padding-top: 0; }
@media (max-width: 930px) {
  .nav { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding-block: .6rem; }
  .nav nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; gap: .45rem 1rem; }
  html { scroll-padding-top: 8rem; }
}
@media (max-width: 660px) {
  .download > div:first-child { grid-template-columns: 1fr; }
  .download .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero,.workflow,.gallery,.download { grid-template-columns: 1fr; }
  .hero { gap: 1.8rem; }
  .workflow img { grid-row: 2; }
  .nav .actions { gap: .4rem; }
  .brand { gap: .2rem; font-size: .86rem; }
  .plans { grid-template-columns: 1fr; }
  .footer { display: grid; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.download .specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.install { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.2rem; align-items: start; }
.install h3 { margin-bottom: .7rem; }
.steps { margin: 0; padding-left: 1.3rem; }
.steps li::marker { color: var(--accent); font-weight: 700; }
.steps + .fine { margin-top: 1rem; }
.cmd { display: block; margin-top: .4rem; padding: .7rem .9rem; border-radius: .4rem; background: #1a1917; color: #ede6d8; font: .82rem/1.5 Consolas, "Courier New", monospace; overflow-wrap: anywhere; }
.callout { border: 1px dashed #d4af6a; border-radius: .75rem; padding: 1.35rem; background: #fbf6ec; }
.callout p + .steps, .callout .steps + p { margin-top: .7rem; }
.callout.plain { border-style: solid; border-color: var(--line); background: #fffdfa; }
@media (max-width: 930px) {
  .download .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install { grid-template-columns: 1fr 1fr; }
  .install > div { grid-column: 1 / -1; }
}
@media (max-width: 660px) {
  .install { grid-template-columns: 1fr; }
}
.contact a { color: var(--accent); text-underline-offset: .2rem; }
