/* WearCue Web — aligned with App design tokens */

:root {
  --wc-canvas: #f4f0ec;
  --wc-surface: #f8f3ef;
  --wc-surface-raised: #fffcf8;
  --wc-wash: #f3e6e1;
  --wc-text: #24361e;
  --wc-text-secondary: #6b635a;
  --wc-text-tertiary: #9a9086;
  --wc-accent: #e05a44;
  --wc-accent-soft: #f3e6e1;
  --wc-border: #e5dfd6;
  --wc-quote: #bbb99f;
  --wc-on-accent: #ffffff;

  --wc-font-display: "Songti SC", "STSong", "Noto Serif SC", Didot, Georgia, "Times New Roman", serif;
  --wc-font-body: "PingFang SC", "Hiragino Sans GB", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wc-radius: 16px;
  --wc-radius-sm: 8px;
  --wc-page: 20px;
  --wc-measure: 42rem;
  --wc-hairline: 1px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--wc-canvas);
  color: var(--wc-text);
  font-family: var(--wc-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--wc-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* —— Layout —— */

.page {
  width: min(100% - (var(--wc-page) * 2), var(--wc-measure));
  margin-inline: auto;
  padding-block: 40px 64px;
}

.page--home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
  padding-block: 48px;
}

/* —— Header —— */

.site-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 40px;
}

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

.brand:hover {
  text-decoration: none;
}

.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: calc(44px * 0.2237);
  object-fit: cover;
  flex-shrink: 0;
}

.brand__mark {
  font-family: var(--wc-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  color: var(--wc-text-secondary);
  line-height: 1;
}

.page-title {
  margin: 0;
  font-family: var(--wc-font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--wc-text);
}

.lede {
  margin: 12px 0 0;
  max-width: 34em;
  font-size: 1rem;
  color: var(--wc-text-secondary);
  line-height: 1.7;
}

.meta {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--wc-text-tertiary);
}

/* —— Cards & sections —— */

.card {
  background: var(--wc-surface-raised);
  border: var(--wc-hairline) solid var(--wc-border);
  border-radius: var(--wc-radius);
  padding: 20px 20px;
}

.card + .card {
  margin-top: 16px;
}

.section {
  margin-top: 36px;
}

.section__title {
  margin: 0 0 16px;
  font-family: var(--wc-font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--wc-text);
}

.section__rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section__rule::before {
  content: "";
  width: 3px;
  height: 1.1em;
  border-radius: 2px;
  background: var(--wc-quote);
  flex-shrink: 0;
}

.section__rule .section__title {
  margin: 0;
}

/* —— Contact CTA —— */

.contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__label {
  margin: 0;
  font-size: 13px;
  color: var(--wc-text-tertiary);
}

.contact__email {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  word-break: break-all;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--wc-radius);
  border: none;
  font-family: var(--wc-font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.92;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--wc-accent);
  color: var(--wc-on-accent);
  align-self: flex-start;
}

.btn--primary:hover {
  color: var(--wc-on-accent);
}

/* —— FAQ —— */

.faq {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq__item {
  padding: 18px 0;
}

.faq__item + .faq__item {
  border-top: var(--wc-hairline) solid var(--wc-border);
}

.faq__q {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 560;
  color: var(--wc-text);
  line-height: 1.45;
}

.faq__a {
  margin: 0;
  color: var(--wc-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* —— Link list —— */

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 12px 0;
  border-bottom: var(--wc-hairline) solid var(--wc-border);
  text-decoration: none;
  color: var(--wc-text);
  font-size: 1rem;
}

.link-list__item:last-child {
  border-bottom: none;
}

.link-list__item:hover {
  color: var(--wc-accent);
  text-decoration: none;
}

.link-list__chevron {
  color: var(--wc-text-tertiary);
  font-size: 13px;
  margin-left: 12px;
}

/* —— Home —— */

.home-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 40px;
}

.home-brand__icon {
  width: 88px;
  height: 88px;
  border-radius: calc(88px * 0.2237);
  object-fit: cover;
}

.home-brand__name {
  margin: 0;
  font-family: var(--wc-font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-brand__mark {
  margin: -8px 0 0;
  font-family: var(--wc-font-display);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  color: var(--wc-text-tertiary);
}

.home-brand__tagline {
  margin: 0;
  max-width: 22em;
  color: var(--wc-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.home-nav {
  background: var(--wc-surface-raised);
  border: var(--wc-hairline) solid var(--wc-border);
  border-radius: var(--wc-radius);
  overflow: hidden;
}

.home-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 20px;
  text-decoration: none;
  color: var(--wc-text);
  font-size: 1rem;
}

.home-nav__row + .home-nav__row {
  position: relative;
}

.home-nav__row + .home-nav__row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 0;
  height: var(--wc-hairline);
  background: var(--wc-border);
}

.home-nav__row:hover {
  color: var(--wc-accent);
}

.home-nav__chevron {
  color: var(--wc-text-tertiary);
  font-size: 13px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card--flush {
  padding-block: 4px;
  padding-inline: 20px;
}

/* —— Privacy prose —— */

.prose h2 {
  margin: 36px 0 12px;
  font-family: var(--wc-font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 14px;
  color: var(--wc-text-secondary);
}

.prose p strong {
  color: var(--wc-text);
  font-weight: 560;
}

.prose ul {
  margin: 0 0 14px;
  padding-left: 1.25em;
  color: var(--wc-text-secondary);
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--wc-quote);
}

.prose-card {
  background: var(--wc-surface-raised);
  border: var(--wc-hairline) solid var(--wc-border);
  border-radius: var(--wc-radius);
  padding: 24px 22px;
}

/* —— Footer —— */

.site-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: var(--wc-hairline) solid var(--wc-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--wc-text-tertiary);
}

.site-footer a {
  color: var(--wc-text-secondary);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--wc-accent);
  text-decoration: underline;
}

.site-footer__sep {
  color: var(--wc-border);
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  width: 100%;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.lang-switch__btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 4px 6px;
  margin: 0;
  font-family: var(--wc-font-body);
  font-size: 13px;
  line-height: 1.2;
  color: var(--wc-text-tertiary);
  cursor: pointer;
  border-radius: 6px;
}

.lang-switch__btn:hover {
  color: var(--wc-accent);
}

.lang-switch__btn.is-active {
  color: var(--wc-text);
  font-weight: 560;
}

.lang-switch__sep {
  color: var(--wc-border);
  font-size: 12px;
  user-select: none;
}

/* —— Responsive —— */

@media (max-width: 480px) {
  .page {
    padding-block: 28px 48px;
  }

  .site-header {
    gap: 20px;
    margin-bottom: 28px;
  }

  .btn--primary {
    align-self: stretch;
  }

  .prose-card {
    padding: 20px 16px;
  }
}
