/* KOOTALIX LLC — local draft site. No external fonts, scripts, or trackers. */

:root {
  --ink: #17202a;
  --text: #2a3440;
  --muted: #5c6774;
  --line: #d5dbe3;
  --paper: #f4f1eb;
  --card: #ffffff;
  --header: #fbfaf7;
  --accent: #1b4f6b;
  --accent-hover: #133b51;
  --accent-soft: #e7eef3;
  --radius: 14px;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  padding: 0.4rem 0.7rem;
  background: var(--card);
  color: var(--ink);
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(68rem, calc(100% - 2.5rem));
  margin: 0 auto;
}

.narrow {
  width: min(42rem, 100%);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--header) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}

.brand {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

nav a {
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

.hero {
  padding: 4.25rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fbfaf7 0%, var(--paper) 100%);
}

.hero h1 {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: clamp(2.15rem, 6vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tagline {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  line-height: 1.5;
}

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

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

section {
  padding: 3.25rem 0;
}

section + section {
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.about p,
.contact-copy p {
  margin: 0 0 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.5rem;
}

article.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.2rem;
}

article.card h3 {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 1.12rem;
}

article.card p {
  margin: 0;
  color: var(--text);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

address {
  font-style: normal;
}

address p {
  margin: 0 0 0.35rem;
}

.placeholder {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95em;
  background: #ece7de;
  padding: 0.05em 0.3em;
  border-radius: 4px;
}

label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #c5cdd6;
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

button[type="submit"] {
  appearance: none;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--accent-hover);
}

.hint {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.policy h1 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  letter-spacing: -0.02em;
}

.meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
}

.policy p,
.policy ul {
  margin: 0 0 0.9rem;
}

.policy ul {
  padding-left: 1.25rem;
}

.policy li {
  margin-bottom: 0.35rem;
}

main.policy-main {
  padding: 3rem 0 4rem;
}

footer {
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--header);
  font-size: 0.88rem;
  color: var(--muted);
}

footer .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  html {
    font-size: 16px;
  }

  header .wrap {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.7rem 0 0.8rem;
    min-height: 0;
    gap: 0.45rem;
  }

  nav {
    gap: 0.65rem 0.9rem;
  }

  .hero {
    padding: 2.4rem 0 2.1rem;
  }

  section {
    padding: 2.3rem 0;
  }

  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
