:root {
  --paper: #f7f3eb;
  --paper-strong: #fffaf1;
  --ink: #14241f;
  --muted: #66736e;
  --green: #173d32;
  --green-soft: #d9e8dd;
  --sage: #8aa493;
  --clay: #c98f65;
  --rose: #e7c9b8;
  --blue: #5d7585;
  --line: rgba(20, 36, 31, 0.14);
  --shadow: 0 24px 80px rgba(32, 45, 40, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-color: rgba(23, 61, 50, 0.32);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

.site-header,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 82px;
}

.brand {
  font-size: 22px;
  font-weight: 720;
  letter-spacing: 0;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.nav,
.footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--green);
  font-weight: 650;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.76);
  padding: 3px;
  box-shadow: 0 12px 36px rgba(32, 45, 40, 0.08);
}

.language-switch a {
  min-width: 42px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  background: var(--green);
  color: var(--paper-strong);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 118px);
  margin: 0 auto;
  padding: 38px 0 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.76fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(40px, 5.5vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: var(--paper-strong);
}

.button.secondary,
.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
  color: var(--green);
}

.button.ghost {
  color: var(--muted);
}

.release-note {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 14px;
}

.release-note span:first-child {
  color: var(--green);
  font-weight: 760;
}

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

.phone-art {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(360px, 100%);
  min-height: 620px;
  border: 9px solid #1c2925;
  border-radius: 38px;
  padding: 20px;
  background:
    radial-gradient(circle at 18% 12%, rgba(231, 201, 184, 0.66), transparent 25%),
    linear-gradient(155deg, #fffaf1 0%, #eef3ed 58%, #d7e1d8 100%);
  box-shadow: var(--shadow);
}

.phone-top {
  width: 76px;
  height: 6px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: rgba(20, 36, 31, 0.24);
}

.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.app-toolbar span {
  font-size: 25px;
  font-weight: 760;
}

.app-toolbar strong {
  border: 1px solid rgba(20, 36, 31, 0.12);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 250, 241, 0.72);
  color: var(--green);
  font-size: 13px;
}

.today-card,
.item-card,
.stylist-note {
  border: 1px solid rgba(20, 36, 31, 0.11);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 250, 241, 0.7);
}

.stylist-card {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 12px;
}

.stylist-card img {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 250, 241, 0.82);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 34%;
  box-shadow: 0 12px 30px rgba(32, 45, 40, 0.18);
}

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

.stylist-card strong {
  color: var(--green);
  font-size: 15px;
}

.stylist-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.today-card p,
.item-card small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.today-card h3 {
  margin: 5px 0 12px;
  max-width: 240px;
  font-size: 24px;
  line-height: 1.05;
}

.weather-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 680;
}

.wardrobe-stack {
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

.item-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 68px 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: 14px;
  overflow: hidden;
}

.item-card > span:first-child {
  grid-row: 1 / 3;
}

.item-card strong {
  align-self: end;
  font-size: 16px;
}

.item-card small {
  align-self: start;
}

.hanger,
.folded,
.trouser {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  position: relative;
  display: block;
}

.hanger::before,
.folded::before,
.trouser::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.64);
}

.trouser::before {
  inset: 12px 20px;
  border-radius: 5px;
  box-shadow: -13px 10px 0 rgba(255, 250, 241, 0.46), 13px 10px 0 rgba(255, 250, 241, 0.46);
}

.coat {
  background: linear-gradient(140deg, #27473d, #88a093);
}

.knit {
  background: linear-gradient(140deg, #f4dcc9, #c98f65);
}

.denim {
  background: linear-gradient(140deg, var(--blue), #293a42);
}

.stylist-note {
  color: var(--green);
  font-weight: 650;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 32px;
}

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

.feature {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 250, 241, 0.68);
}

.feature:nth-child(2) {
  background: rgba(217, 232, 221, 0.54);
}

.feature:nth-child(3) {
  background: rgba(231, 201, 184, 0.38);
}

.feature-icon {
  width: fit-content;
  min-width: 38px;
  height: 30px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 9px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.feature p,
.band p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.band {
  margin: 28px 0 78px;
  padding: 64px max(16px, calc((100% - 1120px) / 2));
  background: var(--green);
  color: var(--paper-strong);
}

.band .eyebrow,
.band p {
  color: rgba(255, 250, 241, 0.78);
}

.band div {
  max-width: 720px;
}

.band-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.band-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--paper-strong);
  text-decoration: none;
}

.legal-page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.legal-page h1 {
  font-size: clamp(40px, 7vw, 64px);
}

.legal-page section {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 28px;
}

.legal-page h2 {
  font-size: 25px;
}

.legal-page ul {
  padding-left: 22px;
}

.path {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--paper-strong);
  color: var(--green) !important;
  font-weight: 700;
}

.support-page {
  min-height: calc(100vh - 170px);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .site-header {
    padding: 22px 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 32px;
    gap: 34px;
  }

  .phone-art {
    justify-content: flex-start;
  }

  .phone-frame {
    width: min(360px, 100%);
    min-height: 570px;
  }

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

@media (max-width: 560px) {
  .nav,
  .footer nav {
    gap: 10px 14px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 29px;
  }

  .lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .phone-frame {
    width: min(300px, 100%);
    min-height: 500px;
    border-width: 7px;
    border-radius: 30px;
    padding: 14px;
  }

  .today-card h3 {
    font-size: 20px;
  }

  .stylist-card {
    grid-template-columns: 48px 1fr;
    gap: 10px;
  }

  .stylist-card img {
    width: 48px;
    height: 48px;
  }

  .item-card {
    min-height: 72px;
    grid-template-columns: 50px 1fr;
    padding: 12px;
  }

  .hanger,
  .folded,
  .trouser {
    width: 50px;
    height: 50px;
  }

  .wardrobe-stack {
    gap: 8px;
  }

  .stylist-note {
    font-size: 14px;
  }

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

  .feature {
    min-height: auto;
  }
}
