@charset "UTF-8";

.howto-page { background: #f7f9f8; }
.howto-page .site-header { background: rgba(255,255,255,.97); }

.howto-hero { padding: 92px 0 86px; overflow: hidden; position: relative; background: linear-gradient(135deg,#e9faef 0%,#f4fcf7 56%,#fff 100%); }
.howto-hero::before { content: ""; width: 520px; height: 520px; position: absolute; right: -140px; top: -250px; border: 95px solid rgba(6,199,85,.09); border-radius: 50%; }
.howto-hero-inner { display: grid; grid-template-columns: 1fr 330px; gap: 90px; align-items: center; position: relative; z-index: 1; }
.howto-hero h1 { margin-bottom: 24px; color: var(--black); font-size: clamp(48px,5.4vw,74px); line-height: 1.18; letter-spacing: -.055em; }
.howto-hero .lead { max-width: 720px; margin-bottom: 26px; color: #4d5b53; font-size: 16px; line-height: 2; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta span { padding: 7px 13px; color: var(--line-green-dark); background: #fff; border: 1px solid #d7eee0; border-radius: 999px; font-size: 10px; font-weight: 800; }
.setup-summary { padding: 34px; color: #fff; background: var(--line-green); border-radius: 24px; box-shadow: 0 24px 55px rgba(0,120,50,.16); }
.setup-summary > span { display: block; margin-bottom: 22px; font-size: 10px; font-weight: 800; letter-spacing: .08em; opacity: .78; }
.setup-summary strong { display: block; font-size: 25px; letter-spacing: -.03em; }
.setup-summary div { margin: 5px 0; font-size: 20px; font-weight: 400; opacity: .7; }
.setup-summary p { margin: 25px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.3); font-size: 10px; }

.howto-anchor { position: sticky; z-index: 20; top: 76px; overflow-x: auto; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(15,55,31,.04); backdrop-filter: blur(12px); }
.howto-anchor > div { min-height: 66px; display: grid; grid-template-columns: repeat(5,1fr); }
.howto-anchor a { padding: 13px 18px; display: flex; align-items: center; justify-content: center; gap: 9px; border-left: 1px solid var(--border); font-size: 10px; font-weight: 800; white-space: nowrap; }
.howto-anchor a:last-child { border-right: 1px solid var(--border); }
.howto-anchor a:hover { color: var(--line-green-dark); background: var(--line-green-pale); }
.howto-anchor span { color: var(--line-green); font-size: 9px; font-weight: 900; }

.howto-intro { padding: 46px 0 0; }
.notice-card { padding: 22px 26px; display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid #dfe9e2; border-radius: 14px; }
.notice-card > span { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: var(--line-green); border-radius: 50%; font-size: 13px; font-weight: 900; }
.notice-card p { margin: 0; color: var(--muted); font-size: 11px; }
.notice-card strong { margin-right: 8px; color: var(--text); }

.howto-steps { padding: 36px 0 110px; }
.howto-steps > div { display: grid; gap: 28px; }
.howto-step-card { scroll-margin-top: 164px; overflow: hidden; background: #fff; border: 1px solid #e1e8e3; border-radius: 24px; box-shadow: 0 12px 35px rgba(20,65,37,.05); }
.step-heading { padding: 32px 40px; display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--border); }
.step-number { width: 62px; height: 62px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: var(--line-green); border-radius: 17px; font-size: 19px; font-weight: 900; }
.step-heading p { margin: 0 0 3px; color: var(--line-green-dark); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.step-heading h2 { margin: 0; color: var(--black); font-size: clamp(23px,2.7vw,34px); line-height: 1.45; letter-spacing: -.035em; }
.step-body { padding: 38px 40px 44px; }
.step-body > p { max-width: 850px; margin-bottom: 30px; color: #505b54; font-size: 13px; }
.step-body > p strong { color: var(--black); }
.compact-step .step-body { display: grid; grid-template-columns: 1.35fr .85fr; gap: 38px; align-items: center; }
.compact-step .step-body > p { margin: 0; }
.login-step-body > div:first-child > p { margin-bottom: 22px; color: #505b54; font-size: 13px; }
.external-button { min-height: 50px; padding: 0 20px; font-size: 12px; }
.mini-check, .tip-card { padding: 22px; background: var(--line-green-pale); border-radius: 14px; }
.mini-check span { display: inline-block; margin-bottom: 8px; color: var(--line-green-dark); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.mini-check p, .tip-card p { margin: 0; color: #536259; font-size: 10px; }
.tip-card strong { display: block; margin-bottom: 7px; font-size: 12px; }

.screen-shot { margin: 34px 0 0; }
.screen-shot a { padding: 18px; display: block; overflow: hidden; background: #eef2ef; border: 1px solid #dfe5e1; border-radius: 18px; }
.screen-shot img { width: 100%; height: auto; border-radius: 9px; box-shadow: 0 18px 45px rgba(28,50,36,.13); transition: transform .2s ease; }
.screen-shot a:hover img { transform: scale(1.008); }
.screen-shot figcaption { padding: 15px 4px 0; color: var(--muted); font-size: 10px; }
.screen-shot figcaption span { margin-right: 9px; color: var(--line-green-dark); font-size: 9px; font-weight: 900; letter-spacing: .08em; }

.settings-list { margin: 0; border-top: 1px solid var(--border); }
.settings-list > div { min-height: 66px; display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid var(--border); }
.settings-list dt, .settings-list dd { margin: 0; padding: 18px 20px; display: flex; align-items: center; }
.settings-list dt { color: #4f5d54; background: #f7f9f7; font-size: 11px; font-weight: 800; }
.settings-list dd { flex-wrap: wrap; gap: 8px; font-size: 12px; }
.settings-list dd strong { color: var(--line-green-dark); }
.settings-list dd small { width: 100%; color: var(--muted); font-size: 9px; }
.settings-list .important-setting { border-right: 3px solid var(--line-green); }
.settings-list .important-setting dt { color: var(--line-green-dark); background: var(--line-green-pale); }
.endpoint-setting dd { min-width: 0; }
.endpoint-setting code { max-width: 100%; padding: 9px 12px; overflow-wrap: anywhere; color: #123e25; background: var(--line-green-pale); border-radius: 7px; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 11px; }
.setting-pill { padding: 5px 10px; color: var(--line-green-dark); background: var(--line-green-pale); border-radius: 999px; font-size: 10px; font-weight: 800; }

.finish-section { padding: 0 0 110px; }
.finish-card { padding: 80px 40px; color: #fff; background: var(--line-green); border-radius: 28px; text-align: center; }
.finish-mark { width: 72px; height: 72px; margin: 0 auto 24px; display: grid; place-items: center; color: var(--line-green); background: #fff; border-radius: 50%; font-size: 30px; font-weight: 900; }
.finish-card h2 { margin-bottom: 15px; font-size: clamp(32px,4vw,50px); line-height: 1.35; letter-spacing: -.045em; }
.finish-card > p:not(.section-kicker) { max-width: 680px; margin: 0 auto; font-size: 12px; }
.finish-card .button { margin-top: 30px; }

@media (max-width: 920px) {
  .howto-hero-inner { grid-template-columns: 1fr 270px; gap: 45px; }
  .howto-anchor { top: 117px; }
  .howto-anchor > div { min-width: 720px; }
  .compact-step .step-body { grid-template-columns: 1fr; }
  .settings-list > div { grid-template-columns: 190px 1fr; }
}

@media (max-width: 620px) {
  .howto-hero { padding: 66px 0 60px; }
  .howto-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .howto-hero h1 { font-size: 43px; }
  .howto-hero .lead { font-size: 14px; }
  .setup-summary { padding: 27px; }
  .howto-anchor { top: 112px; }
  .howto-anchor > div { min-width: 660px; }
  .howto-anchor a { padding-right: 11px; padding-left: 11px; }
  .howto-intro { padding-top: 28px; }
  .notice-card { padding: 18px; }
  .howto-steps { padding: 26px 0 76px; }
  .howto-steps > div { gap: 20px; }
  .howto-step-card { scroll-margin-top: 155px; border-radius: 17px; }
  .step-heading { padding: 23px 20px; gap: 15px; }
  .step-number { width: 48px; height: 48px; border-radius: 13px; font-size: 15px; }
  .step-heading h2 { font-size: 21px; }
  .step-body { padding: 25px 20px 30px; }
  .step-body > p { margin-bottom: 23px; font-size: 12px; }
  .screen-shot { margin-top: 25px; }
  .screen-shot a { padding: 8px; border-radius: 12px; }
  .screen-shot img { border-radius: 6px; }
  .settings-list > div { grid-template-columns: 1fr; }
  .settings-list dt, .settings-list dd { padding: 13px 15px; }
  .settings-list dt { border-bottom: 1px solid #e9eeea; }
  .settings-list .important-setting { border-right-width: 2px; }
  .finish-section { padding-bottom: 76px; }
  .finish-card { width: calc(100% - 32px); padding: 55px 24px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .screen-shot img { transition: none; }
}
