html { scroll-behavior: smooth; }

.wrap { width: min(1200px, 100% - 64px); margin-inline: auto; }

.site-nav { position: relative; z-index: 5; }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; }
.site-nav .wordmark { font-size: 34px; }
.more-button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.more-button:hover, .more-button[aria-expanded='true'] { background: var(--surface-3); color: var(--text); }
.more-button .icon { width: 26px; height: 26px; }

.more-menu { position: fixed; top: 80px; right: 40px; z-index: 40; width: 360px; max-width: calc(100% - 24px); padding-bottom: 20px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-3); animation: pop 220ms var(--ease); }
.more-head { position: relative; display: flex; align-items: center; justify-content: center; height: 58px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.more-close { position: absolute; right: 12px; top: 11px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; }
.more-close:hover { background: var(--surface-2); }
.more-group { margin: 20px 12px 0; overflow: hidden; border-radius: 14px; background: var(--surface-2); }
.more-group a { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 12px; font-size: 15px; text-decoration: none; transition: background-color 160ms var(--ease); }
.more-group a:hover { background: var(--surface-3); }
.more-group .icon { width: 16px; height: 16px; color: var(--text-3); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }

.hero { display: grid; grid-template-columns: 470px minmax(0, 1fr); gap: 40px; align-items: center; min-height: calc(100svh - 96px); padding-block: 8px 48px; }
.hero h1 { font-size: 42px; font-weight: 800; line-height: 1.14; letter-spacing: -0.025em; text-transform: uppercase; text-wrap: balance; }
.hero-sub { margin-top: 12px; color: var(--text-2); font-size: 18px; line-height: 1.3; }
.login-main { display: flex; align-items: center; justify-content: center; gap: 10px; width: 320px; max-width: 100%; height: 50px; margin-top: 28px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-2); font-size: 16px; font-weight: 500; text-decoration: none; transition: box-shadow 180ms var(--ease), transform 180ms var(--ease); }
.login-main:hover { box-shadow: var(--shadow-3); transform: translateY(-1px); }
.login-main:active { transform: scale(0.985); }
.g-icon { width: 22px; height: 22px; }
.or { display: flex; align-items: center; gap: 16px; width: 288px; max-width: 100%; margin: 20px 16px; color: var(--text-3); font-size: 14px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.login-icons { display: flex; justify-content: center; gap: 20px; width: 320px; max-width: 100%; }
.login-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-2); transition: box-shadow 180ms var(--ease), transform 180ms var(--ease); }
.login-icon:hover { box-shadow: var(--shadow-3); transform: translateY(-1px); }
.login-icon .icon { width: 24px; height: 24px; }
.guest-link { display: block; width: 320px; max-width: 100%; margin-top: 14px; color: var(--accent); font-size: 14px; font-weight: 600; text-align: center; text-underline-offset: 3px; }
.consent { width: 340px; max-width: 100%; margin-top: 18px; color: var(--text-2); font-size: 12px; line-height: 1.4; }
.tick { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; cursor: pointer; }
.tick input { appearance: none; position: relative; flex: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--text-3); border-radius: 5px; background: var(--surface); cursor: pointer; transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.tick input:checked { border-color: var(--accent); background: var(--accent); }
.tick input:checked::after { content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.hero-card { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 3px solid transparent; border-radius: 28px; background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(115deg, #ff7a2f, #ff4f6d 50%, #ffb300) border-box; box-shadow: var(--shadow-3); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero-tag { position: absolute; left: 24px; bottom: 24px; padding: 10px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-2); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; transform: rotate(-2deg); }
.hero-tag::after { content: ''; display: block; width: 64%; height: 4px; margin-top: 4px; border-radius: 4px; background: var(--accent); }

.sub-head { position: sticky; top: 0; z-index: 4; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); }
.sub-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.sub-head a:not(.wordmark) { color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 160ms var(--ease); }
.sub-head a:not(.wordmark):hover { color: var(--accent); }

.pill-cta { display: inline-flex; align-items: center; justify-content: center; width: 360px; max-width: 100%; height: 56px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; text-transform: uppercase; box-shadow: 0 10px 24px rgba(216, 67, 21, 0.28); transition: background-color 180ms var(--ease), transform 180ms var(--ease); }
.pill-cta:hover { background: var(--accent-hover); }
.pill-cta:active { transform: scale(0.985); }

.intro { padding-block: 64px 72px; text-align: center; }
.intro h2 { max-width: 20em; margin: 0 auto 32px; font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; }
.intro-photo { max-width: 880px; aspect-ratio: 16 / 8; margin: 0 auto 32px; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-2); }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro .prose { margin: 40px auto 0; padding-top: 40px; border-top: 1px solid var(--line); text-align: left; }

.photo-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.photo-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-1); transition: box-shadow 240ms var(--ease), transform 240ms var(--ease); }
.photo-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.photo-card > div:first-child { aspect-ratio: 16 / 9; overflow: hidden; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card > div:last-child { padding: 22px 24px 26px; }
.photo-card h3 { margin-bottom: 6px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.photo-card p { color: var(--text-2); }

dialog.terms { width: min(380px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 26px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-3); }
dialog.terms::backdrop { background: rgba(31, 26, 23, 0.55); }
.terms-body { position: relative; padding: 28px 22px 22px; }
.terms-close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; }
.terms-close:hover { background: var(--surface-2); }
.terms-body .wordmark { display: block; margin-bottom: 16px; text-align: center; }
.terms-body h2 { font-size: 19px; font-weight: 700; line-height: 1.25; text-align: center; }
.terms-body > p { margin-top: 16px; color: var(--text-2); }
.terms-body .tick { margin-top: 12px; font-size: 14px; line-height: 1.35; }
.terms-actions { display: grid; gap: 10px; margin-top: 22px; }
.terms-actions .btn { width: 100%; height: 54px; border-radius: 16px; font-size: 16px; }
.btn-outline { border-color: var(--accent); background: var(--surface); color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }

.section { padding-block: 72px; }
.section-tint { background: var(--surface); }
.section-title { max-width: 18em; margin: 0 auto 48px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-1); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps h3, .card h3 { margin-bottom: 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.steps p, .card p { color: var(--text-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding-block: 36px; }
.split:nth-child(even) .split-photo { order: 2; }
.split-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px; background: var(--surface-3); box-shadow: var(--shadow-2); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.split:hover .split-photo img { transform: scale(1.025); }
.split h3 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 600; line-height: 1.15; letter-spacing: -0.022em; }
.split p { max-width: 28em; margin-top: 14px; color: var(--text-2); font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-1); transition: box-shadow 240ms var(--ease), transform 240ms var(--ease); }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }

.compare-wrap { max-width: 860px; margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-1); }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { padding-left: 24px; text-align: left; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--text); color: #fff; font-size: 14px; font-weight: 500; }
.compare thead th:last-child { background: var(--accent); }
.compare td:not(:first-child) { color: var(--text-2); }

.prose { max-width: 44rem; color: var(--text-2); font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 16px; }
.prose-list { max-width: 44rem; padding-left: 20px; color: var(--text-2); font-size: 17px; line-height: 1.7; list-style: disc; }
.prose-list li + li { margin-top: 8px; }
.text-link { display: inline-flex; margin-top: 20px; color: var(--accent-hover); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.faq { max-width: 1000px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: box-shadow 200ms var(--ease); }
.faq details[open] { box-shadow: var(--shadow-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-3); transition: transform 240ms var(--ease), color 240ms var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--accent); }
.faq p { max-width: 44rem; padding: 0 22px 20px; color: var(--text-2); animation: pop 240ms var(--ease); }

.closing { padding-block: 72px; background: var(--accent); color: #fff; text-align: center; }
.closing h2 { max-width: 16em; margin: 0 auto 28px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
.closing .pill-cta { background: #fff; color: var(--accent); box-shadow: 0 10px 24px rgba(60, 20, 0, 0.25); }
.closing .pill-cta:hover { background: var(--surface-2); }

.article-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; padding-block: 32px 72px; }
.article-head.no-photo { grid-template-columns: 1fr; padding-bottom: 16px; }
.article-head h1 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }
.article-lead { max-width: 30em; margin-top: 20px; color: var(--text-2); font-size: 19px; }
.article-head .btn { margin-top: 28px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--text-3); font-size: 13px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.note { color: var(--text-3); font-size: 14px; }

.footer { padding-block: 40px; border-top: 1px solid var(--line); background: var(--surface); color: var(--text-3); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { text-decoration: none; transition: color 180ms var(--ease); }
.footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 40px); }
  .site-nav .wrap { height: 68px; }
  .site-nav .wordmark { font-size: 28px; }
  .more-menu { top: 64px; right: 12px; }
  .hero { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-block: 0 40px; }
  .hero-card { order: -1; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .login-main, .login-icons, .guest-link, .consent { width: 100%; }
  .or { width: auto; }
  .hero-tag { left: 14px; bottom: 14px; padding: 6px 12px; font-size: 15px; }
  .section { padding-block: 48px; }
  .section-title { margin-bottom: 28px; }
  .intro { padding-block: 40px 48px; }
  .intro-photo { aspect-ratio: 16 / 10; border-radius: 22px; }
  .pill-cta { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li::before { margin-bottom: 16px; }
  .split, .article-head { grid-template-columns: 1fr; gap: 24px; }
  .split { padding-block: 24px; }
  .split:nth-child(even) .split-photo { order: 0; }
  .photo-cards { grid-template-columns: 1fr; gap: 16px; }
  .article-head { padding-block: 8px 40px; }
  .closing { padding-block: 48px; }
  .compare th:first-child, .compare td:first-child { padding-left: 16px; }
}

/* Safety Center */
.section-intro { max-width: 46em; margin: -8px 0 20px; color: var(--text-2); }
.safety-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.safety-badge { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.safety-badge-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.safety-badge-icon .icon { width: 22px; height: 22px; }
.safety-badge b { font-size: 16px; }
.safety-badge small { color: var(--text-2); font-size: 14px; }
.safety-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.safety-stat { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); }
.safety-stat b { color: var(--accent); font-size: 34px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.safety-stat b.is-text { color: var(--text-2); font-size: 22px; line-height: 1.55; }
.safety-stat span { font-weight: 600; }
.safety-stat small { color: var(--text-2); font-size: 13px; }
.safety-updates { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.safety-update, .safety-guide, .safety-rule { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.safety-update > div { padding: 18px; }
.safety-update h3, .safety-guide h3, .safety-rule h3 { margin-bottom: 6px; font-size: 18px; }
.safety-update p { color: var(--text-2); }
.safety-update small { display: block; margin-top: 10px; color: var(--text-3); font-size: 13px; }
.safety-shot { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; background: var(--surface-2); }
.safety-guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.safety-guide h3 { padding: 16px 18px 0; }
.safety-guide ol, .safety-rule ol { display: grid; gap: 6px; margin: 0; padding: 8px 18px 18px 38px; color: var(--text-2); list-style: decimal; }
.safety-guide li::marker, .safety-rule li::marker { color: var(--accent); font-weight: 700; }
.safety-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.safety-rule { padding-top: 18px; }
.safety-rule h3, .safety-rule p { padding: 0 18px; }
.safety-rule-sub { color: var(--accent); font-size: 14px; font-weight: 600; }
.safety-rule > p:not(.safety-rule-sub) { margin-top: 6px; color: var(--text-2); }
.safety-resources { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.safety-resource { display: flex; flex-direction: column; gap: 2px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color 180ms var(--ease); }
.safety-resource:hover { border-color: var(--accent); }
.safety-resource span { color: var(--text-2); font-size: 14px; }
.safety-resource b { color: var(--accent); font-size: 24px; overflow-wrap: anywhere; }
.safety-resource b.is-email { font-size: 16px; line-height: 1.9; }
.safety-resource small { color: var(--text-2); font-size: 13px; }
