:root {
  --brand: #15A9B6;
  --brand-deep: #087F8C;
  --brand-dark: #075F69;
  --ink: #122A31;
  --muted: #698087;
  --muted-light: #94A8AD;
  --line: #D7EAED;
  --soft: #F1FBFC;
  --canvas: #FFFFFF;
  --surface: #FFFFFF;
  --card-bg: #FFFFFF;
  --success: #18A87A;
  --warning: #E8A13A;
  --danger: #EF473E;
  --font-main: "Google Sans", "Google Sans Text", "Noto Sans Thai", system-ui, -apple-system, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --shadow-subtle: 0 4px 20px rgba(18, 42, 49, 0.04);
  --shadow-medium: 0 12px 30px rgba(18, 42, 49, 0.08);
  --shadow-card: 0 16px 40px rgba(18, 42, 49, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.7;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.site-logo img {
  width: 32px;
  height: 26px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand);
}

.nav-cta {
  background: var(--brand);
  color: white !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

/* Breadcrumbs */
.breadcrumbs {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--brand-deep);
}

.breadcrumbs span.sep {
  color: var(--line);
}

.breadcrumbs span.current {
  color: var(--brand-dark);
  font-weight: 600;
}

/* Page Hero */
.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 44px;
}

/* Editorial title cover */
.article-cover {
  padding-top: 30px;
  padding-bottom: 50px;
}

.article-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: 52px;
  padding: 26px 0 22px;
  border-top: 1px solid var(--line);
  position: relative;
}

.article-cover-grid::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--brand);
}

.article-cover-copy {
  min-width: 0;
}

.article-cover-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.article-cover-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-dark);
  white-space: nowrap;
}

.article-cover-brand img {
  width: 19px;
  height: 16px;
  object-fit: contain;
}

.article-cover-date {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.article-cover .hero-pill {
  margin-bottom: 18px;
}

.article-cover .hero-title {
  max-width: 760px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.article-cover .hero-subtitle {
  max-width: 720px;
  margin-bottom: 0;
}

.article-cover-art {
  min-height: 320px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #EAF9FA;
  box-shadow: var(--shadow-card);
}

.article-cover-art::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -74px;
  right: -46px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(8, 127, 140, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(8, 127, 140, 0.05), 0 0 0 36px rgba(8, 127, 140, 0.04);
}

.article-cover-art::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--brand);
  box-shadow: 19px 0 0 rgba(21, 169, 182, 0.35), 38px 0 0 rgba(21, 169, 182, 0.16);
}

.article-cover-art--how-to {
  background: #F2F7F9;
}

.article-cover-art--empty-parcel {
  background: #E6F8F8;
}

.article-cover-art img {
  position: absolute;
  inset: 18px;
  z-index: 0;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  border-radius: calc(var(--radius-lg) - 6px);
  object-fit: cover;
}

.article-cover-art--how-to img {
  object-fit: contain;
}

.article-cover-art-index,
.article-cover-art-caption {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(215, 234, 237, 0.95);
  color: var(--brand-dark);
  box-shadow: 0 5px 14px rgba(18, 42, 49, 0.08);
}

.article-cover-art-index {
  top: 14px;
  right: 14px;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.article-cover-art-caption {
  left: 14px;
  bottom: 14px;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 840px;
  margin-bottom: 24px;
}

/* Answer-First Box (AEO Key Takeaway) */
.answer-box {
  background: linear-gradient(135deg, #F1FBFC 0%, #FFFFFF 100%);
  border: 1.5px solid #C4E9ED;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 28px 0 36px;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.answer-box-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.answer-box p {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.75;
}

.answer-box p strong {
  color: var(--brand-dark);
}

/* Badges */
.hero-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFB;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

/* Content Container */
.page-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
  min-width: 0;
  width: 100%;
}

.section-block {
  margin-bottom: 56px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 820px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--soft);
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Step Diagram */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.step-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.step-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-subtle);
  margin: 28px 0;
}

table.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

table.compare-table th {
  background: #F8FAFB;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

table.compare-table td {
  padding: 16px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}

table.compare-table tr:last-child td {
  border-bottom: none;
}

table.compare-table tr.highlight-row {
  background: #F1FBFC;
}

.check-yes {
  color: var(--success);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.check-no {
  color: var(--danger);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.check-neutral {
  color: var(--muted);
}

/* Disclaimer Note */
.disclaimer-box {
  background: #FFFDF8;
  border: 1px solid #F5E8C7;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #7A5B15;
  margin: 24px 0;
  line-height: 1.6;
}

/* FAQ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.faq-card h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.faq-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #087F8C 0%, #15A9B6 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  margin: 48px 0;
  box-shadow: 0 18px 40px rgba(8, 127, 140, 0.2);
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.08rem;
  color: #DDF7F9;
  max-width: 600px;
  margin: 0 auto 28px;
}

.cta-btn-white {
  background: white;
  color: var(--brand-dark) !important;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #A0B8BF;
  padding: 56px 24px 28px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 44px;
}

.footer-brand h3 {
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: #A0B8BF;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 14px;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #A0B8BF;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7B959C;
}

/* Article Styling */
.article-body {
  max-width: 800px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
  margin: 36px 0 14px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 10px;
}

.article-body p {
  font-size: 1.05rem;
  color: #374F56;
  margin-bottom: 18px;
  line-height: 1.8;
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: #374F56;
}

.article-body li {
  margin-bottom: 8px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.callout-box {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 28px 0;
}

.callout-box p {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--brand-dark);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .site-logo {
    font-size: 1.2rem;
  }
  .nav-links {
    display: flex;
    overflow-x: auto;
    width: 100%;
    gap: 14px;
    padding: 6px 0 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-link {
    font-size: 0.85rem;
    white-space: nowrap;
    background: #F8FAFB;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
  }
  .page-hero {
    padding: 24px 16px 36px;
  }
  .article-cover {
    padding-top: 18px;
    padding-bottom: 36px;
  }
  .article-cover-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .article-cover-meta {
    gap: 8px;
    margin-bottom: 16px;
  }
  .article-cover-date {
    padding-left: 0;
    border-left: 0;
    flex-basis: 100%;
  }
  .article-cover .hero-title {
    font-size: 1.85rem;
  }
  .article-cover .hero-subtitle {
    font-size: 1rem;
  }
  .article-cover-art {
    min-height: 230px;
  }
  .article-cover-art img {
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border-radius: var(--radius-md);
  }
  .article-cover-art-index {
    top: 9px;
    right: 9px;
  }
  .article-cover-art-caption {
    left: 9px;
    bottom: 9px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .page-content {
    padding: 0 16px 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta-banner {
    padding: 32px 20px;
  }
  .cta-banner h2 {
    font-size: 1.5rem;
  }
}
