/* en-us.css — US-site-only overrides, loaded last in <head> on every /en/ page.
   Shared stylesheets (/style.css, /about/style.css, ...) also style the Korean site,
   so US-only changes go here instead. */

/* Sentence case: no all-caps labels */
.footer-col-title,
.editorial-label,
.ceo-card-role,
.ceo-card-section-title,
.info-item-label {
  text-transform: none;
  letter-spacing: normal;
}

/* ── Join the beta (#beta, home) — mobile-first (min-width) ── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.hero-cta-row .btn-secondary { background: #fff; border-color: rgba(16,24,40,.18); border-radius: var(--radius-pill); }
.beta-section { background: var(--bg-soft); padding: 64px 16px; scroll-margin-top: var(--nav-h); }
.beta-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 32px; }
.beta-title { font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }
.beta-desc { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--text-secondary); max-width: 420px; }
.beta-card { background: #fff; border: 1px solid var(--border-medium); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); padding: 24px 20px; }
.beta-form { display: grid; gap: 20px; }
.beta-lead { margin: 0 0 20px; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--text); }
.beta-card:has(#beta-form[hidden]) .beta-lead { display: none; }
.beta-form[hidden] { display: none; }
.beta-field label { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; padding: 0; }
.beta-field input[type="email"] {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
  background: #fff; border: 1px solid rgba(16,24,40,.24); border-radius: var(--radius-input);
}
.beta-field input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.beta-field input[aria-invalid="true"] { border-color: #B42318; }
.beta-err { margin-top: 6px; font-size: 14px; color: #B42318; }
.beta-form-error { font-size: 15px; font-weight: 600; color: #B42318; }
.beta-submit { width: 100%; min-height: 52px; font-size: 16px; }
.beta-legal { font-size: 14px; line-height: 1.6; color: var(--text-muted); text-align: center; margin-top: -8px; }
.beta-legal a { color: #0B6B3A; font-weight: 600; text-decoration: underline; }
.beta-after { font-size: 14px; line-height: 1.6; color: var(--text-muted); text-align: center; margin-top: -12px; }
.beta-hp { position: absolute; left: -9999px; }
/* beta offer: three Pro-month cards (mobile-first) */
.beta-perks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.beta-perk { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid #DCEFE3; border-radius: 14px; }
.beta-perk-n { grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 50%; background: #E7F6EC; color: #0B6B3A; font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.beta-perk-t { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text); }
.beta-perk-v { font-size: 14px; line-height: 1.4; color: #0B6B3A; font-weight: 600; }
.beta-done { padding: 24px 4px; text-align: center; }
.beta-done:focus { outline: none; }
.beta-done-title { font-size: 22px; font-weight: 700; color: var(--text); }
.beta-done-body { margin-top: 8px; font-size: 16px; color: var(--text-secondary); }
@media (min-width: 640px) {
  .beta-card { padding: 32px; }
}
@media (min-width: 960px) {
  .beta-section { padding: 120px 24px; }
  .beta-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .beta-head { position: sticky; top: calc(var(--nav-h) + 32px); }
}

/* Screen-reader-only text */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header: Contact us text link next to the button */
.nav-contact { padding: 8px 12px; font-size: 16px; color: var(--text-secondary); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav-contact:hover, .nav-contact.active { color: var(--text); }
@media (max-width: 768px) { .nav-right .nav-contact { display: none; } }

/* Footer: Product · Resources · Company · Legal, company details in the bottom line */
.footer-cols--us { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.footer-cols--us .footer-col-item a { color: var(--text-secondary); }
.footer-bottom--us { display: grid; gap: 8px; text-align: left; }
.footer-company { font-size: 12px; line-height: 1.7; color: var(--text-muted); }
.footer-company a { color: inherit; }
.footer-tm { font-size: 13px; line-height: 1.6; color: var(--text-muted); }
@media (min-width: 769px) { .footer-cols--us { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; } }

/* Contact: "We can help with" topics under the hero */
.contact-topics { margin: 24px auto 0; max-width: 560px; text-align: center; }
.contact-topics-title { font-size: 14px; font-weight: 600; color: var(--text); }
.contact-topics ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.contact-topics li { padding: 6px 12px; border-radius: 9999px; background: #F0F9F3; font-size: 14px; color: var(--text); }
.success-desc a { color: #0B6B3A; font-weight: 600; text-decoration: underline; }

/* Contact: inquiry options hidden on the US site (Google Form values stay in the HTML) */
.radio-label[hidden] { display: none; }

/* About: closing buttons */
.contact-strip-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-strip-btn--primary { background: var(--brand); color: var(--text-strong); }
.contact-strip-btn--primary:hover { background: #fff; }

/* About: one-line career summary under the founder photo (wraps instead of a single-line chip) */
.ceo-quick-chips .ceo-chip { white-space: normal; text-align: center; line-height: 1.45; padding: 6px 12px; }

/* ── Beta offer bar above the fixed header (en-us-nav.js) ── */
.beta-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 4px 48px 4px 16px;
  background: #F0F9F3; border-bottom: 1px solid #DCEFE3; color: #0B6B3A;
}
.beta-bar-text { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; color: #0B6B3A; }
.beta-bar-link { margin-left: 6px; color: #0B6B3A; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.beta-bar-link:focus-visible, .beta-bar-close:focus-visible { outline: 2px solid #0B6B3A; outline-offset: 2px; }
.beta-bar-close {
  position: absolute; top: 50%; right: 2px; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; border-radius: 9999px; color: #0B6B3A; cursor: pointer;
}
.beta-bar-close:hover { background: rgba(11,107,58,.08); }
/* header, page top padding, and anchor offsets move down by the bar height */
html.has-beta-bar { --bar-h: 40px; --nav-h: calc(72px + var(--bar-h)); }
html.has-beta-bar .top-nav { top: var(--bar-h); }
html.has-beta-bar .mobile-menu-overlay { top: calc(72px + var(--bar-h)); }
@media (max-width: 480px) { .beta-bar-text { font-size: 13px; } }

/* ── Beta section: light green card + "Beta offer" badge ── */
.beta-section { background: var(--surface); }
.beta-inner { padding: 24px 16px; border: 1px solid #DCEFE3; border-radius: 28px; background: linear-gradient(180deg, #F0F9F3, #F7FBF8); }
.beta-badge { display: inline-flex; align-items: center; margin-bottom: 14px; padding: 4px 12px; border-radius: 9999px; background: #fff; border: 1px solid #CFE8D8; font-size: 13px; font-weight: 600; color: #0B6B3A; }
@media (min-width: 640px) { .beta-inner { padding: 40px 32px; } }
@media (min-width: 960px) { .beta-inner { padding: 56px; } }

/* Anchor offset comes from html scroll-padding-top (nav + bar + 16px) only, not twice */
#beta, #features, #sellers, #verdict, #section-faq, #pricing { scroll-margin-top: 0; }

/* ── Buttons (2026-10-21 design audit): one primary, one secondary ──
   Primary = #008533 + white text (4.8:1), pill, ~48px. Secondary = white + gray border + dark text, pill. */
.btn-accent, .btn-dark, .btn-primary,
.top-nav .nav-cta, .mobile-menu-actions .btn,
.beta-submit, .submit-btn, .contact-strip-btn--primary,
.kbeauty-cta-footer .kbeauty-cta-btn {
  background: #008533 !important; color: #fff !important; border: 1px solid #008533 !important;
  border-radius: 9999px !important; box-shadow: none !important;
  min-height: 48px; padding: 12px 28px; font-size: 16px; font-weight: 600; line-height: 1.2;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
}
.btn-accent:hover, .btn-dark:hover, .btn-primary:hover,
.top-nav .nav-cta:hover, .mobile-menu-actions .btn:hover,
.beta-submit:hover, .submit-btn:hover, .contact-strip-btn--primary:hover,
.kbeauty-cta-footer .kbeauty-cta-btn:hover { background: #006B29 !important; border-color: #006B29 !important; color: #fff !important; }
.top-nav .nav-cta { min-height: 40px; padding: 9px 20px; font-size: 15px; }
.btn-secondary, .contact-strip-btn:not(.contact-strip-btn--primary), .ub-trial {
  background: #fff !important; color: var(--text) !important; border: 1px solid rgba(16,24,40,.24) !important;
  border-radius: 9999px !important; min-height: 48px; padding: 12px 28px; font-size: 16px; font-weight: 600; line-height: 1.2;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
}
.btn-secondary:hover, .contact-strip-btn:not(.contact-strip-btn--primary):hover, .ub-trial:hover { background: #F8FAFC !important; border-color: var(--text) !important; }
.btn-accent:focus-visible, .btn-dark:focus-visible, .btn-secondary:focus-visible, .nav-cta:focus-visible,
.beta-submit:focus-visible, .submit-btn:focus-visible, .contact-strip-btn:focus-visible, .ub-trial:focus-visible, .kbeauty-cta-btn:focus-visible {
  outline: 2px solid #0B6B3A; outline-offset: 3px;
}
.submit-btn { width: 100%; }
.beta-submit { width: 100%; }
.hero-cta-row .btn { padding: 12px 28px; }
@media (max-width: 768px) { .top-nav .nav-cta { display: none; } }

/* ── Minimum text size (2026-10-21 design audit): 10–12px → 13px+ (product-screen mockups excluded) ── */
.footer-col-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer-company, .footer-company a, .footer-copy { font-size: 13px; }
.ceo-card-role { font-size: 14px; }
.ceo-quick-chips .ceo-chip { font-size: 14px; }
.info-item-label { font-size: 13px; }
.tl-upcoming { font-size: 13px; }
.uh-badge { font-size: 13px; }
.table-wrap th, .table-wrap td { font-size: 13px; }
body > div > p[style*="font-size:12px"] { font-size: 13px !important; }
/* Terms · Privacy: "© 2026 UserWhy" gray → #475569 (7.6:1) */
body > div > p[style*="color:#9ca3af"] { color: #475569 !important; }

/* Contact: two info cards (email · support) side by side under the form from 769px; stacked on phones */
@media (min-width: 769px) { .info-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Green logo mark, same as the domestic renewal site (2026-10-22 PO): 28 x 28, 8px corners, 8px from "UserWhy.ai".
   File: /en-us-logos/userwhy-logo-mark.png (112 x 112, sharp on 2x and 3x screens) */
.top-nav .nav-logo { gap: 8px; align-items: center; }
.top-nav .nav-logo-mark { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
/* Mark : text proportions (2026-10-22 PO): mark about 1.15 x the text size, gap about 0.3 x the mark, corners about 0.29 x the mark.
   Header keeps the domestic site values (28 / 8 / 8). Footer text 18px: mark 21, gap 6, corners 6, line box = mark height for a true center */
.footer-logo { display: flex; align-items: center; gap: 6px; line-height: 21px; }
.footer-logo-mark { width: 21px; height: 21px; border-radius: 6px; flex-shrink: 0; }

/* ── Beta section as an event (2026-10-23 PO). Dark band with a soft green glow at the bottom center; green only for the glow,
   dot, chips and highlights (no wide dark green area). Text is white / light gray (4.5:1 or more); the form card stays white ── */
:root { --uh-ink: #0F0F0F; }
#beta.beta-event { background: radial-gradient(60% 55% at 50% 100%, rgba(36, 191, 88, 0.22), rgba(36, 191, 88, 0) 70%), var(--uh-ink); color: #E5E7EB; }
.beta-event .beta-inner { padding: 0; border: 0; border-radius: 0; background: none; }
.beta-event .beta-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: #E5E7EB; }
.beta-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
@media (prefers-reduced-motion: no-preference) { .beta-dot { animation: beta-blink 2.4s ease-in-out infinite; } }
@keyframes beta-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.beta-event .beta-title { color: #fff; font-weight: 700; }
.beta-event .beta-desc { color: #CBD5E1; }
.beta-coupon { position: relative; margin-top: 24px; padding: 18px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px;
  border: 1.5px dashed rgba(255, 255, 255, 0.38); border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.beta-coupon::before, .beta-coupon::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--uh-ink); border: 1.5px dashed rgba(255, 255, 255, 0.38); }
.beta-coupon::before { left: -12px; clip-path: inset(0 0 0 50%); }
.beta-coupon::after { right: -12px; clip-path: inset(0 50% 0 0); }
.beta-coupon-main { grid-column: 1; font-size: 22px; font-weight: 800; line-height: 1.25; color: #fff; letter-spacing: -0.01em; }
.beta-coupon-price { grid-column: 2; grid-row: 1 / span 2; font-size: 16px; color: #CBD5E1; white-space: nowrap; }
.beta-coupon-price s { color: #94A3B8; }
.beta-coupon-price b { margin-left: 2px; font-size: 32px; font-weight: 800; color: #4ADE80; }
.beta-coupon-note { grid-column: 1; font-size: 13px; color: #A1A1AA; }
.beta-benefits { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.beta-benefits li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.beta-ben-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #4ADE80; }
.beta-ben-ic svg { width: 20px; height: 20px; }
.beta-benefits b { display: block; font-size: 16px; font-weight: 700; line-height: 1.5; color: #fff; }
.beta-benefits div span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.55; color: #A1A1AA; }
.beta-chip { align-self: center; padding: 4px 10px; border-radius: 9999px; background: rgba(74, 222, 128, 0.14); border: 1px solid rgba(74, 222, 128, 0.35); color: #4ADE80; font-size: 12px; font-weight: 700; white-space: nowrap; }
.beta-event .beta-perks-sum { margin-top: 22px; font-size: 15px; font-weight: 600; line-height: 1.5; color: #E5E7EB; }
.beta-event .beta-perks-sum b { color: #4ADE80; font-weight: 800; }
.beta-event .beta-card { border-color: transparent; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6); }
@media (max-width: 480px) {
  .beta-coupon { grid-template-columns: minmax(0, 1fr); padding: 16px 22px; }
  .beta-coupon-price { grid-column: 1; grid-row: auto; }
  .beta-coupon-main { font-size: 20px; }
}

/* Desktop two-column beta: the form card sits in the vertical middle of the left column (2026-10-23 PO). Phones keep the stacked order */
@media (min-width: 960px) { #beta.beta-event .beta-card { align-self: center; } }

/* Beta form B plan (2026-10-23): required consent checkbox, success screen button */
.beta-agree { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--text-secondary); cursor: pointer; }
.beta-agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #008533; cursor: pointer; }
.beta-agree input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.beta-agree input[aria-invalid="true"] { outline: 2px solid #B42318; outline-offset: 2px; }
.beta-agree-field .beta-err { margin-left: 30px; }
.beta-done-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; min-height: 48px; padding: 0 24px; text-decoration: none; }

/* ── Header language menu EN / KR (team request 2026-10-23). Base look (globe, "EN", white dropdown) comes from the shared
   .nav-lang styles in style.css, same as the Korean header. Here: links instead of buttons, keyboard focus, and the row in the
   mobile menu. On phones the header keeps the globe only (shared rule hides "EN"), like the Korean header ── */
.nav-lang-toggle { border-radius: 8px; }
.nav-lang-item { text-decoration: none; line-height: 1.4; }
.nav-lang-item[aria-current="true"] { color: var(--text); }
.nav-lang-toggle:focus-visible, .nav-lang-item:focus-visible, .mnav-lang-item:focus-visible { outline: 2px solid #0B6B3A; outline-offset: 2px; }
.mnav-lang { display: flex; align-items: center; gap: 4px; margin-top: 8px; padding-top: 12px; border-top: 1px solid #E5E7EB; color: #475569; }
.mnav-lang-globe { flex-shrink: 0; margin-right: 4px; }
.mobile-menu-overlay .mnav-lang-item { padding: 10px 14px; font-size: 16px; border-radius: 8px; }
.mobile-menu-overlay .mnav-lang-item[aria-current="true"] { color: var(--text); }
