:root {
  --ink: #18382b;
  --muted: #647a69;
  --paper: #edf3e7;
  --card: #fbfdf8;
  --lime: #b9d59b;
  --coral: #4d8a62;
  --orange: #d67d3e;
  --line: rgba(24, 56, 43, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
.request-attachment-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.request-attachment-link { display: block; width: fit-content; max-width: 100%; }
.request-attachment-image { display: block; width: auto; max-width: min(100%, 520px); height: auto; max-height: 360px; border: 1px solid var(--line); background: var(--card); object-fit: contain; }
.request-comment-attachment-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.request-comment-image-status { min-height: 1em; margin: 0; color: var(--muted); font-size: .72rem; }
.request-comment-image-preview-list { display: flex; flex-wrap: wrap; gap: 8px; }
.request-comment-image-preview { display: grid; width: 112px; gap: 4px; margin: 0; }
.request-comment-image-preview img { display: block; width: 112px; height: 78px; border: 1px solid var(--line); background: var(--card); object-fit: contain; }
.request-comment-image-remove { justify-self: start; padding: 2px 0; border: 0; background: transparent; color: #a13f38; font-size: .7rem; cursor: pointer; }
.site-header, main, .site-footer { max-width: 1240px; margin: 0 auto; padding-left: 42px; padding-right: 42px; }
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 16px; }
.brand-logo { display: block; width: 76px; height: 76px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; justify-content: center; gap: 0; }
.brand-text-line { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.4rem, 5vw, 2.2rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.brand-text-line:first-child { color: var(--coral); }
.brand-text-line:last-child { color: var(--orange); }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--paper); background: var(--ink); border-radius: 50%; font-size: 1.3rem; }
.main-nav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: .9rem; }
.main-nav > a, .nav-dropdown > summary { padding: 8px 0; border-bottom: 2px solid transparent; color: inherit; cursor: pointer; list-style: none; white-space: nowrap; }
.main-nav > a.active, .nav-dropdown > summary.active { color: var(--ink); border-color: var(--coral); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { display: inline-block; width: 0; height: 0; margin: 0 0 2px 7px; border-top: 4px solid currentColor; border-right: 4px solid transparent; border-left: 4px solid transparent; content: ''; }
.nav-dropdown[open] > summary::after { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: -12px; display: grid; min-width: 190px; padding: 6px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 12px 26px rgba(24, 56, 43, .14); }
.nav-dropdown-menu a { display: block; padding: 10px 12px; border: 0; color: var(--ink); font-size: .82rem; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: var(--paper); outline: none; }
.nav-dropdown-menu a.active { color: var(--coral); font-weight: 700; }
.nav-dropdown[hidden] { display: none; }
@media (max-width: 700px) {
  .site-header { height: auto; min-height: 72px; gap: 0 8px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand-logo { width: 56px; height: 56px; }
  .site-header .brand-text-line { font-size: 1.2rem; }
  .site-header .main-nav { max-width: 140px; flex-wrap: wrap; justify-content: flex-end; gap: 0 10px; font-size: .73rem; }
  .nav-dropdown-menu { right: 0; left: auto; }
}
@media (max-width: 380px) {
  .site-header { padding-right: 12px; padding-left: 12px; }
  .site-header .brand-logo { width: 46px; height: 46px; }
  .site-header .brand-text-line { font-size: 1.05rem; }
  .site-header .main-nav { max-width: 115px; gap: 0 8px; font-size: .68rem; }
  .profile-button { width: 34px; height: 34px; flex: 0 0 34px; }
}
.profile-menu-wrap { position: relative; }
.profile-button { border: 1px solid var(--ink); border-radius: 50%; background: transparent; width: 38px; height: 38px; font-size: .75rem; font-weight: 700; }
.profile-button[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.profile-button.has-avatar { border-color: transparent; background-position: center; background-size: cover; background-repeat: no-repeat; color: transparent; }
.profile-menu { position: absolute; z-index: 10; top: calc(100% + 12px); right: 0; display: none; min-width: 170px; padding: 7px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(24, 56, 43, .13); }
.profile-menu.is-open { display: grid; }
.profile-menu a, .profile-menu button { display: block; width: 100%; padding: 11px 12px; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; font-size: .83rem; text-decoration: none; }
.profile-menu a:hover, .profile-menu a:focus-visible, .profile-menu button:hover, .profile-menu button:focus-visible { background: var(--paper); outline: none; }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 550px; align-items: center; gap: 8%; }
.hero-copy { padding: 76px 0 70px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 17px; text-transform: uppercase; letter-spacing: .16em; font-size: .67rem; font-weight: 700; color: var(--muted); }
h1, h2, blockquote { font-family: "Space Grotesk", sans-serif; }
h1 { margin: 0; font-size: clamp(3.5rem, 7vw, 6.7rem); line-height: .91; letter-spacing: -.09em; font-weight: 600; }
h1 em { color: var(--coral); font-style: normal; }
.hero-intro { max-width: 370px; color: var(--muted); line-height: 1.6; margin: 29px 0 34px; }
.primary-button, .outline-button { display: inline-flex; align-items: center; gap: 24px; border-radius: 100px; font-size: .83rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.primary-button { background: var(--ink); color: var(--paper); padding: 16px 20px 16px 24px; }
.primary-button span, .outline-button span { font-size: 1.2rem; }
.primary-button:hover, .outline-button:hover { transform: translateY(-3px); }
.hero-art { position: relative; align-self: stretch; overflow: hidden; background: var(--lime); min-height: 550px; }
.sun { position: absolute; right: 10%; top: 12%; width: 190px; height: 190px; border-radius: 50%; background: #d5e4b6; }
.route-line { position: absolute; border: 1px solid var(--ink); border-radius: 50%; transform: rotate(-28deg); }
.route-line-one { width: 125%; height: 50%; top: 30%; left: -24%; }
.route-line-two { width: 125%; height: 50%; top: 40%; left: -10%; border-style: dashed; opacity: .5; }
.route-label { position: absolute; top: 12%; left: 9%; font-size: .65rem; letter-spacing: .15em; line-height: 1.5; }
.route-label strong { font-family: "Space Grotesk"; font-size: 2rem; letter-spacing: -.08em; }
.runner { position: absolute; left: 44%; top: 46%; font-size: 6rem; transform: rotate(-32deg); color: var(--ink); }
.distance-stamp { position: absolute; right: 9%; bottom: 9%; font-family: "Space Grotesk"; font-size: 5.5rem; font-weight: 600; letter-spacing: -.1em; line-height: .8; }
.distance-stamp span { color: var(--coral); }.distance-stamp small { font: 700 .7rem "DM Sans"; letter-spacing: .12em; }
.dashboard-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; padding-bottom: 80px; }
.today-card, .progress-card { background: var(--card); border: 1px solid var(--line); padding: 30px; }
.card-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.05em; }.muted { color: var(--muted); font-size: .9rem; line-height: 1.55; max-width: 430px; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--coral); margin-top: 6px; }.workout-meta { display: flex; gap: 28px; border-top: 1px solid var(--line); margin-top: 28px; padding: 20px 0; font-size: .72rem; color: var(--muted); }.workout-meta strong { display: block; color: var(--ink); font: 600 1.35rem "Space Grotesk"; letter-spacing: -.06em; }.outline-button { border: 1px solid var(--ink); background: transparent; padding: 12px 17px 12px 20px; }.progress-number { font: 600 1.5rem "Space Grotesk"; letter-spacing: -.08em; }.progress-track { height: 10px; background: #e7e3db; margin: 38px 0 20px; border-radius: 10px; overflow: hidden; }.progress-track span { display: block; width: 75%; height: 100%; background: var(--coral); }.week-days { display: flex; justify-content: space-between; margin-bottom: 22px; }.week-days span { display: grid; place-items: center; width: 27px; height: 27px; font-size: .67rem; color: var(--muted); border: 1px solid var(--line); border-radius: 50%; }.week-days .done { color: var(--ink); background: var(--lime); border-color: var(--lime); }.week-days .next { border-color: var(--coral); color: var(--coral); }
.quote-strip { border-top: 1px solid var(--line); padding: 60px 0 74px; text-align: center; }.quote-strip p { margin: 0; color: var(--coral); font: 4.5rem/0.5 "Space Grotesk"; }.quote-strip blockquote { max-width: 620px; margin: 13px auto 13px; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.06em; }.quote-strip span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; }.site-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 25px; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 700px) { .site-header, main, .site-footer { padding-left: 20px; padding-right: 20px; }.site-header { height: 72px; }.main-nav { gap: 12px; font-size: .75rem; }.hero { display: block; }.hero-copy { padding: 70px 0 55px; }.hero-art { min-height: 390px; margin: 0 -20px; }.sun { width: 130px; height: 130px; }.distance-stamp { font-size: 4rem; }.dashboard-grid { grid-template-columns: 1fr; padding-top: 20px; padding-bottom: 55px; }.today-card, .progress-card { padding: 24px; }.workout-meta { gap: 17px; }.site-footer { display: block; line-height: 2; } }
