:root {
  --page: #ffffff;
  --page-soft: #ffffff;
  --page-rhodium: #f8fbff;

  --ink: #05070a;
  --ink-2: #111820;
  --text: #182230;
  --soft: #445263;
  --muted: #6c7787;

  --white: #ffffff;
  --card: #ffffff;
  --card-soft: #ffffff;

  --graphite: #080a0e;
  --graphite-2: #111720;
  --graphite-3: #171d27;

  --rhodium: #dfe5ec;
  --rhodium-2: #aeb8c4;
  --platinum: #f7f9fb;
  --steel: #6f7b89;

  --blue: #14558f;
  --blue-soft: rgba(20, 85, 143, 0.10);

  --line: rgba(13, 18, 28, 0.10);
  --line-strong: rgba(13, 18, 28, 0.17);
  --line-light: rgba(255, 255, 255, 0.72);

  --container: 1180px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-soft: 0 18px 46px rgba(12, 18, 28, 0.06);
  --shadow-card: 0 24px 70px rgba(12, 18, 28, 0.09);
  --shadow-dark: 0 28px 84px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.modal-active {
  overflow: hidden !important;
}

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

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(235, 244, 255, 0.26), transparent 30%),
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 68%, #fcfdff 100%);
}

.site-shell::before,
.site-shell::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 0;
  margin: 0;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid rgba(7, 20, 38, 0.10);
  box-shadow: 0 10px 28px rgba(7, 20, 38, 0.06);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  min-width: 52px;
  max-width: 52px;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.brand-mark img {
  display: block;
  width: 52px;
  height: 52px;
  min-width: 52px;
  max-width: 52px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.brand-copy {
  display: grid;
  gap: 4px;
  line-height: 1;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-copy small {
  color: #5f6b7b;
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: 0.145em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.header-actions a,
.btn,
.modal-open,
.project-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-top: 1px solid rgba(191, 202, 216, 0.95);
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #e8eef6 100%);
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  box-shadow: none;
}

.header-actions a {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(191, 202, 216, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #eef3f9 100%);
  color: #111827;
  font-size: 14px;
  line-height: 1;
}

.header-actions a:hover {
  color: #0b73f6;
  border-color: rgba(11, 115, 246, 0.38);
  background: linear-gradient(180deg, #ffffff 0%, #edf6ff 100%);
}

.header-actions .header-cta {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #eef3f9 100%);
  border: 1px solid rgba(11, 115, 246, 0.44);
  color: #0b73f6;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(7, 20, 38, 0.055);
}

.header-actions .header-cta:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e8f2ff 100%);
  border-color: rgba(11, 115, 246, 0.62);
  color: #075fcf;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 18, 28, 0.12);
  background: #ffffff;
  color: #141922;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(13, 18, 28, 0.055);
}

.btn-primary,
.modal-open,
.project-button {
  color: #050607;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 46%, #eef3f8 100%);
  border: 1px solid rgba(191, 202, 216, 0.95);
  box-shadow: 0 6px 14px rgba(7, 20, 38, 0.045);
}

.btn:hover,
.modal-open:hover,
.project-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.035);
}

.btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #eef3f9 100%);
  color: #111827;
  border: 1px solid rgba(191, 202, 216, 0.95);
  box-shadow: none;
}

/* Hero */

.hero-section {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 74px 0 64px;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: 78px;
  align-items: center;
}

.hero-copy-wrap {
  max-width: 610px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(13, 18, 28, 0.11);
  background: #ffffff;
  border-radius: var(--radius-sm);
  color: #202732;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
  margin-bottom: 28px;
  box-shadow:
    0 12px 30px rgba(25, 97, 168, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #090b0f, #9ba6b2, #ffffff);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(95, 111, 130, 0.34);
}

h1 {
  margin: 0;
  max-width: 650px;
  color: #05070a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 5.45vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 700;
  text-shadow: none;
}

.hero-lead {
  margin: 30px 0 0;
  max-width: 570px;
  color: #384555;
  font-size: 15.35px;
  line-height: 1.66;
  letter-spacing: -0.005em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Hero cube */

.hero-visual {
  position: relative;
  min-height: 620px;
  transform: translate(54px, -14px);
  display: grid;
  place-items: center;
  overflow: visible;
  border: none;
  background: transparent;
  filter:
    brightness(1.15)
    contrast(1.06)
    saturate(1.02)
    drop-shadow(0 0 28px rgba(120, 146, 176, 0.16))
    drop-shadow(0 22px 54px rgba(13, 18, 28, 0.14));
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 2% -2% -2% -2%;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.88), transparent 28%),
    radial-gradient(circle at 60% 54%, rgba(178, 198, 222, 0.24), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(104, 128, 158, 0.09), transparent 60%);
  filter: blur(28px);
  opacity: 0.84;
  z-index: 0;
}

.cube-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 585px;
  min-height: 585px;
  overflow: visible;
  cursor: grab;
  touch-action: pan-y;
}

.cube-stage:active {
  cursor: grabbing;
}

.cube-stage canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  filter:
    brightness(1.14)
    contrast(1.05)
    saturate(1.02);
}

.visual-note {
  display: none !important;
}

/* Sections */

.content-section {
  padding: 78px 0;
  position: relative;
  z-index: 2;
}

.content-section::before,
.projects-section::before,
.platform-section::before,
.pricing-section::before,
.form-section::before,
.testimonials-section::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.content-section > .container,
.projects-section > .container,
.platform-section > .container,
.pricing-section > .container,
.form-section > .container,
.testimonials-section > .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-heading.center-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading > span,
.project-kicker,
.price-card small,
.modal-kicker {
  display: block;
  color: #596472;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 950;
}

.section-heading > span {
  margin-bottom: 15px;
}

h2 {
  margin: 0;
  max-width: 820px;
  color: #05070a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.99;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.section-heading.center-heading h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-heading p {
  color: #3f4d5e;
  font-size: 17px;
  line-height: 1.72;
  margin: 20px 0 0;
}

/* FAQ / Foundation */

.accordion {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(13, 18, 28, 0.10);
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 44px rgba(12, 18, 28, 0.065);
}

details[open] {
  border-color: rgba(13, 18, 28, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 70px rgba(12, 18, 28, 0.085);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: #10151d;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  display: flex;
  align-items: center;
  gap: 12px;
}

summary b {
  width: auto;
  height: auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b73f6;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
  text-shadow: 0 2px 10px rgba(11, 115, 246, 0.18);
}

summary i {
  color: #5d6876;
  font-style: normal;
  font-size: 22px;
  transition: 160ms ease;
}

details[open] summary i {
  transform: rotate(45deg);
  color: #10151d;
}

details p {
  margin: 0;
  padding: 0 24px 24px 56px;
  max-width: 980px;
  color: #52606f;
  font-size: 16.1px;
  line-height: 1.76;
}

details p a,
.accordion p a {
  color: #10151d;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(20, 85, 143, 0.42);
  text-underline-offset: 3px;
}

details p a:hover,
.accordion p a:hover {
  color: var(--blue);
}

/* Projects */

.projects-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

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

.project-card {
  background: #ffffff;
  border: 1px solid rgba(191, 202, 216, 0.92);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.065);
  overflow: hidden;
  color: #071426;
}

.project-card:hover {
  border-color: rgba(11, 115, 246, 0.34);
  box-shadow: 0 18px 40px rgba(7, 20, 38, 0.09);
  transform: translateY(-2px);
}

.project-card-top {
  min-height: 300px;
  padding: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
}

.project-kicker {
  display: block;
  margin-bottom: 20px;
  color: rgba(7, 20, 38, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0 0 14px;
  color: #071426;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.project-card p {
  margin: 0;
  color: #3d4c61;
  font-size: 15px;
  line-height: 1.68;
}

.project-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 14px;
  font-weight: 950;
}

/* Tool tiles */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.platform-grid div {
  position: relative;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 14px;
  background: linear-gradient(145deg, #ffffff 0%, #f7fafd 42%, #eaf0f7 100%);
  border: 1px solid rgba(191, 202, 216, 0.90);
  border-radius: 14px;
  color: #071426;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 28px rgba(7, 20, 38, 0.055);
  overflow: hidden;
}

.platform-grid div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 115, 246, 0.06), transparent 42%);
  pointer-events: none;
}

.platform-grid div::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(11, 115, 246, 0.42), transparent);
  pointer-events: none;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.price-card {
  display: grid;
  grid-template-rows: 1fr auto;
  border: 1px solid rgba(13, 18, 28, 0.10);
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 44px rgba(12, 18, 28, 0.065);
}

.price-card.featured {
  border-color: rgba(13, 18, 28, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 70px rgba(12, 18, 28, 0.085);
}

.price-card-main {
  padding: 30px;
}

.price-card small {
  color: #596472;
}

.price-card h3 {
  margin: 16px 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.price-card p {
  color: #52606f;
  line-height: 1.68;
  margin: 0 0 18px;
}

.price-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.price-card li {
  color: #3d4856;
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.price-card li::before {
  content: "✓";
  color: #111820;
  font-weight: 950;
}

.price-card-stub {
  padding: 18px;
  border-top: 1px solid rgba(13, 18, 28, 0.10);
  background: #f7f9fc;
}

.modal-open {
  width: 100%;
  min-height: 46px;
  border-radius: var(--radius-sm);
  border-style: solid;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

/* Contact form */

.project-form {
  border: 1px solid rgba(13, 18, 28, 0.10);
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 70px rgba(12, 18, 28, 0.085);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  color: #151a20;
  font-size: 14px;
  font-weight: 900;
  display: grid;
  gap: 8px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 13px 14px;
  border: 1px solid rgba(13, 18, 28, 0.14);
  background: #ffffff;
  color: #10151d;
  font-size: 15px;
  outline: none;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(20, 85, 143, 0.55);
  box-shadow:
    0 0 0 3px rgba(20, 85, 143, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-note {
  color: #667180;
  line-height: 1.6;
  font-size: 13px;
  margin: 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Testimonials */

.testimonials-section {
  padding-top: 86px;
  padding-bottom: 94px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.testimonial-card {
  position: relative;
  min-height: 280px;
  padding: 34px;
  background: linear-gradient(145deg, #ffffff 0%, #f7fafd 48%, #eaf0f7 100%);
  border: 1px solid rgba(191, 202, 216, 0.90);
  border-radius: 18px;
  color: #071426;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.065);
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(11, 115, 246, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.72), transparent);
  pointer-events: none;
}

.testimonial-card p,
.testimonial-author,
.testimonial-quote-mark {
  position: relative;
  color: rgba(11, 115, 246, 0.30);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 0.8;
  margin-bottom: 12px;
}

.testimonial-quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.75;
  color: rgba(235, 243, 252, 0.34);
  margin-bottom: 8px;
  text-shadow: 0 0 24px rgba(210, 226, 246, 0.22);
}

.testimonial-card p {
  position: relative;
  margin: 0;
  color: #354257;
  font-size: 15px;
  line-height: 1.7;
}

.testimonial-author {
  position: relative;
  margin-top: 22px;
  color: #071426;
  font-size: 14px;
  font-weight: 900;
}

.featured-testimonial {
  background: linear-gradient(145deg, #ffffff 0%, #eef6ff 48%, #e8eef6 100%);
  border-color: rgba(11, 115, 246, 0.32);
}

/* Modal */

.modal-active,
body.modal-active {
  overflow: hidden !important;
}

.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: 100vw !important;
  height: 100dvh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  overflow: hidden !important;
  background: rgba(0, 0, 0, 0.62) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.modal-backdrop[hidden],
.modal-panel[hidden] {
  display: none !important;
}

.modal-panel {
  position: relative !important;
  z-index: 2147483001 !important;
  width: min(900px, calc(100vw - 48px)) !important;
  max-height: calc(100dvh - 48px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 30px !important;
  border: 1px solid rgba(223, 228, 234, 0.24) !important;
  border-radius: 10px !important;
  background:
    radial-gradient(circle at 82% 0%, rgba(223, 228, 234, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(16, 19, 24, 0.99), rgba(3, 4, 5, 0.99)) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,0.82) !important;
}

.modal-close {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  margin: 0 0 10px auto !important;
  z-index: 2147483002 !important;
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid rgba(223,228,234,0.34) !important;
  background: rgba(7, 9, 12, 0.98) !important;
  color: var(--platinum) !important;
  font-size: 30px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.modal-panel h3 {
  margin: 12px 0 14px;
  color: var(--platinum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.modal-lead {
  max-width: 680px;
  color: #aeb7c2;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.modal-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.modal-check-grid div {
  position: relative;
  padding: 15px 15px 15px 43px;
  min-height: 58px;
  border: 1px solid rgba(223, 228, 234, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.026);
  color: #d7dde4;
  line-height: 1.45;
  font-size: 14px;
}

.modal-check-grid div::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #050506;
  font-size: 12px;
  font-weight: 950;
  background: linear-gradient(135deg, #ffffff, #aeb7c2);
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(13, 18, 28, 0.08);
  padding: 32px 0 42px;
  color: #667180;
  background: #ffffff;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #313944;
  font-weight: 800;
}

.footer-inner a:hover {
  color: var(--blue);
}

/* Anchor reliability */

#start,
#project-form-start,
.contact-section {
  scroll-margin-top: 96px !important;
}

/* Responsive */

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy-wrap,
  .hero-lead {
    max-width: 760px;
  }

  .hero-visual {
    transform: none;
    min-height: 500px;
  }

  .cube-stage {
    height: 500px;
    min-height: 500px;
  }

  .pricing-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 10px 0;
  }

  .header-inner {
    width: min(100% - 24px, var(--container));
    min-height: 60px;
    padding: 8px;
    gap: 12px;
    border-radius: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-mark img {
    width: 31px;
    height: 31px;
  }

  .brand-copy strong {
    font-size: 17px;
    white-space: nowrap;
  }

  .brand-copy small,
  .header-actions a:first-child {
    display: none;
  }

  .header-actions .header-cta {
    min-height: 39px;
    font-size: 13.5px;
    padding: 0 13px;
    white-space: nowrap;
  }

  .hero-section {
    min-height: auto;
    padding: 42px 0 34px;
    overflow: hidden;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy-wrap {
    display: contents;
  }

  .hero-copy-wrap .eyebrow {
    order: 1;
  }

  .hero-copy-wrap h1 {
    order: 2;
  }

  .hero-visual {
    order: 3;
  }

  .hero-lead {
    order: 4;
  }

  .hero-actions {
    order: 5;
  }

  .eyebrow {
    width: auto;
    max-width: 100%;
    padding: 8px 10px;
    margin: 0 0 22px;
    font-size: 12px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(42px, 13vw, 58px);
    line-height: 0.95;
    letter-spacing: -0.06em;
  }

  .hero-lead {
    width: 100%;
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    font-size: 13.5px;
    line-height: 1.15;
    text-align: center;
  }

  .hero-visual {
    height: 390px;
    min-height: 390px;
    margin: -6px auto 26px;
    transform: translateY(-28px);
    overflow: visible;
    filter:
      brightness(1.28)
      contrast(1.06)
      saturate(1.02)
      drop-shadow(0 0 24px rgba(120, 146, 176, 0.16))
      drop-shadow(0 18px 42px rgba(13, 18, 28, 0.16));
  }

  .cube-stage {
    height: 390px;
    min-height: 390px;
    pointer-events: none;
  }

  .cube-stage canvas {
    filter:
      brightness(1.18)
      contrast(1.05)
      saturate(1.02) !important;
  }

  .content-section {
    padding: 58px 0;
  }

  .platform-grid,
  .form-grid,
  .testimonials-grid,
  .modal-check-grid {
    grid-template-columns: 1fr;
  }

  .featured-testimonial {
    transform: none;
  }

  summary {
    padding: 19px 17px;
    font-size: 15.5px;
    align-items: flex-start;
  }

  summary b {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }

  details p {
    padding: 0 17px 19px;
    font-size: 15px;
  }

  .price-card-main,
  .project-card-top {
    padding: 22px;
  }

  .price-card-stub {
    padding: 14px;
  }

  .project-form {
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .modal-backdrop {
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: rgba(0, 0, 0, 0.78) !important;
  }

  .modal-panel {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: calc(78px + env(safe-area-inset-top)) 15px calc(42px + env(safe-area-inset-bottom)) !important;
    border: none !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background:
      radial-gradient(circle at 80% 0%, rgba(223, 228, 234, 0.12), transparent 30%),
      linear-gradient(180deg, #0d1015 0%, #050607 44%, #010101 100%) !important;
    box-shadow: none !important;
  }

  .modal-close {
    position: fixed !important;
    top: calc(16px + env(safe-area-inset-top)) !important;
    right: 14px !important;
    z-index: 2147483003 !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    margin: 0 !important;
    border-radius: 9px !important;
    font-size: 32px !important;
    background: rgba(7, 9, 12, 0.99) !important;
    color: #ffffff !important;
  }

  .modal-panel h3 {
    margin-top: 0 !important;
    font-size: clamp(30px, 9vw, 42px) !important;
  }

  .modal-lead {
    font-size: 14.25px !important;
    line-height: 1.58 !important;
  }

  .modal-check-grid {
    gap: 9px !important;
    padding-bottom: 48px !important;
  }

  .modal-check-grid div {
    min-height: auto !important;
    padding: 14px 14px 14px 42px !important;
    font-size: 13.85px !important;
    line-height: 1.48 !important;
  }

  .modal-check-grid div:last-child {
    margin-bottom: 50px !important;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    width: calc(100% - 14px);
  }

  h1 {
    font-size: clamp(38px, 12.2vw, 48px);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 330px;
    min-height: 330px;
    margin-top: -10px;
    margin-bottom: 34px;
    transform: translateY(-36px);
  }

  .cube-stage {
    height: 330px;
    min-height: 330px;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 14.25px;
    line-height: 1.55;
  }

  .testimonial-card {
    padding: 25px 21px 22px;
  }

  .testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .testimonial-quote-mark {
    font-size: 3.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}


.projects-grid .project-card:nth-child(1) .project-card-top {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98) 0%, #ffffff 34%);
  border-top: 4px solid #0b73f6;
}

.projects-grid .project-card:nth-child(2) .project-card-top {
  background: linear-gradient(180deg, rgba(247, 250, 253, 0.98) 0%, #ffffff 34%);
  border-top: 4px solid #bfcad8;
}

.projects-grid .project-card:nth-child(3) .project-card-top {
  background: linear-gradient(180deg, rgba(243, 246, 250, 0.98) 0%, #ffffff 34%);
  border-top: 4px solid #7d8fa6;
}
















/* === REAL MENU CLONE START === */
#mySidebar {
      width: 292px;
      z-index: 9999;
      background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
      color: #111827;
      border-right: 1px solid rgba(191, 202, 216, 0.92);
      box-shadow: 18px 0 44px rgba(7, 20, 38, 0.10);
    }

    #mySidebar .w3-bar-item {
      margin: 6px 12px;
      width: calc(100% - 24px);
      border-radius: 7px;
      font-size: 15px;
      font-weight: 800;
      padding: 13px 14px;
      color: #1f2937;
      border: 1px solid transparent;
    }

    #mySidebar .w3-bar-item:hover {
      background: linear-gradient(180deg, #ffffff 0%, #edf6ff 100%) !important;
      color: #0b73f6 !important;
      border-color: rgba(11, 115, 246, 0.28) !important;
    }

    .sidebar-close-button {
      color: #071426 !important;
      background: transparent !important;
      border-bottom: 1px solid rgba(191, 202, 216, 0.72) !important;
    }

    .sidebar-logo-wrap {
      padding: 22px 18px 18px;
      border-bottom: 1px solid rgba(191, 202, 216, 0.82);
      background:
        radial-gradient(circle at top left, rgba(11, 115, 246, 0.10), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%);
    }

    .sidebar-logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .sidebar-logo img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      border-radius: 9px;
      box-shadow: none;
    }

    .sidebar-logo strong {
      display: block;
      font-size: 16px;
      line-height: 1.15;
      color: #071426;
    }

    .sidebar-logo span {
      display: block;
      margin-top: 4px;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #0b73f6;
      font-weight: 900;
    }

    .w3-overlay {
      z-index: 9998;
    }

    .menu-button-wrap {
      position: sticky;
      top: 0;
      z-index: 900;
      background: #ffffff;
      border-bottom: 1px solid rgba(191, 202, 216, 0.82);
      box-shadow: 0 10px 28px rgba(7, 20, 38, 0.055);
    }

    .topbar-inner {
      width: min(1180px, calc(100% - 40px));
      min-height: 78px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .topbar-left {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .menu-button {
      width: 42px;
      height: 42px;
      padding: 0 !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      border-radius: 7px;
      border: 1px solid rgba(191, 202, 216, 0.90) !important;
      background: linear-gradient(180deg, #ffffff 0%, #eef3f9 100%) !important;
      color: #071426 !important;
      font-size: 24px !important;
      line-height: 1;
      box-shadow: none;
    }

    .topbar-brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .topbar-brand img {
      width: 52px;
      height: 52px;
      object-fit: contain;
      border-radius: 9px;
    }

    .topbar-brand strong {
      display: block;
      color: #071426;
      font-size: 18px;
      font-weight: 850;
      line-height: 1;
      letter-spacing: -0.02em;
    }

    .topbar-brand small {
      display: block;
      margin-top: 5px;
      color: rgba(7, 20, 38, 0.60);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      line-height: 1;
    }

    .topbar-nav {
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }

    .topbar-nav a {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 15px;
      border-radius: 7px;
      border: 1px solid rgba(191, 202, 216, 0.90);
      background: linear-gradient(180deg, #ffffff 0%, #eef3f9 100%);
      color: #111827;
      font-size: 14px;
      font-weight: 850;
    }

    .topbar-nav a:hover,
    .menu-button:hover {
      color: #0b73f6 !important;
      border-color: rgba(11, 115, 246, 0.34) !important;
      background: linear-gradient(180deg, #ffffff 0%, #edf6ff 100%) !important;
    }
.w3-sidebar{position:fixed!important;top:0!important;left:0!important;height:100vh!important;overflow:auto!important;z-index:9999!important}
.w3-overlay{display:none;position:fixed!important;inset:0!important;z-index:9998!important;background:rgba(7,20,38,.50)!important}
/* === REAL MENU CLONE END === */

/* === PKW WEB DESIGN MOBILE TOPBAR MATCH FINAL === */
@media (max-width: 700px) {
  .menu-button-wrap{position:sticky!important;top:0!important;z-index:900!important;background:#fff!important;border-bottom:1px solid rgba(191,202,216,.82)!important;}
  .topbar-inner{width:calc(100% - 28px)!important;min-height:70px!important;margin:0 auto!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;}
  .topbar-left{display:inline-flex!important;align-items:center!important;gap:14px!important;min-width:0!important;flex:1 1 auto!important;}
  .topbar-nav{display:none!important;}
  .menu-button{width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 42px!important;padding:0!important;font-size:24px!important;}
  .topbar-brand{display:inline-flex!important;align-items:center!important;gap:12px!important;min-width:0!important;flex:1 1 auto!important;}
  .topbar-brand img{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;object-fit:contain!important;}
  .topbar-brand strong{display:block!important;font-size:16px!important;line-height:1!important;white-space:nowrap!important;}
  .topbar-brand small{display:block!important;margin-top:5px!important;font-size:9px!important;letter-spacing:.08em!important;line-height:1!important;white-space:nowrap!important;}
}
/* === PKW WEB DESIGN MOBILE TOPBAR MATCH FINAL END === */
