/* =========================
   Base / Reset
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Inter, Helvetica, Arial, sans-serif;
  background: #f7f7f5;
  color: #1e1e1e;
  line-height: 1.6;
}

/* =========================
   Layout
   ========================= */

.wrap {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 820px;
  padding: 40px 20px 60px;
}

/* =========================
   Brand header
   ========================= */

.brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.logo {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lang {
  display: flex;
  gap: 12px;
}

.lang a {
  font-size: 12px;
  text-decoration: none;
  color: #888;
  letter-spacing: 0.08em;
}

.lang a.active {
  color: #1e1e1e;
}

/* =========================
   Hero
   ========================= */

.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

/* =========================
   Sub text
   ========================= */

.sub {
  max-width: 720px;
}

.sub p {
  margin: 0 0 14px;
  color: #333;
  font-size: 16px;
}

.sub p:last-child {
  margin-bottom: 0;
}

/* =========================
   CTA / Newsletter
   ========================= */

.cta {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 14px;
  font-size: 14px;
  border: 1px solid #d4d4d0;
  background: #fff;
  border-radius: 4px;
  outline: none;
}

.cta input::placeholder {
  color: #999;
}

.cta button {
  padding: 14px 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #1e1e1e;
  background: #1e1e1e;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.cta button:hover {
  opacity: 0.9;
}

.micro {
  font-size: 13px;
  color: #777;
  max-width: 520px;
}

/* =========================
   Links section
   ========================= */

.links {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.linkrow {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #e2e2df;
  color: inherit;
}

.linkrow:hover {
  color: #000;
}

.linkrow .meta {
  font-size: 13px;
  color: #777;
  text-align: right;
}

/* =========================
   Footer
   ========================= */

.footer {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #777;
}

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

.footer a:hover {
  color: #000;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 640px) {
  .brand {
    margin-bottom: 50px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .linkrow {
    flex-direction: column;
    gap: 6px;
  }

  .linkrow .meta {
    text-align: left;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }
}