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

:root {
  --green: #1b5e2f;
  --green-light: #2e7d46;
  --cream: #f6f6ee;
  --text: #2c2c2c;
  --text-light: #555;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Lang toggle ─────────────────────── */

.lang-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  background: #fff;
  border: 1.5px solid var(--green);
  border-radius: 20px;
  padding: .35rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  transition: background .2s, color .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  text-decoration: none;
}

.lang-toggle:hover {
  background: var(--green);
  color: #fff;
}

/* ── Hero ─────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.logo {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  box-shadow: 0 8px 30px rgba(27, 94, 47, .15);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: .4rem;
}

.subtitle {
  font-size: 1rem;
  color: var(--text-light);
  letter-spacing: .5px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.5rem;
  padding: .7rem 1.6rem;
  background: var(--green);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s, transform .2s;
  box-shadow: 0 3px 12px rgba(27, 94, 47, .2);
}

.hero-cta:hover { background: var(--green-light); transform: translateY(-2px); }

.hero-cta svg { width: 18px; height: 18px; fill: #fff; }

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .8rem;
  padding: .4rem 1rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  border: 1.5px solid rgba(27, 94, 47, .25);
  border-radius: 20px;
  transition: border-color .2s, background .2s;
}

.hero-secondary::after {
  content: '\2193';
  font-size: .7rem;
  transition: transform .2s;
}

.hero-secondary:hover {
  border-color: var(--green);
  background: rgba(27, 94, 47, .05);
}

.hero-secondary:hover::after { transform: translateY(2px); }

/* ── Anchor navigation ───────────────── */

.anchor-nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  padding: 0 1.5rem 2rem;
  flex-wrap: wrap;
}

.anchor-nav a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  padding: .45rem .8rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.anchor-nav a:hover {
  color: var(--green);
  background: rgba(27, 94, 47, .06);
}

/* ── Trust strip ─────────────────────── */

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  color: var(--text-light);
}

.trust-icon {
  font-size: .9rem;
}

.trust-text {
  white-space: nowrap;
}

/* ── Preview + How-to two-column ─────── */

.preview-howto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  align-items: start;
}

/* ── Chat preview ────────────────────── */

.chat-preview {
  max-width: none;
  margin: 0;
  padding: 0;
}

.chat-preview h2 {
  font-size: 1.4rem;
  color: var(--green);
  text-align: center;
  margin-bottom: 1.2rem;
}

.chat-window {
  background: #7b9eb0;
  border-radius: 16px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
}

.chat-bubble {
  max-width: 80%;
  padding: .65rem .9rem;
  border-radius: 14px;
  font-size: .82rem;
  line-height: 1.55;
  word-break: break-word;
}

.chat-bubble.user {
  align-self: flex-end;
  background: #06c755;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: #fff;
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-bubble.bot strong { color: var(--green); }

/* Typing dots animation */
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #999;
  animation: typingBounce .9s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Chat result fade-in */
.chat-fade-in {
  animation: chatReveal .4s ease-out;
}

@keyframes chatReveal {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Pricing table ───────────────────── */

.pricing {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.pricing h2 {
  font-size: 1.4rem;
  color: var(--green);
  text-align: center;
  margin-bottom: 1.2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.pricing-col {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  text-align: center;
}

.pricing-col.featured {
  border: 2px solid var(--green);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .7rem;
  border-radius: 10px;
  white-space: nowrap;
}

.pricing-col h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: .3rem;
}

.pricing-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .8rem;
}

.pricing-price span { font-size: .85rem; font-weight: 400; color: var(--text-light); }

.pricing-list {
  list-style: none;
  text-align: left;
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.8;
}

.pricing-list li::before { content: '\2713\00a0'; color: var(--green); font-weight: 700; }
.pricing-list li.disabled { opacity: .4; }
.pricing-list li.disabled::before { content: '\2717\00a0'; color: #999; }

/* Pricing CTA button */
.pricing-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: .55rem 1.4rem;
  background: var(--green);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.pricing-cta:hover { background: var(--green-light); transform: translateY(-1px); }

/* ── Features ─────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s;
}

.card:hover { transform: translateY(-3px); }

.card-icon {
  font-size: 1.6rem;
  margin-bottom: .6rem;
}

.card h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: .4rem;
}

.card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Knowledge Cards ──────────────────── */

.knowledge {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.knowledge h2 {
  font-size: 1.4rem;
  color: var(--green);
  text-align: center;
  margin-bottom: 1.2rem;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.know-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.know-card:hover,
.know-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0,0,0,.1);
}

.know-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.know-card-head {
  padding: 1.5rem 2.5rem 1.2rem 1.5rem;
  position: relative;
}

.know-card-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: .5rem;
}

.know-card h3 {
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: .5rem;
}

.know-card-head > p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.know-card-head::after {
  content: '\25BC';
  position: absolute;
  top: 1.6rem;
  right: 1.2rem;
  font-size: .65rem;
  color: var(--green);
  transition: transform .3s;
}

.know-card[aria-expanded="true"] .know-card-head::after {
  transform: rotate(180deg);
}

.know-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.know-card-body-inner {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.know-card-body p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: .6rem;
}

.know-card-body p:last-child {
  margin-bottom: 0;
}

.know-card-body strong {
  color: var(--text);
}

/* ── How to use ───────────────────────── */

.howto {
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.howto h2 {
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 1.2rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.step:last-child { padding-bottom: 0; }

/* Connecting line between step circles */
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), rgba(27,94,47,.15));
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  position: relative;
  z-index: 1;
}

.step-text {
  padding-top: .3rem;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text);
}

.step-text code {
  background: #e8f0e8;
  padding: .1rem .4rem;
  border-radius: 4px;
  font-size: .85rem;
  color: var(--green);
}

/* ── CTA ──────────────────────────────── */

.cta {
  text-align: center;
  padding: 0 1.5rem 4rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  background: #06c755;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(6, 199, 85, .3);
  transition: background .2s, transform .2s;
}

.cta-btn:hover { background: #05b04c; transform: translateY(-2px); }

.cta-btn svg { width: 22px; height: 22px; fill: #fff; }

/* ── FAQ ─────────────────────────────── */

.faq {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.faq h2 {
  font-size: 1.4rem;
  color: var(--green);
  text-align: center;
  margin-bottom: 1.2rem;
}

.faq-item {
  border-bottom: 1px solid #e0e0d8;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 2.5rem 1rem 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  font-family: inherit;
  min-height: 48px;
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--green);
  transition: transform .2s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-q[aria-expanded="true"]::after {
  content: '\2212';
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-a p {
  padding: 0 0 1rem;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* ── Social proof ────────────────────── */

.social-proof {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

.proof-item {
  text-align: center;
}

.proof-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}

.proof-label {
  font-size: .78rem;
  color: var(--text-light);
  margin-top: .2rem;
}

/* ── Knowledge show-more ─────────────── */

.know-card.hidden-card { display: none; }

.know-more-btn {
  display: block;
  margin: 1.2rem auto 0;
  padding: .55rem 1.6rem;
  background: none;
  border: 1.5px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, color .2s;
}

.know-more-btn:hover { background: var(--green); color: #fff; }

/* ── Scroll fade-in animation ────────── */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for grid children */
.fade-in-child { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; }
.fade-in-child.visible { opacity: 1; transform: translateY(0); }

/* ── News section (homepage) ──────────── */

.news-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.news-section h2 {
  font-size: 1.4rem;
  color: var(--green);
  text-align: center;
  margin-bottom: 1.2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 18px rgba(0,0,0,.1);
}

.news-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-card-body {
  padding: 1.2rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}

.news-card-meta time {
  font-size: .75rem;
  color: var(--text-light);
}

.news-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  padding: .15rem .55rem;
  border-radius: 10px;
  white-space: nowrap;
}

.news-card h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: .4rem;
  line-height: 1.4;
}

.news-card p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.news-view-more {
  display: block;
  text-align: center;
  margin-top: 1.2rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

.news-view-more:hover { text-decoration: underline; }

/* ── News list page (SSR) ────────────── */

.news-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.news-wrapper h1 {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.news-breadcrumb {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.news-breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

.news-breadcrumb a:hover { text-decoration: underline; }

.news-filter {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.news-filter a {
  font-size: .82rem;
  font-weight: 500;
  padding: .4rem .8rem;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-light);
  border: 1.5px solid #ddd;
  transition: border-color .2s, color .2s, background .2s;
}

.news-filter a:hover,
.news-filter a.active {
  color: var(--green);
  border-color: var(--green);
  background: rgba(27, 94, 47, .05);
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  font-size: .88rem;
}

.news-pagination a {
  padding: .4rem .9rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--green);
  border: 1.5px solid var(--green);
  font-weight: 500;
  transition: background .2s, color .2s;
}

.news-pagination a:hover {
  background: var(--green);
  color: #fff;
}

.news-pagination a.disabled {
  opacity: .3;
  pointer-events: none;
}

.news-pagination span {
  color: var(--text-light);
  font-size: .82rem;
}

/* ── News detail page (SSR) ──────────── */

.news-detail {
  max-width: 700px;
  margin: 0 auto;
}

.news-detail-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .8rem;
}

.news-detail-meta time {
  font-size: .82rem;
  color: var(--text-light);
}

.news-detail h1 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.news-detail-content p {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: .8rem;
}

.news-detail-content ul,
.news-detail-content ol {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: .8rem;
  padding-left: 1.5rem;
}

.news-detail-content li {
  margin-bottom: .3rem;
}

.news-detail-content li code {
  background: #f5f5f5;
  padding: .1em .35em;
  border-radius: 3px;
  font-size: .88em;
}

.news-back {
  display: inline-block;
  margin-top: 2rem;
  font-size: .85rem;
  color: var(--green);
  text-decoration: none;
}

.news-back:hover { text-decoration: underline; }

.news-empty {
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
  padding: 3rem 0;
}

/* ── Footer ───────────────────────────── */

footer {
  margin-top: auto;
  text-align: center;
  padding: 1.5rem;
  font-size: .8rem;
  color: var(--text-light);
}

/* ── Tablet ───────────────────────────── */

@media (max-width: 768px) {
  .hero { padding: 3rem 1.2rem 2rem; }
  .features { grid-template-columns: 1fr; max-width: 480px; padding: 0 1.2rem 2rem; }
  .knowledge { padding: 0 1.2rem 2rem; }
  .knowledge-grid { grid-template-columns: 1fr; max-width: 480px; }
  .preview-howto { grid-template-columns: 1fr; max-width: 480px; padding: 0 1.2rem 2rem; gap: 2rem; }
  .preview-howto .howto { border-top: 1px solid #e0e0d8; padding-top: 2rem; }
  .cta { padding: 0 1.2rem 3rem; }
  .social-proof { gap: 1.5rem; padding: 0 1.2rem 2rem; }
  .pricing { padding: 0 1.2rem 2rem; }
  .pricing-grid { gap: .8rem; }
  .anchor-nav {
    position: sticky; top: 0; z-index: 90;
    background: var(--cream);
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: .4rem;
    padding: .6rem 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
    scrollbar-width: none;
  }
  .anchor-nav::-webkit-scrollbar { display: none; }
  .anchor-nav a { white-space: nowrap; flex-shrink: 0; }
  .trust-strip { gap: 1rem; padding: 0 1.2rem 2rem; }
  .news-section { padding: 0 1.2rem 2rem; }
  .news-grid, .news-list-grid { grid-template-columns: repeat(2, 1fr); }
  .news-wrapper { padding: 1.5rem 1.2rem 2rem; }
}

/* ── Mobile ───────────────────────────── */

@media (max-width: 480px) {
  .hero { padding: 2.5rem 1rem 1.5rem; }
  .logo { width: 100px; height: 100px; border-radius: 22px; }
  h1 { font-size: 1.5rem; }
  .subtitle { font-size: .85rem; }
  .hero-cta { font-size: .88rem; padding: .65rem 1.2rem; }
  .features { padding: 0 1rem 1.5rem; }
  .card { padding: 1.3rem; }
  .knowledge { padding: 0 1rem 1.5rem; }
  .knowledge h2 { font-size: 1.2rem; }
  .know-card-head { padding: 1.2rem 2.2rem 1rem 1.2rem; }
  .know-card-body-inner { padding: 0 1.2rem 1.2rem; padding-top: .8rem; }
  .preview-howto { padding: 0 1rem 1.5rem; gap: 1.5rem; }
  .howto h2 { font-size: 1.2rem; }
  .step-text { font-size: .88rem; }
  .step-text code { font-size: .78rem; }
  .cta { padding: 0 1rem 2.5rem; }
  .cta-btn { width: 100%; justify-content: center; padding: .9rem 1.2rem; font-size: .95rem; }
  .social-proof { gap: 1.2rem; padding: 0 1rem 1.5rem; }
  .proof-num { font-size: 1.3rem; }
  .proof-label { font-size: .72rem; }
  .chat-preview h2 { font-size: 1.2rem; }
  .pricing { padding: 0 1rem 1.5rem; }
  .pricing h2 { font-size: 1.2rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .pricing-col { padding: 1.2rem; }
  .pricing-col.featured { order: -1; }
  .lang-toggle { top: .6rem; right: .6rem; padding: .3rem .7rem; font-size: .8rem; }
  .faq { padding: 0 1rem 2rem; }
  .faq h2 { font-size: 1.2rem; }
  .faq-q { font-size: .88rem; }
  .faq-a p { font-size: .85rem; }
  .anchor-nav { gap: .4rem; padding: .6rem 1rem; }
  .anchor-nav a { font-size: .78rem; padding: .4rem .6rem; }
  .trust-strip { gap: .7rem; padding: 0 1rem 1.5rem; }
  .trust-item { font-size: .72rem; }
  .news-section { padding: 0 1rem 1.5rem; }
  .news-section h2 { font-size: 1.2rem; }
  .news-grid, .news-list-grid { grid-template-columns: 1fr; }
  .news-card-img { height: 140px; }
  .news-wrapper { padding: 1.2rem 1rem 1.5rem; }
  .news-detail h1 { font-size: 1.3rem; }
}

/* ── Tiny screens ────────────────────── */

@media (max-width: 360px) {
  .hero { padding: 2rem .8rem 1.2rem; }
  .logo { width: 80px; height: 80px; }
  h1 { font-size: 1.3rem; }
  .subtitle { font-size: .78rem; }
  .card { padding: 1rem; }
  .card h3 { font-size: 1rem; }
  .card p { font-size: .82rem; }
}

/* ── Reduced motion ──────────────────── */

@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in-child { opacity: 1; transform: none; transition: none; }
  .know-card, .card, .cta-btn, .hero-cta { transition: none; }
  .know-card-body { transition: none; }
  .faq-a { transition: none; }
  .know-card-head::after { transition: none; }
  .typing-dots span { animation: none; opacity: .6; }
  .chat-fade-in { animation: none; }
}
