/* Extend the existing indigo / violet ContiNote introduction theme. */
main.has-leader-gift { width: min(100%, 820px); min-height: 100vh; min-height: 100svh; padding-top: max(30px, env(safe-area-inset-top)); }
.has-leader-gift .logo { width: 170px; margin-top: 0; }
.has-leader-gift .wordmark { width: 200px; margin-top: 8px; }
.has-leader-gift .install-area { margin-top: 30px; }
.install-grid, .hero-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.install-grid .platform-group { min-width: 0; margin: 0; padding: 22px; border: 1px solid #6278bd88; border-radius: 22px; background: linear-gradient(145deg, #263b75e8, #192a5de8); }
.install-grid .platform-group:first-child { display: grid; place-items: center; }
.install-grid .platform-group > p { color: #cbd5f4; margin: 16px 0 0; font-size: .8125rem; line-height: 1.7; overflow-wrap: anywhere; }
.install-grid .platform-group:last-child > p { text-align: left; }
.install-grid .apple-step { width: 100%; min-height: 144px; padding: 0; flex-direction: column; gap: 12px; border: 0; border-radius: 12px; background: transparent; box-shadow: none; }
.install-grid .apple-step .store-button-label { text-align: center; }
.store-brand { display: block; height: auto; object-fit: contain; }
.store-brand--appstore { width: 96px; height: 96px; }
.store-brand--googleplay { width: 72px; }
.store-brand-link { display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.install-card-top { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; min-height: 144px; align-items: center; }
.install-card-top .buttons { min-width: 0; gap: 8px; }
.install-card-top .store-button { min-height: 54px; padding: 9px 10px; gap: 9px; justify-content: flex-start; border-radius: 12px; box-shadow: inset 0 1px #ffffff30; }
.install-card-top .step-number { width: 29px; height: 29px; flex-basis: 29px; font-size: .8125rem; }
.has-leader-gift .store-button-label strong, .has-leader-gift .store-button-label small { white-space: normal; }
.has-leader-gift .store-button-label strong { font-size: 1.0625rem; line-height: 1.5; }
.has-leader-gift .store-button-label small { font-size: .875rem; line-height: 1.6; }
.has-leader-gift .install-card-top .store-button-label small { font-size: .75rem; line-height: 1.4; }
.hero-shortcuts { width: 100%; margin: 16px 0 0; }
.hero-shortcut { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr) 18px; gap: 14px; align-items: center; padding: 16px 20px; min-height: 116px; border: 1px solid #6278bd88; border-radius: 22px; background: linear-gradient(145deg,#263b75e8,#192a5de8); color: #fff; text-align: left; text-decoration: none; font: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
.hero-shortcut--gift { border-color: #a696ff9c; background: radial-gradient(ellipse at 0 0,#a27aff30,transparent 70%),linear-gradient(145deg,#303c7e,#232b60); box-shadow: inset 0 1px #ffffff18,0 12px 36px #090f3338; }
.hero-shortcut:hover { transform: translateY(-2px); border-color: #b2a4ff; }
.hero-shortcut:focus-visible, .install-grid a:focus-visible, .gift-dialog button:focus-visible, .gift-dialog a:focus-visible { outline: 2px solid #a6e4ff; outline-offset: 4px; }
.shortcut-icon { display: grid; place-items: center; width: 42px; height: 46px; border-radius: 14px; color: #cfdaff; background: #ffffff0d; }
.hero-shortcut--gift .shortcut-icon { color: #fff; background: linear-gradient(135deg,#846afa,#bb63c0); box-shadow: inset 0 1px #ffffff55; }
.shortcut-icon svg { width: 25px; height: 25px; }
.hero-shortcut strong { display: block; font-size: 1.0625rem; line-height: 1.5; letter-spacing: -.025em; }
.hero-shortcut small { display: block; margin-top: 7px; color: #c2cdee; font-size: .875rem; line-height: 1.6; }
.shortcut-arrow { color: #b5c4ec; font-size: 1.4rem; }
.hero-release { max-width: 710px; margin: 18px auto 0; color: #b5c3e7; font-size: .8125rem; line-height: 1.65; text-align: center; }
.pro-preview p.hero-basic-note { margin-top: 20px; font-size: .9375rem; }
.site-footer { flex-wrap: wrap; }
.site-footer .brand-attribution { flex-basis: 100%; color: #9eabd0; font-size: .6875rem; line-height: 1.6; }
.has-leader-gift .hero-guide { margin-top: auto; padding-top: 24px; }
.gift-dialog { width: min(660px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: auto; border: 1px solid #8c84ce; border-radius: 26px; color: #fff; background: linear-gradient(150deg,#263b75,#172657 65%); box-shadow: 0 30px 100px #05091bb3,inset 0 1px #ffffff22; overscroll-behavior: contain; }
.gift-dialog::backdrop { background: #060c24a6; backdrop-filter: blur(8px); }
.gift-dialog-inner { padding: 28px 34px 32px; }
.gift-close { width: 40px; height: 40px; flex-shrink: 0; align-self: flex-start; border-radius: 50%; border: 1px solid #788dd088; background: #ffffff0a; color: #e5eaff; font-size: 26px; cursor: pointer; }
.gift-heading { display: flex; align-items: center; gap: 14px; }
.gift-heading .shortcut-icon { flex-shrink: 0; color: #fff; background: linear-gradient(135deg,#846afa,#bb63c0); }
.gift-dialog h2 { flex: 1; min-width: 0; font-size: clamp(23px,4vw,29px); letter-spacing: -.04em; line-height: 1.4; margin: 0; }
.gift-copy { margin-top: 25px; color: #d6dff5; font-size: 1rem; line-height: 1.85; word-break: normal; overflow-wrap: anywhere; }
.gift-copy p { margin: 0 0 17px; }
.gift-copy p:last-child { margin-bottom: 0; }
.gift-contact { margin-top: 26px; padding-top: 24px; border-top: 1px solid #788dd055; }
.gift-email { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 1px solid #b0a4ff; border-radius: 15px; padding: 15px 18px; color: #fff; background: linear-gradient(135deg,#8066e8,#6253c0); text-decoration: none; text-align: center; line-height: 1.5; }
.gift-email strong { font-size: 1rem; }
.gift-email span { font-size: .875rem; color: #ece7ff; }
.gift-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; font-size: .875rem; }
.gift-links a { color: #cbd9ff; text-underline-offset: 4px; }
@media (max-width: 620px) {
  main.has-leader-gift { padding-left: 20px; padding-right: 20px; }
  .has-leader-gift .logo { width: 125px; }
  .has-leader-gift .wordmark { width: 155px; }
  .install-grid, .hero-shortcuts { grid-template-columns: 1fr; gap: 12px; }
  .install-grid .platform-group { padding: 20px; }
  .install-card-top { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
  .install-card-top .store-brand--googleplay { width: 64px; }
  .install-card-top .buttons { width: 100%; }
  .hero-shortcut { min-height: 104px; padding: 16px 20px; }
  .gift-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 22px; }
  .gift-dialog-inner { padding: 20px 22px 26px; }
  .gift-heading { gap: 10px; }
  .gift-heading .shortcut-icon { width: 36px; height: 40px; }
  .gift-copy { line-height: 1.8; }
}
@media (max-width: 360px) {
  .install-card-top .store-button { padding: 9px 8px; gap: 7px; }
  .install-card-top .step-number { width: 25px; height: 25px; flex-basis: 25px; }
  .gift-heading .shortcut-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-shortcut { transition: none; } }
