/* tenk10.com - shared stylesheet */
:root {
  --text: #23282d;
  --muted: #5c6670;
  --accent: #1b5e8a;
  --border: #dfe3e6;
  --bg: #ffffff;
  --bg-soft: #f7f8f9;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.site-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

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

nav a:hover,
nav a:focus {
  text-decoration: underline;
}

nav a:last-child { margin-right: 0; }

h1 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

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

p, li { color: var(--text); }

p { margin: 0 0 1.1rem; }

ul { padding-left: 1.35rem; }

li { margin-bottom: 0.4rem; }

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

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

form {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  border: 1px solid #c3c9ce;
  border-radius: 4px;
  background: #fff;
}

input[type="tel"]:focus,
input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

label.spaced { margin-top: 1.25rem; }

.req { color: #a02c2c; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.consent input[type="checkbox"] {
  margin: 0.35rem 0 0;
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
}

.consent label {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

button[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover,
button[type="submit"]:focus {
  background: #14496b;
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer p { margin: 0 0 0.4rem; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 1.75rem 1rem 3rem; }
  nav a { display: inline-block; margin-bottom: 0.4rem; }
}
