:root {
  --orange: #d95100;
  --orange-hot: #ff7a18;
  --orange-soft: #ffefe3;
  --ink: #17120f;
  --ink-2: #241914;
  --paper: #fff8f0;
  --paper-2: #f7eadc;
  --muted: #7b6d64;
  --line: rgba(217, 81, 0, 0.24);
  --white: #ffffff;
  --shadow: rgba(61, 28, 10, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(217, 81, 0, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, var(--ink) 0 34rem, var(--paper) 34rem);
  background-size: 72px 72px, auto;
  font-family: Inter, "Open Sans", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 54px;
  padding: 0 16px 0 20px;
  color: var(--white);
  background: rgba(23, 18, 15, 0.78);
  border: 1px solid rgba(255, 122, 24, 0.32);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  animation: header-enter 560ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
}

.brand,
.top-nav,
.top-nav a {
  display: flex;
  align-items: center;
}

.brand {
  min-height: 38px;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
}

.brand span {
  padding-left: 13px;
  border-left: 4px solid var(--orange-hot);
}

.top-nav {
  gap: 6px;
}

.top-nav a {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--white);
  background: rgba(255, 122, 24, 0.18);
}

.hero {
  min-height: 100vh;
  padding: 118px 0 74px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(217, 81, 0, 0.18), transparent 48%),
    repeating-linear-gradient(135deg, rgba(255, 122, 24, 0.16) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, var(--ink), #2a1710);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 58px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-copy {
  padding-top: 44px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--paper);
  font-size: 5.1rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 248, 240, 0.76);
  font-size: 1.16rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(128px, 1fr));
  gap: 10px;
  max-width: 380px;
  margin-top: 30px;
}

.hero-meta span,
.app-meta span,
.download-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--orange-soft);
  background: rgba(217, 81, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button-primary:hover {
  box-shadow: 0 20px 36px rgba(217, 81, 0, 0.32);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  box-shadow: 0 16px 30px rgba(217, 81, 0, 0.24);
}

.button-secondary {
  color: var(--orange-soft);
  border-color: rgba(255, 122, 24, 0.36);
  background: rgba(255, 255, 255, 0.05);
}

.button-secondary:hover {
  border-color: rgba(255, 122, 24, 0.68);
  background: rgba(255, 122, 24, 0.11);
}

.icon-cloud {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 86px;
  gap: 10px;
  align-items: stretch;
  min-height: 430px;
  padding: 10px;
  border: 1px solid rgba(255, 122, 24, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 122, 24, 0.14), transparent),
    rgba(255, 248, 240, 0.06);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.icon-cloud img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  filter: saturate(1.08);
  transition: filter 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.icon-cloud img:hover {
  filter: saturate(1.18);
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.26);
}

.icon-cloud img:nth-child(1) {
  grid-column: 1 / 4;
  grid-row: 1 / 4;
}

.icon-cloud img:nth-child(2) {
  grid-column: 4 / 7;
  grid-row: 1 / 3;
}

.icon-cloud img:nth-child(3) {
  grid-column: 4 / 6;
  grid-row: 3 / 6;
}

.icon-cloud img:nth-child(4) {
  grid-column: 1 / 3;
  grid-row: 4 / 6;
}

.icon-cloud img:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 4 / 6;
}

.icon-cloud img:nth-child(6) {
  grid-column: 6 / 7;
  grid-row: 3 / 6;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  padding: 88px 0 24px;
  color: var(--paper);
  background:
    linear-gradient(180deg, #2a1710, var(--orange) 74%, var(--paper) 74%);
}

.intro-inner {
  text-align: left;
}

h2 {
  margin: 0;
  color: var(--paper);
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0;
}

.section-lede {
  max-width: 760px;
  margin: 18px 0 0;
  color: #66534a;
  font-size: 1.05rem;
}

.app-section {
  padding: 18px 0;
  background: var(--paper);
  counter-increment: app;
}

.app-section-alt {
  background: var(--paper);
}

.app-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(217, 81, 0, 0.2);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(61, 28, 10, 0.09);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.app-layout:hover {
  border-color: rgba(217, 81, 0, 0.34);
  box-shadow: 0 28px 70px rgba(61, 28, 10, 0.12);
  transform: translateY(-3px);
}

.app-layout::before {
  position: absolute;
  top: 22px;
  right: 26px;
  z-index: 2;
  color: rgba(217, 81, 0, 0.13);
  content: "0" counter(app);
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1;
}

.app-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(217, 81, 0, 0.96), rgba(255, 122, 24, 0.84)),
    var(--orange);
}

.app-visual::after {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  content: "";
}

.app-visual img {
  position: relative;
  z-index: 1;
  width: 148px;
  height: 148px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 26px 45px rgba(61, 28, 10, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.app-layout:hover .app-visual img {
  transform: translateY(-3px);
  box-shadow: 0 32px 52px rgba(61, 28, 10, 0.32);
}

.app-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 120px 44px 48px;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.app-meta span,
.app-copy .download-pill {
  color: var(--orange);
  background: var(--orange-soft);
}

.app-meta span.app-tag-new {
  color: #075985;
  background: #e0f2fe;
  border-color: rgba(14, 165, 233, 0.34);
}

.app-copy h3 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.app-copy p:not(.download-pill) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.app-copy .button-secondary {
  color: var(--orange);
  border-color: rgba(217, 81, 0, 0.24);
  background: var(--white);
}

.app-copy .button-secondary:hover {
  border-color: rgba(217, 81, 0, 0.44);
  background: var(--orange-soft);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 34px 32px;
  text-align: center;
  color: rgba(255, 248, 240, 0.74);
  background:
    linear-gradient(135deg, var(--ink), var(--ink-2));
}

.site-footer p {
  margin: 0;
  color: var(--white);
  font-weight: 900;
}

.footer-origin {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.site-footer .made-in {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 248, 240, 0.8);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.site-footer a {
  color: var(--orange-hot);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

body[data-concept="studio"] {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(217, 81, 0, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf5, #f4e7db);
  background-size: 96px 96px, auto;
}

body[data-concept="studio"] .site-header {
  color: var(--ink);
  background: rgba(255, 250, 245, 0.88);
  border-color: rgba(217, 81, 0, 0.22);
}

body[data-concept="studio"] .brand span {
  border-left-color: var(--orange);
}

body[data-concept="studio"] .top-nav a {
  color: var(--ink);
}

body[data-concept="studio"] .top-nav a:hover {
  background: var(--orange-soft);
}

body[data-concept="studio"] .hero {
  min-height: 86vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--orange) 0 12px, transparent 12px),
    linear-gradient(135deg, #fffaf5 0 58%, #ffe7d4 58% 100%);
}

body[data-concept="studio"] h1,
body[data-concept="studio"] h2 {
  color: var(--ink);
}

body[data-concept="studio"] .hero-lede {
  color: #58483f;
}

body[data-concept="studio"] .hero-meta {
  display: flex;
  max-width: 520px;
}

body[data-concept="studio"] .hero-meta span,
body[data-concept="studio"] .app-meta span,
body[data-concept="studio"] .download-pill {
  color: var(--orange);
  background: var(--orange-soft);
}

body[data-concept="studio"] .app-meta span.app-tag-new {
  color: #075985;
  background: #e0f2fe;
  border-color: rgba(14, 165, 233, 0.34);
}

body[data-concept="studio"] .button-secondary {
  color: var(--orange);
  border-color: rgba(217, 81, 0, 0.24);
  background: var(--white);
}

body[data-concept="studio"] .icon-cloud {
  grid-template-columns: repeat(3, minmax(94px, 1fr));
  grid-auto-rows: 126px;
  min-height: 0;
  padding: 18px;
  background: var(--white);
  border-color: rgba(217, 81, 0, 0.18);
  box-shadow: 0 24px 70px rgba(61, 28, 10, 0.13);
}

body[data-concept="studio"] .icon-cloud img:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

body[data-concept="studio"] .intro-band {
  background: #fffaf5;
}

body[data-concept="studio"] .app-section,
body[data-concept="studio"] .app-section-alt {
  background: #fffaf5;
}

body[data-concept="studio"] .app-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 250px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

body[data-concept="studio"] .app-layout::before {
  top: 28px;
  right: 32px;
  color: rgba(217, 81, 0, 0.09);
}

body[data-concept="studio"] .app-visual {
  min-height: 250px;
  background: var(--orange-soft);
}

body[data-concept="studio"] .app-visual img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

body[data-concept="studio"] .app-layout:hover .app-visual img {
  transform: translateY(-3px) scale(1.02);
}

.hero-copy h1,
.hero-lede,
.hero-meta,
.hero-actions {
  animation: content-enter 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-copy h1 {
  animation-delay: 160ms;
}

.hero-lede {
  animation-delay: 260ms;
}

.hero-meta {
  animation-delay: 360ms;
}

.hero-actions {
  animation-delay: 460ms;
}

.icon-cloud {
  animation: panel-enter 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 300ms both;
}

.icon-cloud img {
  animation: icon-enter 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.icon-cloud img:nth-child(1) {
  animation-delay: 420ms;
}

.icon-cloud img:nth-child(2) {
  animation-delay: 500ms;
}

.icon-cloud img:nth-child(3) {
  animation-delay: 580ms;
}

.icon-cloud img:nth-child(4) {
  animation-delay: 660ms;
}

.icon-cloud img:nth-child(5) {
  animation-delay: 740ms;
}

.icon-cloud img:nth-child(6) {
  animation-delay: 820ms;
}

.animations-ready .intro-band h2,
.animations-ready .app-section .app-layout {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animations-ready .intro-band.is-visible h2,
.animations-ready .app-section.is-visible .app-layout {
  opacity: 1;
  transform: translateY(0);
}

.animations-ready .app-section.is-visible .app-layout:hover {
  transform: translateY(-3px);
}

@keyframes header-enter {
  from {
    opacity: 0;
    transform: translate(-50%, -16px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes content-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes icon-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .animations-ready .intro-band h2,
  .animations-ready .app-section .app-layout {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  h1,
  body[data-concept] h1 {
    font-size: 3.8rem;
  }

  .hero-inner,
  body[data-concept] .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 20px;
  }

  .icon-cloud {
    min-height: 360px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .app-copy {
    padding-right: 72px;
  }
}

@media (max-width: 700px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .top-nav a {
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 136px;
  }

  h1,
  body[data-concept] h1 {
    font-size: 3rem;
  }

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

  .icon-cloud {
    grid-auto-rows: 72px;
    min-height: 306px;
  }

  .app-layout,
  body[data-concept] .app-layout,
  body[data-concept] .app-section-alt .app-layout {
    grid-template-columns: 1fr;
  }

  .app-layout::before,
  body[data-concept] .app-layout::before {
    top: auto;
    left: auto;
    right: 20px;
    bottom: 16px;
    font-size: 3.6rem;
  }

  .app-visual,
  body[data-concept] .app-visual,
  body[data-concept] .app-section-alt .app-visual {
    order: 0;
    min-height: 190px;
  }

  body[data-concept] .app-copy,
  body[data-concept] .app-section-alt .app-copy {
    order: 0;
  }

  .app-visual img {
    width: 120px;
    height: 120px;
  }

  .app-copy,
  body[data-concept] .app-copy {
    padding: 30px 26px 82px;
  }

  .app-copy h3,
  body[data-concept] .app-copy h3 {
    font-size: 2rem;
  }

}

@media (max-width: 500px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
  }

  .brand {
    min-height: 30px;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 172px;
  }

  .hero-meta,
  .icon-cloud,
  body[data-concept] .icon-cloud {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions,
  .link-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .icon-cloud,
  body[data-concept] .icon-cloud {
    display: grid;
    grid-auto-rows: auto;
    min-height: 0;
    transform: none;
  }

  .icon-cloud img,
  .icon-cloud img:nth-child(n),
  body[data-concept] .icon-cloud img,
  body[data-concept] .icon-cloud img:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1;
    height: auto;
    transform: none;
  }

  h2 {
    font-size: 2.5rem;
  }

  .site-footer {
    padding: 28px 20px;
  }
}
