/* MyWert – Landing Page
   Plain CSS, system fonts, no external resources. */

:root {
  --brand-blue: #0d4a6b;
  --brand-blue-dark: #0a3a54;
  --brand-teal: #0e8f8c;
  --ink: #17262d;
  --muted: #4d5f66;
  --line: #e2e9eb;
  --bg: #ffffff;
  --bg-soft: #f5f8f9;
  --focus: #0e8f8c;
  --maxw: 640px;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Top brand accent */
body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--brand-teal);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--brand-blue-dark); }

img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 10;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Simple page header (legal pages) */
.page-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-header__brand {
  display: inline-block;
  line-height: 0;
}
.page-header__brand img {
  width: auto;
  height: 84px;
}

/* Hero */
.hero {
  padding: 56px 0 52px;
  text-align: center;
}
.hero__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 260px;
  margin: 0 auto 26px;
}
.status-badge {
  display: inline-block;
  margin: 0 0 22px;
  padding: 5px 13px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-blue-dark);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.hero__lead {
  margin: 0 0 6px;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 600;
  color: var(--ink);
}
.hero__sub {
  margin: 0 0 24px;
  font-size: 1.0625rem;
  color: var(--muted);
}
.hero__text {
  margin: 0 auto;
  max-width: 33rem;
  color: var(--ink);
}

/* Contact */
.contact {
  padding: 44px 0 60px;
  border-top: 1px solid var(--line);
}
.section-title {
  margin: 0 0 10px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--brand-blue);
}
.contact__intro {
  margin: 0 0 26px;
  color: var(--muted);
}

/* Form */
.form__field { margin-bottom: 18px; }
.form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.form input,
.form textarea {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c4d0d3;
  border-radius: var(--radius);
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus,
.form textarea:focus {
  border-color: var(--brand-teal);
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}

.button {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 22px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius);
  cursor: pointer;
}
.button:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}

.form__note {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.form__note:empty { display: none; }

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.site-footer__line {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  text-align: center;
}
.site-footer__line a { color: var(--brand-blue); }
.site-footer__line span { margin: 0 8px; color: #9aabb0; }

/* Legal pages */
.legal { padding: 44px 0 60px; }
.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 5vw, 2rem);
  color: var(--brand-blue);
}
.legal h2 {
  margin: 32px 0 8px;
  font-size: 1.1875rem;
  color: var(--ink);
}
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 6px; }
.legal .back-link { display: inline-block; margin-top: 8px; font-size: 0.9375rem; }
.legal .placeholder {
  color: var(--brand-blue-dark);
  background: #fff6e6;
  border: 1px solid #f0dcae;
  padding: 0 4px;
  border-radius: 3px;
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .hero { padding: 40px 0 36px; }
  .hero__logo { max-width: 210px; }
  .contact { padding: 36px 0 44px; }
  .page-header__brand img { height: 68px; }
  .button { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
