/* forge-home.css — หน้าแรกเตาหลอมหมึก (D28/D31) ใช้สีของ forge-theme.css; สีกำหนดตรงเพื่อไม่ให้ dark mode ของเว็บอ่านมาปนกัน */
.fh { --fh-ink: #141a33; --fh-indigo: #4f46e5; --fh-ember: #ff8a3d; --fh-bg: #f6f7fb; --fh-card: #fff; --fh-text: #161a2e; --fh-muted: #5c6280; --fh-line: #dde0ee;
  background: var(--fh-bg); color: var(--fh-text); font-family: "IBM Plex Sans Thai", system-ui, sans-serif; line-height: 1.7; }
.fh * { box-sizing: border-box; }
.fh h1, .fh h2, .fh h3 { font-family: "Chakra Petch", "IBM Plex Sans Thai", sans-serif; letter-spacing: 0; margin: 0 0 12px; line-height: 1.3; }
.fh-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.fh-narrow { max-width: 760px; }

.fh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; }
.fh-btn:hover { transform: translateY(-1px); }
.fh-btn:focus-visible { outline: 3px solid var(--fh-ember); outline-offset: 3px; }
.fh-btn-primary { background: var(--fh-ember); color: #1a1205; }
.fh-btn-primary:hover { background: #ff9c5c; }
.fh-btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.fh-btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* hero */
.fh-hero { background: radial-gradient(1200px 500px at 80% 0, #2a2f6b 0, transparent 60%), var(--fh-ink); color: #e9ebff; padding: 44px 0 56px; overflow: hidden; }
.fh-hero-grid { display: grid; gap: 28px; align-items: center; }
.fh-kicker { color: #a9afd6; font-size: 13px; margin: 0 0 14px; }
.fh-hero h1 { color: #fff; font-size: 40px; }
.fh-hero h1 span { display: block; font-size: 24px; font-weight: 600; color: var(--fh-ember); margin-top: 8px; }
.fh-lead { font-size: 18px; color: #d7daf5; margin: 14px 0 24px; }
.fh-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fh-cta .fh-btn { flex: 1 1 200px; }
.fh-google { margin-top: 18px; max-width: 360px; background: #fff; border-radius: 12px; padding: 14px; color: var(--fh-text); }
.fh-google .social-login { margin: 0; }
.fh-fine { font-size: 13px; color: #a9afd6; margin: 14px 0 0; }
.fh-fine-dark { color: var(--fh-muted); margin-top: 18px; }
.fh-hero-art { max-width: 320px; margin: 0 auto; width: 100%; animation: fh-float 6s ease-in-out infinite; }
.fh-hero-art svg { width: 100%; height: auto; display: block; }
@keyframes fh-float { 50% { transform: translateY(-8px); } }

/* sections */
.fh-section { padding: 52px 0; }
.fh-section-tint { background: #eceef9; }
.fh-section h2 { font-size: 28px; }
.fh-sub { color: var(--fh-muted); font-size: 17px; margin: 0 0 24px; }

.fh-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.fh-steps li { background: var(--fh-card); border: 1px solid var(--fh-line); border-radius: 14px; padding: 22px 22px 22px 70px; position: relative; }
.fh-steps b { position: absolute; left: 20px; top: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--fh-indigo); color: #fff; display: grid; place-items: center; font-family: "Chakra Petch", sans-serif; }
.fh-steps h3, .fh-cards h3 { font-size: 18px; margin-bottom: 6px; }
.fh-steps p, .fh-cards p { margin: 0; color: var(--fh-muted); font-size: 15px; }

.fh-cards { display: grid; gap: 14px; margin-top: 24px; }
.fh-cards article { background: var(--fh-card); border: 1px solid var(--fh-line); border-radius: 14px; padding: 22px; }
.fh-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--fh-ink); color: var(--fh-ember); font-size: 22px; margin-bottom: 12px; font-family: "Noto Serif SC", "Songti SC", serif; }

.fh-price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fh-price { background: var(--fh-card); border: 1px solid var(--fh-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.fh-price strong { font-family: "Chakra Petch", sans-serif; font-size: 24px; color: var(--fh-indigo); }
.fh-credits { font-weight: 600; }
.fh-price em { font-style: normal; font-size: 13px; color: #b3560f; font-weight: 600; }
.fh-price .fh-nobonus { color: var(--fh-muted); font-weight: 400; }

.fh details { background: var(--fh-card); border: 1px solid var(--fh-line); border-radius: 12px; padding: 14px 18px; margin-top: 10px; }
.fh summary { cursor: pointer; font-weight: 600; min-height: 28px; }
.fh details p { margin: 10px 0 0; color: var(--fh-muted); }

.fh-final { background: var(--fh-ink); color: #fff; text-align: center; padding: 52px 0; }
.fh-final h2 { font-size: 26px; margin-bottom: 20px; }

.fh-footer { background: #0d1124; color: #a9afd6; padding: 26px 0; font-size: 14px; }
.fh-footer .fh-wrap { display: flex; flex-direction: column; gap: 12px; }
.fh-footer strong { color: #fff; font-family: "Chakra Petch", sans-serif; }
.fh-footer small { color: #7f86b3; font-weight: 400; }
.fh-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fh-footer a { color: #c9cdf0; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 720px) {
  .fh-wrap { padding: 0 32px; }
  .fh-hero { padding: 72px 0 80px; }
  .fh-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .fh-hero h1 { font-size: 60px; }
  .fh-hero h1 span { font-size: 30px; }
  .fh-cta .fh-btn { flex: 0 0 auto; }
  .fh-section { padding: 80px 0; }
  .fh-section h2 { font-size: 36px; }
  .fh-steps { grid-template-columns: repeat(3, 1fr); }
  .fh-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .fh-price-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .fh-footer .fh-wrap { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .fh-hero-art { animation: none; } .fh-btn { transition: none; } }

/* ── 2026-11-01: ink-and-ember identity + owner's kiln artwork as the hero ── */
.fh { --fh-ink: #141a2b; --fh-indigo: #c4501f; --fh-bg: #f6f0e4; --fh-card: #fffbf3; --fh-line: #e6dccb; --fh-text: #1b1714; --fh-muted: #6f665c;
  font-family: "Noto Sans Thai Looped", "IBM Plex Sans Thai", system-ui, sans-serif; }
.fh h1, .fh h2, .fh h3 { font-family: "Trirong", "Noto Serif Thai", serif; }
.fh-hero { position: relative; background: #121a2c url("../img/forge/kiln-hero.webp") right center / cover no-repeat; padding: 72px 0 84px; min-height: 520px; display: flex; align-items: center; }
.fh-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,19,33,.92) 0%, rgba(14,19,33,.78) 38%, rgba(14,19,33,.15) 70%, rgba(14,19,33,0) 100%); }
.fh-hero > * { position: relative; width: 100%; }
.fh-hero-art { display: none; }
.fh-hero-copy { max-width: 560px; }
.fh-hero h1 { font-size: 46px; font-weight: 700; }
.fh-hero h1 span { color: #e9a76f; font-family: "Trirong", serif; font-weight: 500; }
.fh-kicker { color: #d8c9b0; letter-spacing: .3px; }
.fh-btn { border-radius: 3px; }
.fh-btn-primary { background: #c4501f; color: #fff; box-shadow: 0 2px 0 #8e3510; }
.fh-btn-ghost { border-radius: 3px; }
.fh-google { border-radius: 3px; }
.fh-steps li, .fh-cards article { border-radius: 4px; }
.fh-steps b { background: #1b1714; color: #e9a76f; font-family: "Trirong", serif; }
@media (max-width: 760px) {
  .fh-hero { background-color: #0e1321; background-position: 78% 0; background-size: auto 330px; min-height: 0; padding: 230px 0 48px; }
  .fh-hero::before { background: linear-gradient(180deg, rgba(14,19,33,0) 0, rgba(14,19,33,.25) 150px, rgba(14,19,33,.9) 300px, #0e1321 330px); }
  .fh-hero h1 { font-size: 34px; }
}
