:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4f0;
  --brand: #f7c600;
  --brand-dark: #c39b00;
  --success: #16a34a;
  --info: #2563eb;
  --warning: #f59e0b;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fffef9 0%, #f8fafc 12%, #f8fafc 100%);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.hidden { display: none !important; }
.skip-link {
  position: absolute; left: -999px; top: 12px; background: var(--surface); padding: 10px 14px; border-radius: 999px; z-index: 9999;
}
.skip-link:focus { left: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 80; backdrop-filter: blur(12px); background: rgba(248, 250, 252, 0.82); border-bottom: 1px solid rgba(219, 228, 240, 0.9);
}
.header-bar {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-logo { width: auto; height: 58px; max-width: 92px; object-fit: contain; border-radius: 0; box-shadow: none; }
.brand-logo.big { width: auto; height: 190px; max-width: min(85vw, 300px); }
.brand strong, .brand span { display: block; }
.brand span { color: var(--muted); font-size: 0.95rem; }
.top-nav { display: none; gap: 18px; color: var(--muted); }
.top-nav a:hover { color: var(--text); }
.hero { padding: 28px 0 20px; }
.hero-grid { display: grid; gap: 24px; }
.hero-copy, .hero-card, .info-card, .progress-card, .step-visual-card, .step-copy-card, .summary-card, .notfound-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-copy { padding: 30px 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(247, 198, 0, 0.14); color: #755b00; font-size: 0.87rem; font-weight: 700; margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h1 span { color: #1e293b; font-size: 0.78em; }
h2 { font-size: clamp(1.55rem, 4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 12px; }
.lead { font-size: 1.04rem; color: var(--muted); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.hero-badges span {
  padding: 10px 14px; border-radius: 999px; background: #fff9dc; border: 1px solid rgba(247, 198, 0, 0.35); font-size: 0.92rem;
}
.hero-actions, .summary-actions, .modal-actions, .step-controls { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; transition: 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .choice-card:focus-visible, .floating-help:focus-visible, .text-link:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22); outline-offset: 3px;
}
.btn-primary { background: var(--brand); color: #161616; }
.btn-primary:hover { background: #ffd43b; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.trust-copy {
  margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--muted);
}
.hero-card { padding: 24px; }
.hero-card-title { font-weight: 800; margin-bottom: 8px; }
.hero-card ul { margin: 0 0 14px 18px; padding: 0; color: var(--muted); }
.hero-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-mini-grid img { border-radius: 20px; border: 1px solid var(--line); background: #f8fafc; }
.why, .selector, .faq, .about-carpat { padding: 26px 0; }
.why-grid, .about-grid { display: grid; gap: 16px; }
.info-card { padding: 22px; }
.section-heading { margin-bottom: 20px; }
.section-heading p { color: var(--muted); max-width: 760px; }
.choice-groups { display: grid; gap: 18px; }
.choice-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.choice-title { font-weight: 800; margin-bottom: 14px; }
.choice-grid { display: grid; gap: 14px; }
.choice-grid.compact { grid-template-columns: repeat(2, 1fr); }
.choice-card {
  width: 100%; text-align: left; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: 0.2s ease; display: grid; gap: 6px;
}
.choice-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.choice-card.active { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(247, 198, 0, 0.18); }
.choice-icon { font-size: 1.35rem; }
.choice-card small { color: var(--muted); }
.guide { padding: 26px 0; }
.guide-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 18px; }
.guide-intro, #guideIntro { color: var(--muted); }
.progress-card { padding: 18px; margin-bottom: 18px; }
.progress-topline { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 0.94rem; }
.progress-bar { margin-top: 12px; height: 12px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #ffd84d); transition: width 0.25s ease; }
.guide-layout { display: grid; gap: 18px; }
.step-visual-card, .step-copy-card { padding: 18px; }
.visual-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.visual-badge { padding: 8px 12px; border-radius: 999px; background: rgba(37, 99, 235, 0.12); color: var(--info); font-weight: 700; font-size: 0.88rem; }
.text-link { background: none; border: none; color: var(--info); padding: 0; font-weight: 700; }
.visual-instruction {
  display: flex; align-items: center; gap: 9px; margin: 0 0 12px; padding: 11px 13px; border-radius: 16px; background: rgba(247, 198, 0, 0.13); color: #654f00; font-size: 0.92rem; font-weight: 700;
}
.visual-instruction span { font-size: 1.35rem; line-height: 1; }
.step-image-wrapper {
  position: relative; min-height: 280px; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 12px;
}
.phone-stage { position: relative; display: inline-block; max-width: 100%; line-height: 0; }
.phone-stage img { max-height: min(76vh, 900px); max-width: 100%; width: auto; height: auto; margin: 0 auto; border-radius: 24px; }
.tap-guide {
  --marker-x: 50%; --marker-y: 50%;
  position: absolute; left: var(--marker-x); top: var(--marker-y); width: 68px; height: 68px; transform: translate(-50%, -50%); pointer-events: none; z-index: 5;
}
.tap-guide-ring {
  position: absolute; inset: 0; border: 5px solid var(--brand); border-radius: 50%; background: rgba(247, 198, 0, 0.08); box-shadow: 0 0 0 5px rgba(255,255,255,0.88), 0 12px 30px rgba(15,23,42,0.22); animation: guidePulse 1.8s ease-in-out infinite;
}
.tap-guide-label {
  position: absolute; left: 50%; bottom: calc(100% + 34px); transform: translateX(-50%); white-space: nowrap; padding: 8px 11px; border-radius: 12px; background: var(--brand); color: #211c00; font-size: 0.76rem; font-weight: 900; line-height: 1; letter-spacing: 0.02em; box-shadow: 0 10px 22px rgba(15,23,42,0.18);
}
.tap-guide-arrow {
  position: absolute; left: 50%; bottom: calc(100% - 2px); transform: translateX(-50%); color: var(--brand-dark); font-size: 2rem; font-weight: 900; line-height: 1; text-shadow: 0 2px 0 #fff, 0 0 8px rgba(255,255,255,0.9); animation: arrowBounce 1.4s ease-in-out infinite;
}
@keyframes guidePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.84; }
}
@keyframes arrowBounce {
  0%, 100% { transform: translate(-50%, -2px); }
  50% { transform: translate(-50%, 5px); }
}
.step-copy-card { display: grid; align-content: start; gap: 12px; }
.step-number {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(247, 198, 0, 0.16); color: #6e5600; font-weight: 900; font-size: 1.3rem;
}
.step-description { color: var(--muted); }
.step-box { padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); }
.step-box.info { background: rgba(247, 198, 0, 0.12); border-color: rgba(247, 198, 0, 0.3); }
.step-box.subtle { background: #f8fafc; }
.step-box.marketing { background: rgba(22, 163, 74, 0.08); border-color: rgba(22, 163, 74, 0.15); color: #166534; }
.step-footnote { color: #64748b; font-size: 0.93rem; }
.summary { padding-bottom: 10px; }
.summary-card { padding: 28px; text-align: center; }
.summary-card ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.summary-icon { font-size: 2rem; margin-bottom: 8px; }
.faq-list { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
.about-grid { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.selling-points { margin: 0; padding-left: 18px; }
.site-footer { padding: 34px 0 120px; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.floating-help {
  position: fixed; right: 14px; bottom: 14px; z-index: 90; min-height: 56px; padding: 0 18px; border-radius: 999px; border: none; background: var(--success); color: #fff; font-weight: 800; box-shadow: 0 20px 40px rgba(22, 163, 74, 0.28); display: inline-flex; align-items: center; gap: 10px;
}
.modal { border: none; padding: 0; background: transparent; max-width: min(94vw, 740px); width: 100%; }
.modal::backdrop { background: rgba(15, 23, 42, 0.72); }
.modal-card {
  position: relative; background: var(--surface); color: var(--text); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.modal-card-large { max-width: 740px; }
.modal-close {
  position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.5rem;
}
.help-number { font-size: 1.8rem; font-weight: 900; margin: 10px 0 14px; }
.help-number a { color: var(--success); }
.troubleshoot-list { padding-left: 18px; }
.notfound-body { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.notfound-wrap { width: min(100%, 560px); }
.notfound-card { padding: 30px; text-align: center; }
@media (min-width: 768px) {
  .hero { padding-top: 44px; }
  .hero-grid, .guide-layout { grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr); align-items: start; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .top-nav { display: flex; }
}
@media (max-width: 767px) {
  .guide-header { flex-direction: column; align-items: stretch; }
  .progress-topline { flex-direction: column; }
  .choice-grid.compact { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .choice-card, .progress-fill, .tap-guide-ring, .tap-guide-arrow { transition: none; animation: none; }
}

@media (max-width: 480px) {
  .tap-guide { width: 56px; height: 56px; }
  .tap-guide-label { font-size: 0.68rem; bottom: calc(100% + 30px); }
  .tap-guide-arrow { font-size: 1.7rem; bottom: calc(100% - 1px); }
}
