@import url("https://cdn.jsdelivr.net/gh/sunn-us/SUIT/fonts/static/woff2/SUIT.css");

:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --surface-soft: #f5f5f2;
  --ink: #171716;
  --muted: #565552;
  --quiet: #989792;
  --line: #deddd8;
  --line-dark: #242321;
  --cream: #f4f2ea;
  --dark: #151514;
  --dark-soft: #201d1b;
  --accent: #242321;
  --radius-lg: 12px;
  --radius-md: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  font-family: "SUIT", system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-weight: 400;
  color: var(--ink);
  max-width: 100%;
  overflow-x: hidden;
  background: var(--dark);
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main {
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1200px, calc(100% - 56px));
  max-width: 100%;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(21, 21, 20, 0.94);
  border-bottom: 1px solid rgba(242, 237, 221, 0.12);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(242, 237, 221, 0.66);
  font-size: 0.82rem;
}
.nav-links a {
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--cream);
  border-color: currentColor;
}

.hero {
  min-height: min(600px, calc(100svh - 68px));
  padding: 64px 0 52px;
  color: var(--cream);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 111, 79, 0.16), transparent 26%),
    linear-gradient(135deg, #151514 0%, #191715 55%, #241e1d 100%);
  border-bottom: 0;
}
.hero:has(> .container:not(.hero-grid)) {
  min-height: min(430px, calc(62svh - 68px));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.45fr);
  gap: 54px;
  align-items: end;
}
.hero-grid > *,
.grid > *,
.section-head > *,
.banner > *,
.footer-inner > *,
.contact-panel,
.hero-copy,
.definition,
.hero-side,
.hero-side p,
.definition p {
  min-width: 0;
  max-width: 100%;
}
.eyebrow,
.section-kicker,
.label {
  display: inline-flex;
  width: fit-content;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow {
  margin-bottom: 18px;
  color: rgba(242, 237, 221, 0.62);
}
h1 {
  max-width: 1100px;
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  font-weight: 800;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
.hero-grid h1 {
  font-size: clamp(2.65rem, 5.2vw, 4.85rem);
  line-height: 1.03;
  letter-spacing: -0.018em;
  font-weight: 800;
}
.hero h1 span {
  display: block;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero h1 .nowrap {
  white-space: nowrap;
}
.hero-copy {
  max-width: 520px;
  margin-top: 24px;
  color: rgba(242, 237, 221, 0.78);
  font-size: clamp(0.94rem, 1.1vw, 1.04rem);
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.hero-side,
.definition {
  padding: 0 0 0 28px;
  border-left: 1px solid rgba(242, 237, 221, 0.22);
}
.hero-side strong,
.definition strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-side p,
.definition p {
  color: rgba(242, 237, 221, 0.72);
  overflow-wrap: break-word;
}

.section {
  padding: 72px 0;
}
.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 30px;
}
h2 {
  margin-top: 10px;
  font-size: clamp(1.65rem, 2.45vw, 2.2rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
h3 {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.35;
  font-weight: 600;
  word-break: keep-all;
  overflow-wrap: normal;
}
.section-desc {
  max-width: 620px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  min-height: 100%;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.grid.four .card:nth-child(4n) { border-right: 0; }
.grid.two .card:nth-child(2n) { border-right: 0; }
.grid.three .card:nth-child(3n) { border-right: 0; }
.card.tint,
.card.mint { background: rgba(255, 254, 250, 0.38); }
.label { margin-bottom: 28px; }
.card h3 { margin-bottom: 10px; }
.card p,
.card li {
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: break-word;
}
.card ul {
  display: grid;
  gap: 9px;
}
.card li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 3px 0;
  border-radius: 3px;
  background: var(--line-dark);
}

.editorial-list {
  border-top: 1px solid var(--line-dark);
}
.service-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.43fr) minmax(0, 1fr);
  gap: 64px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail > div:first-child {
  position: sticky;
  top: 110px;
  align-self: start;
}
.service-detail h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.detail-grid .card {
  padding: 22px 20px;
}

.process {
  counter-reset: step;
}
.process .card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.banner,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 30px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.product-preview {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}
.dashboard-mock {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 480px;
  border: 1px solid var(--line-dark);
  background: #fdfdfb;
}
.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #191918;
  color: rgba(244, 242, 234, 0.76);
}
.mock-logo {
  margin-bottom: 28px;
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.mock-folder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 242, 234, 0.1);
  font-size: 0.86rem;
}
.mock-folder em {
  color: rgba(244, 242, 234, 0.42);
  font-style: normal;
  font-size: 0.72rem;
}
.mock-folder.is-active { color: var(--cream); }
.mock-main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
}
.mock-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.mock-toolbar strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mock-label {
  display: block;
  color: var(--quiet);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mock-export {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.mock-table {
  display: grid;
  align-content: start;
}
.mock-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.3fr) minmax(110px, 0.8fr) 0.45fr 0.55fr minmax(120px, 0.9fr);
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.mock-head {
  min-height: 44px;
  color: var(--quiet);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mock-row strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
}
.mock-row small {
  display: block;
  margin-top: 2px;
  color: var(--quiet);
  font-size: 0.76rem;
}
.status {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}
.status.in-progress { background: #f1efe9; }
.status.scheduled { background: #e9edf0; }
.status.published { background: #eef3ee; }
.mock-insights {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr;
  border-top: 1px solid var(--line-dark);
}
.mock-insights > div {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}
.mock-insights > div:last-child { border-right: 0; }
.mock-insights p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}
.contact-panel {
  grid-template-columns: minmax(0, 1fr);
  color: var(--cream);
  width: 100%;
  margin: 0;
  padding: 58px 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 111, 79, 0.08), transparent 36%),
    var(--dark);
  border-top: 0;
  border-bottom: 0;
}
.contact-section {
  padding: 0;
  background: var(--dark);
}
.contact-panel .section-kicker,
.contact-panel .field label { color: rgba(242, 237, 221, 0.48); }
.contact-panel .section-desc,
.contact-panel .contact-list,
.contact-panel .form-status { color: rgba(242, 237, 221, 0.66); }
.contact-panel .contact-list a { color: var(--cream); }
.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-width: 0;
  gap: 22px 30px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(242, 237, 221, 0.16);
}
.contact-fields {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  color: var(--quiet);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(242, 237, 221, 0.2);
  border-radius: 0;
  padding: 10px 0;
  color: inherit;
  background: transparent;
  font: inherit;
  outline: none;
}
.field textarea {
  min-height: 158px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: currentColor;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--quiet);
}
.contact-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}
.form-status {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.86rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 0.84rem;
  font-weight: 600;
  max-width: 100%;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.78; }
.btn.primary { background: var(--ink); color: var(--surface); }
.btn.secondary,
.btn.soft { background: transparent; color: var(--ink); }
.hero .btn.primary,
.contact-panel .btn.primary { background: var(--cream); border-color: var(--cream); color: var(--dark); }
.hero .btn.secondary,
.contact-panel .btn.secondary { border-color: rgba(242, 237, 221, 0.78); color: var(--cream); }

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  color: var(--muted);
  min-width: 0;
}
.contact-list a,
details a,
.doc a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
summary {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
  padding: 14px 0;
  font-size: clamp(0.96rem, 1.15vw, 1.04rem);
  line-height: 1.35;
  font-weight: 600;
  list-style: none;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}
summary::-webkit-details-marker {
  display: none;
}
summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  color: var(--quiet);
  font-weight: 500;
}
details[open] summary::before {
  content: "–";
}
details p {
  max-width: 680px;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: normal;
}

.doc {
  max-width: 860px;
  padding: 68px 0;
}
.doc h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
}
.doc h2 {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1.24rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.doc p,
.doc li {
  color: var(--muted);
}
.doc ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(242, 237, 221, 0.12);
  color: rgba(242, 237, 221, 0.62);
  background: var(--dark);
  font-size: 0.8rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links a:hover { color: var(--cream); text-decoration: underline; }

@media (max-width: 980px) {
  .container { width: min(100% - 36px, 1220px); }
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }
  .nav-links { flex-wrap: wrap; gap: 12px 16px; }
  .hero { min-height: auto; padding: 52px 0 44px; }
  .hero:has(> .container:not(.hero-grid)) { min-height: auto; }
  .hero-grid,
  .section-head,
  .service-detail,
  .banner { grid-template-columns: 1fr; gap: 32px; }
  .hero-side,
  .definition { padding-left: 18px; }
  .service-detail > div:first-child { position: static; }
  .grid.two,
  .grid.three,
  .grid.four,
  .detail-grid,
  .contact-form { grid-template-columns: 1fr; }
  .contact-actions { align-items: stretch; }
  .card,
  .grid .card:nth-child(n),
  .detail-grid .card {
    border-right: 0;
  }
  .section { padding: 64px 0; }
  .contact-section { padding: 0; }
  .contact-panel {
    margin: 0;
    padding: 52px 0;
  }
  h1 { font-size: clamp(2.05rem, 7vw, 2.55rem); line-height: 1.08; }
  .hero-grid h1 { font-size: clamp(2rem, 7vw, 2.65rem); }
  h2 { font-size: clamp(1.55rem, 6.2vw, 2.1rem); line-height: 1.16; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 40px, 1200px); }
  .nav {
    min-height: auto;
    gap: 10px;
    padding: 12px 0;
  }
  .brand {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }
  .nav-links {
    gap: 8px 12px;
    font-size: 0.72rem;
    line-height: 1.2;
  }
  .hero { padding-top: 42px; padding-bottom: 38px; }
  .hero-copy {
    max-width: min(100%, 34ch);
    font-size: clamp(0.92rem, 3.6vw, 1rem);
  }
  .section-desc,
  .hero-side p,
  .definition p {
    max-width: min(100%, 34ch);
  }
  .hero h1 .nowrap { white-space: normal; }
  h1 { font-size: clamp(1.95rem, 8vw, 2.35rem); }
  h2 { font-size: clamp(1.55rem, 7.2vw, 1.9rem); line-height: 1.18; }
  .contact-panel h2,
  .banner h2 { font-size: clamp(1.45rem, 7vw, 1.85rem); }
  .section-head { gap: 24px; margin-bottom: 24px; }
  .section { padding: 52px 0; }
  .contact-section { padding: 0; }
  .btn { width: auto; min-width: 0; }
  .contact-actions .btn { flex: 1 1 150px; }
  .contact-actions .btn { flex-basis: 100%; width: 100%; }
  .contact-list {
    display: grid;
    gap: 10px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-inner,
  .footer-links { min-width: 0; }
  .footer-links {
    gap: 10px 14px;
    max-width: 100%;
  }
  .footer-links a { white-space: nowrap; }
  .dashboard-mock {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: hidden;
  }
  .mock-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .mock-logo { grid-column: 1 / -1; margin-bottom: 8px; }
  .mock-folder { padding: 8px 0; font-size: 0.78rem; }
  .mock-toolbar { align-items: flex-start; flex-direction: column; padding: 18px; }
  .mock-table {
    max-width: 100%;
    overflow-x: auto;
  }
  .mock-row {
    min-width: 640px;
    padding: 12px 18px;
  }
  .mock-insights { grid-template-columns: 1fr; }
  .mock-insights > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .mock-insights > div:last-child { border-bottom: 0; }
}
