:root {
  --bg: #ffffff;
  --fg: #1d1d1b;
  --muted: #6f6f6c;
  --rule: #ececea;
  --link: #1d1d1b;
  --accent: #7a5a3a;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}
header.site {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
header.site .brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-decoration: none;
}
header.site nav {
  display: flex;
  gap: 1.25rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
header.site nav a {
  color: var(--muted);
  text-decoration: none;
}
header.site nav a:hover { color: var(--fg); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg);
  margin: 2.5rem 0 1rem;
}
h1.post-title {
  font-size: 2.1rem;
  margin: 0 0 2rem;
  letter-spacing: -0.005em;
}
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
article p { margin: 0 0 1.25rem; }
article a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
article a:hover { text-decoration-color: var(--accent); }
article ul, article ol { padding-left: 1.5rem; margin: 0 0 1.25rem; }
article li { margin-bottom: 0.4rem; }
article blockquote {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--rule);
  color: var(--muted);
  font-style: italic;
}
article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 2px;
}
article figure { margin: 1.5rem 0; }
article figure figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
article hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}
article small { color: var(--muted); }
article iframe { max-width: 100%%; border: 0; }
.post-nav {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.post-nav a {
  color: var(--muted);
  text-decoration: none;
  max-width: 48%;
}
.post-nav a:hover { color: var(--fg); }
.post-nav .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.post-nav .next { text-align: right; }
.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-list li {
  margin: 0;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
}
.archive-list a {
  color: var(--fg);
  text-decoration: none;
  display: block;
}
.archive-list a:hover { color: var(--muted); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.card {
  display: block;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--accent); }
.card h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
footer.site {
  margin-top: 5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--fg); }
.lede { color: var(--muted); margin-bottom: 2.5rem; font-size: 1.05rem; }
.see-all {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}
.see-all:hover { color: var(--fg); }
.hero { margin: 1rem 0 3rem; }
.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.hero .tagline {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0;
}
@media (max-width: 480px) {
  body { font-size: 18px; }
  .wrap { padding: 1.75rem 1rem 3rem; }
  h1.post-title { font-size: 1.7rem; }
  .hero h1 { font-size: 2rem; }
  header.site { margin-bottom: 2.5rem; }
}

/* roottoriseup landing page */
.rtru-wrap { max-width: 1100px; padding-left: 0; padding-right: 0; }
.rtru-wrap > header.site,
.rtru-wrap > footer.site,
.rtru-wrap > main { padding-left: 1.25rem; padding-right: 1.25rem; }

.rtru-hero {
  margin: 0 -1.25rem 4rem;
  position: relative;
}
.rtru-hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  max-height: 78vh;
}
.rtru-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem 2.5rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.0) 60%);
  color: #fff;
  text-align: center;
}
.rtru-hero-text h1 {
  font-size: 3.4rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0,0,0,0.4);
}
.rtru-hero-text .tagline {
  margin: 0;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.94);
}

.rtru-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.rtru-intro img.profile {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
}
.rtru-intro h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}
.rtru-intro .sub {
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

.rtru-section {
  max-width: 800px;
  margin: 0 auto 4rem;
}
.rtru-section h2 {
  text-align: center;
  font-size: 1.9rem;
  margin: 0 0 0.75rem;
}
.rtru-section .lede {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 auto 2.5rem;
  max-width: 540px;
}

.rtru-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1rem;
}
.rtru-benefit {
  text-align: center;
}
.rtru-benefit img {
  width: 84px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  opacity: 0.9;
}
.rtru-benefit h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.rtru-benefit p { margin: 0; color: var(--muted); }

.rtru-practice {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.rtru-practice-block h3 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.4rem;
  display: inline-block;
}
.rtru-practice-block ul { padding-left: 1.1rem; margin: 0; }
.rtru-practice-block li { margin-bottom: 0.65rem; font-size: 0.95rem; }

.rtru-quote {
  text-align: center;
  margin: 5rem auto;
  max-width: 720px;
  padding: 0 1rem;
}
.rtru-quote h2 {
  font-style: italic;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 1rem;
  color: var(--fg);
}
.rtru-quote .attrib {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rtru-faq {
  max-width: 760px;
  margin: 0 auto 4rem;
}
.rtru-faq h2 { text-align: center; margin-bottom: 2.5rem; }
.rtru-faq details {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0;
}
.rtru-faq details:last-child { border-bottom: 1px solid var(--rule); }
.rtru-faq summary {
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.rtru-faq summary::-webkit-details-marker { display: none; }
.rtru-faq summary::after {
  content: '+';
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.rtru-faq details[open] summary::after { content: '–'; }
.rtru-faq details p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.rtru-decor {
  display: block;
  max-width: 540px;
  width: 100%;
  margin: 2rem auto 0;
  border-radius: 4px;
  opacity: 0.9;
}

@media (max-width: 720px) {
  .rtru-hero-text h1 { font-size: 2.2rem; }
  .rtru-hero-text { padding: 1.5rem 1rem 1.75rem; }
  .rtru-benefits-grid { grid-template-columns: 1fr; gap: 2rem; }
  .rtru-practice { grid-template-columns: 1fr; }
  .rtru-quote h2 { font-size: 1.5rem; }
}
