:root {
  --bg: #070b14;
  --bg-soft: #0b1120;
  --panel: rgba(15, 23, 42, 0.72);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f7f9fc;
  --muted: #9aa8bd;
  --cyan: #52e7ff;
  --blue: #5b7cff;
  --violet: #8d62ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, .35);
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);

  background:
          radial-gradient(
                  circle at 70% -10%,
                  rgba(91, 124, 255, .13),
                  transparent 32rem
          ),
          radial-gradient(
                  circle at 10% 20%,
                  rgba(82, 231, 255, .07),
                  transparent 26rem
          ),
          var(--bg);

  font-family:
          Inter,
          ui-sans-serif,
          system-ui,
          -apple-system,
          BlinkMacSystemFont,
          "Segoe UI",
          sans-serif;

  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 50;

  border-bottom: 1px solid transparent;

  transition: .25s ease;
}

.site-header.scrolled {
  background: rgba(7, 11, 20, .82);

  backdrop-filter: blur(18px);

  border-color: var(--line);
}

.nav-wrap {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* =========================================================
   CONZULA BRAND
   ========================================================= */

.brand {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  text-decoration: none;
}

.brand-logo {
  display: block;

  width: 44px;
  height: 44px;

  flex: 0 0 44px;

  object-fit: contain;

  filter:
          drop-shadow(0 0 7px rgba(34, 220, 245, .24))
          drop-shadow(0 0 14px rgba(104, 70, 255, .18));
}

.brand-name {
  font-size: .95rem;

  letter-spacing: .28em;

  font-weight: 800;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  display: flex;
  align-items: center;

  gap: 30px;
}

.nav a {
  text-decoration: none;

  color: #c4cedd;

  font-size: .92rem;

  transition: .2s ease;
}

.nav a:hover {
  color: white;
}

.nav-cta {
  padding: 10px 16px;

  border: 1px solid var(--line);

  border-radius: 999px;
}

.menu-button {
  display: none;

  width: 42px;
  height: 42px;

  border: 1px solid var(--line);

  border-radius: 12px;

  background: rgba(255, 255, 255, .03);

  padding: 10px;
}

.menu-button span {
  display: block;

  height: 1px;

  background: white;

  margin: 5px 0;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 100vh;

  position: relative;

  display: grid;
  align-items: center;

  /*
   * Important:
   * The huge Conzula mark deliberately extends beyond
   * the hero and gets cropped here.
   */
  overflow: hidden;

  padding: 130px 0 70px;

  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";

  position: absolute;

  inset: auto 0 0 0;

  height: 220px;

  background:
          linear-gradient(
                  transparent,
                  rgba(7, 11, 20, .96)
          );

  pointer-events: none;

  z-index: 2;
}

.hero-grid {
  display: grid;

  grid-template-columns: 1.05fr .95fr;

  gap: 70px;

  align-items: center;

  position: relative;

  z-index: 3;
}


/* =========================================================
   HERO TEXT
   ========================================================= */

.hero-copy {
  position: relative;

  z-index: 10;
}

.eyebrow {
  color: #9cbcff;

  font-size: .72rem;

  font-weight: 800;

  letter-spacing: .24em;

  margin: 0 0 20px;
}

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

h1 {
  font-size: clamp(4.6rem, 9vw, 8.5rem);

  line-height: .88;

  letter-spacing: -.065em;

  margin-bottom: 28px;

  max-width: 820px;
}

h1 span,
h2 span {
  background:
          linear-gradient(
                  90deg,
                  var(--cyan),
                  var(--blue),
                  var(--violet)
          );

  color: transparent;

  background-clip: text;

  -webkit-background-clip: text;
}

.hero-text {
  color: #b8c2d1;

  max-width: 680px;

  font-size:
          clamp(
                  1.05rem,
                  1.6vw,
                  1.26rem
          );
}

.hero-actions {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  margin: 34px 0 46px;
}

.button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 0 20px;

  border-radius: 999px;

  text-decoration: none;

  font-weight: 700;

  font-size: .92rem;

  transition: .22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background:
          linear-gradient(
                  90deg,
                  var(--blue),
                  var(--cyan)
          );

  box-shadow:
          0 12px 40px
          rgba(82, 231, 255, .16);
}

.secondary {
  border: 1px solid var(--line);

  background:
          rgba(255, 255, 255, .025);
}

.hero-meta {
  display: flex;

  gap: 34px;

  flex-wrap: wrap;
}

.hero-meta div {
  display: grid;

  gap: 2px;
}

.hero-meta strong {
  font-size: .85rem;
}

.hero-meta span {
  color: var(--muted);

  font-size: .78rem;
}


/* =========================================================
   HUGE CONZULA HERO MARK
   ========================================================= */

.hero-visual {
  /*
   * This is only the anchor for the oversized mark.
   * The mark itself is intentionally much larger.
   */

  min-height: 650px;

  height: 100%;

  position: relative;

  z-index: 1;
}

.conzula-hero-logo {
  /*
   * Deliberately oversized.
   *
   * This should NOT fit nicely inside the right column.
   * That is intentional and matches the reference.
   */

  position: absolute;

  width: clamp(760px, 61vw, 1100px);
  height: clamp(760px, 61vw, 1100px);

  left: 36%;
  top: 50%;

  transform:
          translate(-18%, -48%);

  border-radius: 50%;

  z-index: 1;
}


/* Main thin orbit ring */

.conzula-hero-logo::before {
  content: "";

  position: absolute;

  inset: 3%;

  border-radius: 50%;

  border:
          1px solid
          rgba(105, 72, 255, .44);

  box-shadow:
          0 0 45px
          rgba(67, 79, 255, .08),

          inset 0 0 45px
          rgba(46, 150, 255, .035);

  z-index: 1;
}


/* Very subtle inner orbit */

.conzula-hero-logo::after {
  content: "";

  position: absolute;

  inset: 7%;

  border-radius: 50%;

  border:
          1px solid
          rgba(49, 159, 255, .10);

  z-index: 1;
}


/* Actual transparent Conzula mark */

.conzula-hero-logo img {
  position: absolute;

  /*
   * Keep some space between C and outer orbit.
   */
  inset: 7%;

  width: 86%;
  height: 86%;

  object-fit: contain;

  z-index: 3;

  filter:
          drop-shadow(
                  0 0 18px
                  rgba(35, 215, 245, .22)
          )
          drop-shadow(
                  0 0 42px
                  rgba(60, 118, 255, .18)
          )
          drop-shadow(
                  0 0 80px
                  rgba(126, 50, 255, .14)
          );
}


/* Glow behind the entire hero logo */

.hero-visual::before {
  content: "";

  position: absolute;

  width: 850px;
  height: 850px;

  left: 40%;
  top: 50%;

  transform:
          translate(-15%, -50%);

  border-radius: 50%;

  background:
          radial-gradient(
                  circle,
                  rgba(25, 177, 255, .15) 0%,
                  rgba(55, 98, 255, .10) 36%,
                  rgba(133, 48, 255, .08) 57%,
                  transparent 74%
          );

  filter: blur(40px);

  pointer-events: none;

  z-index: 0;
}


/* =========================================================
   HERO BACKGROUND GLOWS
   ========================================================= */

.hero-glow {
  position: absolute;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  filter: blur(100px);

  opacity: .15;
}

.hero-glow-one {
  background: var(--cyan);

  top: 12%;

  right: 5%;
}

.hero-glow-two {
  background: var(--violet);

  left: -10%;

  bottom: -12%;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;

  margin-bottom: 46px;
}

.section-heading h2,
.about-grid h2,
.vision-card h2 {
  font-size:
          clamp(
                  2.5rem,
                  5vw,
                  4.8rem
          );

  line-height: 1;

  letter-spacing: -.045em;

  margin-bottom: 20px;
}

.section-heading > p:last-child {
  color: var(--muted);

  max-width: 650px;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.product-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.product-card {
  min-height: 470px;

  border:
          1px solid
          var(--line);

  border-radius: 24px;

  background:
          linear-gradient(
                  180deg,
                  rgba(255, 255, 255, .035),
                  rgba(255, 255, 255, .012)
          ),
          rgba(10, 16, 29, .74);

  padding: 26px;

  box-shadow:
          var(--shadow);

  display: flex;

  flex-direction: column;

  position: relative;

  overflow: hidden;
}

.product-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
          radial-gradient(
                  circle at 20% 0%,
                  rgba(82, 231, 255, .08),
                  transparent 40%
          );

  pointer-events: none;
}

.product-card.featured {
  border-color:
          rgba(82, 231, 255, .22);
}

.product-card.subtle {
  background:
          rgba(10, 16, 29, .45);
}

.product-top {
  display: flex;

  justify-content: space-between;

  gap: 16px;

  color: var(--muted);

  font-size: .67rem;

  letter-spacing: .16em;

  margin-bottom: 28px;
}

.product-number {
  font-weight: 900;
}

.product-icon {
  width: 76px;
  height: 76px;

  border:
          1px solid
          rgba(255, 255, 255, .12);

  border-radius: 22px;

  margin-bottom: 30px;

  background:
          linear-gradient(
                  145deg,
                  rgba(91, 124, 255, .18),
                  rgba(82, 231, 255, .06)
          );

  position: relative;

  box-shadow:
          inset 0 0 35px
          rgba(91, 124, 255, .08);
}

.puzzle-icon {
  display: grid;

  grid-template-columns:
    repeat(2, 16px);

  grid-template-rows:
    repeat(2, 16px);

  gap: 6px;

  place-content: center;
}

.puzzle-icon span {
  border-radius: 5px;

  background:
          linear-gradient(
                  145deg,
                  var(--cyan),
                  var(--blue)
          );

  opacity: .86;
}

.puzzle-icon span:nth-child(2),
.puzzle-icon span:nth-child(3) {
  opacity: .28;
}

.mic-icon {
  display: grid;

  place-items: center;
}

.mic {
  width: 20px;
  height: 34px;

  border-radius: 14px;

  border:
          2px solid
          #8bbcff;

  position: relative;
}

.mic::after {
  content: "";

  position: absolute;

  left: 50%;

  transform:
          translateX(-50%);

  bottom: -13px;

  width: 32px;
  height: 18px;

  border:
          2px solid
          #8bbcff;

  border-top: 0;

  border-radius:
          0 0 22px 22px;
}

.mic-base {
  position: absolute;

  width: 2px;
  height: 11px;

  background:
          #8bbcff;

  bottom: 10px;
}

.product-card h3 {
  font-size: 1.55rem;

  margin-bottom: 5px;
}

.product-card p {
  color: var(--muted);

  font-size: .94rem;
}

.product-subtitle {
  color:
          #d8e0eb !important;

  font-weight: 600;
}

.product-footer {
  margin-top: auto;

  padding-top: 28px;

  display: flex;

  align-items: center;

  justify-content:
          space-between;

  gap: 16px;
}

.pill {
  display: inline-flex;

  align-items: center;

  min-height: 35px;

  padding: 0 13px;

  border:
          1px solid
          rgba(82, 231, 255, .45);

  border-radius: 999px;

  font-size: .76rem;
}

.pill.muted {
  border-color:
          var(--line);
}

.platforms {
  color: #748297;

  font-size: .75rem;
}

.future-symbol {
  width: 76px;
  height: 76px;

  border:
          1px solid
          var(--line);

  border-radius: 22px;

  display: grid;

  place-items: center;

  color: #7f90aa;

  font-size: 2.4rem;

  font-weight: 200;

  margin-bottom: 30px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
  border-top:
          1px solid
          var(--line);

  border-bottom:
          1px solid
          var(--line);

  background:
          radial-gradient(
                  circle at 75% 50%,
                  rgba(91, 124, 255, .11),
                  transparent 35%
          ),
          #090e19;
}

.about-grid {
  display: grid;
}

/* QuickPaste launch card */
.quickpaste-card {
  border-color: rgba(82, 231, 255, .42);
  background:
    radial-gradient(circle at 90% 10%, rgba(229, 38, 255, .12), transparent 34%),
    linear-gradient(145deg, rgba(23, 48, 103, .7), rgba(10, 16, 29, .78));
}

.quickpaste-icon {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.quickpaste-icon img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(34, 220, 245, .35));
}

.product-links {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.text-link {
  color: #bfeaff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: white;
}

@media (min-width: 1181px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-card {
    min-height: 500px;
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 620px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .menu-button {
    display: block;
    cursor: pointer;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 11, 20, .96);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
    gap: 4px;
  }

  .nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

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

  .hero-visual {
    min-height: 300px;
    order: -1;
  }

  .conzula-hero-logo {
    width: 470px;
    height: 470px;
    left: 54%;
    top: 45%;
  }

  h1 {
    font-size: clamp(3.7rem, 16vw, 5.8rem);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Mahjong and website services, October 2026. */
:focus-visible { outline: 3px solid #52e7ff; outline-offset: 5px; }
section[id] { scroll-margin-top: 95px; }
.nav { gap: 22px; }
.mahjong-card { border-color: #334f86; background: linear-gradient(155deg,#15274b,#0b1121 70%); }
.mahjong-card-art { display: block; width: 112px; height: 112px; overflow: hidden; border-radius: 22px; margin: -6px 0 18px; border: 1px solid #506491; }
.mahjong-card-art img { width: 100%; height: 100%; object-fit: cover; }
.mahjong-card-art:hover img { filter: brightness(1.12); }
.puzzles-card-logo { display: block; width: 220px; max-width: 100%; height: 76px; object-fit: contain; object-position: left center; margin-bottom: 30px; }
.service-section { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 75% 50%,#19375350,transparent 60%); }
.service-teaser { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.service-teaser h2 { font-size: clamp(2.7rem,4.8vw,4.5rem); line-height: 1; letter-spacing: -.05em; }
.service-teaser p:not(.eyebrow) { color: #b4c3d7; max-width: 500px; }
.service-teaser .primary { color: #071329; background: linear-gradient(110deg,#7ca1ff,#6deafa); }
.service-teaser .hero-actions { margin-bottom: 0; }
.service-preview { position: relative; padding: 20px 8px; }
.service-browser { overflow: hidden; border-radius: 16px; border: 1px solid #4a6078; background: #e9f1ed; color: #224a4b; box-shadow: 0 25px 70px #0006; transform: rotate(3deg); }
.service-browser-bar { display: flex; justify-content: space-between; padding: 14px 20px; background: #d3e0de; font-size: .55rem; letter-spacing: .1em; color: #4d7374; }
.service-browser-content { padding: 32px; min-height: 310px; position: relative; overflow: hidden; }
.service-browser-label { display: block; font-size: .55rem; letter-spacing: .16em; margin-bottom: 16px; }
.service-browser-content strong { font-family: Georgia,serif; font-size: 2.7rem; line-height: 1; display: block; position: relative; z-index: 1; font-weight: 400; letter-spacing: -.04em; }
.service-browser-content p { font-size: .75rem; margin-top: 18px; color: #3e6669 !important; position: relative; z-index: 1; }
.service-demo-button { display: inline-block; padding: 9px 18px; background: #224a4b; color: #e9f1ed; font-size: .65rem; border-radius: 50px; position: relative; z-index: 1; }
.service-orbit { position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 40px solid #abc8bf; right: -95px; bottom: -65px; box-shadow: 0 0 0 25px #c7d9d1; }
.service-preview-note { display: block; text-align: center; color: #9bafc8; font-size: .7rem; margin-top: 28px; }
.site-footer { border-top: 1px solid var(--line); padding: 38px 0; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-grid p { color: #9faec2; margin: 0; font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .82rem; }
.footer-links a { text-decoration: none; }
.vision-card { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.vision-card > p { color: #aebed2; }
.about-grid { grid-template-columns: 1fr 1fr; gap: 70px; }
.about-copy { color: #aebed2; }
.about-copy .lead { color: #e2ebf7; font-size: 1.18rem; }
@media (min-width: 761px) and (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nav { gap: 14px; }
  .nav a { font-size: .8rem; }
  .brand-name { letter-spacing: .18em; }
  .service-teaser { gap: 30px; }
}
@media (max-width: 760px) {
  .service-teaser, .about-grid, .vision-card { grid-template-columns: 1fr; gap: 35px; }
  .service-preview { max-width: 520px; }
  .service-browser-content strong { font-size: 2.4rem; }
  .service-browser-content { padding: 28px; }
  .service-browser { transform: none; }
  .section { padding: 75px 0; }
  .nav { gap: 4px; }
}
