:root {
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --tint: #e0f2fe;
  --success: #16a34a;
  --text: #1c2b36;
  --text-muted: #5b6b78;
  --border: #d7e3ec;
  --bg: #ffffff;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

h1 {
  font-size: 26px;
  margin: 0 0 8px;
}

h2 {
  font-size: 18px;
  margin: 40px 0 12px;
}

p {
  margin: 0 0 14px;
}

.muted {
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
}

.link {
  color: var(--accent);
  text-decoration: underline;
}

.link:hover {
  color: var(--accent-hover);
}

.card {
  background: var(--tint);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Language switcher — native <select>, used on /welcome only */
.lang-select-wrap {
  position: relative;
  display: inline-block;
}

.lang-select {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text-muted);
  font-size: 14px;
  padding: 6px 32px 6px 12px;
  cursor: pointer;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--text-muted);
  outline: none;
}

.lang-chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

/* ---- /welcome page — its own wide, section-based layout (not .page) ---- */

.top-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.top-header-inner {
  max-width: 1152px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-name {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 24px 48px;
}

.check-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 672px;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.hero p {
  margin: 12px 0 0;
  max-width: 448px;
  font-size: 18px;
  color: var(--text-muted);
}

.pinguide-section {
  padding: 0 24px 64px;
}

.pinguide-inner {
  max-width: 896px;
  margin: 0 auto;
}

.pinguide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 640px) {
  .pinguide-grid {
    grid-template-columns: 1fr;
  }
}

.pinguide-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pinguide-img {
  border-radius: 16px;
  display: block;
  width: 100%;
  height: auto;
}

.steps-section {
  padding: 0 24px 80px;
}

.steps-inner {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 16px;
  background: #f8fafc;
  padding: 24px;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

.step-card p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.closing {
  text-align: center;
  padding: 0 24px 64px;
}

.closing-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin: 0 auto;
}

.closing p {
  margin: 16px 0 0;
  color: var(--text-muted);
}
