:root {
  --accent: #52B788;
  --accent-text: #14261E;
  --text: #14261E;
  --text-secondary: #3C5449;
  --bg: #F7FBF9;
  --card-bg: #FFFFFF;
  --line: #DCEBE2;
  --error: #B3441F;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.brand-logo {
  display: block;
  width: 220px;
  max-width: 70%;
  height: auto;
  margin: 0 0 20px;
}

.card {
  width: 100%;
  max-width: 400px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 16px;
}

h1 {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-weight: 600;
  color: var(--text);
  font-size: 22px;
  margin: 0 0 12px;
}

.lede {
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.detail-row {
  margin: 0 0 8px;
  word-break: break-word;
}

label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

input {
  width: 100%;
  font-size: 16px;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}

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

.btn-primary {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.btn-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  border: none;
  background: none;
  color: var(--text-secondary);
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
}

.error {
  color: var(--error);
  font-size: 14px;
  margin: 16px 0 0;
}
