@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --bg: #060606;
  --bg-secondary: #111111;
  --panel: rgba(14, 14, 14, 0.88);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --text-secondary: #cfcfcf;
  --muted: #9a9a9a;
  --accent: #f6f3eb;
  --accent-dark: #111111;
  --success: #73f0a0;
  --error: #ff8a80;
  --focus-ring: rgba(255, 255, 255, 0.24);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 24%),
    linear-gradient(180deg, #050505 0%, #151515 100%);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

*::selection {
  background: rgba(255, 255, 255, 0.16);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

*:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.shell {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.shell--home,
.shell--thank-you {
  min-height: 100vh;
  display: grid;
  align-content: center;
}

.hero-card,
.content-card {
  border-radius: 24px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-card {
  padding: 2.5rem;
}

.content-card {
  margin-top: 1.5rem;
  padding: 2rem;
}

.content-card--compact {
  padding: 1.5rem 2rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2 {
  margin: 0;
  line-height: 0.95;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 5.4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.lede {
  max-width: 56ch;
  margin: 1.2rem 0 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.metric-grid article {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.metric-grid span,
.detail-list dt {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-grid strong,
.detail-list dd {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.lead-form {
  display: grid;
  gap: 1.1rem;
}

.lead-form label {
  display: grid;
  gap: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.lead-form input:not([type="checkbox"]),
.lead-form select {
  min-height: 3.4rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.lead-form select {
  appearance: none;
}

.lead-form input:not([type="checkbox"]):focus,
.lead-form select:focus {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.9rem;
  margin-top: 0.2rem;
}

.checkbox-row input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
}

.field-error {
  min-height: 1.1rem;
  color: var(--error);
  font-size: 0.82rem;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-message {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.92rem;
}

.form-message[data-tone="error"] {
  color: var(--error);
}

.form-message[data-tone="neutral"] {
  color: var(--muted);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #d6d1c7);
  color: var(--accent-dark);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.button--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-list {
  margin: 0;
}

.detail-list div + div {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.page-country-us {
  min-height: 100vh;
  background: #050505;
}

body.page-country-us #wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.84) 100%),
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 40%),
    url("/assets/bg_index_pc.jpg") center/cover no-repeat fixed;
}

body.page-country-us .shell {
  width: min(100%, 560px);
  padding: 0;
}

body.page-country-us .hero-card {
  padding: clamp(2rem, 4vw, 2.8rem);
  border-radius: 24px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.92);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
}

body.page-country-us .logo-mark {
  display: block;
  width: min(100%, 240px);
  height: auto;
  margin: 0 auto 1.5rem;
  opacity: 0.94;
}

body.page-country-us .eyebrow {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.62);
}

body.page-country-us h1 {
  max-width: none;
  font-size: clamp(2.25rem, 8vw, 3.3rem);
  line-height: 0.98;
  text-transform: uppercase;
}

body.page-country-us .lede {
  max-width: none;
  margin-top: 0.9rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.78);
}

body.page-country-us .lead-form {
  gap: 0.85rem;
  margin-top: 1.5rem;
  text-align: left;
}

body.page-country-us .lead-form input:not([type="checkbox"]),
body.page-country-us .lead-form select {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

body.page-country-us .lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

body.page-country-us .lead-form select {
  color: rgba(255, 255, 255, 0.7);
}

body.page-country-us .lead-form input:not([type="checkbox"]):hover,
body.page-country-us .lead-form select:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.page-country-us .lead-form input:not([type="checkbox"]):focus,
body.page-country-us .lead-form select:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

body.page-country-us .checkbox-row {
  margin-top: 0.1rem;
}

body.page-country-us .checkbox-row span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.5;
}

body.page-country-us .form-note,
body.page-country-us .form-message,
body.page-country-us .field-error {
  text-align: left;
}

body.page-country-us .action-row {
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

body.page-country-us .button {
  width: 100%;
  background: #ffffff;
  color: #090909;
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.12);
}

body.page-country-us .button--ghost {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.76);
}

body.page-country-us .button--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 720px) {
  .shell {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .hero-card,
  .content-card {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .action-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  body.page-country-us #wrapper {
    padding: 1rem;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.88) 100%),
      url("/assets/bg_index_sp.jpg") center/cover no-repeat;
  }

  body.page-country-us .hero-card {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }
}
