/* ============ Tokens ============ */
:root {
  --orange: #df532e;
  --orange-2: #ff7a4d;
  --orange-soft: #fbe6df;
  --ink: #0b0f14;
  --ink-2: #131a23;
  --ink-3: #1c2530;
  --line-dark: rgba(255, 255, 255, 0.09);
  --paper: #f7f4ef;
  --paper-2: #efe9e0;
  --white: #ffffff;
  --text: #141820;
  --muted: #5d6573;
  --muted-dark: #8f99a8;
  --text-light: #eef1f5;
  --line: rgba(20, 24, 32, 0.1);
  --radius: 22px;
  --display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
em { font-style: normal; color: var(--orange); }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.dark { background: var(--ink); color: var(--text-light); }
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-dark); }

.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 700; }
.h2--xl { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 99px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  background: var(--orange-soft); color: var(--orange);
}
.chip--dark { background: rgba(223, 83, 46, 0.14); }

/* ============ Buttons ============ */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 99px;
  font-weight: 600; font-size: 15px; border: 0; cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.3s, color 0.3s;
  font-family: var(--body);
}
.btn--sm { --h: 42px; padding: 0 20px; font-size: 14px; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -10px rgba(223, 83, 46, 0.7); }
.btn--primary:hover { background: var(--orange-2); transform: translateY(-2px); }
.btn--ghost { color: var(--text); box-shadow: inset 0 0 0 1px rgba(20, 24, 32, 0.2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--text); }
.btn--block { width: 100%; }
.btn .arrow { font-style: normal; transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ Progress & Nav ============ */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transform-origin: 0 50%; transform: scaleX(0); }

.nav { position: fixed; inset: 0 0 auto; z-index: 90; padding: 16px 0; transition: padding 0.4s var(--ease), background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease); }
.nav__inner { display: flex; align-items: center; gap: 28px; }
.nav__logo { display: block; position: relative; }
.nav__logo img { height: 40px; width: auto; transition: opacity 0.5s var(--ease); }
.nav__logo .logo-w { position: absolute; inset: 0; opacity: 0; }
.nav.on-dark .nav__logo .logo-o, .nav.open .nav__logo .logo-o { opacity: 0; }
.nav.on-dark .nav__logo .logo-w, .nav.open .nav__logo .logo-w { opacity: 1; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 8px 14px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--muted); transition: background 0.3s, color 0.3s; }
.nav__links a:hover, .nav__links a.active { background: rgba(20, 24, 32, 0.06); color: var(--text); }
.nav { transition: padding 0.4s var(--ease), background 0.6s var(--ease), box-shadow 0.6s var(--ease), transform 0.5s var(--ease); }
.nav.scrolled { padding: 10px 0; background: rgba(247, 244, 239, 0.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.on-dark { background: rgba(11, 15, 20, 0.72); box-shadow: 0 1px 0 var(--line-dark); }
.nav.on-dark .nav__links a { color: rgba(238, 241, 245, 0.8); }
.nav.on-dark .nav__links a:hover, .nav.on-dark .nav__links a.active { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav.on-dark .nav__burger span { background: #fff; }
.nav.hidden { transform: translateY(-110%); }
.nav__burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform 0.4s var(--ease), background 0.4s; }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 24px; }
.nav.open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 150px 0 120px; overflow: hidden; isolation: isolate; color: var(--text); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #fdf8f2 0%, var(--paper) 70%); }
.hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(180deg, transparent, var(--paper)); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.orb--1 { width: 640px; height: 640px; background: radial-gradient(circle, rgba(223, 83, 46, 0.32) 0%, transparent 70%); top: -200px; right: -140px; }
.orb--2 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(255, 170, 120, 0.35) 0%, transparent 70%); bottom: -200px; left: -180px; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20, 24, 32, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 24, 32, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%);
}
.hero__mark { position: absolute; right: -6vw; top: 6vh; width: min(52vw, 760px); height: auto; opacity: 0.07; will-change: transform; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(223, 83, 46, 0.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(223, 83, 46, 0); } }

.hero__title { margin: 28px 0 26px; font-size: clamp(3rem, 9vw, 7.4rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 620px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 70px; max-width: 880px; margin-left: auto; }
.pcard { position: relative; display: block; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.82); box-shadow: 0 1px 0 var(--line), 0 30px 60px -36px rgba(20, 24, 32, 0.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow 0.5s var(--ease), background 0.5s; }
.pcard:hover { background: #fff; box-shadow: 0 0 0 1.5px rgba(223, 83, 46, 0.55), 0 40px 70px -36px rgba(223, 83, 46, 0.4); }
.pcard__tag { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pcard h3 { font-size: 2rem; margin: 14px 0 8px; }
.pcard p { color: var(--muted); font-size: 15px; max-width: 32ch; }
.pcard__meta { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pcard__meta b { font-family: var(--display); font-size: 1.8rem; color: var(--orange); }
.pcard__meta span { font-size: 13.5px; color: var(--muted); }
.pcard__go { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.pcard:hover .pcard__go { transform: rotate(45deg); background: var(--orange); color: #fff; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px rgba(20, 24, 32, 0.3); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--orange); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ============ Marquee ============ */
.marquee { color: rgba(20, 24, 32, 0.16); overflow: hidden; padding: 10px 0; position: relative; z-index: 2; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 32s linear infinite; }
.js-motion .marquee__track { animation: none; }
.marquee span { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 4rem); white-space: nowrap; letter-spacing: -0.03em; }
.marquee i { font-style: normal; color: var(--orange); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Stats ============ */
.stats { padding: 110px 0 60px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 10px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat > span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ============ KEP-İK ============ */
.kep { padding: 60px 0 40px; }
.section-head { max-width: 980px; padding: 40px 0 80px; }
.section-head .chip { margin-bottom: 26px; }
.section-head--center { margin-inline: auto; text-align: center; padding: 140px 0 70px; }
.section-head--center .h2 { margin: 22px 0 20px; }
.section-head--center .muted { max-width: 620px; margin-inline: auto; font-size: 1.08rem; }
.word-fill { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.9rem); font-weight: 600; line-height: 1.22; letter-spacing: -0.025em; }
.word-fill .w { opacity: 0.15; transition: opacity 0.2s linear; }

/* horizontal */
.hscroll { position: relative; overflow: hidden; padding: 30px 0 60px; }
.hscroll__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.hscroll__head .muted { max-width: 380px; }
.hscroll__track { display: flex; gap: 22px; padding-left: max(16px, calc((100vw - 1200px) / 2)); padding-right: 16px; width: max-content; }
.doc-card { position: relative; width: clamp(280px, 30vw, 380px); min-height: 360px; padding: 32px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(20, 24, 32, 0.35); display: flex; flex-direction: column; transition: transform 0.5s var(--ease); }
.doc-card:hover { transform: translateY(-6px); }
.doc-card:nth-child(even) { background: var(--paper-2); }
.doc-card__n { position: absolute; top: 26px; right: 30px; font-family: var(--display); font-weight: 800; font-size: 3.4rem; color: rgba(20, 24, 32, 0.06); line-height: 1; }
.doc-card__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); margin-bottom: auto; }
.doc-card__ic svg { width: 28px; height: 28px; }
.doc-card h3 { font-size: 1.5rem; margin: 60px 0 12px; }
.doc-card p { color: var(--muted); font-size: 15.5px; }

/* story (sticky) */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; padding: 80px 0 60px; }
.story__visual { position: sticky; top: 110px; height: calc(100vh - 160px); max-height: 620px; display: grid; place-items: center; }
.story__steps { padding: 18vh 0 22vh; }
.step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.step.is-active { opacity: 1; }
.step__n { font-family: var(--display); font-weight: 700; color: var(--orange); font-size: 14px; letter-spacing: 0.1em; }
.step h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 12px 0 14px; }
.step p { color: var(--muted); font-size: 1.08rem; max-width: 44ch; }
.dark .step p { color: var(--muted-dark); }

/* doc mock */
.docmock { position: relative; width: min(440px, 100%); padding: 30px; border-radius: 26px; background: var(--white); box-shadow: 14px 14px 0 var(--paper-2), 0 50px 90px -50px rgba(20, 24, 32, 0.5); transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease); }
.docmock__head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.docmock__head small { display: block; font-size: 11.5px; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.docmock__head strong { font-family: var(--display); font-size: 1.4rem; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--paper-2); color: var(--muted); transition: background 0.4s, color 0.4s; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status em { color: inherit; }
.docmock__rows { padding: 20px 0; display: grid; gap: 14px; }
.row { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; color: var(--muted); }
.row b { width: 90px; height: 10px; border-radius: 6px; background: var(--paper-2); }
.row b.hl { width: 110px; height: 14px; background: var(--orange-soft); }
.docmock__foot { position: relative; height: 66px; }
.docmock__foot > * { position: absolute; left: 0; top: 50%; transform: translateY(-50%) scale(0.9); opacity: 0; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.stamp { left: auto !important; right: 0; width: 96px; height: 96px; top: -10px !important; border-radius: 50%; border: 2.5px solid var(--orange); color: var(--orange); display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.1; transform: rotate(-18deg) scale(1.8) !important; }
.stamp small { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; }
.send, .vault { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 14.5px; }
.send { background: #e8f6ee; color: #18794e; }
.vault { background: var(--ink); color: #fff; }
.send svg, .vault svg { width: 20px; height: 20px; }
.docmock__bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; margin-top: 18px; }
.docmock__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transition: width 0.8s var(--ease); }

.docmock[data-step="1"] .docmock__bar span { width: 25%; }
.docmock[data-step="2"] .docmock__bar span { width: 50%; }
.docmock[data-step="3"] .docmock__bar span { width: 75%; }
.docmock[data-step="4"] .docmock__bar span { width: 100%; }
.docmock:not([data-step="0"]) .row b { background: #ddd6cb; }
.docmock:not([data-step="0"]) .row b.hl { background: #f6c7b8; }
.docmock[data-step="2"] .stamp, .docmock[data-step="3"] .stamp, .docmock[data-step="4"] .stamp { opacity: 1; transform: rotate(-18deg) scale(1) !important; }
.docmock[data-step="2"] .status { background: var(--orange-soft); color: var(--orange); }
.docmock[data-step="3"] .send { opacity: 1; transform: translateY(-50%) scale(1); }
.docmock[data-step="3"] .status { background: #e8f6ee; color: #18794e; }
.docmock[data-step="3"] { transform: translateX(10px) rotate(1.5deg); }
.docmock[data-step="4"] .vault { opacity: 1; transform: translateY(-50%) scale(1); }
.docmock[data-step="4"] .status { background: var(--ink); color: #fff; }
.docmock[data-step="4"] { box-shadow: -14px -14px 0 var(--paper-2), 0 50px 90px -50px rgba(20, 24, 32, 0.5); }

/* packages: stacking */
.packages { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; padding: 100px 0 60px; }
.packages__head { position: sticky; top: 130px; align-self: start; }
.packages__head .h2 { margin: 22px 0 18px; }
.stack { display: grid; gap: 22px; padding-bottom: 40px; }
.stack-card { position: sticky; top: calc(130px + var(--i) * 26px); min-height: 280px; padding: 36px; border-radius: var(--radius); background: var(--ink); color: var(--text-light); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; box-shadow: 0 -20px 40px -30px rgba(0, 0, 0, 0.5); transform-origin: 50% 0; }
.stack-card:nth-child(2) { background: var(--ink-3); }
.stack-card:nth-child(3) { background: var(--orange); }
.stack-card:nth-child(3) .pk { background: rgba(255, 255, 255, 0.2); color: #fff; }
.stack-card:nth-child(3) p { color: rgba(255, 255, 255, 0.88); }
.stack-card__l { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pk { padding: 8px 14px; border-radius: 10px; background: rgba(223, 83, 46, 0.18); color: var(--orange-2); font-family: var(--display); font-weight: 800; letter-spacing: 0.04em; }
.stack-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.stack-card p { color: var(--muted-dark); font-size: 1.05rem; max-width: 46ch; }

/* benefits */
.benefits { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; padding: 120px 0 100px; }
.big-num__v { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 17vw, 14rem); line-height: 0.85; letter-spacing: -0.06em; background: linear-gradient(180deg, var(--orange-2), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-num p { margin-top: 18px; font-size: 1.15rem; color: var(--muted); }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.benefit-list li { display: flex; gap: 18px; padding: 22px 24px; border-radius: 18px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.benefit-list svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); }
.benefit-list h4 { font-size: 1.12rem; margin-bottom: 4px; }
.benefit-list p { color: var(--muted); font-size: 15px; }

/* ============ SIGNandGO ============ */
.sig { position: relative; padding-bottom: 120px; overflow: clip; overflow-clip-margin: 0; }
.wm { position: absolute; pointer-events: none; height: auto; will-change: transform; }
.wm--sig { width: min(46vw, 640px); right: -8vw; top: 12%; opacity: 0.05; }
.wm--contact { width: min(44vw, 600px); right: -6vw; top: 8%; opacity: 0.05; }
.story--sig { grid-template-columns: 1fr 1.05fr; }

.mail { width: min(500px, 100%); border-radius: 20px; background: #fff; color: var(--text); overflow: hidden; box-shadow: 0 60px 120px -50px rgba(223, 83, 46, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.mail__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #f2efea; font-size: 13px; color: var(--muted); }
.mail__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2ddd5; }
.mail__bar i:nth-child(1) { background: #ff5f57; }
.mail__bar i:nth-child(2) { background: #febc2e; }
.mail__bar i:nth-child(3) { background: #28c840; }
.mail__bar span { margin-left: 10px; font-weight: 600; }
.mail__meta { padding: 10px 22px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.mail__meta div { padding: 6px 0; }
.mail__meta div + div { border-top: 1px solid var(--line); }
.mail__meta span { display: inline-block; width: 46px; color: var(--muted); }
.mail__body { padding: 20px 22px 6px; font-size: 14.5px; color: #39404c; display: grid; gap: 10px; }
.sigblock { position: relative; padding: 14px 22px 24px; min-height: 232px; }
.sigblock__plain { font-family: "Times New Roman", serif; font-size: 14px; color: #555; transition: opacity 0.4s, transform 0.5s var(--ease); }
.sigblock__pro { position: absolute; left: 22px; right: 22px; top: 14px; display: flex; gap: 16px; padding-top: 14px; border-top: 2px solid var(--orange); opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.av { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; }
.sigblock__txt { display: grid; gap: 2px; font-size: 13.5px; }
.sigblock__txt strong { font-family: var(--display); font-size: 1.05rem; }
.title { position: relative; height: 1.4em; overflow: hidden; color: var(--orange); font-weight: 600; }
.title span { display: block; transition: transform 0.6s var(--ease); }
.co { color: var(--muted); }
.socials { display: flex; gap: 6px; margin-top: 8px; }
.socials b { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 11px; opacity: 0; transform: scale(0.4); transition: opacity 0.4s, transform 0.5s var(--ease); }
.socials b:nth-child(2) { transition-delay: 0.06s; }
.socials b:nth-child(3) { transition-delay: 0.12s; }
.socials b:nth-child(4) { transition-delay: 0.18s; }
.banner { position: absolute; left: 22px; right: 22px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 12px; background: linear-gradient(110deg, var(--orange), #ff9a5a); color: #fff; font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.banner b { background: rgba(255, 255, 255, 0.22); padding: 5px 10px; border-radius: 8px; }
.toast { position: absolute; right: 16px; top: -26px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.toast svg { width: 15px; height: 15px; color: var(--orange-2); }

.mail:not([data-step="0"]) .sigblock__plain { opacity: 0; transform: translateY(-10px); }
.mail:not([data-step="0"]) .sigblock__pro { opacity: 1; transform: none; }
.mail[data-step="2"] .title span, .mail[data-step="3"] .title span, .mail[data-step="4"] .title span { transform: translateY(-100%); }
.mail[data-step="2"] .toast { opacity: 1; transform: none; }
.mail[data-step="3"] .banner, .mail[data-step="4"] .banner { opacity: 1; transform: none; }
.mail[data-step="4"] .socials b { opacity: 1; transform: none; }

.integrations { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; padding: 70px 0 50px; border-top: 1px solid var(--line-dark); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pills span { padding: 10px 18px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-dark); font-weight: 500; font-size: 15px; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv { padding: 28px; border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-dark); transition: transform 0.5s var(--ease), box-shadow 0.4s; }
.adv:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(223, 83, 46, 0.5); }
.adv b { font-family: var(--display); color: var(--orange); font-size: 14px; }
.adv h4 { font-size: 1.2rem; margin: 40px 0 8px; }
.adv p { font-size: 15px; color: var(--muted-dark); }

.section-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding: 28px 32px; border-radius: var(--radius); background: var(--ink); color: var(--text-light); }
.section-cta h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.section-cta p { color: var(--muted-dark); font-size: 15px; margin-top: 4px; }
.dark .section-cta { background: var(--orange); }
.dark .section-cta p { color: rgba(255, 255, 255, 0.85); }
.dark .section-cta .btn--primary { background: #fff; color: var(--orange); box-shadow: none; }
.kep .section-cta { margin: 0 auto 60px; }

/* ============ About ============ */
.about { padding: 140px 0; }
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.about__intro .h2 { margin: 22px 0 24px; }
.about__intro > p { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.vm h4 { font-size: 1.1rem; margin-bottom: 8px; }
.vm p { color: var(--muted); font-size: 15px; }
.values { display: grid; gap: 16px; }
.value { padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.value span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--orange-2); font-size: 18px; margin-bottom: 18px; }
.value h4 { font-size: 1.25rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 15px; }

/* ============ Contact ============ */
.contact { position: relative; overflow: hidden; padding: 140px 0 120px; }
.contact__glow { position: absolute; width: 900px; height: 900px; border-radius: 50%; right: -300px; bottom: -500px; background: radial-gradient(circle, rgba(223, 83, 46, 0.45), transparent 65%); filter: blur(40px); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact .muted { margin-top: 22px; font-size: 1.08rem; max-width: 46ch; }
.contact__info { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 22px; }
.contact__info small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-dark); margin-bottom: 4px; }
.contact__info a:hover { color: var(--orange-2); }

.form { padding: 32px; border-radius: 28px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-dark); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; gap: 16px; }
.form__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 16px; background: rgba(0, 0, 0, 0.35); }
.form__seg input { position: absolute; opacity: 0; pointer-events: none; }
.form__seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--muted-dark); cursor: pointer; transition: background 0.3s, color 0.3s; }
.form__seg input:checked + span { background: var(--orange); color: #fff; }
.form__seg input:focus-visible + span { outline: 2px solid var(--orange-2); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; color: var(--muted-dark); font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 0; font: inherit; font-size: 15px; color: #fff; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-dark); transition: box-shadow 0.3s, background 0.3s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1.5px var(--orange); }
.field textarea::placeholder { color: rgba(143, 153, 168, 0.7); }
.form__note { font-size: 12.5px; color: var(--muted-dark); text-align: center; }

/* ============ Footer ============ */
.footer { background: var(--ink); color: var(--muted-dark); padding: 50px 0 30px; border-top: 1px solid var(--line-dark); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__inner img { height: 50px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; }
.footer nav a:hover { color: #fff; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: #fff; font-weight: 600; font-size: 14px; transition: background 0.3s; }
.footer__social a:hover { background: var(--orange); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }
.footer__bottom a:hover { color: #fff; }

/* ============ Legal pages ============ */
.legal-page .footer { padding-top: 0; }
.legal-page .footer__bottom { margin-top: 0; border-top: 0; }
.legal { max-width: 820px; padding: 140px 0 100px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.45rem; margin: 44px 0 12px; }
.legal h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }

/* ============ Motion helpers ============ */
.js-motion .fade-up { opacity: 0; transform: translateY(40px); }
.js-motion .hero__title .line > span { transform: translateY(110%); }
.js-motion .reveal-hero { opacity: 0; transform: translateY(24px); }
.js-motion .pcard { opacity: 0; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .nav__links { position: fixed; inset: 0 0 auto 0; top: 0; padding: 90px 16px 28px; flex-direction: column; background: var(--ink); transform: translateY(-100%); transition: transform 0.5s var(--ease); z-index: -1; }
  .nav__links a { font-size: 1.4rem; font-family: var(--display); padding: 12px 6px; color: #fff !important; }
  .nav.open .nav__links { transform: none; }
  .nav__burger { display: block; }
  .nav__inner > .btn { margin-left: auto; }
  .nav.open .nav__burger span { background: #fff !important; }

  .hero__cards { grid-template-columns: 1fr; margin-top: 50px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .hscroll__head { flex-direction: column; align-items: start; }
  .hscroll__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
  .doc-card { scroll-snap-align: center; width: 82vw; min-height: 320px; }

  .story, .story--sig { grid-template-columns: 1fr; gap: 0; padding-top: 30px; }
  .story__visual { top: 70px; height: auto; max-height: none; padding: 14px 0 20px; z-index: 2; }
  .kep .story__visual { background: linear-gradient(var(--paper) 85%, transparent); }
  .sig .story__visual { background: linear-gradient(var(--ink) 85%, transparent); order: -1; }
  .story__steps { padding: 4vh 0 10vh; }
  .step { min-height: 46vh; }
  .docmock { transform: scale(0.82) !important; transform-origin: 50% 0; margin-bottom: -60px; }
  .mail { transform: scale(0.86); transform-origin: 50% 0; margin-bottom: -50px; }

  .packages, .benefits, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .packages__head { position: static; }
  .stack-card { top: calc(90px + var(--i) * 18px); min-height: 240px; padding: 28px; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .vm { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav__inner > .btn { display: none; }
  .nav__burger { margin-left: auto; }
  .hero { padding-top: 120px; }
  .adv-grid { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .stat b { font-size: 2.3rem; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
}

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