:root {
  --primary: #ff6e14;
  --primary-hover: #e85f06;
  --primary-soft: #ffe2cf;
  --text: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1400px 500px at 100% -10%, rgba(255, 110, 20, 0.10), transparent 55%),
    radial-gradient(1000px 420px at 0% -20%, rgba(232, 95, 6, 0.08), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.container {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.brand svg {
  width: 1.58rem;
  height: 1.58rem;
  color: var(--primary);
  flex-shrink: 0;
}

.brand-footer {
  font-size: 1rem;
  font-weight: 700;
}

main {
  padding: 1.2rem 0 1.6rem;
}

.hero {
  padding: 1.5rem 1.4rem;
  border: 1px solid #fed7aa;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fffaf5 100%),
    radial-gradient(500px 200px at 90% 20%, rgba(255, 110, 20, 0.12), transparent 65%);
  box-shadow: 0 24px 50px -40px rgba(15, 23, 42, 0.55);
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 999px;
  padding: 0.35rem 0.66rem;
}

h1 {
  margin: 0.85rem 0 0.55rem;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.lead {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.06rem;
  margin: 0;
}

.muted-small {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 0.45rem;
}

.section {
  padding: 1.15rem 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  letter-spacing: -0.012em;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 18px 38px -32px rgba(15, 23, 42, 0.42);
}

.card h2,
.card h3 {
  margin: 0 0 0.55rem;
  letter-spacing: -0.012em;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.63;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.72rem 1.02rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(255, 110, 20, 0.55);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: #cbd5e1;
  color: var(--text);
  background: #fff;
}

.btn-ghost:hover {
  background: #f8fafc;
}

.cta-box {
  background:
    linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
  border: 1px solid #fdba74;
  border-radius: 18px;
  padding: 1.2rem;
  margin-top: 1.1rem;
  box-shadow: 0 22px 46px -40px rgba(255, 110, 20, 0.35);
}

.cta-box .btn {
  margin-right: 0.55rem;
  margin-bottom: 0.55rem;
}

.product-promo {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  border: 1px solid #fdba74;
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: 0 24px 50px -40px rgba(255, 110, 20, 0.4);
}

.product-promo-copy h2,
.product-promo-copy h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  letter-spacing: -0.02em;
}

.product-promo-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.promo-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 1rem;
}

.promo-points span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.88rem;
  font-weight: 600;
}

.product-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.product-promo-visual {
  position: relative;
}

.product-promo-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid #fdba74;
  box-shadow: 0 22px 46px -34px rgba(15, 23, 42, 0.45);
}

.product-promo-label {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 1;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #9a3412;
  border: 1px solid #fdba74;
  font-size: 0.76rem;
  font-weight: 700;
}

.guide-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -20px rgba(15, 23, 42, 0.45);
}

.guide-sticky-cta .btn {
  display: flex;
  width: 100%;
}

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: #fdba74;
  box-shadow: 0 12px 30px -28px rgba(255, 110, 20, 0.35);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: +;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: −;
  border-color: #fdba74;
  color: #c2410c;
  background: #fff7ed;
}

.faq summary:focus-visible {
  outline: 2px solid #fb923c;
  outline-offset: 3px;
  border-radius: 8px;
}

.faq p {
  color: var(--muted);
  margin: 0.65rem 0 0;
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.65rem;
}

.related h3 {
  grid-column: 1 / -1;
}

.related a {
  display: block;
  text-decoration: none;
  padding: 0.7rem 0.78rem;
  border: 1px solid #fed7aa;
  border-radius: 11px;
  color: #FF6E14;
  font-weight: 600;
  background: #fffaf5;
  transition: all 0.2s ease;
}

.related a:hover {
  border-color: #fdba74;
  transform: translateY(-1px);
}

footer {
  margin-top: 1.8rem;
  border-top: 1px solid var(--border);
  padding: 1.15rem 0 2rem;
  color: #64748b;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 760px) {
  .container { width: min(900px, calc(100% - 1.2rem)); }
  .header-inner { min-height: 58px; }
  .header-inner .btn { display: none; }
  .hero { padding: 1.12rem; }
  .btn { width: 100%; }
  .cta-box .btn { margin-right: 0; }
  .product-promo { grid-template-columns: 1fr; padding: 1rem; }
  .related { grid-template-columns: 1fr; }
  .guide-sticky-cta { display: block; }
  body.guide-page { padding-bottom: 5.5rem; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
