:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef6f8;
  --ink: #071426;
  --muted: #566579;
  --line: #d8e1ea;
  --brand: #087f73;
  --brand-dark: #055f57;
  --blue: #1769e8;
  --warn: #9a5a00;
  --radius: 18px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 225, 234, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #0bb3a2, #1769e8);
  color: #fff;
  font-weight: 900;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 72px 0 44px;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 21px;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button.primary:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(8, 127, 115, 0.24);
  background: #eaf8f6;
  color: var(--brand-dark);
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.input {
  min-height: 46px;
  padding: 10px 12px;
}

.textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

.notice {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #b8ece5;
  border-radius: 14px;
  background: #eaf8f6;
  color: var(--brand-dark);
}

.danger {
  border-color: #ffd0d0;
  background: #fff1f1;
  color: #9f1239;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(7, 20, 38, 0.08);
  overflow: hidden;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
  font-weight: 900;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #18b67b;
}

.workspace-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.preview-card {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.preview-card strong {
  font-size: 15px;
}

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

.grid {
  display: grid;
  gap: 16px;
}

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

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

.section {
  padding: 44px 0;
}

.card {
  height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card p,
.policy p,
.policy li {
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344154;
  font-size: 13px;
  font-weight: 800;
}

.banner {
  margin: 32px 0;
  padding: 22px;
  border: 1px solid #ffd58a;
  border-radius: var(--radius);
  background: #fff8e8;
  color: var(--warn);
}

.login-card {
  max-width: 520px;
  margin: 64px auto;
}

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

.policy {
  max-width: 840px;
  padding: 56px 0;
}

.policy h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.policy h2 {
  margin-top: 32px;
  font-size: 26px;
}

.policy ul {
  padding-left: 22px;
}

@media (max-width: 820px) {
  .topbar-inner,
  .hero {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 42px;
  }

  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }
}
