/* SisuLab Marketing Site — Adobe Express × Notion warmth */

:root {
  --bg-base: #F7F6F2;
  --bg-elevated: #FFFFFF;
  --bg-muted: #F0EFEB;
  --moss-deep: #2F4F44;
  --moss-mid: #4A6B5D;
  --moss-light: #8FAF9E;
  --mint-glow: rgba(168, 208, 186, 0.35);
  --warm-accent: #D4C4A8;
  --warm-glow: rgba(232, 220, 196, 0.6);
  --ink: #1A2420;
  --ink-secondary: #5C6B65;
  --ink-muted: #8B9A94;
  --line: rgba(47, 79, 68, 0.12);
  --shadow-sm: 0 2px 8px rgba(47, 79, 68, 0.06);
  --shadow-md: 0 12px 40px rgba(47, 79, 68, 0.08);
  --shadow-lg: 0 24px 64px rgba(47, 79, 68, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 64px;
  --max-w: 1120px;
  --max-w-narrow: 720px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-base);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss-mid); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--moss-deep); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-secondary);
  line-height: 1.7;
  max-width: 540px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss-mid);
}

/* ── Layout ── */
.container {
  width: min(var(--max-w), calc(100% - 48px));
  margin-inline: auto;
}

.container--narrow {
  width: min(var(--max-w-narrow), calc(100% - 48px));
  margin-inline: auto;
}

section { padding-block: clamp(64px, 10vw, 96px); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.site-logo:hover { color: var(--ink); }

.site-logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--moss-mid), var(--moss-deep));
  display: grid;
  place-items: center;
}

.site-logo__mark svg { width: 18px; height: 18px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.site-nav a:hover,
.site-nav a.is-active { color: var(--moss-deep); }

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--moss-deep);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}

.site-nav__cta:hover {
  background: var(--moss-mid);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.btn--primary {
  background: var(--moss-deep);
  color: #fff;
}

.btn--primary:hover {
  background: var(--moss-mid);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--bg-elevated);
  color: var(--moss-deep);
  border: 1.5px solid var(--line);
}

.btn--secondary:hover {
  border-color: var(--moss-light);
  color: var(--moss-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--moss-mid);
  padding: 13px 18px;
}

.btn--ghost:hover { color: var(--moss-deep); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Hero ── */
.hero {
  padding-block: clamp(72px, 12vw, 120px) clamp(56px, 8vw, 80px);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--mint-glow) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 10%, var(--warm-glow) 0%, transparent 50%),
    var(--bg-base);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero h1 { margin-bottom: 20px; }

.hero .lead { margin-bottom: 32px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  animation: fadeUp 0.6s var(--ease) both;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6BC98A;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 { animation: fadeUp 0.6s 0.1s var(--ease) both; }
.hero .lead { animation: fadeUp 0.6s 0.2s var(--ease) both; }
.hero .btn-group { animation: fadeUp 0.6s 0.3s var(--ease) both; }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint-glow);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-secondary); font-size: 0.95rem; }

.card--tool {
  position: relative;
  overflow: hidden;
}

.card--tool.is-available {
  border-color: rgba(74, 107, 93, 0.25);
}

.card--tool.is-coming {
  opacity: 0.75;
  background: var(--bg-muted);
}

.card__status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.card__status--live {
  background: rgba(107, 201, 138, 0.15);
  color: #3D8B5F;
}

.card__status--soon {
  background: rgba(139, 154, 148, 0.15);
  color: var(--ink-muted);
}

.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.card__actions .btn { padding: 10px 18px; font-size: 0.85rem; }

/* ── Steps / Workflow ── */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--moss-deep);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.step h4 { margin-bottom: 6px; font-size: 0.9rem; }
.step p { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.5; }

/* ── Section headers ── */
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-header .eyebrow { margin-bottom: 12px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--ink-secondary); }

/* ── Feature list ── */
.feature-list {
  display: grid;
  gap: 32px;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.feature-item__num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mint-glow);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--moss-deep);
  font-size: 1.1rem;
}

.feature-item h3 { margin-bottom: 6px; }
.feature-item p { color: var(--ink-secondary); font-size: 0.95rem; }

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-card__body { padding: 24px; }

.blog-card__cat {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--moss-mid);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 600;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.blog-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--moss-mid);
}

.blog-card.is-soon { opacity: 0.7; }
.blog-card.is-soon .blog-card__link { color: var(--ink-muted); cursor: default; }

/* ── Docs ── */
.doc-steps {
  counter-reset: docstep;
  display: grid;
  gap: 40px;
}

.doc-step {
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.doc-step h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-step h2::before {
  counter-increment: docstep;
  content: counter(docstep);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--moss-deep);
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  flex-shrink: 0;
}

.doc-step ol {
  margin: 16px 0 16px 20px;
  color: var(--ink-secondary);
}

.doc-step ol li { margin-bottom: 8px; }

.doc-step .check {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(107, 201, 138, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #3D8B5F;
  font-weight: 500;
}

.faq-list { display: grid; gap: 16px; }

.faq-item {
  padding: 20px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.faq-item h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-item p { font-size: 0.95rem; color: var(--ink-secondary); }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding-block: clamp(48px, 8vw, 72px) clamp(32px, 5vw, 48px);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, var(--mint-glow) 0%, transparent 60%),
    var(--bg-base);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { max-width: 600px; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--moss-mid); }

/* ── Article ── */
.article {
  padding-block: 48px 80px;
}

.article__content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.article__content h3 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.article__content p {
  margin-bottom: 16px;
  color: var(--ink-secondary);
}

.article__content ul, .article__content ol {
  margin: 16px 0 16px 24px;
  color: var(--ink-secondary);
}

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

.article__cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  text-align: center;
}

.article__cta h3 { margin-bottom: 8px; }
.article__cta p { color: var(--ink-secondary); margin-bottom: 20px; }

/* ── Contact / Feedback ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card {
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: var(--mint-glow);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.contact-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.contact-card p { font-size: 0.9rem; color: var(--ink-secondary); margin-bottom: 16px; }

.contact-card .placeholder {
  color: var(--ink-muted);
  font-style: italic;
  font-size: 0.85rem;
}

/* ── Pricing ── */
.pricing-box {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.pricing-box h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.pricing-box p { color: var(--ink-secondary); margin-bottom: 24px; }

/* ── Footer ── */
.site-footer {
  padding: 64px 0 32px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a { color: rgba(255, 255, 255, 0.7); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-8 { margin-bottom: 32px; }
.bg-muted { background: var(--bg-muted); }
.bg-white { background: var(--bg-elevated); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav__cta {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle { display: block; }

  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
