/* ---- Tokens ---- */
:root{
  --bg: #F5F1E7;
  --ink: #26251F;
  --muted: #706C60;
  --teal: #2C8C86;
  --plum: #8A2E5E;
  --line: rgba(38,37,31,0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 780px;
  --side-pad: 32px;
}

*{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{
  color: inherit;
  text-decoration: none;
}

::selection{
  background: var(--teal);
  color: var(--bg);
}

/* ---- Header ---- */
.site-header{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px var(--side-pad) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-letter{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--plum);
}

.brand-name{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-left: 2px;
}

.leaf{
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 60% 0 60% 0;
}

.leaf-left{ transform: rotate(45deg); }
.leaf-right{ transform: rotate(-135deg); }

.site-nav{
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a{
  position: relative;
  padding-bottom: 2px;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible{
  color: var(--plum);
}

/* ---- Hero ---- */
.hero{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px var(--side-pad) 8px;
}

.hero h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
  color: var(--ink);
}

.hero h1 .ital{
  font-weight: 700;
}

.hero-line{
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 6px;
}

.accent-link{
  color: var(--plum);
  font-weight: 600;
}

.accent-link:hover{
  text-decoration: underline;
}

/* ---- Rule ---- */
.rule{
  max-width: var(--max-width);
  margin: 64px auto;
  border: none;
  border-top: 1px solid var(--line);
}

/* ---- Sections ---- */
.section{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.section h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.1rem;
  margin: 0 0 18px;
  color: var(--ink);
}

.section-intro{
  color: var(--muted);
  max-width: 620px;
  margin: 0;
  font-size: 17px;
}

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.col h3{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 8px;
  color: var(--ink);
}

.col .arrow{
  color: var(--teal);
}

.col p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* ---- Footer ---- */
.site-footer{
  max-width: var(--max-width);
  margin: 96px auto 0;
  padding: 28px var(--side-pad) 56px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links{
  display: flex;
  gap: 20px;
}

.footer-links a{
  font-size: 14px;
  color: var(--plum);
  font-weight: 600;
}

.footer-links a:hover{
  text-decoration: underline;
}

.copyright{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---- Responsive ---- */
@media (max-width: 600px){
  .hero{ padding-top: 64px; }
  .two-col{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-nav{ gap: 16px; }
}

/* ---- Motion & accessibility ---- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; }
}

a:focus-visible,
button:focus-visible{
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}