:root {
  --orange: #f08300;
  --orange-dark: #a84f00;
  --orange-soft: #fff4e6;
  --orange-pale: #fffaf3;
  --ink: #202124;
  --ink-deep: #000000;
  --muted: #6b7280;
  --cream: #ffffff;
  --white: #ffffff;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --danger: #a72d18;
  --success: #8f3514;
  --shadow: 0 18px 46px rgba(0, 0, 0, .10);
  --page: min(1180px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--cream); font-family: "Sarabun", sans-serif; font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
body, button, input, textarea, select { font-family: "Sarabun", sans-serif; }
button, input, textarea, select { font-size: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink-deep); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.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; }
.preview-bar { padding: .48rem 1rem; color: #603000; background: #fff0dc; text-align: center; font-size: .875rem; font-weight: 600; }

.site-header { position: relative; z-index: 10; width: var(--page); min-height: 116px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-logo { width: auto; height: 100px; display: block; object-fit: contain; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: var(--orange); border-radius: 12px; font-family: "Poppins", sans-serif; font-size: .78rem; font-weight: 700; box-shadow: 0 8px 20px rgba(240,131,0,.24); }
.brand-copy { display: grid; line-height: 1.1; }
.wordmark { font-family: "Poppins", sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -.045em; }
.wordmark span { color: var(--orange); }
.brand-copy small { margin-top: .24rem; color: var(--muted); font-size: .75rem; }
.main-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.5rem); }
.main-nav > a { text-decoration: none; font-size: .95rem; font-weight: 600; white-space: nowrap; }
.main-nav > a:hover { color: var(--orange-dark); }
.main-nav .line-link, .line-button { color: #fff; background: #087d43; }
.main-nav .line-link { min-height: 44px; padding: .58rem 1rem; display: inline-flex; align-items: center; border-radius: 999px; box-shadow: 0 8px 20px rgba(8,125,67,.14); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--white); cursor: pointer; }

main { overflow: clip; }
.hero-shell { background: radial-gradient(circle at 84% 26%, rgba(240,131,0,.11), transparent 25%), linear-gradient(180deg,#fff 0%,#f9f9f9 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero { width: var(--page); min-height: 620px; margin: 0 auto; padding: 3.5rem 0 4.5rem; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.hero-copy { min-width: 0; }
.audience-pill { width: fit-content; padding: .42rem .75rem; display: flex; align-items: center; gap: .45rem; color: var(--ink-deep); background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.06); font-size: .875rem; font-weight: 600; }
.audience-pill::before { content: ""; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.hero h1 { max-width: 650px; margin: 1.15rem 0 1.15rem; font-size: clamp(3.4rem,5vw,4.8rem); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 span { color: var(--orange); }
.hero-title-row { position: relative; width: fit-content; max-width: 100%; }
.hero-title-mascot { position: absolute; z-index: 1; right: -70px; bottom: 4.9rem; width: 135px; height: 162px; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(168,79,0,.12)); }
.hero-lead { max-width: 600px; margin-bottom: 1.6rem; color: var(--muted); font-size: 1.12rem; }
.search-box { max-width: 650px; padding: .46rem; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .55rem; background: var(--white); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: var(--shadow); }
.search-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--orange-dark); font-size: 1.55rem; }
.search-box input { min-width: 0; width: 100%; padding: .75rem .25rem; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box button, .button { min-height: 48px; padding: .72rem 1.25rem; border: 0; border-radius: 13px; color: #fff; background: var(--ink-deep); font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: transform .18s ease,box-shadow .18s ease,background .18s ease; }
.search-box button:hover, .button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(32,41,45,.16); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.micro-trust { margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; list-style: none; color: var(--muted); font-size: .875rem; }
.micro-trust li { display: flex; align-items: center; gap: .38rem; }
.micro-trust li::before { content: "✓"; color: var(--orange-dark); font-weight: 700; }
.hero-visual { position: relative; min-width: 0; padding: 1rem 0 1.5rem 1.5rem; }
.hero-photo { min-height: 430px; overflow: hidden; background: #f3f4f6; border: 8px solid var(--white); border-radius: 34px; box-shadow: 0 26px 64px rgba(0,0,0,.16); }
.hero-photo img { width: 100%; height: 100%; min-height: 430px; display: block; object-fit: cover; object-position: 57% center; }
.count-card { position: absolute; left: 0; bottom: 0; padding: 1rem 1.2rem; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.count-card small { display: block; color: var(--muted); font-size: .82rem; }
.count-card strong { color: var(--ink-deep); font-size: 1.12rem; }
.count-card strong span { color: var(--orange-dark); }
.count-card b { font-weight: 700; }
.results { display: grid; gap: .7rem; }
.hero-results:not(:empty) { max-width: 650px; max-height: 310px; margin-top: .8rem; padding: .8rem; overflow: auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.result-card { padding: .75rem; border-bottom: 1px solid var(--line); }
.result-card:last-child { border-bottom: 0; }
.result-card a { color: var(--orange-dark); font-weight: 700; }
.result-card p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.empty-result, .empty-state { padding: 1rem; color: var(--muted); background: var(--orange-pale); border: 1px solid var(--line); border-radius: 14px; }
.empty-result .button { margin-top: .5rem; display: inline-flex; align-items: center; }

.section { width: var(--page); margin: 0 auto; padding: 5.5rem 0; }
.eyebrow { margin: 0 0 .75rem; color: var(--orange-dark); font-size: .9rem; font-weight: 700; letter-spacing: .02em; }
.section-heading { margin-bottom: 2rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.mascot-heading { min-height: 170px; align-items: center; }
.section-mascot { width: clamp(150px,18vw,230px); height: auto; display: block; object-fit: contain; filter: drop-shadow(0 15px 18px rgba(168,79,0,.1)); }
.mascot-heading .section-mascot { align-self: flex-end; margin: -4.5rem auto -2rem; }
.section-heading h2, .faq-intro h2, .ask-intro h2 { margin-bottom: 0; font-size: clamp(2.15rem,4vw,3.3rem); line-height: 1.12; letter-spacing: -.045em; }
.text-link { color: var(--orange-dark); font-weight: 700; text-underline-offset: 4px; white-space: nowrap; }
.topic-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.topic-card { min-width: 0; min-height: 245px; padding: 1.45rem; display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 28px rgba(0,0,0,.045); transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.topic-card:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: var(--shadow); }
.topic-icon { width: 42px; height: 42px; margin-bottom: 1.4rem; display: grid; place-items: center; color: var(--orange-dark); background: var(--orange-soft); border-radius: 13px; font-weight: 700; }
.topic-number { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.topic-card h3 { margin: .35rem 0 .45rem; font-size: 1.25rem; line-height: 1.25; }
.topic-card p { margin-bottom: 1rem; color: var(--muted); font-size: .92rem; }
.topic-link { margin-top: auto; color: var(--orange-dark); font-size: .9rem; font-weight: 700; }

.articles-section { background: #f9f9f9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.articles-section .section { padding-top: 5rem; padding-bottom: 5rem; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem; align-items: stretch; }
.article-card { min-width: 0; min-height: 285px; padding: 1.55rem; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.category-pill, .category { width: fit-content; padding: .28rem .58rem; color: var(--orange-dark); background: var(--orange-soft); border-radius: 999px; font-size: .78rem; font-weight: 700; }
.reviewed { color: var(--muted); font-size: .78rem; text-align: right; }
.article-image { width: calc(100% + 3.1rem); margin: 1rem -1.55rem 0; display: block; overflow: hidden; background: var(--orange-soft); }
.article-image img { width: 100%; height: auto; display: block; }
.article-card h3 { margin: 1rem 0 .65rem; font-size: 1.3rem; line-height: 1.3; }
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { color: var(--orange-dark); }
.article-card > p { color: var(--muted); font-size: .95rem; }
.article-footer { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); font-size: .85rem; }
.article-footer a, .card-link { color: var(--orange-dark); font-weight: 700; text-underline-offset: 3px; }

.faq-section { width: var(--page); margin: 0 auto; padding: 6rem 0; display: grid; grid-template-columns: .66fr 1.34fr; gap: 4rem; align-items: start; }
.faq-intro { position: sticky; top: 1rem; min-width: 0; }
.faq-intro > p:not(.eyebrow) { color: var(--muted); }
.faq-mascot { width: min(78%,250px); margin: .5rem auto -.4rem; }
.filter-pills { margin: 1.3rem 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.filter-pills button { min-height: 40px; padding: .42rem .75rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); background: var(--white); font-weight: 600; cursor: pointer; }
.filter-pills button.active { color: #fff; background: var(--orange-dark); border-color: var(--orange-dark); }
.result-count { padding: 1rem; display: grid; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.result-count small { color: var(--muted); }
.result-count strong { font-size: 1.45rem; }
.faq-list { min-width: 0; display: grid; gap: .8rem; }
.faq-list details { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 24px rgba(0,0,0,.04); }
.faq-list details[hidden] { display: none; }
.faq-list summary { padding: 1.1rem 1.2rem; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .75rem; cursor: pointer; list-style: none; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: ""; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.faq-list summary::after { content: "+"; color: var(--orange-dark); font-size: 1.3rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1.2rem 1.15rem 2.75rem; color: var(--muted); border-top: 1px solid var(--line); }
.faq-answer p { margin: 1rem 0 .65rem; }
.faq-answer h2 { margin: 1rem 0 .4rem; font-size: 1.05rem; }
.faq-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; color: var(--orange-dark); font-size: .8rem; font-weight: 600; }
.faq-meta a { margin-left: auto; }

.ask-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,6vw,5rem); align-items: start; }
.ask-intro > p:not(.eyebrow) { color: var(--muted); }
.ask-mascot { width: min(78%,300px); margin: .5rem auto -1rem; }
.privacy-note { margin-top: 1.5rem; padding: 1.2rem; display: grid; gap: .2rem; background: var(--orange-soft); border-radius: 16px; }
.ask-form { min-width: 0; padding: clamp(1.5rem,4vw,2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.ask-form label:not(.check-row) { display: block; margin-bottom: .4rem; font-weight: 700; }
.ask-form label span { color: var(--muted); font-size: .875rem; font-weight: 500; }
textarea, select { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; }
textarea { padding: 1rem; resize: vertical; }
select { min-height: 50px; padding: .55rem .8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0; }
.check-row { display: flex; gap: .65rem; align-items: flex-start; margin: 1.2rem 0; }
.check-row input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: .2rem; accent-color: var(--orange-dark); }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.action-shell { padding: 0 0 6rem; }
.action-panel { width: var(--page); margin: 0 auto; padding: clamp(2rem,5vw,3.6rem); display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; color: #fff; background: var(--ink-deep); border-radius: 30px; box-shadow: 0 22px 50px rgba(32,41,45,.16); }
.action-panel h2 { margin-bottom: .6rem; color: #fff; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.1; }
.action-panel p { max-width: 760px; margin-bottom: 0; color: #d7dddf; }
.action-panel .eyebrow { color: #ffb84d; }
.action-buttons { display: flex; flex-direction: column; gap: .7rem; }
.action-buttons .button { white-space: nowrap; background: var(--orange); }
.action-buttons .line-button { background: #087d43; }

.site-footer { padding: 3.4rem max(20px,calc((100% - 1180px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; color: #dce1e2; background: var(--ink-deep); }
.footer-brand p { color: #abb5b9; }
.footer-logo-wrap { width: fit-content; padding: .45rem .65rem; display: block; background: #fff; border-radius: 14px; }
.footer-logo { width: auto; height: 52px; display: block; object-fit: contain; }
.footer-links { display: grid; justify-content: end; gap: .35rem; text-align: right; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #ffb84d; }
.footer-note, .disclaimer { grid-column: 1/-1; padding-top: 1.2rem; margin: 0; border-top: 1px solid #465157; color: #c7ced0; font-size: .9rem; }

@media (max-width: 1020px) {
  .menu-button { display: grid; place-items: center; margin-left: auto; }
  .main-nav { position: absolute; top: calc(100% - 4px); left: 0; right: 0; padding: 1rem; display: none; align-items: stretch; flex-direction: column; gap: .2rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: .7rem .8rem; white-space: normal; }
  .main-nav .line-link { justify-content: center; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3.3rem; }
  .hero-visual { max-width: 760px; padding-left: 0; }
  .count-card { left: 1rem; }
  .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: auto; }
  .faq-section { grid-template-columns: 1fr; gap: 2rem; }
  .faq-intro { position: static; }
}
@media (max-width: 700px) {
  :root { --page: min(calc(100% - 28px),1180px); }
  body { font-size: 16px; }
  .site-header { min-height: 94px; }
  .brand-logo { height: 82px; }
  .brand-copy small { display: none; }
  .hero { min-height: 0; padding: 2.7rem 0 3.5rem; }
  .hero h1 { font-size: clamp(2.8rem,15vw,4.2rem); }
  .search-box { grid-template-columns: auto minmax(0,1fr); }
  .search-box button { grid-column: 1/-1; width: 100%; }
  .hero-title-mascot { right: -5px; bottom: -7.5rem; width: 105px; height: 126px; }
  .hero h1 { padding-right: 2.7rem; }
  .hero-visual { padding-bottom: 1.7rem; }
  .hero-photo, .hero-photo img { min-height: 300px; }
  .hero-photo img { object-position: 56% center; }
  .count-card { left: .75rem; right: .75rem; bottom: .2rem; }
  .section { padding: 4rem 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .mascot-heading { min-height: 0; }
  .mascot-heading .section-mascot { width: min(58%,210px); align-self: center; margin: -.5rem auto; }
  .text-link { white-space: normal; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 210px; }
  .article-meta, .article-footer { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .reviewed { text-align: left; }
  .faq-section { padding: 4rem 0; }
  .faq-list summary { padding: 1rem; }
  .faq-answer { padding: 0 1rem 1rem; }
  .faq-meta a { width: 100%; margin-left: 0; }
  .ask-section { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .action-panel { grid-template-columns: 1fr; gap: 1.5rem; border-radius: 24px; }
  .action-buttons { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-logo { height: 46px; }
  .footer-links { justify-content: start; text-align: left; }
  .footer-note, .disclaimer { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; } }
