@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #111110;
  --ink-2: #3D3C3A;
  --muted: #76746F;
  --bg: #FAFAF8;
  --surface: #F2F1EC;
  --border: #E4E2DB;
  --violet: #6D28D9;
  --violet-light: #EDE9FE;
  --violet-mid: #7C3AED;
  --white: #FFFFFF;
  --radius: 6px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .7rem 1.6rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: none;
  cursor: pointer; transition: all .18s; font-size: .9rem;
  font-family: 'Inter', sans-serif; letter-spacing: -.01em;
}
.btn--primary { background: var(--violet); color: #fff; }
.btn--primary:hover { background: var(--violet-mid); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(109,40,217,.28); }
.btn--ghost { background: transparent; border: 1.5px solid var(--border); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet); background: var(--violet-light); }
.btn--lg { padding: .9rem 2rem; font-size: .95rem; }
.btn--sm { padding: .4rem .9rem; font-size: .82rem; }
.btn--outline { background: transparent; border: 1.5px solid var(--violet); color: var(--violet); }
.btn--outline:hover { background: var(--violet); color: #fff; }

/* ── Navigation ──────────────────────────── */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 2.5rem; position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  color: var(--ink); letter-spacing: -.03em; display: flex; align-items: center; gap: .45rem;
}
.nav__logo img { border-radius: 4px; }
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: .88rem; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }

/* ── Hero — split layout ─────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 88vh; max-width: 1280px; margin: 0 auto;
  padding: 0 2.5rem; gap: 4rem; align-items: center;
}
.hero__left { padding: 4rem 0; }
.hero__kicker {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  line-height: 1.08; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 1.4rem; font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--violet); }
.hero__sub {
  color: var(--muted); font-size: 1.05rem; line-height: 1.7;
  max-width: 440px; margin-bottom: 2.5rem;
}
.hero__ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__proof {
  display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.hero__proof-item { font-size: .82rem; color: var(--muted); }
.hero__proof-item strong { color: var(--ink); display: block; font-size: 1.1rem; font-weight: 600; }

.hero__right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  padding: 4rem 0; align-content: center;
}
.mark-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  aspect-ratio: 1; display: flex; align-items: center;
  justify-content: center; transition: box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.mark-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.mark-card:nth-child(2) { margin-top: 1.5rem; }
.mark-card:nth-child(4) { margin-top: -1.5rem; }
.mark-card svg { width: 100%; height: 100%; }
.mark-card__label {
  position: absolute; bottom: .75rem; left: .75rem;
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}

/* ── Style ticker ────────────────────────── */
.ticker-strip {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: .9rem 0; overflow: hidden; background: var(--surface);
}
.ticker-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; flex-shrink: 0;
}
.ticker-track span.dot { color: var(--violet); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Gallery ─────────────────────────────── */
.gallery-section { padding: 6rem 2.5rem; max-width: 1280px; margin: 0 auto; }
.gallery-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.gallery-header h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400;
  letter-spacing: -.02em; line-height: 1.15; max-width: 420px;
}
.gallery-header p { color: var(--muted); font-size: .9rem; max-width: 280px; text-align: right; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}
.gallery-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; transition: box-shadow .2s;
  position: relative;
}
.gallery-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,.07); }
.gallery-item svg { max-width: 100%; max-height: 100%; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item__meta {
  position: absolute; bottom: .75rem; left: .9rem; right: .9rem;
  display: flex; justify-content: space-between; align-items: center;
}
.gallery-item__tag {
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.gallery-item__style {
  font-size: .68rem; color: var(--violet); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ── Process ─────────────────────────────── */
.process-section {
  padding: 6rem 2.5rem; background: var(--ink); color: var(--bg);
}
.process-inner { max-width: 1100px; margin: 0 auto; }
.process-section h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400;
  color: var(--bg); margin-bottom: 4rem; max-width: 500px;
  letter-spacing: -.02em; line-height: 1.2;
}
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.process-step__num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 3rem; color: rgba(255,255,255,.12);
  line-height: 1; margin-bottom: 1.25rem; font-weight: 400;
}
.process-step h3 { font-size: .9rem; font-weight: 600; color: var(--bg); margin-bottom: .6rem; }
.process-step p { font-size: .88rem; color: rgba(250,250,248,.5); line-height: 1.7; }

/* ── Features — horizontal list ─────────── */
.features-section { padding: 6rem 2.5rem; max-width: 1100px; margin: 0 auto; }
.features-section h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400;
  letter-spacing: -.02em; margin-bottom: 3.5rem; max-width: 500px;
}
.features-list { display: flex; flex-direction: column; }
.feature-row {
  display: grid; grid-template-columns: 3rem 1fr 2fr;
  gap: 2rem; align-items: start; padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: 1px solid var(--border); }
.feature-row__num { font-size: .78rem; color: var(--muted); padding-top: .25rem; font-weight: 500; }
.feature-row h3 { font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.feature-row p { font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* ── Pricing ──────────────────────────────── */
.pricing-section { padding: 6rem 2.5rem; background: var(--surface); }
.pricing-inner { max-width: 1000px; margin: 0 auto; }
.pricing-section h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400;
  letter-spacing: -.02em; margin-bottom: .75rem;
}
.pricing-section > .pricing-inner > p { color: var(--muted); font-size: .95rem; margin-bottom: 3rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.plan {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.plan--featured { border-color: var(--violet); }
.plan__badge {
  display: inline-block; background: var(--violet); color: #fff;
  font-size: .68rem; font-weight: 600; padding: .2rem .7rem;
  border-radius: 100px; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.plan__name { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.plan__price { font-size: 2.2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-bottom: .25rem; color: var(--ink); }
.plan__price span { font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan__desc { color: var(--muted); font-size: .85rem; margin: .75rem 0 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.plan__features { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.plan__features li { display: flex; align-items: flex-start; gap: .55rem; font-size: .87rem; color: var(--ink-2); }
.plan__features li::before { content: '↗'; color: var(--violet); font-weight: 700; flex-shrink: 0; line-height: 1.4; font-size: .8rem; }
.plan .btn { width: 100%; justify-content: center; }

/* ── CTA strip ───────────────────────────── */
.cta-strip {
  padding: 8rem 2.5rem; text-align: center;
  border-top: 1px solid var(--border);
}
.cta-strip h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400;
  letter-spacing: -.02em; margin-bottom: 1rem; line-height: 1.15;
}
.cta-strip h2 em { font-style: italic; color: var(--violet); }
.cta-strip p { color: var(--muted); margin-bottom: 2.5rem; font-size: 1rem; }

/* ── Footer ──────────────────────────────── */
.footer {
  padding: 2rem 2.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; background: var(--surface);
}
.footer__logo { font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; }
.footer__links { display: flex; gap: 1.75rem; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: .82rem; transition: color .15s; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { color: var(--muted); font-size: .78rem; }

/* ── Auth ────────────────────────────────── */
.auth-page { display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 2rem; background: var(--bg); }
.auth-form { background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); width: 100%; max-width: 420px; border: 1px solid var(--border); box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.auth-form h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 1.7rem; margin-bottom: .4rem; }
.auth-form__sub { color: var(--muted); font-size: .88rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: .4rem; color: var(--ink-2); }
.auth-form input { display: block; width: 100%; padding: .72rem 1rem; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--ink); font-size: .95rem; transition: border-color .15s; font-family: inherit; }
.auth-form input:focus { outline: none; border-color: var(--violet); }
.auth-form button { width: 100%; margin-top: .5rem; justify-content: center; }
.auth-form__foot { text-align: center; color: var(--muted); font-size: .84rem; margin-top: 1.5rem; }
.auth-form__foot a { color: var(--violet); text-decoration: none; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { color: var(--muted); font-size: .78rem; }

/* ── App layout ──────────────────────────── */
.app-layout { display: flex; min-height: 100vh; background: var(--bg); }
.sidebar { width: 224px; background: var(--white); border-right: 1px solid var(--border); padding: 1.5rem; flex-shrink: 0; display: flex; flex-direction: column; }
.sidebar__logo { font-weight: 700; text-decoration: none; color: var(--ink); font-size: .95rem; margin-bottom: 2rem; display: flex; align-items: center; gap: .4rem; }
.sidebar__nav { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.sidebar__nav a { padding: .5rem .75rem; border-radius: var(--radius); text-decoration: none; color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: .6rem; transition: all .12s; }
.sidebar__nav a:hover { background: var(--surface); color: var(--ink); }
.sidebar__nav a.active { background: var(--violet-light); color: var(--violet); font-weight: 600; }
.app-main { flex: 1; padding: 2.5rem; overflow: auto; }
.app-main h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.6rem; font-weight: 400; margin-bottom: 1.5rem; }

/* ── Utility ─────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; }
.text-accent { color: var(--violet); }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 3rem 1.5rem; }
  .hero__right { grid-template-columns: repeat(4, 1fr); padding: 2rem 0; }
  .mark-card:nth-child(2), .mark-card:nth-child(4) { margin-top: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 1; }
  .process-steps { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 2rem 1fr; }
  .feature-row p { grid-column: 2; }
  .gallery-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .gallery-header p { text-align: left; }
}
@media (max-width: 600px) {
  .nav { padding: 1rem 1.25rem; }
  .nav__links a:not(.btn) { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .hero__right { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer { flex-direction: column; text-align: center; }
}
