@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --ink: #231711;
  --ink-soft: #624a3b;
  --muted: #8a7667;
  --line: rgba(35, 23, 17, .12);
  --paper: #fffaf2;
  --panel: #f5efe4;
  --panel-2: #ebe1d2;
  --coffee: #7a4f32;
  --gold: #c89445;
  --green: #4f9b68;
  --green-soft: #e8f4ec;
  --red: #b94a43;
  --white: #fffefd;
  --shadow: 0 18px 45px rgba(35, 23, 17, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Outfit, "Noto Serif SC", system-ui, sans-serif;
}

a { color: inherit; }
.serif { font-family: "Noto Serif SC", serif; }

.site-nav,
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(255, 250, 242, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 8px;
}

.brand-name {
  display: grid;
  gap: 1px;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand-name small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
}

.login-art .brand-mark { background: rgba(255, 250, 242, .12); }
.login-art .brand-name small { color: rgba(255, 250, 242, .62); }

.walker-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.walker-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.walker-name {
  display: grid;
  gap: 1px;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
}

.walker-name small {
  color: var(--muted);
  font-family: Outfit, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.nav-links a,
.text-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 11px;
  border-radius: 8px;
}

.nav-links a:hover,
.text-link:hover { background: rgba(35, 23, 17, .06); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.btn.green {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }

.hero {
  min-height: min(760px, calc(100vh - 68px));
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .70fr);
  background: var(--ink);
  overflow: hidden;
}

.hero-media {
  position: relative;
  min-height: min(680px, calc(100vh - 68px));
  background:
    linear-gradient(90deg, rgba(35, 23, 17, .86), rgba(35, 23, 17, .42) 58%, rgba(35, 23, 17, .12)),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1800&q=90&auto=format&fit=crop") center/cover;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 5vw, 58px);
  animation: cafeDrift 18s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: var(--paper);
  padding-bottom: clamp(22px, 4vh, 34px);
  transform: translateY(-18px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3, p { margin-top: 0; }

.hero h1,
.page-title {
  margin: 14px 0 14px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  color: rgba(255, 250, 242, .76);
  font-family: "Noto Serif SC", serif;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hero-panel {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(122, 79, 50, .30), transparent),
    radial-gradient(circle at 20% 18%, rgba(200, 148, 69, .14), transparent 32%),
    var(--ink);
  border-left: 1px solid rgba(255, 250, 242, .12);
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: clamp(58px, 12vh, 108px);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -30% auto -30% -46%;
  width: 52%;
  background: linear-gradient(90deg, transparent, rgba(232, 194, 126, .13), transparent);
  transform: skewX(-12deg);
  animation: panelSweep 7.5s ease-in-out infinite;
  pointer-events: none;
}
.hero-panel > * { position: relative; z-index: 1; }

.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 250, 242, .14); }
.metric {
  min-height: 116px;
  padding: 20px;
  background: rgba(255, 250, 242, .06);
}
.metric strong { display: block; color: var(--gold); font-size: 32px; line-height: 1; }
.metric span { display: block; margin-top: 10px; color: rgba(255, 250, 242, .68); font-size: 13px; line-height: 1.6; }

.tool-stack { display: grid; gap: 10px; }
.stack-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 250, 242, .07);
  border: 1px solid rgba(255, 250, 242, .11);
  border-radius: 8px;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
  animation: stackFloat 6s ease-in-out infinite;
}
.stack-item:nth-child(2) { animation-delay: .6s; }
.stack-item:nth-child(3) { animation-delay: 1.2s; }
.stack-item:nth-child(4) { animation-delay: 1.8s; }
.stack-item:hover {
  transform: translateX(4px);
  background: rgba(255, 250, 242, .11);
  border-color: rgba(200, 148, 69, .42);
  animation-play-state: paused;
}
.stack-item strong {
  grid-row: span 2;
  color: var(--gold);
  font-size: 22px;
  line-height: 1.1;
}
.stack-item span { font-weight: 700; font-size: 15px; }
.stack-item em { color: rgba(255, 250, 242, .62); font-style: normal; font-size: 12px; line-height: 1.45; }

.coffee-steam {
  position: absolute;
  left: clamp(46px, 8vw, 116px);
  bottom: clamp(190px, 27vh, 270px);
  width: 90px;
  height: 150px;
  pointer-events: none;
  opacity: .62;
  z-index: 1;
}
.coffee-steam i {
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 92px;
  border-radius: 50%;
  border-left: 2px solid rgba(255, 250, 242, .34);
  filter: blur(.2px);
  animation: steamRise 5.8s ease-in-out infinite;
}
.coffee-steam i:nth-child(1) { left: 4px; animation-delay: 0s; }
.coffee-steam i:nth-child(2) { left: 32px; height: 120px; animation-delay: 1.4s; }
.coffee-steam i:nth-child(3) { left: 62px; animation-delay: 2.8s; }
.cafe-glow {
  position: absolute;
  inset: auto 12% 18% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 194, 126, .18), transparent 64%);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cafeDrift {
  from { background-position: center center; }
  to { background-position: 52% 50%; }
}
@keyframes steamRise {
  0% { transform: translateY(22px) translateX(0) scale(.85); opacity: 0; }
  28% { opacity: .62; }
  100% { transform: translateY(-46px) translateX(18px) scale(1.15); opacity: 0; }
}
@keyframes glowPulse {
  0%, 100% { opacity: .45; transform: scale(.92); }
  50% { opacity: .9; transform: scale(1.08); }
}
@keyframes panelSweep {
  0%, 34% { transform: translateX(0) skewX(-12deg); opacity: 0; }
  52% { opacity: 1; }
  100% { transform: translateX(320%) skewX(-12deg); opacity: 0; }
}
@keyframes stackFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media, .coffee-steam i, .cafe-glow, .hero-panel::before, .stack-item { animation: none; }
  .stack-item, .btn { transition: none; }
}

.section { padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 64px); }
.section.alt { background: var(--panel); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 10px 0 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
}

.section-head p,
.muted { color: var(--muted); line-height: 1.8; }

.tool-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-card,
.feature-card,
.info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tool-card {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tool-card > div,
.tool-card .card-action {
  position: relative;
  z-index: 1;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(35, 23, 17, .24);
}

.tool-card.featured {
  color: var(--paper);
  background: var(--ink);
}
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 16%, var(--coffee-glow, rgba(200, 148, 69, .14)), transparent 24%),
    linear-gradient(135deg, var(--coffee-wash, rgba(255, 250, 242, 0)), transparent 58%);
  pointer-events: none;
}
.tool-card::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 62px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid var(--coffee-line, rgba(35, 23, 17, .10));
  box-shadow:
    inset 0 0 0 12px rgba(255, 250, 242, .18),
    0 14px 28px rgba(35, 23, 17, .05);
  opacity: .46;
  pointer-events: none;
}
.coffee-mark {
  position: absolute;
  right: 34px;
  top: 72px;
  width: 34px;
  height: 20px;
  border: 2px solid var(--coffee-line, rgba(35, 23, 17, .14));
  border-top: 0;
  border-radius: 0 0 18px 18px;
  opacity: .56;
  z-index: 0;
}
.coffee-mark::before {
  content: "";
  position: absolute;
  right: -12px;
  top: 3px;
  width: 12px;
  height: 10px;
  border: 2px solid var(--coffee-line, rgba(35, 23, 17, .14));
  border-left: 0;
  border-radius: 0 10px 10px 0;
}
.coffee-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: -28px;
  width: 20px;
  height: 24px;
  border-left: 2px solid var(--coffee-line, rgba(35, 23, 17, .14));
  border-radius: 50%;
  opacity: .62;
}
.coffee-espresso {
  --coffee-glow: rgba(200, 148, 69, .22);
  --coffee-line: rgba(255, 250, 242, .22);
  color: var(--paper);
  background:
    linear-gradient(145deg, #231711, #352219 64%, #1b100b);
}
.coffee-latte {
  --coffee-glow: rgba(200, 148, 69, .18);
  --coffee-line: rgba(122, 79, 50, .18);
  --coffee-wash: rgba(232, 194, 126, .16);
  background: linear-gradient(145deg, #fffefd, #f4eadb 72%);
}
.coffee-americano {
  --coffee-glow: rgba(122, 79, 50, .15);
  --coffee-line: rgba(76, 52, 39, .16);
  --coffee-wash: rgba(122, 79, 50, .08);
  background: linear-gradient(145deg, #fffefd, #f7f0e6 68%);
}
.coffee-coldbrew {
  --coffee-glow: rgba(81, 123, 146, .14);
  --coffee-line: rgba(44, 62, 73, .18);
  --coffee-wash: rgba(81, 123, 146, .10);
  background: linear-gradient(145deg, #fffefd, #edf1ef 68%);
}
.coffee-matcha {
  --coffee-glow: rgba(79, 155, 104, .16);
  --coffee-line: rgba(79, 155, 104, .20);
  --coffee-wash: rgba(79, 155, 104, .10);
  background: linear-gradient(145deg, #fffefd, #edf6ec 68%);
}
.coffee-espresso p,
.coffee-espresso .card-action { color: rgba(255, 250, 242, .72); }
.coffee-espresso .status { background: rgba(79, 155, 104, .18); }
.coffee-espresso .chip {
  color: var(--paper);
  background: rgba(255, 250, 242, .08);
  border-color: rgba(255, 250, 242, .16);
}
.coffee-latte .tool-number { color: #bd812e; }
.coffee-americano .tool-number { color: #9c633c; }
.coffee-coldbrew .tool-number { color: #517b92; }
.coffee-matcha .tool-number { color: var(--green); }

.tool-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.tool-number {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .16em;
  font-size: 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  background: var(--green-soft);
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.featured .status { background: rgba(79, 155, 104, .16); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.tool-card h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.tool-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}
.featured p { color: rgba(255, 250, 242, .68); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  color: var(--ink-soft);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}
.featured .chip { color: var(--paper); background: rgba(255, 250, 242, .08); border-color: rgba(255, 250, 242, .14); }

.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}
.featured .card-action { border-color: rgba(255, 250, 242, .14); }

.feature-card { padding: 24px; }
.feature-card h3 { margin-bottom: 8px; font-size: 18px; }
.feature-card p { color: var(--muted); line-height: 1.8; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255, 250, 242, .58);
  background: var(--ink);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, .62fr);
}

.login-art {
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(35, 23, 17, .18), rgba(35, 23, 17, .82)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?w=1600&q=90&auto=format&fit=crop") center/cover;
  padding: clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-art h1 {
  max-width: 620px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  margin: 22px 0 18px;
}

.login-art p { max-width: 500px; color: rgba(255, 250, 242, .75); line-height: 1.9; }

.login-panel {
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px);
  background: var(--paper);
}

.login-card { width: min(100%, 420px); }
.login-card h2 { margin: 12px 0 8px; font-family: "Noto Serif SC", serif; font-size: 38px; }

.field { display: grid; gap: 8px; margin-top: 20px; }
.field label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}
.field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  outline: none;
}
.field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 148, 69, .15);
}

.password-wrap { position: relative; }
.password-wrap input { padding-right: 48px; }
.icon-button {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.icon-button:hover { background: var(--panel); }

.error {
  display: none;
  margin-top: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}
.error.show { display: block; }

.security-note {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding: 14px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
}

.workspace {
  min-height: calc(100vh - 68px);
  background:
    linear-gradient(180deg, rgba(79, 155, 104, .15), transparent 390px),
    linear-gradient(90deg, rgba(35, 23, 17, .05), transparent 32%),
    var(--paper);
}

.workspace-hero {
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 64px) 32px;
}

.workspace-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  align-items: end;
}

.org-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-bottom: 22px;
  padding: 10px 14px 10px 10px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(79, 155, 104, .24);
  border-radius: 8px;
  font-weight: 800;
}

.org-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 7px;
  font-size: 12px;
}

.workspace-hero h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.14;
  margin: 14px 0;
}

.workspace-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 660px;
  margin-top: 26px;
}

.workspace-stat {
  padding: 16px;
  background: rgba(255, 254, 253, .74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workspace-stat strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.workspace-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.quick-panel {
  padding: 20px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 8px;
}

.quick-panel h2 { margin: 0 0 16px; font-size: 17px; }
.quick-list { display: grid; gap: 10px; }
.quick-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  color: rgba(255, 250, 242, .82);
  background: rgba(255, 250, 242, .07);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.quick-list a:hover { background: rgba(255, 250, 242, .12); }

.workspace-content {
  padding: 0 clamp(20px, 5vw, 64px) clamp(48px, 6vw, 80px);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.info-panel { padding: 22px; }
.info-panel h2 { margin: 0 0 14px; font-size: 18px; }
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.status-row:first-of-type { border-top: 0; }
.status-row a { color: var(--coffee); font-size: 13px; font-weight: 800; text-decoration: none; }

.user-box { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--coffee);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero, .login-shell, .workspace-hero-inner { grid-template-columns: 1fr; }
  .hero-media { min-height: 580px; }
  .hero-panel { border-left: 0; transform: none; padding-top: 30px; }
  .tool-grid, .feature-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .login-art { min-height: 420px; }
}

@media (max-width: 680px) {
  .site-nav, .topbar { height: auto; min-height: 64px; padding: 12px 16px; }
  .brand-name small { display: none; }
  .hero-media { min-height: 560px; padding: 28px 20px; }
  .hero-panel { padding: 24px 20px 34px; }
  .coffee-steam, .cafe-glow { display: none; }
  .metric-grid, .info-grid { grid-template-columns: 1fr; }
  .workspace-stats { grid-template-columns: 1fr; }
  .tool-card { min-height: auto; padding: 22px; }
  .login-panel { padding: 32px 20px; }
  .footer { align-items: start; flex-direction: column; }
}
