@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6f6f6f;
  --faint: #f7f7f7;
  --line: #e5e5e5;
  --line-strong: #111111;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button,
input {
  font: inherit;
}

.brand,
.preview-logo,
h1,
h2,
.legal-title,
.auth-title {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 22px;
}

.top-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 52px;
  min-height: calc(100vh - 64px);
  padding: 92px 7vw 64px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  align-self: center;
  max-width: 780px;
}

.eyebrow,
.section-number {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.98;
}

.hero-text {
  max-width: 540px;
  margin: 30px 0 0;
  color: #333333;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
}

.button.primary {
  background: #111111;
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: #111111;
}

.board-preview {
  align-self: center;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 18px;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.preview-logo {
  color: var(--text);
  font-size: 24px;
}

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

.preview-card {
  min-width: 0;
}

.preview-image {
  aspect-ratio: 3 / 4;
  margin-bottom: 10px;
  background:
    linear-gradient(to bottom, transparent 26%, rgba(255,255,255,0.52) 26%, rgba(255,255,255,0.52) 74%, transparent 74%),
    #f0f0f0;
}

.preview-image.dark {
  background:
    linear-gradient(145deg, #f7f7f7 0 42%, #101010 42% 58%, #f7f7f7 58%),
    #f7f7f7;
}

.preview-image.soft {
  background:
    linear-gradient(145deg, #f3f0e8 0 44%, #d9d5c7 44% 62%, #f3f0e8 62%),
    #f3f0e8;
}

.preview-image.pale {
  background:
    linear-gradient(145deg, #f6f6f3 0 38%, #ebe7dc 38% 60%, #f6f6f3 60%),
    #f6f6f3;
}

.preview-card p,
.preview-card strong,
.preview-card span {
  display: block;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-card p,
.preview-card span {
  color: var(--muted);
  font-size: 11px;
}

.preview-card strong {
  margin: 3px 0;
  font-size: 12px;
  font-weight: 400;
}

.preview-note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 76px 7vw;
  border-bottom: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1fr);
  gap: 64px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.05;
}

.copy-stack {
  max-width: 640px;
  color: #333333;
  font-size: 15px;
}

.copy-stack p {
  margin: 0 0 18px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line);
}

.feature-list article {
  min-height: 260px;
  padding: 28px;
  background: #ffffff;
}

.feature-list span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.feature-list h3 {
  margin: 34px 0 12px;
  font-size: 18px;
  font-weight: 400;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.legal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.legal-strip p {
  margin: 0;
}

.legal-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 28px;
  color: var(--muted);
  font-size: 11px;
}

.legal-page,
.auth-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal-title,
.auth-title {
  margin: 0 0 28px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1;
}

.legal-page h2,
.auth-page h2 {
  margin: 42px 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

.legal-page p,
.legal-page li,
.auth-page p {
  color: #333333;
  font-size: 14px;
}

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

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

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
}

.support-card {
  min-height: 180px;
  padding: 24px;
  background: #ffffff;
}

.auth-panel {
  border: 1px solid var(--line);
  padding: 24px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.form-row label {
  color: var(--muted);
  font-size: 12px;
}

.form-row input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: #ffffff;
  color: var(--text);
}

.status-message {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  color: #333333;
  font-size: 13px;
}

.status-message.error {
  border-color: #b00020;
  color: #8a0018;
}

.status-message.success {
  border-color: #111111;
  color: #111111;
}

@media (max-width: 920px) {
  .site-header,
  .site-footer,
  .legal-strip {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
  }

  .hero,
  .two-column,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
    min-height: auto;
    padding: 70px 20px 52px;
  }

  .section {
    padding: 56px 20px;
  }

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

  .preview-grid {
    gap: 10px;
  }
}
