
:root {
  color-scheme: light;

  --paper: #F4F1EA;
  --ink: #1B2A25;
  --body-text: #4D5B55;
  --muted: #76807A;
  --line: rgba(27, 42, 37, 0.14);
  --accent: #B5503A;
  --accent-soft: #F3DDD3;
  --green: #3E6B5A;
  --glacier: #356C7E;
  --glacier-soft: #DCE9EB;
  --sage-soft: #E4EBE0;
  --ochre: #D68A3C;
  --white: #FFFFFF;
  --font-display: "Saira Extra Condensed", "Arial Narrow", sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 90% 0%, rgba(53, 108, 126, 0.13), transparent 34rem),
    radial-gradient(ellipse at 0% 100%, rgba(214, 138, 60, 0.12), transparent 30rem),
    var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  width: min(calc(100% - 80px), 1180px);
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Header */

.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

.header-note,
.eyebrow,
.card-kicker,
.card-link,
.site-footer {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-note {
  color: var(--muted);
}

/* Main */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 100px;
}

.welcome {
  max-width: 650px;
  margin-bottom: 55px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 27px;
}

.eyebrow-line {
  width: 30px;
  height: 1px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 7.4vw, 92px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h1 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 460px;
  margin: 27px 0 0;
  color: var(--body-text);
  font-size: 17px;
  line-height: 1.65;
}

/* Action cards */

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.action-card {
  min-height: 300px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(27, 42, 37, 0.07);
  border-radius: 28px;
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out);
}

.action-card:hover {
  transform: translateY(-6px);
  border-color: rgba(181, 80, 58, 0.28);
  box-shadow: 0 26px 50px -24px rgba(27, 42, 37, 0.3);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  background: var(--sage-soft);
  border-radius: 16px;
  color: var(--green);
}

/* Simple CSS-drawn icons */

.icon-calendar {
  width: 20px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 3px;
  position: relative;
}

.icon-calendar::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  border-top: 2px solid currentColor;
}

.icon-calendar::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 4px;
  width: 8px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.icon-book {
  width: 19px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 2px 4px 4px 2px;
  position: relative;
}

.icon-book::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  border-left: 1px solid currentColor;
}

.card-kicker {
  color: var(--muted);
}

.card-content h2 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.card-content p {
  max-width: 330px;
  margin: 0;
  color: var(--body-text);
  font-size: 15px;
  line-height: 1.7;
}

.card-link {
  margin-top: auto;
  padding-top: 30px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

.card-link span {
  margin-left: 5px;
  font-size: 14px;
}

/* Footer */

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

/* Motion */

.welcome,
.action-card {
  animation: rise 0.8s var(--ease-out) backwards;
}

.action-card:nth-child(2) {
  animation-delay: 0.12s;
}

.action-card:nth-child(2) .card-icon {
  background: var(--glacier-soft);
  color: var(--glacier);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

  .welcome,
  .action-card {
    animation: none;
  }
}

/* Mobile */

@media (max-width: 650px) {
  .app-shell {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 78px;
  }

  .header-note {
    font-size: 8px;
  }

  main {
    padding: 65px 0;
  }

  .welcome {
    margin-bottom: 38px;
  }

  h1 {
    font-size: clamp(54px, 12vw, 70px);
  }

  .intro {
    font-size: 14px;
  }

  .action-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .action-card {
    min-height: 260px;
    padding: 26px;
  }

  .site-footer {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
}
