/* DD Technology — site styles */
:root {
  --ink: #0B1424;
  --ink-2: #111E33;
  --ink-3: #1A2A44;
  --paper: #F4F1EA;
  --paper-2: #EAE5DA;
  --white: #FFFFFF;
  --text: #1C2433;
  --text-soft: #5A6475;
  --on-dark: #E8ECF2;
  --on-dark-soft: #9AA6B8;
  --signal: #3DDC97;
  --signal-deep: #17A86B;
  --amber: #FFB547;
  --line: rgba(11, 20, 36, 0.12);
  --line-dark: rgba(232, 236, 242, 0.12);
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(11, 20, 36, 0.35);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em;
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--signal);
  cursor: pointer;
  font: 600 1rem var(--font-body);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(61, 220, 151, .7); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(127, 127, 127, .08); box-shadow: none; }
.btn-small { padding: .55em 1.1em; font-size: .95rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .8rem var(--font-head);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--signal-deep);
  margin-bottom: 1rem;
}
.dark .eyebrow, .hero .eyebrow { color: var(--signal); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 36, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-mark .d1 { stroke: var(--signal); }
.brand-mark .d2 { stroke: currentColor; }
.brand-mark .dot { fill: var(--signal); }
.brand-name { font: 700 1.25rem var(--font-head); letter-spacing: -0.01em; }
.brand-name span { font-weight: 500; opacity: .75; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--on-dark-soft); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--on-dark); transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(61, 220, 151, .14), transparent 60%), var(--ink);
  color: var(--on-dark);
  padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 10vw, 130px);
  overflow: hidden;
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  opacity: .6;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--signal); }
.lede { font-size: 1.15rem; color: var(--on-dark-soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: var(--on-dark-soft); }
.hero-points li::before { content: "✓"; color: var(--signal); font-weight: 700; margin-right: .5em; }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(61, 220, 151, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

/* Console visual */
.hero-visual { perspective: 1200px; }
.console {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(61, 220, 151, .05);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .6s ease;
  overflow: hidden;
}
.console:hover { transform: rotateY(0) rotateX(0); }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); }
.console-bar span { width: 10px; height: 10px; border-radius: 50%; background: #34425C; }
.console-bar p { margin: 0 0 0 10px; font: 500 .8rem ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--on-dark-soft); }
.console-body { padding: 22px; }
.status-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.status-head p { margin: 0; }
.muted { color: var(--on-dark-soft); font-size: .85rem; }
.big { font: 600 1.3rem var(--font-head); color: var(--white); }
.ring { width: 52px; height: 52px; }
.ring circle { fill: none; stroke: #2A3A55; stroke-width: 5; }
.ring .ring-fill { stroke: var(--signal); stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; transform: rotate(-90deg); transform-origin: center; animation: fill 1.6s .4s ease forwards; }
@keyframes fill { to { stroke-dashoffset: 6; } }
.checks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.checks li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-dark);
  font-size: .92rem;
  opacity: 0; transform: translateY(6px);
  animation: rise .5s ease forwards;
}
.checks li:nth-child(1) { animation-delay: .5s; }
.checks li:nth-child(2) { animation-delay: .7s; }
.checks li:nth-child(3) { animation-delay: .9s; }
.checks li:nth-child(4) { animation-delay: 1.1s; }
.checks li:nth-child(5) { animation-delay: 1.3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.checks b { margin-left: auto; font-weight: 500; color: var(--signal); font-size: .82rem; }
.checks li:last-child b { color: var(--amber); }
.tick { width: 18px; height: 18px; border-radius: 50%; background: rgba(61, 220, 151, .15); position: relative; flex: none; }
.tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--signal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tick.warn { background: rgba(255, 181, 71, .15); }
.tick.warn::after { border-color: var(--amber); }
.ticket { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: rgba(61, 220, 151, .08); border: 1px solid rgba(61, 220, 151, .25); }
.ticket p { margin: 0; font-size: .9rem; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: var(--ink); font: 700 .8rem var(--font-head); }

/* Marquee strip */
.strip { background: var(--signal); color: var(--ink); overflow: hidden; border-block: 1px solid var(--signal-deep); }
.marquee { display: flex; }
.marquee-track { display: flex; flex: none; gap: 0; animation: scroll 40s linear infinite; }
.marquee-track span { font: 600 1rem var(--font-head); padding: 16px 28px; white-space: nowrap; position: relative; }
.marquee-track span::after { content: "◆"; position: absolute; right: -6px; font-size: .55rem; top: 50%; transform: translateY(-50%); opacity: .5; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p:last-child { color: var(--text-soft); font-size: 1.1rem; }
.dark .section-head p:last-child { color: var(--on-dark-soft); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--text-soft); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; margin-bottom: 22px; }
.icon svg, .ci svg { width: 26px; height: 26px; fill: none; stroke: var(--signal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent); position: relative; }
.step p { color: var(--on-dark-soft); margin: 0; }
.step-num { display: block; font: 700 3rem var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--signal); margin-bottom: 18px; line-height: 1; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 1.5rem; margin-bottom: .2em; }
.plan-sub { color: var(--text-soft); margin-bottom: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: rgba(61, 220, 151, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2317A86B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan .btn { align-self: flex-start; }
.plan.featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-10px); }
.plan.featured h3 { color: var(--white); }
.plan.featured .plan-sub { color: var(--on-dark-soft); }
.plan.featured li::before { background-color: rgba(61, 220, 151, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233DDC97' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.badge { position: absolute; top: -13px; left: 30px; margin: 0; background: var(--signal); color: var(--ink); font: 600 .75rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }

/* About */
.about { background: var(--paper-2); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-copy p { color: var(--text-soft); font-size: 1.08rem; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values li { background: var(--white); border-radius: 14px; padding: 22px 24px 22px 64px; position: relative; border: 1px solid var(--line); }
.values li::before { content: ""; position: absolute; left: 24px; top: 26px; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 11px var(--signal); }
.values strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 2px; }
.values span { color: var(--text-soft); font-size: .97rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font: 600 1.08rem var(--font-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--signal-deep); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-soft); padding-bottom: 22px; margin: 0; }

/* Contact */
.contact { background: radial-gradient(900px 500px at 10% 100%, rgba(61, 220, 151, .12), transparent 60%), var(--ink); }
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-copy > p { color: var(--on-dark-soft); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--signal); }
.ci { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark); display: grid; place-items: center; flex: none; }
.ci svg { width: 20px; height: 20px; }

.form { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--on-dark-soft); }
.form input, .form select, .form textarea {
  width: 100%;
  font: 400 1rem var(--font-body);
  color: var(--white);
  background: var(--ink);
  border: 1px solid #2A3A55;
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(61, 220, 151, .2); }
.form .invalid { border-color: #FF6B6B; }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .92rem; color: var(--signal); min-height: 1.4em; }
.form-note.error { color: #FF8A8A; }

/* Footer */
.site-footer { background: #070E1A; color: var(--on-dark-soft); padding: 50px 0; border-top: 1px solid var(--line-dark); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: center; }
.site-footer .brand { color: var(--on-dark); }
.footer-tag { margin: 0; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: var(--signal); }
.copy { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .88rem; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .cards, .plans { grid-template-columns: 1fr 1fr; }
  .plan.featured { transform: none; }
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .console { transform: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .plans, .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .card, .plan { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .checks li { opacity: 1; transform: none; }
  .ring .ring-fill { stroke-dashoffset: 6; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
