@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #f7f5f1;
  --bg2: #efede8;
  --bg3: #e8e4dc;
  --accent: #7c6e5b;
  --accent2: #a89880;
  --rose: #c4816a;
  --rose-dk: #a0614d;
  --sage: #6b7c6e;
  --sage-soft: #e5ebe3;
  --text: #2c2820;
  --text-2: #6b6258;
  --text-3: #a09890;
  --border: #ddd9d0;
  --white: #fdfcfa;
  --danger: #9e3c33;
  --gold: #d8a94f;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", sans-serif;
  --r: 10px;
  --r2: 18px;
  --shadow: 0 18px 52px rgba(81, 64, 44, 0.09);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 92% 4%, rgba(196, 129, 106, 0.09), transparent 32rem),
    radial-gradient(circle at 7% 0%, rgba(107, 124, 110, 0.08), transparent 24rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.container,
.mw {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(820px, 92vw);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 0.94rem;
  font-weight: 600;
}

p {
  color: var(--text-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 245, 241, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 12px;
  background: var(--rose);
  box-shadow: 0 10px 24px rgba(160, 97, 77, 0.22);
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}

.nav-links,
.button-row,
.card-actions,
.request-actions,
.hero-actions,
.cta-btns {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.nav-links {
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
}

.nav-link {
  color: var(--text-2);
  font-size: 0.82rem;
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--text);
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.76rem 1.32rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  color: var(--white);
  background: var(--rose);
  box-shadow: 0 12px 24px rgba(160, 97, 77, 0.18);
}

.btn-primary:hover:not(:disabled) {
  background: var(--rose-dk);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}

.btn-secondary:hover:not(:disabled) {
  color: var(--rose);
  border-color: var(--rose);
}

.btn-soft {
  color: var(--sage);
  border-color: rgba(107, 124, 110, 0.2);
  background: var(--sage-soft);
}

.btn-white {
  color: var(--rose);
  background: var(--white);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
}

.page-content {
  padding: 2.4rem 0 4rem;
}

.kicker,
.label {
  margin: 0 0 1rem;
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  color: var(--text-2);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
}

.muted {
  color: var(--text-2);
}

/* Landing */
.landing {
  overflow: hidden;
}

.landing-section {
  padding: 96px 6vw;
}

.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 6vw 60px;
  position: relative;
}

.hero::after {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55vw;
  height: 55vw;
  min-width: 440px;
  min-height: 440px;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(196, 129, 106, 0.09) 0%, transparent 68%);
}

.hero-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-title {
  max-width: 820px;
  margin: 0 0 1.4rem;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 1.02;
}

.hero-title em {
  color: var(--rose);
  font-style: italic;
}

.hero-sub {
  max-width: 500px;
  margin: 0 0 2.1rem;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions {
  margin-bottom: 3rem;
}

.hero-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-bar-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-bar-item svg {
  color: var(--rose);
  flex-shrink: 0;
}

.hero-card {
  position: relative;
}

.item-board {
  display: grid;
  gap: 0.86rem;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 0.95rem;
  background: rgba(253, 252, 250, 0.88);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.borrow-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.78rem;
  background: var(--white);
}

.borrow-card:nth-child(2) {
  transform: translateX(-1rem);
}

.borrow-card:nth-child(3) {
  transform: translateX(0.8rem);
}

.item-icon,
.item-thumb,
.listing-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--rose);
  background: var(--bg3);
  font-weight: 700;
}

.item-thumb {
  object-fit: cover;
}

.borrow-card strong,
.borrow-card span {
  display: block;
}

.borrow-card span {
  color: var(--text-2);
  font-size: 0.86rem;
}

.price-tag,
.pill {
  width: fit-content;
  border-radius: 999px;
  padding: 0.32rem 0.66rem;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-tag,
.pill.free {
  color: var(--sage);
  background: var(--sage-soft);
}

.pill.paid {
  color: #7b4f16;
  background: #f4dfaa;
}

.pill.borrowed {
  color: #8a3a30;
  background: #f3d2cb;
}

.stats {
  padding: 32px 6vw;
  background: var(--sage);
}

.stats .mw {
  display: flex;
  flex-wrap: wrap;
}

.s-item {
  flex: 1;
  min-width: 170px;
  padding: 0 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.s-item:first-child {
  padding-left: 0;
}

.s-item:last-child {
  border-right: 0;
}

.s-num {
  margin-bottom: 0.25rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}

.s-lbl {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.section-white {
  background: var(--white);
}

.section-muted {
  background: var(--bg2);
}

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

.section-head h2,
.landing-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--text-2);
  line-height: 1.7;
}

.prob-grid,
.trust-g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.prob-q {
  position: sticky;
  top: 90px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.35;
}

.prob-q em {
  color: var(--rose);
  font-style: italic;
}

.prob-cards,
.trust-rows,
.t-items,
.stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.prob-card,
.part-c,
.feature-card,
.panel,
.login-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow);
}

.prob-card,
.part-c,
.feature-card,
.panel,
.login-card {
  padding: 1.45rem;
}

.prob-card,
.part-c {
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.prob-card:hover,
.part-c:hover {
  border-color: var(--accent2);
}

.p-icon,
.i-ico,
.part-ico {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  border-radius: 7px;
  background: var(--bg3);
}

.p-icon svg,
.i-ico svg,
.part-ico svg {
  width: 16px;
  height: 16px;
  stroke: var(--rose);
  fill: none;
  stroke-width: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  background: var(--border);
}

.step {
  padding: 2.2rem 1.75rem;
  background: var(--white);
}

.step-n {
  margin-bottom: 1.2rem;
  color: var(--bg3);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
}

.step h3,
.prob-card h3,
.part-c h3,
.feature-card h3,
.panel h2,
.panel h3 {
  margin: 0 0 0.45rem;
}

.step p,
.prob-card p,
.part-c p,
.feature-card p,
.panel p {
  color: var(--text-2);
  line-height: 1.65;
}

.items-g {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.9rem;
  margin-top: 3rem;
}

.item-c {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.1rem;
  background: var(--white);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.item-c:hover {
  border-color: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(100, 60, 40, 0.06);
}

.i-ico {
  flex-shrink: 0;
  margin-bottom: 0;
}

.i-name {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}

.t-row {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--border);
}

.t-row:last-child {
  border-bottom: 0;
}

.t-bar {
  width: 2px;
  min-height: 16px;
  align-self: stretch;
  flex-shrink: 0;
  margin-top: 3px;
  border-radius: 2px;
  background: var(--rose);
}

.t-panel {
  position: sticky;
  top: 90px;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 2.2rem;
  background: var(--bg);
}

.t-big {
  color: var(--rose);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}

.t-sub {
  margin-bottom: 1.8rem;
  color: var(--text-3);
  font-size: 0.78rem;
}

.t-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 7px;
  padding: 0.8rem;
  color: var(--text);
  background: var(--white);
  font-size: 0.83rem;
  font-weight: 600;
}

.t-dot {
  width: 18px;
  height: 18px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rose);
}

.t-dot svg {
  width: 9px;
  height: 9px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}

.comp-wrap {
  margin-top: 3rem;
  overflow-x: auto;
}

table.comp {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-collapse: collapse;
  border-radius: var(--r2);
}

.comp thead th {
  padding: 0.95rem 1.4rem;
  color: var(--text-2);
  background: var(--bg3);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
}

.comp thead th.nh {
  color: #fff;
  background: var(--rose);
}

.comp tbody td {
  padding: 0.95rem 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  background: var(--white);
  font-size: 0.85rem;
}

.comp tbody td:first-child {
  color: var(--text);
  font-weight: 600;
}

.comp tbody td.nh {
  color: var(--text);
  background: #fdf1ee;
}

.cy {
  color: var(--rose);
  font-weight: 700;
}

.cn {
  color: var(--text-3);
}

.part-g,
.feature-grid,
.impact-strip,
.app-grid,
.account-grid {
  display: grid;
  gap: 0.9rem;
}

.part-g {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3rem;
}

.part-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  border-radius: var(--r2);
  padding: 2.2rem 2.8rem;
  background: var(--sage);
}

.part-banner h3 {
  margin: 0 0 0.2rem;
  color: #fff;
  font-size: 1.05rem;
}

.part-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.83rem;
}

.vision {
  text-align: center;
}

.vision h2 {
  max-width: 560px;
  margin: 0 auto 1.2rem;
}

.vis-sub {
  max-width: 440px;
  margin: 0 auto 2.8rem;
  font-size: 0.92rem;
}

.cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.city {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.38rem 0.95rem;
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.city.on {
  border-color: var(--rose);
  color: var(--rose);
  background: rgba(196, 129, 106, 0.06);
}

.cta-section {
  padding: 110px 6vw;
  text-align: center;
  background: var(--rose);
}

.cta-section .label {
  color: rgba(255, 255, 255, 0.64);
}

.cta-section h2 {
  max-width: 540px;
  margin: 0 auto 0.9rem;
  color: #fff;
}

.cta-sub {
  max-width: 420px;
  margin: 0 auto 2.2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.note {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.74rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 36px 6vw;
  background: var(--text);
}

.f-logo {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.78rem;
}

.f-links {
  display: flex;
  gap: 1.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.f-links a {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.f-links a:hover {
  color: rgba(255, 255, 255, 0.78);
}

.fu,
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 550ms ease,
    transform 550ms ease;
}

.fu.is-revealed,
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* App and account */
.auth-gate {
  text-align: center;
}

.auth-gate-actions {
  justify-content: center;
  margin-top: 1rem;
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.app-hero h1,
.panel h1,
.login-card h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.badge-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid rgba(107, 124, 110, 0.22);
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  color: var(--sage);
  background: var(--sage-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.app-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.8fr);
  align-items: start;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.listing-card {
  display: grid;
  gap: 0.78rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(80, 50, 22, 0.07);
}

.listing-media {
  min-height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg3);
}

.listing-media img {
  width: 100%;
  height: 180px;
  display: block;
  object-fit: cover;
}

.listing-media .listing-icon {
  width: 84px;
  height: 84px;
  font-size: 1.4rem;
}

.listing-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.listing-top h3 {
  margin: 0;
  font-size: 1.1rem;
}

.listing-card p {
  margin: 0;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  color: var(--text-2);
  font-size: 0.84rem;
}

.safety-note {
  border-left: 2px solid var(--rose);
  padding-left: 0.7rem;
  color: var(--text-2);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.field-label {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.78rem 0.86rem;
  color: var(--text);
  background: rgba(253, 252, 250, 0.92);
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(196, 129, 106, 0.12);
}

.request-panel {
  border-color: rgba(107, 124, 110, 0.28);
  background: linear-gradient(180deg, var(--white), #f3f5f1);
}

.selected-item {
  border: 1px solid rgba(107, 124, 110, 0.22);
  border-radius: var(--r);
  padding: 0.8rem;
  background: var(--sage-soft);
}

.selected-item strong {
  display: block;
}

.request-list,
.post-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.request-item,
.post-item,
.empty-state {
  display: grid;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.82rem;
  background: rgba(253, 252, 250, 0.72);
}

.request-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.request-main {
  display: grid;
  gap: 0.18rem;
}

.request-main span,
.post-item p {
  color: var(--text-2);
}

.post-item p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: min(420px, 92vw);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.9rem 1rem;
  color: var(--text);
  background: var(--white);
  box-shadow: var(--shadow);
}

.toast[data-tone="success"] {
  border-color: rgba(107, 124, 110, 0.34);
  background: #edf4eb;
}

.toast[data-tone="error"] {
  border-color: rgba(158, 60, 51, 0.4);
  color: var(--danger);
}

.login-shell {
  min-height: calc(100vh - 60px);
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.login-card {
  width: min(520px, 92vw);
}

.login-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.02;
}

.notice {
  border: 1px solid rgba(216, 169, 79, 0.52);
  border-radius: var(--r);
  padding: 0.8rem;
  color: #7b4f16;
  background: #fff3d0;
}

.profile-list {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0.62rem 1rem;
}

.profile-list dt {
  font-weight: 700;
}

.profile-list dd {
  margin: 0;
  color: var(--text-2);
}

.account-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

@media (prefers-reduced-motion: reduce) {
  .fu,
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .prob-grid,
  .trust-g,
  .app-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .impact-strip,
  .feature-grid,
  .listing-grid,
  .part-g {
    grid-template-columns: 1fr;
  }

  .borrow-card:nth-child(2),
  .borrow-card:nth-child(3),
  .item-board {
    transform: none;
  }

  .app-hero,
  .section-head,
  .request-item {
    grid-template-columns: 1fr;
  }

  .toolbar,
  .two-col,
  .steps {
    grid-template-columns: 1fr;
  }

  .prob-q,
  .t-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .landing-section {
    padding: 68px 6vw;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-title {
    font-size: clamp(3rem, 16vw, 4.2rem);
  }

  .hero-bar {
    gap: 1rem;
  }

  .stats .mw {
    gap: 1rem;
  }

  .s-item {
    min-width: 100%;
    padding: 0 0 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .s-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .part-banner {
    padding: 1.8rem;
  }

  .meta-grid,
  .profile-list {
    grid-template-columns: 1fr;
  }
}
