
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: "Nunito Sans", Inter, Arial, Helvetica, sans-serif;
}

body:has(.app-shell:not(.hidden)) {
  overflow: hidden;
}

main:has(.app-shell:not(.hidden)) {
  height: 100vh;
  overflow: hidden;
}

h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
.hidden { display: none !important; }

input[type="radio"],
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary);
}

button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

button:hover { background: var(--primary-dark); }

.link-button {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  font-size: inherit;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
}

.link-button:hover {
  background: transparent;
  color: var(--primary-dark);
}

.marketing-page { min-height: 100vh; background: #ffffff; }

.site-header {
  min-height: 76px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #edf0f5;
}

.site-logo {
  width: fit-content;
  padding: 10px 13px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24);
}

.brand-logo {
  width: 150px;
  height: auto;
  display: block;
}

[data-home-logo] {
  cursor: pointer;
}

.brand-logo.small {
  width: 138px;
}

.sidebar-logo-img {
  width: 54px;
  height: 38px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: #ffffff;
}

.site-nav, .site-actions, .hero-actions, .auth-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: #263242;
  text-decoration: none;
  font-weight: 800;
}

.ghost-button, .secondary-button, .social-button {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

.ghost-button:hover, .secondary-button:hover, .social-button:hover { background: #eff6ff; }
.ghost-button.dark { color: var(--ink); border-color: var(--line); }
.danger-button { background: var(--danger); }
.danger-button:hover { background: #8f1f16; }

.hero-section {
  min-height: 620px;
  padding: 68px 48px 76px;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 54px;
  background:
    radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-top: 14px;
  max-width: 720px;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-copy p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions { margin-top: 30px; }
.hero-visual { position: relative; min-height: 430px; }

.hero-visual img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}
