/* arakoda.net — Medium-inspired editorial design tokens */
:root {
  --md-accent: #1A8917;
  --md-accent-hover: #156D12;
  --md-accent-soft: #E8F3E8;
  --md-ink: #191919;
  --md-text: #242424;
  --md-muted: #6B6B6B;
  --md-muted-soft: #757575;
  --md-canvas: #F7F4ED;
  --md-canvas-alt: #FFFFFF;
  --md-surface: #FFFFFF;
  --md-surface-warm: #F2EFE6;
  --md-border: #E6E6E6;
  --md-border-strong: #CFCFCF;
  --md-hero-green: #34AC45;
  --md-hero-moss: #48704B;
  --md-on-dark: #FFFFFF;
  --md-serif: Georgia, Cambria, "Times New Roman", serif;
  --md-sans: "Helvetica Neue", Arial, sans-serif;
  --md-radius-pill: 9999px;
  --md-radius-lg: 14px;
  --md-section: 84px;
  --md-hero: 112px;
  --md-max: 1192px;
  --md-content: 680px;
  --transition: 150ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--md-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--md-text);
  background-color: var(--md-canvas);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--md-ink);
  color: var(--md-on-dark);
  border-radius: var(--md-radius-pill);
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

/* Shell */
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--md-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--md-content);
}

/* Top nav */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 75px;
  background: var(--md-canvas);
  border-bottom: 1px solid var(--md-border);
}

.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.wordmark {
  font-family: var(--md-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--md-ink);
  letter-spacing: -0.02em;
}

.wordmark span {
  color: var(--md-muted);
  font-family: var(--md-sans);
  font-size: 13px;
  margin-left: 8px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a:not(.btn) {
  font-size: 14px;
  color: var(--md-text);
  transition: color var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--md-ink);
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--md-ink);
}

.nav-toggle svg {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--md-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  border-radius: var(--md-radius-pill);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--md-ink);
  color: var(--md-on-dark);
  padding: 11px 20px;
  height: 40px;
}

.btn--primary:hover {
  background: #333333;
}

.btn--green {
  background: var(--md-accent);
  color: var(--md-on-dark);
  padding: 9px 16px;
  height: 36px;
}

.btn--green:hover {
  background: var(--md-accent-hover);
}

.btn--secondary {
  background: var(--md-surface);
  color: var(--md-ink);
  padding: 10px 18px;
  height: 38px;
  border: 1px solid var(--md-border);
}

.btn--secondary:hover {
  border-color: var(--md-border-strong);
}

.btn--lg {
  padding: 13px 28px;
  height: 46px;
  font-size: 15px;
}

/* Hero */
.hero {
  padding: var(--md-hero) 0 var(--md-section);
  border-bottom: 1px solid var(--md-border);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--md-muted);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--md-serif);
  font-size: clamp(48px, 8vw, 106px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--md-ink);
  margin: 0 0 24px;
}

.hero__subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--md-text);
  max-width: 430px;
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__note {
  font-size: 13px;
  color: var(--md-muted);
  margin-top: 16px;
}

.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}

.hero__art-inner {
  width: 100%;
  height: 100%;
  background: var(--md-hero-moss);
  border-radius: var(--md-radius-lg);
  overflow: hidden;
  position: relative;
}

.hero__art-inner svg {
  width: 100%;
  height: 100%;
}

/* Sections */
.section {
  padding: var(--md-section) 0;
}

.section--surface {
  background: var(--md-surface);
  border-top: 1px solid var(--md-border);
  border-bottom: 1px solid var(--md-border);
}

.section--warm {
  background: var(--md-surface-warm);
}

.section__header {
  margin-bottom: 48px;
}

.section__label {
  font-size: 13px;
  color: var(--md-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--md-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--md-ink);
  margin: 0 0 16px;
}

.section__lead {
  font-size: 18px;
  line-height: 1.45;
  color: var(--md-muted-soft);
  max-width: 560px;
  margin: 0;
}

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--md-border);
  background: var(--md-surface);
}

.problem-card {
  padding: 28px 24px;
  border-right: 1px solid var(--md-border);
}

.problem-card:last-child {
  border-right: none;
}

.problem-card__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  color: var(--md-muted);
}

.problem-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--md-ink);
  margin: 0 0 8px;
}

.problem-card__text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--md-muted);
  margin: 0;
}

/* Story row / benefits */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--md-border);
}

.benefit-row:first-child {
  border-top: 1px solid var(--md-border);
}

.benefit-row__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--md-ink);
  margin: 0 0 8px;
}

.benefit-row__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--md-text);
  margin: 0;
}

.benefit-row__tag {
  display: inline-block;
  background: var(--md-surface-warm);
  color: var(--md-text);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--md-radius-pill);
  white-space: nowrap;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-item {
  padding: 28px;
  background: var(--md-canvas);
  border: 1px solid var(--md-border);
}

.feature-item__num {
  font-family: var(--md-serif);
  font-size: 32px;
  color: var(--md-accent);
  margin-bottom: 12px;
  line-height: 1;
}

.feature-item__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--md-ink);
  margin: 0 0 8px;
}

.feature-item__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--md-muted-soft);
  margin: 0;
}

/* Testimonial */
.testimonial {
  padding: 40px 0;
  border-top: 1px solid var(--md-border);
  border-bottom: 1px solid var(--md-border);
}

.testimonial__quote {
  font-family: var(--md-serif);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--md-ink);
  margin: 0 0 20px;
  max-width: 720px;
}

.testimonial__cite {
  font-size: 14px;
  color: var(--md-muted);
  font-style: normal;
}

/* Audience split */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.audience-box {
  padding: 32px;
  border: 1px solid var(--md-border);
}

.audience-box--for {
  background: var(--md-accent-soft);
  border-color: transparent;
}

.audience-box--not {
  background: var(--md-surface);
}

.audience-box__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--md-ink);
  margin: 0 0 20px;
}

.audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--md-text);
}

.audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.audience-box--for .audience-list li::before {
  background: var(--md-accent);
}

.audience-box--not .audience-list li::before {
  background: var(--md-border-strong);
}

/* CTA band */
.cta-band {
  background: var(--md-ink);
  color: var(--md-on-dark);
  padding: 64px 0;
}

.cta-band__title {
  font-family: var(--md-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}

.cta-band__text {
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 0 32px;
}

.cta-band .btn--green {
  background: var(--md-accent);
}

.cta-band .btn--green:hover {
  background: var(--md-accent-hover);
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--md-border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__links a {
  font-size: 13px;
  color: var(--md-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--md-text);
  text-decoration: underline;
}

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

/* Mobile nav overlay */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--md-canvas);
    border-bottom: 1px solid var(--md-border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__art {
    max-width: 100%;
    margin: 0 auto;
    order: -1;
    max-height: 280px;
    aspect-ratio: auto;
  }

  .hero__art-inner {
    max-height: 280px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    border-right: none;
    border-bottom: 1px solid var(--md-border);
  }

  .problem-card:last-child {
    border-bottom: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .benefit-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
