:root {
  --ink: #253059;
  --paper: #fffaf0;
  --blue: #2446a8;
  --violet: #6e66e8;
  --mint: #47d5bf;
  --coral: #ff6d7e;
  --sun: #ffcf45;
  --line: rgba(37, 48, 89, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 5vw;
  color: #fff;
}

.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--sun);
  color: #53309d;
  box-shadow: 0 5px 0 #dba82b;
  font: 800 21px/1 Arial, Helvetica, sans-serif;
  transform: rotate(-7deg);
}
.brand-mark i { font-style: normal; transform: rotate(7deg); }
.brand-mark.small { width: 31px; height: 31px; font-size: 15px; border-radius: 10px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; letter-spacing: .16em; }
.brand-copy strong { font-size: 15px; }
.brand-copy small { margin-top: 6px; color: #e5edff; font-size: 15px; letter-spacing: .16em; }
nav { display: flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.header-link {
  justify-self: end;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  color: #3149a2;
  box-shadow: 0 4px 0 rgba(21, 38, 102, .25);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 170px 8vw 80px;
  color: #fff;
  background: linear-gradient(145deg, #5b7cff 0%, #7868ed 48%, #b66de0 100%);
  border-radius: 0 0 48px 48px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: radial-gradient(rgba(255, 255, 255, .8) 2px, transparent 2px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to right, transparent, black 70%);
}
.hero-copy { position: relative; z-index: 3; max-width: 56vw; }
.eyebrow, .section-label { margin: 0; text-transform: uppercase; font-size: 15px; font-weight: 800; line-height: 1.2; letter-spacing: .18em; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: #eef2ff; margin-bottom: 35px; }
.eyebrow span { width: 34px; height: 4px; border-radius: 5px; background: var(--sun); }
.section-label { color: #7057c4; }
.section-label.light { color: #bec9eb; }
h1, h2, h3 { margin: 0; }
h1 {
  max-width: 790px;
  font-size: clamp(64px, 7.2vw, 112px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.065em;
  text-shadow: 0 7px 0 rgba(58, 48, 152, .24);
}
h1 em { color: #ffdf69; font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 500px; margin: 42px 0 34px; color: #f2f4ff; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--sun);
  color: #513d86;
  box-shadow: 0 6px 0 #dd9f36;
  font-size: 13px;
  font-weight: 800;
  transition: transform .18s;
}
.primary-button:hover { transform: translateY(-3px); }
.text-link { color: #fff; border-bottom: 2px solid rgba(255, 255, 255, .45); padding: 12px 0; font-size: 13px; font-weight: 700; }
.hero-note { position: absolute; right: 8vw; bottom: 83px; display: flex; flex-direction: column; gap: 5px; color: #e3e9ff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.hero-note strong { color: #fff; font-size: 14px; letter-spacing: .12em; }

.hero-showcase { position: absolute; z-index: 2; right: 7vw; top: 145px; width: 500px; height: 500px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 2px dashed rgba(255, 255, 255, .3); }
.hero-tile { position: absolute; width: 210px; height: 210px; padding: 16px; border-radius: 46px; background: rgba(255, 255, 255, .94); box-shadow: 0 22px 0 rgba(60, 43, 145, .24), 0 35px 60px rgba(43, 35, 126, .2); }
.tile-one { left: 15px; top: 35px; transform: rotate(-10deg); }
.tile-two { right: 10px; top: 100px; transform: rotate(9deg); }
.tile-three { left: 120px; bottom: 8px; transform: rotate(-3deg); }
.hero-spark, .hero-coin { position: absolute; z-index: 4; display: grid; place-items: center; color: #fff; text-shadow: 0 4px 0 rgba(65, 45, 150, .2); }
.hero-spark { font-size: 44px; }
.spark-one { right: 32px; top: 10px; color: #ffdf69; transform: rotate(14deg); }
.spark-two { left: -24px; bottom: 90px; color: #66e3d3; font-size: 34px; }
.hero-coin { right: -18px; bottom: 65px; width: 62px; height: 62px; border-radius: 50%; background: var(--coral); border: 8px solid #fff; font-size: 30px; font-weight: 800; box-shadow: 0 8px 0 rgba(61, 45, 142, .22); }

.statement, .principles, .contact { padding: 110px 8vw; }
.statement { display: grid; grid-template-columns: 1fr 3fr; gap: 8vw; }
.statement > div { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 8vw; }
.statement h2, .publishing h2, .company h2, .contact h2, .games h2 { font-size: clamp(42px, 5vw, 74px); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; }
.statement p:last-child, .contact > p { margin: 0; color: #66737b; font-size: 17px; line-height: 1.75; }
.games { padding: 120px 8vw; background: #fffaf0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 65px; }
.section-heading h2 { margin-top: 26px; }
.section-heading > p { width: min(410px, 100%); margin: 0; color: #68757c; font-size: 15px; line-height: 1.7; }

.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.game-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border: 7px solid #fff;
  border-radius: 32px;
  background: linear-gradient(145deg, #5b66ed, #8b67df);
  box-shadow: 0 16px 0 #e9dfd0;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 20px 0 #e4d9c8; }
.game-card:nth-child(3n+2) { background: linear-gradient(145deg, #19bda5, #54cf88); }
.game-card:nth-child(3n) { background: linear-gradient(145deg, #ef7a62, #f4ab50); }
.game-card > span { position: absolute; top: 25px; left: 26px; z-index: 2; color: rgba(255, 255, 255, .86); font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.game-card h3 { position: relative; z-index: 2; margin: 0 0 8px; font-size: 22px; line-height: 1.1; text-shadow: 0 2px 0 rgba(41, 36, 105, .2); }
.game-card p { position: relative; z-index: 2; margin: 0; color: rgba(255, 255, 255, .9); font-size: 13px; font-weight: 700; text-shadow: 0 1px 0 rgba(41, 36, 105, .18); }
.catalog-icon { position: absolute; left: 50%; top: 46%; width: 150px; height: 150px; transform: translate(-50%, -50%) rotate(-4deg); overflow: hidden; border-radius: 24px; border: 7px solid #fff; box-shadow: 0 13px 0 rgba(41, 36, 105, .2); background: #fff; }
.game-card:nth-child(even) .catalog-icon { transform: translate(-50%, -50%) rotate(4deg); }
.hero-tile .catalog-icon { position: relative; left: auto; top: auto; width: 100%; height: 100%; transform: none; border: 0; border-radius: 32px; box-shadow: none; }
.catalog-icon img { position: absolute; width: 592%; max-width: none; height: auto; left: -38%; }
.icon-1 img { top: -28%; }
.icon-2 img { top: -156%; }
.icon-3 img { top: -283%; }
.icon-4 img { top: -411%; }
.icon-5 img { top: -539%; }
.icon-6 img { top: -666%; }
.icon-7 img { top: -794%; }
.icon-8 img { top: -921%; }
.icon-9 img { top: -1049%; }

.publishing { margin: 0 3vw; padding: 120px 5vw; border-radius: 44px; background: #263878; color: #fff; box-shadow: 0 18px 0 #dfe4f5; }
.publishing .section-heading > p { color: #bec9eb; }
.capability-grid { margin-top: 75px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); }
.capability-grid article { min-height: 300px; padding: 34px 34px 30px 0; border-right: 1px solid rgba(255, 255, 255, .18); }
.capability-grid article + article { padding-left: 34px; }
.capability-grid article:last-child { border-right: 0; }
.capability-grid span, .principle-list span { color: var(--sun); font-size: 11px; font-weight: 800; }
.capability-grid h3 { margin: 100px 0 18px; font-size: 23px; }
.capability-grid p { margin: 0; color: #bec9eb; font-size: 14px; line-height: 1.7; }

.principles { display: grid; grid-template-columns: 1fr 3fr; gap: 8vw; }
.principle-list article { display: grid; grid-template-columns: 50px 1fr 1fr; gap: 30px; align-items: center; margin: 12px 0; padding: 28px; border-radius: 18px; background: #fff; box-shadow: 0 5px 0 #e8dfd1; }
.principle-list h3 { font-size: 24px; }
.principle-list p { margin: 0; color: #717c82; font-size: 14px; line-height: 1.6; }
.company { display: grid; grid-template-columns: 1fr 1fr; margin: 0 3vw; border-radius: 44px; overflow: hidden; background: #6559d8; color: #fff; }
.company-intro { padding: 110px 8vw; }
.company-intro p:last-child { max-width: 420px; margin: 35px 0 0; color: #d9ddfb; line-height: 1.7; }
.company-details { margin: 0; padding: 70px 8vw 70px 5vw; background: #4c45ad; }
.company-details div { padding: 27px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.company-details dt { margin-bottom: 10px; color: #c5c9ea; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.company-details dd { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.5; }
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12vw; align-items: end; }
.contact h2 { margin-top: 26px; }
footer { display: grid; grid-template-columns: 1.4fr 1fr auto; align-items: center; gap: 40px; padding: 55px 8vw; background: #2d3977; color: #fff; }
.footer-brand { font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.footer-links { display: flex; gap: 28px; color: #d8def4; font-size: 12px; font-weight: 700; }
.copyright { margin: 0; color: #b9c2e6; font-size: 10px; line-height: 1.4; }

/* Prototype alignment for the AppCraft landing page. */
:root {
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: "Courier New", monospace;
}

body {
  line-height: 1.5;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font: 500 12px/1 var(--font-geist-sans);
  letter-spacing: .08em;
  text-transform: none;
  font-size: 16px;
  font-weight: 500;
}

.site-header nav a:not(.nav-cta) {
  color: #f2f5ff;
}

.nav-cta {
  background: #fff;
  color: #3149a2;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  box-shadow: 0 4px 0 rgba(21, 38, 102, .25);
}

.hero > .eyebrow,
.hero > h1,
.hero > .hero-copy,
.hero > .hero-actions {
  position: relative;
  z-index: 3;
}

.hero > h1 {
  max-width: 56vw;
  font-size: clamp(64px, 7.2vw, 112px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.065em;
  text-shadow: 0 7px 0 rgba(58, 48, 152, .24);
}

.hero-copy {
  max-width: 500px;
  margin: 42px 0 34px;
  color: #f2f4ff;
  font-size: 19px;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding: 18px 22px;
  font: 650 13px/1 var(--font-geist-sans);
}

.button.primary {
  border-radius: 16px;
  background: #ffcf45;
  color: #513d86;
  box-shadow: 0 6px 0 #dd9f36;
  transition: transform .18s;
}

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

.games-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 65px;
}

.games-heading h2 {
  margin: 26px 0 0;
  font: 750 clamp(42px, 5vw, 70px)/1.02 var(--font-geist-sans);
  letter-spacing: -.045em;
}

.games-heading > p {
  width: 410px;
  color: #68757c;
  font: 400 15px/1.7 var(--font-geist-sans);
}

.games {
  padding: 125px 8vw;
}

.publishing {
  padding: 125px 8vw;
}

.publishing .section-heading {
  gap: 50px;
  margin-bottom: 0;
}

.publishing .section-heading h2 {
  margin-top: 0;
}

.publishing .section-label.light {
  margin: 0 0 28px;
}

.game-number {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 26px;
  color: rgba(255, 255, 255, .86);
  text-transform: uppercase;
  letter-spacing: .18em;
  font: 600 10px/1 var(--font-geist-mono);
}

.principle-list > div {
  display: grid;
  grid-template-columns: 50px 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin: 12px 0;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 0 #e8dfd1;
}

.principle-list > div h3 {
  margin: 0;
  font: 550 24px/1.2 var(--font-geist-sans);
}

.principle-list > div p {
  margin: 0;
  color: #717c82;
  font: 400 14px/1.6 var(--font-geist-sans);
}

footer .footer-brand {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 400;
  letter-spacing: 0;
}

footer .footer-brand p {
  margin: 0;
  color: #87969f;
  font: 400 16px/1.55 var(--font-geist-mono);
}

footer .footer-brand strong {
  color: #e5e9eb;
}

footer .brand-mark.small {
  width: 30px;
  height: 30px;
  font-size: 14px;
}

footer .footer-links {
  color: #a4b0b6;
  font: 600 16px/1.2 var(--font-geist-sans);
}

footer .copyright {
  color: #657680;
  font: 400 15px/1.45 var(--font-geist-mono);
  white-space: nowrap;
}
.asset-note{
  text-align: center;
  margin: 2rem auto;
  font-size: 18px;
  color: #8d82a4;
}

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { display: flex; justify-content: space-between; align-items: center; padding: 28px 5vw; color: var(--ink); border-bottom: 1px solid var(--line); }
.legal-header .brand-mark { box-shadow: 0 4px 0 #dba82b; }
.legal-header .brand-copy small { color: #7057c4; }
.back-link { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-hero, .legal-content { width: min(920px, calc(100% - 40px)); margin: 0 auto; }
.legal-hero { padding: 86px 0 36px; }
.legal-hero h1 { margin: 24px 0; color: var(--ink); text-shadow: none; font-size: clamp(54px, 8vw, 104px); }
.legal-hero p:last-child { max-width: 680px; color: #66737b; font-size: 18px; line-height: 1.6; }
.legal-content { padding: 20px 0 120px; }
.legal-note { padding: 24px; border-radius: 18px; background: #fff; box-shadow: 0 5px 0 #e8dfd1; }
.legal-content h2 { margin: 48px 0 14px; font-size: 28px; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #515b67; font-size: 16px; line-height: 1.75; }
.legal-content ul { padding-left: 22px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 6vw; }
  nav { display: none; }
  .hero { min-height: 720px; padding: 150px 7vw 70px; border-radius: 0 0 30px 30px; }
  .hero-copy { max-width: 78vw; }
  h1 { font-size: 60px; }
  .hero-showcase { opacity: .28; right: -250px; top: 210px; transform: scale(.85); }
  .statement, .principles, .contact, .games { padding: 85px 7vw; grid-template-columns: 1fr; }
  .statement > div, .section-heading { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; gap: 34px; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .publishing, .company { margin-left: 3vw; margin-right: 3vw; border-radius: 28px; }
  .publishing { padding: 85px 7vw; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article, .capability-grid article + article { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .capability-grid h3 { margin: 45px 0 12px; }
  .principle-list article { grid-template-columns: 35px 1fr; }
  .principle-list p { grid-column: 2; }
  .company { grid-template-columns: 1fr; }
  .company-intro, .company-details { padding: 75px 7vw; }
  .contact { gap: 35px; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { min-height: 78px; padding: 0 20px; }
  .brand-copy strong { font-size: 13px; }
  .header-link { padding: 12px 14px; font-size: 11px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-copy { max-width: 100%; }
  .hero-actions { gap: 18px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 300px; border-width: 5px; }
  .catalog-icon { width: 125px; height: 125px; }
  footer, .legal-header { padding-left: 20px; padding-right: 20px; }
  .legal-header .brand-copy { display: none; }
}
