@font-face {
    font-family: "Noto Sans Thai";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("./fonts/noto-sans-thai-thai-wght-normal.woff2") format("woff2");
    unicode-range: U+0E01-0E5B;
}
:root {
    color-scheme: light;
    --hd-font: "Sukhumvit Set", "Thonburi", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Noto Sans Thai", sans-serif;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.web-inner { padding-bottom: 72px; }
.wrap { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--accent-deep);
    outline-offset: 3px;
}
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-brand); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 1rem; min-width: 0; }
input[type="checkbox"] { width: 18px; height: 18px; margin: .18rem 0 0; accent-color: var(--accent-deep); flex: none; }
code { overflow-wrap: anywhere; }
.site-nav .web-mobile-account { display: none; }
.footer-intro p { margin-top: 15px; }

.search { display: flex; align-items: center; padding: 7px; border: 1px solid var(--line-brand); border-radius: 26px; background: var(--surface); box-shadow: 0 8px 28px rgba(244,119,33,.08); gap: 7px; max-width: 640px; }
.search-icon { display: inline-flex; padding-left: 7px; color: var(--accent-deep); flex: none; }
.search input { flex: 1; border: 0; padding-inline: 7px; }
main .button:not(.button-light) { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: white; }
main .button { gap: .4em; cursor: pointer; text-align: center; max-width: 100%; }
main .button.secondary { background: var(--surface); color: var(--accent-deep); border-color: var(--line-brand); }
main .button.secondary:hover { background: var(--accent-soft); }
.suffixes { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 16px; font-size: .82rem; }
.suffixes span { color: var(--muted); margin-right: 5px; }
.suffixes b, .pill { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 99px; background: var(--surface-soft); color: var(--accent-deep); font-size: .78rem; line-height: 1.45; }
.pill { width: fit-content; margin: 2px 0; }
.pill.good { background: #ddf3d3; color: #24492e; }
.services { margin-top: 46px; }
.section-title { margin-bottom: 17px; }
.section-title h2 { margin-top: 6px; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.plan, .form-card, .empty { padding: 23px 25px; }
.tile { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 11px; background: var(--surface-soft); color: var(--accent-deep); font-size: 1.4rem; }
.text-link { color: var(--accent-deep); font-size: .92rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.page-head { padding-top: 53px; padding-bottom: 26px; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.45rem); margin: 6px 0 14px; }
.page-head p:not(.eyebrow) { margin-top: 8px; max-width: 49rem; }
.page-head .search { margin-top: 20px; }
.page-head .actions { margin-top: 10px; }
.page-head.compact { padding-top: 41px; }
.split { display: flex; align-items: end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.message { margin: 14px 0; background: var(--surface-warm); border: 1px solid var(--line-brand); border-radius: 12px; padding: 12px 16px; overflow-wrap: anywhere; }
.message.error { background: #fff1ed; border-color: #edcfc5; color: #7c2e22; }
.message ul { padding-left: 22px; margin: 0; }
.message.inline { margin: 0; }
.results { max-width: 800px; overflow: hidden; }
.results-head, .result-row { padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; overflow-wrap: anywhere; }
.results-head { background: var(--surface-soft); }
.results-head h2 { font-size: 1.28rem; }
.result-row + .result-row { border-top: 1px solid var(--line); }
.result-row h3 { margin-bottom: 6px; }
.result-action { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.result-action small { display: block; }
.plan { display: grid; align-content: start; gap: 13px; }
.plan h2 { font-size: 1.45rem; }
.price { color: var(--accent-deep); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 750; line-height: 1.2; }
.price small { font-size: .9rem; font-weight: 500; }
.preline { white-space: pre-line; }
.checkout-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; }
.summary { background: var(--surface-warm); }
.stack { display: grid; gap: 14px; }
.form-card h2 { font-size: 1.45rem; }
label { display: grid; gap: 4px; color: var(--ink); font-size: .93rem; font-weight: 600; }
label.check { display: flex; gap: 9px; align-items: start; font-weight: 500; }
.auth { max-width: 460px; margin: 45px auto 0; }
.auth h1 { margin: 7px 0 18px; font-size: 2rem; }
.auth-links { margin-top: 16px; }
.details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 6px 12px; margin: 0; font-size: .93rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.table-card { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .91rem; }
th, td { padding: 12px 15px; vertical-align: top; }
td { min-width: 94px; }
thead th { background: var(--surface-soft); color: var(--accent-deep); }
tbody tr + tr { border-top: 1px solid var(--line); }
tbody th small { display: block; font-weight: 500; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; padding: 14px 18px; }
.filters label:first-child { flex: 1; min-width: 175px; }
.pager { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .9rem; }
.break { overflow-wrap: anywhere; }
.workspace-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.workspace-nav a { padding: 10px 16px; border: 1px solid var(--line-brand); border-radius: 99px; text-decoration: none; font-size: .9rem; font-weight: 650; }
.workspace-nav a:hover, .workspace-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-deep); }
.client-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric { display: grid; align-content: space-between; gap: 12px; padding: 20px; text-decoration: none; }
.metric span { color: var(--muted); font-size: .9rem; }
.metric strong { font-size: 2rem; line-height: 1; color: var(--accent-deep); }
.service-card { padding: 24px; }
.service-card h2 { margin: 10px 0 0; font-size: 1.5rem; letter-spacing: -.02em; }
.service-actions { margin-top: 0; }
.web-inner .section-title h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.hero-copy { position: relative; }
.hero-copy .search { width: 100%; }
.hero-copy .search input { font-size: .94rem; }
.hero-copy .search .button { white-space: nowrap; }
.hero-copy .hero-proof { margin-top: 22px; }
.web-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.web-product-grid .product-card { min-height: 255px; }
.web-product-grid .product-mark { background: var(--accent-soft); color: var(--accent-deep); }

@media (max-width: 820px) {
    .client-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .web-inner { padding-bottom: 42px; }
    .site-nav .web-mobile-account { display: block; }
    .checkout-grid { grid-template-columns: minmax(0, 1fr); }
    .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-head { padding-top: 35px; }
}
@media (max-width: 520px) {
    .grid.two, .grid.three, .web-product-grid { grid-template-columns: minmax(0, 1fr); }
    .form-card, .plan { padding: 18px; }
    .search { flex-wrap: wrap; }
    .search .button { width: 100%; }
    .filters > label { flex: 1 1 40%; }
    .details { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
}

.web-hero-art {
    position: relative;
    min-width: 0;
    margin: 0;
    aspect-ratio: 4 / 3;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(29, 29, 31, .13);
    border-radius: var(--radius-xl);
    background: #19191b;
    box-shadow: var(--shadow);
}
.web-hero-media, .web-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
}
.web-hero-media img {
    object-fit: cover;
    animation: web-hero-in 2.8s cubic-bezier(.19, 1, .22, 1) both;
}
.web-hero-glow, .web-hero-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.web-hero-glow {
    background: radial-gradient(ellipse at 72% 67%, rgba(244, 119, 33, .28), transparent 62%);
    mix-blend-mode: screen;
    animation: web-hero-glow 4.6s ease-out both;
}
.web-hero-shine {
    background: linear-gradient(113deg, transparent 37%, rgba(255, 194, 151, .18) 50%, transparent 61%);
    opacity: 0;
    mix-blend-mode: screen;
    animation: web-hero-shine 2.5s .35s ease-in-out both;
}
@keyframes web-hero-in {
    from { transform: scale(1.07) translateY(1.5%); opacity: .75; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes web-hero-glow {
    0% { opacity: .1; }
    48% { opacity: .8; }
    100% { opacity: .25; }
}
@keyframes web-hero-shine {
    0% { transform: translateX(-70%); opacity: 0; }
    42% { opacity: .85; }
    100% { transform: translateX(70%); opacity: 0; }
}
@media (max-width: 820px) {
    .nav-shell { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
    .nav-shell > .brand { justify-self: start; }
    .nav-shell .nav-toggle { grid-column: 3; grid-row: 1; }
    .nav-shell .nav-actions { grid-column: 2; grid-row: 1; position: static; }
    .site-header .site-nav {
        width: min(calc(100vw - 28px), 360px);
        margin-inline: auto;
        max-height: calc(100vh - 86px);
        max-height: calc(100dvh - 86px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .web-hero-art { border-radius: var(--radius-lg); }
}
@media (prefers-reduced-motion: reduce) {
    .web-hero-media img, .web-hero-glow, .web-hero-shine { animation: none; }
    .web-hero-glow { opacity: .25; }
}
