:root {
  --bg-top: #FFE8B8;
  --bg-bottom: #FFD1A8;
  --card-bg: #ffffff;
  --ink: #2B2320;
  --ink-soft: #6b5f57;
  --accent: #FF7A3D;
  --accent-2: #FFB13C;
  --border: #f0e2d3;
  --shadow: rgba(80, 50, 20, 0.12);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  min-height: 100%;
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 720px;
  padding: 40px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Header / logo ---------- */

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  display: inline-flex;
  filter: drop-shadow(0 3px 6px var(--shadow));
}

.logo-face {
  fill: var(--accent-2);
  stroke: #E8912A;
  stroke-width: 1.5;
}

.logo-rays line {
  stroke: var(--accent-2);
  stroke-width: 3;
  stroke-linecap: round;
}

.logo-text {
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.logo-word {
  color: var(--ink);
}

.logo-dot {
  color: var(--accent);
}

.logo-one {
  display: inline-block;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  padding: 0 4px;
  font-size: 0.82em;
  transform: translateY(-2px);
  font-weight: 900;
}

.logo-tld {
  color: var(--ink-soft);
  font-weight: 600;
}

.tagline {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Quote card ---------- */

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-card {
  width: 100%;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 32px 28px 22px;
  box-shadow: 0 18px 40px var(--shadow);
  border: 1px solid var(--border);
}

.quote-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.quote-source {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: #FFF1E4;
  padding: 4px 10px;
  border-radius: 999px;
}

.quote-mark {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--border);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.quote-text {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-wrap;
  margin: 0 0 24px;
}

.quote-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hint {
  max-width: 520px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 18px 12px 0;
  line-height: 1.5;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: underline;
}

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

/* ---------- Responsive ---------- */

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.5rem;
  }
  .quote-card {
    padding: 24px 18px 18px;
    border-radius: 16px;
  }
  .quote-text {
    font-size: 0.95rem;
  }
}
