@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/PretendardVariable.woff2?v=20260731.2") format("woff2");
}

:root {
  color-scheme: light;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color: #172033;
  background: #fffdf8;
  font-synthesis: none;
  --paper: #fffdf8;
  --paper-deep: #f8f0e4;
  --surface: #ffffff;
  --cobalt: #1454e8;
  --cobalt-dark: #0e3eaf;
  --cobalt-soft: #eaf0ff;
  --butter: #ffd94f;
  --butter-soft: #fff6c9;
  --charcoal: #172033;
  --muted: #667085;
  --tomato: #e95b43;
  --sage: #65815d;
  --line: #e7dfd2;
  --shadow-soft: 0 18px 50px rgb(23 32 51 / 10%);
  --radius-card: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 10% 4%, rgb(255 217 79 / 18%), transparent 22rem),
    radial-gradient(circle at 92% 20%, rgb(20 84 232 / 8%), transparent 24rem),
    var(--paper);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--butter);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 8px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--charcoal);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.guide-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: max(10px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
  border-bottom: 1px solid rgb(231 223 210 / 78%);
  background: rgb(255 253 248 / 88%);
  backdrop-filter: blur(18px);
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  color: var(--charcoal);
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.guide-brand span:last-child {
  color: var(--cobalt);
}

.guide-header__app-link {
  display: inline-grid;
  min-height: 44px;
  padding: 0 17px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--cobalt-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.guide-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 34px 0 124px;
}

.guide-hero {
  display: grid;
  gap: 28px;
  margin-bottom: 34px;
}

.guide-kicker {
  display: inline-flex;
  margin: 0 0 13px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--butter-soft);
  color: #6f5500;
  font-size: 0.8rem;
  font-weight: 850;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 10.2vw, 4.55rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 7.5vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

h3 {
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.guide-hero__lead {
  margin-bottom: 13px;
  color: var(--charcoal);
  font-size: 1.11rem;
  font-weight: 740;
  line-height: 1.65;
}

.guide-hero__copy > p:not(.guide-kicker, .guide-hero__lead) {
  color: var(--muted);
}

.guide-hero__actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.guide-button {
  display: inline-grid;
  min-height: 52px;
  padding: 0 20px;
  place-items: center;
  border-radius: 18px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.guide-button--primary {
  background: var(--cobalt);
  box-shadow: 0 12px 26px rgb(20 84 232 / 22%);
  color: #fff;
}

.guide-button--primary:hover {
  background: var(--cobalt-dark);
}

.guide-button--secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--charcoal);
}

.guide-hero__visual {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.guide-hero__visual::after {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--butter);
  content: "";
}

.guide-hero__visual img {
  width: 100%;
  border-radius: 22px;
}

.guide-hero__visual figcaption {
  padding: 12px 8px 5px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.guide-section {
  margin: 26px 0;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 10px 34px rgb(23 32 51 / 6%);
}

.guide-section__number {
  margin-bottom: 9px;
  color: var(--cobalt);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.guide-section__intro {
  color: var(--muted);
}

.summary-grid,
.signal-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.summary-grid article {
  padding: 20px;
  border-radius: 22px;
  background: var(--cobalt-soft);
}

.summary-grid article:nth-child(2) {
  background: var(--butter-soft);
}

.summary-grid article:nth-child(3) {
  background: var(--paper-deep);
}

.summary-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.summary-grid p,
.signal-card p,
.guide-demo > p {
  margin-bottom: 0;
  color: var(--muted);
}

.signal-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  border-top: 7px solid var(--sage);
}

.signal-card--yellow {
  border-top-color: var(--butter);
}

.signal-card--red {
  border-top-color: var(--tomato);
}

.signal-card__label {
  margin-bottom: 3px !important;
  color: var(--charcoal) !important;
  font-size: 0.78rem;
  font-weight: 850;
}

.signal-card h3 {
  margin-bottom: 7px;
  font-size: 1.3rem;
}

.urgent-note {
  margin-top: 16px;
  padding: 20px;
  border-radius: 22px;
  background: #fff0ec;
}

.urgent-note h3 {
  margin-bottom: 7px;
  color: #a72d1b;
}

.urgent-note p {
  margin-bottom: 0;
}

.howto-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 30px;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.howto-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  padding: 15px;
  border-radius: 18px;
  background: var(--paper-deep);
  counter-increment: steps;
}

.howto-list li::before {
  grid-row: span 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  content: counter(steps);
  font-size: 0.82rem;
  font-weight: 900;
}

.howto-list span {
  color: var(--muted);
  font-size: 0.91rem;
}

.guide-demo-grid {
  display: grid;
  gap: 16px;
}

.guide-demo {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.guide-demo__heading p {
  margin-bottom: 1px;
  color: var(--cobalt);
  font-size: 0.76rem;
  font-weight: 850;
}

.guide-demo__heading h3 {
  margin-bottom: 14px;
}

.demo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.demo-pair figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--paper-deep);
}

.demo-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.demo-pair figcaption {
  position: absolute;
  bottom: 7px;
  left: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgb(23 32 51 / 82%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.faq-section details {
  border-top: 1px solid var(--line);
}

.faq-section details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  padding: 18px 32px 18px 0;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.5;
}

.faq-section details p {
  padding: 0 0 18px;
  color: var(--muted);
}

.trust-card {
  margin: 20px 0 26px;
  padding: 20px;
  border-radius: 22px;
  background: var(--cobalt-soft);
}

.trust-card dl,
.trust-card p {
  margin: 0;
}

.trust-card dl {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.trust-card dl div {
  display: grid;
  gap: 2px;
}

.trust-card dt {
  color: var(--cobalt-dark);
  font-size: 0.75rem;
  font-weight: 850;
}

.trust-card dd {
  margin: 0;
}

.trust-card p {
  padding-top: 16px;
  border-top: 1px solid rgb(20 84 232 / 15%);
  color: var(--muted);
  font-size: 0.9rem;
}

.source-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.source-list a {
  color: var(--cobalt-dark);
  font-weight: 720;
}

.guide-share {
  background: var(--charcoal);
  color: #fff;
}

.guide-share .guide-section__number {
  color: var(--butter);
}

.guide-share > p:not(.guide-section__number, .share-status) {
  color: #c7cfdf;
}

.share-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.share-actions button {
  min-height: 50px;
  border: 0;
  border-radius: 17px;
  background: var(--butter);
  color: var(--charcoal);
  cursor: pointer;
  font-weight: 900;
}

.share-actions button:last-child {
  border: 1px solid #4a5467;
  background: transparent;
  color: #fff;
}

.share-status {
  min-height: 1.7em;
  margin: 12px 0 0;
  color: var(--butter);
  font-weight: 750;
}

.manual-share-url {
  margin-top: 12px;
}

.manual-share-url label {
  display: block;
  margin-bottom: 6px;
  color: #c7cfdf;
  font-size: 0.82rem;
}

.manual-share-url input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #4a5467;
  border-radius: 12px;
  background: #222c40;
  color: #fff;
}

.guide-final-cta {
  display: grid;
  gap: 14px;
  margin: 32px 0;
  padding: 30px 22px;
  border-radius: var(--radius-card);
  background: var(--butter-soft);
  text-align: center;
}

.guide-final-cta p {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 850;
}

.guide-footer {
  display: grid;
  gap: 5px;
  padding: 32px 20px calc(100px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.guide-footer p {
  margin: 0;
}

.guide-footer a {
  color: var(--cobalt-dark);
  font-weight: 750;
}

.mobile-start {
  position: fixed;
  z-index: 19;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px max(16px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  border-top: 1px solid rgb(231 223 210 / 85%);
  background: rgb(255 253 248 / 92%);
  backdrop-filter: blur(18px);
}

.mobile-start a {
  display: grid;
  min-height: 52px;
  place-items: center;
  border-radius: 17px;
  background: var(--cobalt);
  box-shadow: 0 12px 26px rgb(20 84 232 / 22%);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

@media (min-width: 580px) {
  .guide-shell {
    width: min(100% - 48px, 760px);
    padding-top: 52px;
  }

  .guide-hero__actions,
  .share-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-section {
    padding: 38px;
  }

  .guide-demo {
    padding: 22px;
  }

  .trust-card dl div {
    grid-template-columns: 130px 1fr;
  }

  .guide-final-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 34px;
    text-align: left;
  }
}

@media (min-width: 820px) {
  .guide-header {
    padding-right: max(32px, calc((100vw - 760px) / 2));
    padding-left: max(32px, calc((100vw - 760px) / 2));
  }

  .signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-start {
    display: none;
  }

  .guide-footer {
    padding-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .guide-header,
  .guide-hero__actions,
  .guide-share,
  .guide-final-cta,
  .mobile-start,
  .guide-footer {
    display: none;
  }

  .guide-shell {
    width: 100%;
    padding: 0;
  }

  .guide-section,
  .guide-hero__visual {
    break-inside: avoid;
    box-shadow: none;
  }
}
