﻿:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.container {
  width: min(960px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  font-family: "Bree Serif", serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.lang-select {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 0.5rem 0.9rem;
  font: inherit;
}

.page {
  padding: 1.2rem 0 2.5rem;
}

.hero {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  min-height: 260px;
  box-shadow: 0 18px 40px -30px rgba(15, 23, 42, 0.45);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.2), transparent);
}

.text-left { text-align: left; align-items: flex-start; }
.text-right { text-align: right; align-items: flex-end; }

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  opacity: 0.9;
}

h1 {
  margin: 0 0 0.55rem;
  font-family: "Bree Serif", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
}

#subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  opacity: 0.95;
}

.steps-section {
  margin-top: 1.2rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1.2rem;
  padding: 1.1rem;
}

.steps-section h2 {
  margin: 0 0 0.95rem;
  font-family: "Bree Serif", serif;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.steps-section > .steps-grid {
  display: block;
}

.instruction-section + .instruction-section {
  margin-top: 1.1rem;
}

.section-heading {
  margin: 0 0 0.7rem;
  font-family: "Bree Serif", serif;
  font-size: 1.1rem;
}

.instruction-list {
  margin: 0;
  padding-inline-start: 1.35rem;
}

.instruction-item + .instruction-item {
  margin-top: 0.75rem;
}

.instruction-item {
  background: #f8fbff;
  border: 1px solid #e7edf5;
  border-radius: 0.8rem;
  padding: 0.65rem 0.75rem;
}

.instruction-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.2rem;
}

.text-right .instruction-title-row {
  flex-direction: row-reverse;
}

.instruction-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #e0f2fe;
  font-size: 0.92rem;
  line-height: 1;
}

.instruction-item h4 {
  margin: 0;
  font-size: 1rem;
}

.instruction-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.94rem;
}

.step {
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  padding: 0.95rem;
  background: #fcfdff;
}

.step .icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: #e0f2fe;
  margin-bottom: 0.5rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.94rem;
}

.footer {
  text-align: center;
  margin-top: 2rem;
}

.line {
  width: 5rem;
  height: 1px;
  margin: 0 auto 0.9rem;
  background: #cbd5e1;
}

#footer-text {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

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

  .row {
    flex-direction: column;
    align-items: flex-start;
  }
}
