:root {
  --wv-blue: #1473e6;
  --wv-blue-strong: #0758c7;
  --wv-blue-soft: #edf5ff;
  --wv-orange: #ff6b2c;
  --wv-orange-soft: #fff1e9;
  --wv-ink: #18243a;
  --wv-muted: #66758b;
  --wv-line: #e4e9f1;
}

.wv-page,
.wv-page * { box-sizing: border-box; }
.wv-page { min-height: 100vh; overflow: auto; color: var(--wv-ink); background: #fff; font-family: "Noto Sans SC Variable",sans-serif; }
.wv-page button,
.wv-page textarea { font: inherit; }
.wv-page a { color: inherit; text-decoration: none; }

.wv-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: minmax(220px,1fr) auto minmax(220px,1fr);
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(20px,4vw,64px);
  border-bottom: 1px solid rgba(223,228,237,.9);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
}
.wv-brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.wv-brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: linear-gradient(145deg,var(--wv-blue),#5068ee); box-shadow: 0 8px 20px rgba(20,115,230,.2); font-weight: 850; }
.wv-brand > span:last-child { display: grid; gap: 2px; }
.wv-brand strong { font-size: 15px; letter-spacing: .01em; }
.wv-brand small { color: #7b879a; font-size: 7px; font-weight: 750; letter-spacing: .15em; }
.wv-nav-links { display: flex; align-items: center; gap: 30px; color: #56657a; font-size: 12px; font-weight: 650; }
.wv-nav-links a { position: relative; padding: 26px 0; }
.wv-nav-links a::after { content: ""; position: absolute; right: 0; bottom: 17px; left: 0; height: 2px; border-radius: 2px; background: var(--wv-orange); transform: scaleX(0); transition: transform .18s ease; }
.wv-nav-links a:hover::after,
.wv-nav-links a:focus-visible::after { transform: scaleX(1); }
.wv-nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.wv-login { height: 38px; padding: 0 15px; border-radius: 9px; color: #344258; background: transparent; font-size: 12px; font-weight: 700; }
.wv-login:hover { background: #f4f6f9; }
.wv-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 40px; padding: 0 18px; border-radius: 10px; font-size: 12px; font-weight: 760; }
.wv-button-primary { color: #fff; background: var(--wv-blue); box-shadow: 0 8px 22px rgba(20,115,230,.2); }
.wv-button-primary:hover { background: var(--wv-blue-strong); transform: translateY(-1px); }

.wv-main { min-height: calc(100vh - 230px); }
.wv-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 232px);
  padding: clamp(60px,8vw,112px) 24px 88px;
  overflow: hidden;
  background: #fff;
}
.wv-hero-copy { position: relative; z-index: 2; width: min(920px,100%); text-align: center; }
.wv-hero h1 { margin: 0 0 12px; color: #17243a; font-size: clamp(38px,4.6vw,62px); font-weight: 760; line-height: 1.08; letter-spacing: -.05em; }
.wv-hero-copy > p { max-width: 660px; margin: 0 auto; color: #6b788b; font-size: 13px; line-height: 1.8; }
.wv-hero-prompt { width: min(820px,100%); margin: 28px auto 0; padding: 20px; border: 1px solid #e2e7ee; border-radius: 18px; background: #fff; box-shadow: 0 8px 30px rgba(37,62,98,.06); text-align: left; }
.wv-hero-prompt > label { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #31445f; font-size: 12px; font-weight: 680; }
.wv-hero-prompt > label i { width: 7px; height: 7px; border-radius: 50%; background: var(--wv-orange); box-shadow: 0 0 0 4px rgba(255,107,44,.1); }
.wv-hero-prompt textarea { display: block; width: 100%; min-height: 112px; padding: 13px 14px; resize: vertical; border: 1px solid #dfe5ed; border-radius: 11px; outline: 0; color: #263a55; background: #fbfcfe; font-size: 13px; line-height: 1.7; user-select: text; }
.wv-hero-prompt textarea:focus { border-color: #86b4ea; box-shadow: 0 0 0 4px rgba(20,115,230,.08); background: #fff; }
.wv-hero-prompt textarea::placeholder { color: #9aa7b9; }
.wv-prompt-footer { margin-top: 14px; }
.wv-prompt-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 42px; padding: 0 14px; border-radius: 11px; color: #fff; background: var(--wv-blue); box-shadow: none; font-size: 12px; font-weight: 760; }
.wv-prompt-submit:hover { background: var(--wv-blue-strong); }
.wv-prompt-submit span { font-size: 20px; }

.wv-footer { display: grid; grid-template-columns: minmax(250px,1fr) auto; align-items: start; gap: 28px 40px; min-height: 158px; padding: 30px clamp(20px,4vw,64px) 24px; border-top: 1px solid var(--wv-line); background: #f7f9fc; }
.wv-footer-brand { display: flex; align-items: center; gap: 11px; }
.wv-footer-brand > div { display: grid; gap: 4px; }
.wv-footer-brand strong { font-size: 12px; }
.wv-footer-brand p { margin: 0; color: #7b889a; font-size: 9px; }
.wv-footer-actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; color: #55667d; font-size: 10px; }
.wv-footer-actions > a:hover { color: var(--wv-blue); }
.wv-platform-agreements { position: relative; z-index: 60; }
.wv-platform-agreements summary { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 8px; color: #fff; background: var(--wv-blue); cursor: pointer; list-style: none; font-weight: 760; }
.wv-platform-agreements summary::-webkit-details-marker { display: none; }
.wv-platform-agreements summary span { transition: transform .18s ease; }
.wv-platform-agreements[open] summary span { transform: rotate(180deg); }
.wv-platform-agreements nav { position: absolute; right: 0; bottom: calc(100% + 9px); display: grid; width: 218px; padding: 8px; border: 1px solid #dce3ed; border-radius: 12px; background: #fff; box-shadow: 0 16px 44px rgba(31,50,77,.18); }
.wv-platform-agreements nav a { padding: 10px 11px; border-radius: 7px; color: #3f5068; font-size: 10px; }
.wv-platform-agreements nav a:hover { color: var(--wv-blue); background: var(--wv-blue-soft); }
.wv-platform-agreements nav a:first-child { border-left: 2px solid var(--wv-orange); }
.wv-footer-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding-top: 18px; border-top: 1px solid var(--wv-line); color: #8490a2; font-size: 9px; }
.wv-footer-meta button { color: #62748c; background: transparent; font-size: 9px; }
.wv-footer-meta button:hover { color: var(--wv-blue); }
.wv-footer-meta span { margin-left: auto; }

@media (max-width: 760px) {
  .wv-nav { grid-template-columns: 1fr auto; min-height: 62px; padding: 0 14px; }
  .wv-nav-links { display: none; }
  .wv-brand small { display: none; }
  .wv-brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .wv-login { padding: 0 9px; }
  .wv-button { height: 37px; padding: 0 12px; }
  .wv-hero { min-height: calc(100vh - 62px); padding: 64px 14px 60px; }
  .wv-hero h1 { font-size: clamp(28px,7vw,38px); }
  .wv-hero-copy > p { font-size: 13px; }
  .wv-hero-prompt { margin-top: 27px; padding: 14px; border-radius: 17px; }
  .wv-hero-prompt textarea { min-height: 120px; font-size: 14px; }
  .wv-prompt-submit { width: 100%; }
  .wv-footer { grid-template-columns: 1fr; }
  .wv-footer-actions { justify-content: flex-start; flex-wrap: wrap; gap: 10px 16px; }
  .wv-platform-agreements nav { right: auto; left: 0; }
  .wv-footer-meta { flex-wrap: wrap; }
  .wv-footer-meta span { width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wv-page * { animation: none !important; transition: none !important; }
}

