html, body { margin: 0; }
html, body, #root { margin: 0; min-height: 100%; }
body { background: #fff; }
.ys { --navy: #0d1030; --gold: #ffb627; --pink: #ff4f8b; --ink: #15172e; --soft: #f6f1ec; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); }
.ys * { box-sizing: border-box; }
:where(.ys) a { color: inherit; text-decoration: none; }
:where(.ys) h1, :where(.ys) h2, :where(.ys) h3, :where(.ys) p { margin: 0; }
.ys-banner { background: var(--gold); color: var(--navy); font-size: 13px; line-height: 1.4; padding: 8px 16px; text-align: center; font-weight: 600; }
.ys-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--navy); color: #fff; flex-wrap: wrap; }
.ys-logo { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.ys-logo span { color: var(--gold); }
.ys-nav nav { display: flex; gap: 18px; font-size: 14px; }
.ys-nav nav a { display: inline-flex; align-items: center; min-height: 44px; opacity: .85; }
.ys-hero { background-size: cover; background-position: center; color: #fff; padding: 48px 20px 36px; }
.ys-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.ys-hero h1 { font-size: 36px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; max-width: 14em; }
.ys-lede { margin-top: 14px; font-size: 16px; line-height: 1.5; max-width: 32em; opacity: .92; }
.ys-search { margin-top: 28px; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px; display: grid; gap: 4px; max-width: 880px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.ys-field { padding: 10px 12px; border-radius: 10px; }
.ys-field small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6a6c80; font-weight: 700; }
.ys-field span { font-size: 15px; color: #3a3c52; }
.ys-go { background: var(--pink); color: #fff; font-weight: 700; text-align: center; padding: 14px; border-radius: 12px; margin-top: 4px; }
.ys-fine { font-size: 12px; opacity: .75; margin-top: 12px; }
.ys-sec { padding: 40px 20px; }
.ys-sec h2 { font-size: 26px; letter-spacing: -0.02em; font-weight: 800; }
.ys-sub { margin-top: 6px; color: #5b5d73; font-size: 15px; }
.ys-grid { display: grid; gap: 12px; margin-top: 20px; }
.ys-tile { border: 1px solid #e6e1dc; border-radius: 16px; padding: 18px; background: #fff; }
.ys-mark { font-size: 12px; font-weight: 800; color: #c2185b; letter-spacing: .1em; }
.ys-tile h3 { font-size: 20px; margin-top: 8px; font-weight: 800; }
.ys-tile p { margin-top: 4px; color: #5b5d73; font-size: 14px; line-height: 1.4; }
.ys-dark { background: var(--navy); color: #fff; }
.ys-dark .ys-sub { color: #b9bbd6; }
.ys-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ys-chips span { border: 1px solid rgba(255,255,255,.3); padding: 10px 16px; border-radius: 999px; font-size: 15px; }
.ys-cards { display: grid; gap: 12px; margin-top: 20px; }
.ys-card { display: flex; gap: 16px; border: 1px dashed #c9c3bd; border-radius: 16px; padding: 16px; align-items: center; }
.ys-date { width: 64px; flex: none; text-align: center; background: var(--soft); border-radius: 12px; padding: 10px 0; }
.ys-date b { display: block; font-size: 24px; color: #5f6174; }
.ys-date small { font-size: 11px; text-transform: uppercase; color: #5f6174; letter-spacing: .08em; }
.ys-info h3 { font-size: 18px; color: #4a4c60; }
.ys-info p { color: #5f6174; font-size: 14px; margin-top: 2px; }
.ys-btn { display: inline-block; margin-top: 10px; padding: 8px 16px; border-radius: 999px; background: #e3dfda; color: #4f5165; font-size: 13px; font-weight: 700; }
.ys-warm { background: var(--soft); }
.ys-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; }
.ys-steps li { display: flex; gap: 14px; align-items: flex-start; }
.ys-steps b { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 16px; }
.ys-steps h3 { font-size: 18px; font-weight: 800; }
.ys-steps p { margin-top: 4px; color: #55576c; font-size: 15px; line-height: 1.5; }
.ys-foot { background: var(--navy); color: #c9cbe3; padding: 32px 20px 40px; }
.ys-foot .ys-logo { color: #fff; margin-bottom: 12px; }
.ys-foot p { font-size: 13px; line-height: 1.6; max-width: 46em; }
@media (min-width: 768px) {
  .ys-nav, .ys-sec, .ys-foot { padding-left: 48px; padding-right: 48px; }
  .ys-hero { padding: 96px 48px 64px; }
  .ys-hero h1 { font-size: 64px; }
  .ys-lede { font-size: 19px; }
  .ys-search { grid-template-columns: 1.4fr 1.2fr 1fr auto; align-items: center; gap: 4px; }
  .ys-go { margin: 0; padding: 16px 28px; }
  .ys-grid { grid-template-columns: repeat(3, 1fr); }
  .ys-cards { grid-template-columns: repeat(3, 1fr); }
  .ys-steps { grid-template-columns: repeat(3, 1fr); }
  .ys-sec h2 { font-size: 34px; }
}

.ys-nav nav a, .ys-flinks a { display: inline-flex; align-items: center; min-height: 44px; }
.ys-flinks { display: flex; flex-wrap: wrap; gap: 18px; margin: 4px 0 14px; font-size: 14px; color: #fff; }
.ys-page { max-width: 760px; min-height: 360px; }
.ys-prose { margin-top: 16px; display: grid; gap: 14px; font-size: 16px; line-height: 1.6; color: #34364c; }
.ys-prose h3 { font-size: 18px; margin-top: 8px; }
.ys-note { background: #fff4d6; color: #5a4300; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }

/* browsing refinement: round arrow on tiles, scroll-snap row on small screens */
.ys-tile { position: relative; padding-right: 64px; }
.ys-tile::after { content: "\2192"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: #ff4f8b; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
@media (max-width: 640px) {
  .ys-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
  .ys-tile { flex: 0 0 78%; scroll-snap-align: start; }
}
