/*
DocDraft — public landing layout.
Copyright © 2026 Nazir Magsi. All rights reserved.
Proprietary and confidential. Unauthorized copying, modification or distribution prohibited.
Provided "as is", without warranty of any kind.
*/
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  color:var(--ink);
  font-family:var(--dr-font);
  line-height:1.55;
  background:var(--landing-color-1)
}
a {
  text-decoration:none;
  color:inherit
}
button {
  font:inherit
}
a:focus-visible {
  outline:3px solid var(--landing-color-2);
  outline-offset:4px
}
.wrap {
  max-width:1180px;
  margin:auto;
  padding:0 28px
}

.header {
  height:74px;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--line);
  background:var(--landing-color-3);
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(12px)
}
.nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:17px;
  font-weight:820;
  letter-spacing:-.035em
}
.brand-mark {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:var(--white);
  border:1px solid var(--line)
}
.brand-mark img {
  width:28px;
  height:28px
}
.brand small {
  display:block;
  font-size:10px;
  color:var(--muted);
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.09em;
  line-height:1.3
}
.nav-links {
  display:flex;
  align-items:center;
  gap:30px;
  font-size:13px;
  font-weight:650;
  color:var(--landing-color-4)
}
.nav-links a:hover {
  color:var(--red)
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  min-height:44px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--landing-color-1);
  font-size:13px;
  font-weight:750;
  white-space:nowrap;
  transition:transform .18s,background .18s,box-shadow .18s
}
.btn:hover {
  transform:translateY(-1px);
  box-shadow:0 6px 15px var(--landing-color-5)
}
.btn.red {
  background:var(--red);
  border-color:var(--red);
  color:var(--landing-color-1)
}
.btn.red:hover {
  background:var(--red-dark)
}
.btn svg {
  width:16px;
  height:16px
}

.hero {
  position:relative;
  overflow:hidden;
  padding:88px 0 94px;
  background:radial-gradient(ellipse at 87% 10%,var(--landing-color-6),transparent 35%),linear-gradient(var(--landing-color-1) 60%,var(--landing-color-7))
}
.hero-grid {
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:48px;
  align-items:center
}
.eyebrow {
  font-size:11px;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:22px
}
.eyebrow::before {
  content:"";
  display:inline-block;
  width:25px;
  height:2px;
  background:var(--red);
  margin-right:11px;
  vertical-align:middle
}
.hero h1 {
  font-size:clamp(45px,5.4vw,72px);
  line-height:1.055;
  letter-spacing:-.065em;
  margin:0 0 26px;
  font-weight:820
}
.hero h1 em {
  font-style:normal;
  color:var(--red)
}
.hero-grid > div:first-child > p {
  font-size:17px;
  color:var(--landing-color-8);
  max-width:485px;
  margin:0;
  line-height:1.7
}
.actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:31px
}
.micro {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:30px;
  color:var(--muted);
  font-size:11px;
  font-weight:650
}
.micro span {
  border:1px solid var(--line);
  border-radius:50px;
  padding:6px 10px;
  background:var(--white)
}

/* Compact product preview: not a live service interface */
.preview {
  border:1px solid var(--landing-color-9);
  border-radius:17px;
  background:var(--landing-color-1);
  box-shadow:var(--shadow);
  min-width:0;
  overflow:hidden;
  transform:rotate(-1deg)
}
.preview-top {
  height:49px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 15px;
  gap:8px;
  background:var(--landing-color-1)
}
.dots {
  display:flex;
  gap:5px
}
.dots i {
  display:block;
  height:7px;
  width:7px;
  border-radius:50%;
  background:var(--landing-color-10)
}
.preview-top strong {
  font-size:11px;
  color:var(--landing-color-11)
}
.preview-tag {
  font-size:9px;
  color:var(--landing-color-12);
  background:var(--landing-color-13);
  border-radius:6px;
  padding:4px 7px;
  font-weight:750
}
.preview-body {
  display:grid;
  grid-template-columns:72px minmax(0,1fr) 160px;
  min-height:395px;
  background:var(--landing-color-14)
}
.preview-side {
  border-right:1px solid var(--line);
  padding:20px 10px;
  background:var(--landing-color-1)
}
.side-line {
  height:8px;
  border-radius:3px;
  background:var(--landing-color-15);
  margin:0 0 15px
}
.side-line.red {
  background:var(--landing-color-16)
}
.side-line.short {
  width:65%
}
.paper-wrap {
  padding:21px 17px
}
.paper {
  min-height:354px;
  padding:30px 27px;
  background:var(--landing-color-1);
  border:1px solid var(--landing-color-17);
  box-shadow:0 5px 17px var(--landing-color-18)
}
.paper-top {
  font-size:8px;
  letter-spacing:.09em;
  color:var(--red);
  font-weight:800
}
.paper h3 {
  font-size:19px;
  line-height:1.22;
  letter-spacing:-.035em;
  margin:24px 0 20px
}
.paper p {
  font-size:10px;
  line-height:1.75;
  margin:0 0 13px;
  color:var(--landing-color-19)
}
.paper mark {
  background:var(--landing-color-20);
  color:var(--landing-color-21)
}
.paper hr {
  border:0;
  border-top:1px solid var(--landing-color-22);
  margin:15px 0
}
.paper .signature {
  font-size:9px;
  color:var(--landing-color-23);
  text-align:center;
  margin-top:20px
}
.review {
  background:var(--landing-color-1);
  border-left:1px solid var(--line);
  padding:20px 12px
}
.review h4 {
  font-size:10px;
  margin:0 0 18px
}
.comment {
  border-top:1px solid var(--line);
  padding:13px 0
}
.author {
  font-size:9px;
  font-weight:800
}
.time {
  font-size:8px;
  color:var(--landing-color-23);
  margin-left:4px
}
.comment p {
  font-size:9px;
  line-height:1.55;
  color:var(--landing-color-24);
  margin:8px 0
}
.quote {
  background:var(--landing-color-25);
  color:var(--landing-color-26);
  font-size:8px;
  padding:6px 7px;
  border-left:2px solid var(--red)
}
.approve {
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:var(--green);
  font-size:9px;
  font-weight:750;
  margin-top:12px
}
.approve::before {
  content:'✓';
  font-size:11px
}

.section {
  padding:82px 0;
  border-top:1px solid var(--line)
}
.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:31px
}
.section h2 {
  font-size:clamp(30px,3.6vw,44px);
  line-height:1.13;
  letter-spacing:-.045em;
  margin:0;
  max-width:670px
}
.section-heading p {
  max-width:310px;
  color:var(--muted);
  font-size:14px;
  margin:0
}
.features {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:13px
}
.feature {
  border:1px solid var(--line);
  border-radius:15px;
  padding:23px 20px 26px;
  background:var(--landing-color-1);
  min-height:208px
}
.feature-number {
  font-size:11px;
  color:var(--red);
  font-weight:800
}
.feature h3 {
  font-size:16px;
  letter-spacing:-.02em;
  margin:28px 0 8px
}
.feature p {
  font-size:13px;
  color:var(--landing-color-27);
  line-height:1.6;
  margin:0
}
.workflow {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  margin-top:15px;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden
}
.workflow .step {
  padding:27px 19px;
  background:var(--landing-color-7);
  border-right:1px solid var(--line)
}
.workflow .step:last-child {
  border-right:0
}
.workflow .num {
  font-size:11px;
  color:var(--red);
  font-weight:850
}
.workflow h3 {
  font-size:13px;
  margin:20px 0 6px
}
.workflow p {
  font-size:12px;
  color:var(--muted);
  margin:0
}
.bottom {
  background:var(--ink);
  color:var(--landing-color-1);
  padding:59px 0 63px
}
.bottom-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px
}
.bottom h2 {
  font-size:36px;
  letter-spacing:-.045em;
  line-height:1.2;
  margin:0 0 11px
}
.bottom p {
  font-size:14px;
  color:var(--landing-color-28);
  max-width:580px;
  margin:0
}
.bottom .btn {
  flex:0 0 auto
}
.footer {
  padding:24px 0;
  background:var(--landing-color-1)
}
.footer-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  font-size:11px;
  color:var(--landing-color-29)
}
.footer b {
  color:var(--ink)
}

@media(max-width:1050px) {
  .hero-grid {
  gap:27px
}
.preview-body {
  grid-template-columns:48px minmax(0,1fr) 128px
}
.paper {
  padding:23px 18px
}
.review {
  padding:18px 9px
}
.features {
  grid-template-columns:repeat(2,1fr)
}
.workflow {
  grid-template-columns:repeat(5,1fr)
}

}

@media(max-width:750px) {
  .wrap {
  padding:0 19px
}
.header {
  height:64px
}
.nav-links {
  display:none
}
.hero {
  padding:59px 0 67px
}
.hero-grid {
  grid-template-columns:1fr;
  gap:39px
}
.hero h1 {
  font-size:48px
}
.hero-grid > div:first-child > p {
  font-size:15px
}
.preview {
  transform:none;
  max-width:590px
}
.section {
  padding:61px 0
}
.section-heading {
  display:block
}
.section-heading p {
  margin-top:14px
}
.workflow {
  grid-template-columns:1fr 1fr
}
.workflow .step {
  border-bottom:1px solid var(--line)
}
.bottom-inner {
  display:block
}
.bottom .btn {
  margin-top:27px
}
.bottom h2 {
  font-size:30px
}

}

@media(max-width:460px) {
  .brand {
  font-size:15px
}
.nav>.btn {
  padding:10px 12px;
  font-size:11px
}
.hero h1 {
  font-size:42px
}
.preview-body {
  grid-template-columns:35px minmax(0,1fr)
}
.review {
  display:none
}
.paper-wrap {
  padding:13px
}
.paper {
  min-height:300px;
  padding:23px 20px
}
.features {
  grid-template-columns:1fr
}
.feature {
  min-height:0
}
.workflow {
  grid-template-columns:1fr
}
.bottom {
  padding:52px 0
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
.btn {
  transition:none
}

}
@media print {
  .header {
  position:static
}
.hero {
  padding:40px 0
}
.section {
  padding:35px 0
}
.preview {
  transform:none;
  box-shadow:none
}
.bottom {
  -webkit-print-color-adjust:exact;
  print-color-adjust:exact
}

}

.nav  {
   width: 100%;

}

section[id]  {
   scroll-margin-top: 90px;

}

.skip-link  {
   position: absolute;
   left: 16px;
   top: -80px;
   z-index: 30;
   padding: 12px;
   background: var(--white);

}

.skip-link:focus  {
   top: 8px;

}

@media (max-width: 460px)  {
   .footer-inner  {
   flex-wrap: wrap;

}
 .brand small  {
   font-size: 8px;

}

}

/* Keep the compact document preview and header readable on small screens. */
@media (max-width: 460px) {
  .nav { gap: 10px; }
  .brand { gap: 8px; font-size: 14px; white-space: nowrap; }
  .brand small { display: none; }
  .brand-mark { width: 28px; height: 28px; flex: 0 0 auto; }
  .nav > .btn { padding: 10px; font-size: 10px; }
}
