:root {
  --ink: #18211c;
  --ink-soft: #5d6861;
  --paper: #f5f7f2;
  --paper-deep: #e9eee7;
  --white: #ffffff;
  --mint: #c8f76a;
  --mint-deep: #9dd935;
  --line: rgba(24, 33, 28, 0.14);
  --dark: #18251f;
  --dark-soft: #26382f;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-header {
  align-items: center;
  display: flex;
  height: 88px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 5vw;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: flex;
  height: 24px;
  position: relative;
  width: 26px;
}

.brand-mark span {
  background: var(--ink);
  border-radius: 5px 5px 2px 2px;
  bottom: 2px;
  position: absolute;
  transform: skewY(-12deg);
  width: 6px;
}

.brand-mark span:nth-child(1) { height: 11px; left: 1px; }
.brand-mark span:nth-child(2) { height: 17px; left: 10px; }
.brand-mark span:nth-child(3) { height: 22px; left: 19px; }

nav {
  align-items: center;
  display: flex;
  font-size: 0.88rem;
  gap: clamp(20px, 3vw, 46px);
}

nav a {
  transition: opacity 160ms ease;
}

nav a:hover {
  opacity: 0.58;
}

.nav-contact {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(40px, 5vw, 84px);
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: calc(100vh - 88px);
  padding: 62px 5vw 110px;
  position: relative;
}

.hero-threads {
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero-threads path {
  fill: none;
  stroke: rgba(24, 33, 28, 0.085);
  stroke-dasharray: 4 9;
  stroke-width: 1.15;
}

.hero-threads circle {
  fill: var(--paper);
  stroke: rgba(24, 33, 28, 0.24);
  stroke-width: 1.2;
}

.hero-copy {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-number {
  align-items: center;
  display: flex;
  font-size: 0.73rem;
  font-weight: 600;
  gap: 9px;
  letter-spacing: 0.16em;
  margin: 0 0 30px;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--mint-deep);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

h1 {
  font-size: clamp(3.7rem, 6.2vw, 7.1rem);
  margin-bottom: 32px;
}

h1 em,
h2 em {
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-intro {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  margin-bottom: 36px;
  max-width: 570px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.91rem;
  font-weight: 600;
  gap: 26px;
  justify-content: center;
  padding: 15px 22px;
  transition: transform 180ms ease, background 180ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-primary:hover {
  background: #2b3831;
  transform: translateY(-2px);
}

.button-primary span {
  font-size: 1.1rem;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  font-size: 0.9rem;
  padding-bottom: 3px;
}

.product-visual {
  min-height: 590px;
  position: relative;
  z-index: 1;
}

.visual-glow {
  background: var(--mint);
  border-radius: 50%;
  filter: blur(2px);
  height: min(38vw, 520px);
  opacity: 0.88;
  position: absolute;
  right: 3%;
  top: 1%;
  width: min(38vw, 520px);
}

.visual-glow::before {
  border: 1px solid rgba(24, 33, 28, 0.16);
  border-radius: 50%;
  content: "";
  inset: 11%;
  position: absolute;
}

.workspace-card {
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid rgba(24, 33, 28, 0.16);
  border-radius: 22px;
  box-shadow: 0 28px 65px rgba(24, 33, 28, 0.17);
  left: 3%;
  overflow: hidden;
  position: absolute;
  top: 9%;
  transform: rotate(-2deg);
  width: min(93%, 610px);
}

.workspace-topbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  font-size: 0.72rem;
  font-weight: 600;
  grid-template-columns: 1fr auto 1fr;
  padding: 13px 16px;
}

.mini-brand {
  display: flex;
  gap: 2px;
}

.mini-brand i {
  background: var(--ink);
  border-radius: 2px;
  display: block;
  height: 9px;
  width: 3px;
}

.mini-brand i:nth-child(2) { height: 13px; margin-top: -4px; }
.mini-brand i:nth-child(3) { height: 16px; margin-top: -7px; }

.workspace-avatar {
  align-items: center;
  background: var(--paper-deep);
  border-radius: 50%;
  display: flex;
  height: 26px;
  justify-content: center;
  justify-self: end;
  width: 26px;
}

.workspace-body {
  padding: 22px;
}

.search-field {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #27332c;
  display: flex;
  font-size: 0.8rem;
  gap: 10px;
  padding: 12px;
}

.search-field svg {
  height: 17px;
  width: 17px;
}

.search-field kbd {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.61rem;
  margin-left: auto;
  padding: 2px 6px;
}

.result-meta {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-size: 0.66rem;
  justify-content: space-between;
  padding: 16px 2px 9px;
}

.smart-label {
  align-items: center;
  display: flex;
  gap: 5px;
}

.smart-label i {
  background: var(--mint-deep);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.file-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 11px;
  grid-template-columns: auto 1fr auto;
  margin-top: 9px;
  padding: 13px;
}

.file-row.featured {
  background: #fbfcf9;
  box-shadow: 0 12px 26px rgba(24, 33, 28, 0.08);
}

.file-icon {
  align-items: center;
  background: #ffe9e3;
  border-radius: 7px;
  color: #aa4636;
  display: flex;
  font-size: 0.55rem;
  font-weight: 700;
  height: 37px;
  justify-content: center;
  width: 34px;
}

.file-icon-doc {
  background: #e3ebff;
  color: #4263aa;
}

.file-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.file-info strong { font-size: 0.74rem; }
.file-info span { color: var(--ink-soft); font-size: 0.61rem; }
.file-info p { color: var(--ink-soft); font-size: 0.63rem; margin: 6px 0 0; }
.file-info mark { background: rgba(200, 247, 106, 0.7); color: inherit; padding: 1px 2px; }
.file-status { color: var(--ink-soft); font-size: 0.65rem; }

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
}

.detail-tags span {
  background: var(--paper-deep);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.58rem;
  padding: 5px 8px;
}

.floating-chip {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(24, 33, 28, 0.13);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(24, 33, 28, 0.12);
  display: flex;
  font-size: 0.69rem;
  font-weight: 600;
  gap: 7px;
  padding: 9px 13px;
  position: absolute;
}

.floating-chip span { color: #5d8a16; }
.chip-classified { right: 0; top: 16%; }
.chip-search { bottom: 9%; left: 0; }

.statement {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1440px;
  overflow: hidden;
  padding: 85px 8vw;
  position: relative;
}

.data-ribbon {
  align-items: center;
  display: flex;
  gap: 14px;
  left: 50%;
  opacity: 0.58;
  position: absolute;
  top: 24px;
  transform: translateX(-50%);
}

.data-ribbon::before,
.data-ribbon::after {
  background: var(--line);
  content: "";
  height: 1px;
  position: absolute;
  top: 50%;
  width: 76px;
}

.data-ribbon::before { right: calc(100% + 12px); }
.data-ribbon::after { left: calc(100% + 12px); }

.data-ribbon i {
  background: transparent;
  border: 1px solid rgba(24, 33, 28, 0.28);
  border-radius: 50%;
  display: block;
  height: 5px;
  width: 5px;
}

.data-ribbon i:nth-of-type(3) {
  background: var(--mint-deep);
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 5px rgba(157, 217, 53, 0.14);
}

.data-ribbon span {
  background: var(--ink);
  height: 1px;
  width: 22px;
}

.statement p {
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.32;
  margin: 0 auto;
  max-width: 1000px;
  text-align: center;
}

.statement strong {
  box-shadow: inset 0 -0.46em var(--mint);
  font-weight: 500;
}

.product-section,
.contact-section {
  margin: 0 auto;
  max-width: 1440px;
  padding: 140px 5vw;
}

.product-section {
  position: relative;
}

.product-section::before {
  background-image: radial-gradient(rgba(24, 33, 28, 0.24) 1px, transparent 1px);
  background-size: 13px 13px;
  content: "";
  height: 90px;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  right: 5vw;
  top: 66px;
  width: 142px;
}

.section-heading {
  display: grid;
  gap: 0 clamp(30px, 6vw, 100px);
  grid-template-columns: 0.45fr 1.2fr 0.72fr;
  margin-bottom: 68px;
}

.section-heading h2 {
  font-size: clamp(2.7rem, 4.8vw, 5.6rem);
  margin: 0;
}

.section-heading > p:last-child {
  align-self: end;
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin-bottom: 7px;
}

.feature-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 405px;
  overflow: hidden;
  padding: 32px;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  box-shadow: 0 18px 36px rgba(24, 33, 28, 0.08);
  transform: translateY(-5px);
}

.feature-icon {
  align-items: center;
  background: var(--paper-deep);
  border-radius: 50%;
  display: flex;
  height: 52px;
  justify-content: center;
  margin-bottom: 80px;
  width: 52px;
}

.feature-icon svg { height: 24px; width: 24px; }
.feature-index { color: #8c958f; font-size: 0.67rem; position: absolute; right: 31px; top: 35px; }
.feature-card h3 { font-family: "Aptos Display", "Segoe UI", Arial, sans-serif; font-size: 1.55rem; letter-spacing: -0.025em; margin-bottom: 10px; }
.feature-card > p { color: var(--ink-soft); font-size: 0.9rem; max-width: 315px; }

.card-detail {
  bottom: 30px;
  display: flex;
  gap: 5px;
  left: 32px;
  position: absolute;
}

.card-detail span {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  padding: 6px 9px;
}

.feature-classify {
  background: var(--mint);
}

.feature-classify .feature-icon { background: rgba(255, 255, 255, 0.6); }

.classify-lines {
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  left: 32px;
  position: absolute;
  right: 32px;
}

.classify-lines span {
  background: rgba(24, 33, 28, 0.19);
  border-radius: 99px;
  height: 5px;
  width: var(--width);
}

.search-demo {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  bottom: 29px;
  display: flex;
  gap: 6px;
  height: 38px;
  left: 32px;
  padding: 0 12px;
  position: absolute;
  right: 32px;
}

.search-demo span { border: 1.5px solid var(--ink-soft); border-radius: 50%; height: 10px; position: relative; width: 10px; }
.search-demo i { background: #aab2ad; border-radius: 99px; height: 4px; width: 16%; }
.search-demo i:nth-child(3) { width: 27%; }
.search-demo i:nth-child(4) { background: var(--mint-deep); width: 12%; }

.workflow-section {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  padding: 140px max(5vw, calc((100vw - 1440px) / 2 + 5vw));
  position: relative;
}

.workflow-section::after {
  border: 1px solid rgba(200, 247, 106, 0.1);
  border-radius: 50%;
  content: "";
  height: 520px;
  pointer-events: none;
  position: absolute;
  right: -280px;
  top: -260px;
  width: 520px;
}

.workflow-section::before {
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
  height: 360px;
  pointer-events: none;
  position: absolute;
  right: -200px;
  top: -180px;
  width: 360px;
}

.section-heading-light > p:last-child,
.section-heading-light .section-number {
  color: #a7b4ac;
}

.workflow-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow-list li {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 40px;
  grid-template-columns: 0.43fr 1.9fr;
  padding: 38px 0;
  transition: padding 200ms ease;
}

.workflow-list li:hover { padding-left: 12px; }
.step-number { color: var(--mint); font-size: 0.75rem; }
.workflow-list h3 { font-family: "Aptos Display", "Segoe UI", Arial, sans-serif; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 500; margin-bottom: 5px; }
.workflow-list p { color: #a7b4ac; margin: 0; max-width: 590px; }

.contact-section {
  overflow: hidden;
  padding-bottom: 105px;
  padding-top: 125px;
  position: relative;
}

.contact-rings {
  bottom: -210px;
  color: rgba(24, 33, 28, 0.11);
  height: 420px;
  pointer-events: none;
  position: absolute;
  right: -70px;
  width: 420px;
}

.contact-rings circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.contact-rings .ring-node {
  fill: var(--mint-deep);
  stroke: var(--paper);
  stroke-width: 4;
}

.contact-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.55fr 0.7fr;
}

.contact-layout h2 {
  font-size: clamp(3.2rem, 6.2vw, 7rem);
  margin: 0;
}

.contact-copy {
  align-self: end;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.contact-copy p { color: var(--ink-soft); margin-bottom: 30px; }

.email-link {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: flex;
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  justify-content: space-between;
  padding-bottom: 9px;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  font-size: 0.76rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  padding: 34px 5vw 44px;
}

footer p { margin: 0; }
.footer-brand { color: var(--ink); }

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-copy { max-width: 780px; }
  .product-visual { margin: 0 auto; max-width: 720px; min-height: 610px; width: 100%; }
  .visual-glow { height: 500px; width: 500px; }
  .section-heading { grid-template-columns: 0.34fr 1fr; }
  .section-heading > p:last-child { grid-column: 2; margin-top: 24px; }
  .feature-card { min-height: 420px; padding: 26px; }
  .card-detail, .classify-lines, .search-demo { left: 26px; right: 26px; }
}

@media (max-width: 760px) {
  .site-header { height: 74px; }
  nav a:not(.nav-contact) { display: none; }
  .nav-contact { padding: 7px 14px; }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
    padding-top: 50px;
  }

  h1 { font-size: clamp(3.2rem, 15.5vw, 5rem); }
  .hero-intro { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .product-visual { min-height: 430px; }
  .visual-glow { height: 78vw; right: 0; width: 78vw; }
  .workspace-card { left: 0; top: 7%; width: 96%; }
  .workspace-body { padding: 14px; }
  .file-info p { display: none; }
  .floating-chip { display: none; }

  .statement { padding: 60px 7vw; }
  .product-section, .contact-section { padding: 90px 5vw; }
  .product-section::before { height: 64px; top: 36px; width: 86px; }
  .section-heading { display: block; margin-bottom: 45px; }
  .section-heading h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .section-heading > p:last-child { margin-top: 22px; max-width: 500px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 355px; }
  .feature-icon { margin-bottom: 55px; }

  .workflow-section { padding-bottom: 90px; padding-top: 90px; }
  .workflow-list li { gap: 12px; grid-template-columns: 55px 1fr; padding: 28px 0; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-copy { margin-top: 20px; }
  .contact-rings { bottom: -250px; right: -210px; }

  footer { align-items: flex-start; flex-direction: column; gap: 20px; }
}

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