:root {
  color-scheme: light;
  --ink: #11151a;
  --ink-soft: #2f3741;
  --paper: #f7f7f3;
  --white: #ffffff;
  --line: #d7d9dc;
  --yellow: #f1c644;
  --green: #53d887;
  --blue: #59a8f5;
  --red: #f0655e;
  --max-width: 1180px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 20%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 74px;
  margin: 0 auto;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.08rem;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--white);
  border-radius: 4px;
  font-size: 0.83rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 0.88rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
}

.site-nav__contact {
  padding: 9px 14px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 4px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(780px, 82svh);
  overflow: hidden;
  color: var(--white);
  background-color: #141238;
  background-image: url("/assets/domitoria-hero-v2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: rgb(8 11 23 / 42%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 46px auto 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-weight: 900;
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.eyebrow--dark {
  color: #705804;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.4rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero__lead {
  margin: 28px 0 18px;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.45;
}

.hero__copy {
  max-width: 530px;
  margin: 0;
  color: rgb(255 255 255 / 88%);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.button--ghost {
  color: var(--white);
  background: rgb(17 21 26 / 50%);
  border-color: rgb(255 255 255 / 65%);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.section {
  padding: 96px 0;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: 2.4rem;
  line-height: 1.3;
}

.section-heading p:last-child {
  margin: 0;
  color: #5a626b;
}

.section-heading--light p:last-child {
  color: rgb(255 255 255 / 68%);
}

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

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.8fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product__media {
  min-height: 100%;
  background: #15122f;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.product__status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-bottom: 22px;
  color: #176b3b;
  font-weight: 800;
  font-size: 0.84rem;
}

.product__status span {
  width: 9px;
  height: 9px;
  background: var(--green);
  border: 1px solid #176b3b;
  border-radius: 50%;
}

.product__category {
  margin: 0 0 5px;
  color: #705804;
  font-weight: 800;
  font-size: 0.83rem;
}

.product h3 {
  margin: 0 0 16px;
  font-size: 2.5rem;
  line-height: 1.2;
}

.product__description {
  margin: 0;
  color: #4f5861;
}

.product__facts {
  margin: 26px 0;
  border-top: 1px solid var(--line);
}

.product__facts div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.product__facts dt {
  color: #66707a;
  font-size: 0.83rem;
}

.product__facts dd {
  margin: 0;
  font-weight: 700;
}

.product__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.text-link {
  font-weight: 800;
}

.section--ink {
  color: var(--white);
  background: var(--ink);
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgb(255 255 255 / 22%);
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.capabilities article {
  min-width: 0;
  padding: 36px 34px 40px;
  border-right: 1px solid rgb(255 255 255 / 22%);
}

.capabilities article:first-child {
  padding-left: 0;
}

.capabilities article:last-child {
  padding-right: 0;
  border-right: 0;
}

.capabilities__number {
  margin: 0 0 32px;
  color: var(--yellow);
  font-weight: 900;
  font-size: 0.82rem;
}

.capabilities h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.capabilities p:last-child {
  margin: 0;
  color: rgb(255 255 255 / 68%);
}

.section--business {
  background: var(--white);
}

.business-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(420px, 1.28fr);
  column-gap: 80px;
}

.business-layout .section-heading {
  grid-row: 1 / span 2;
  margin-bottom: 0;
}

.business-details {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.business-details > div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.business-details dt {
  color: #66707a;
  font-weight: 700;
  font-size: 0.85rem;
}

.business-details dd {
  margin: 0;
  font-weight: 600;
}

.sales-note {
  margin-top: 28px;
  padding: 24px 0 0 24px;
  border-left: 4px solid var(--yellow);
}

.sales-note h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.sales-note p {
  margin: 0;
  color: #515a64;
}

.section--contact {
  padding: 72px 0;
  background: var(--yellow);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-band h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.35;
}

.contact-band p:last-child {
  margin: 0;
}

.contact-band__actions {
  display: flex;
  min-width: 236px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer {
  color: var(--white);
  background: #080b0e;
}

.site-footer__inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 52px 0 28px;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 42px;
}

.site-footer__brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.site-footer__description {
  margin: 6px 0 0;
  color: rgb(255 255 255 / 58%);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 26px;
  font-size: 0.85rem;
}

.site-footer__copy {
  margin: 0;
  padding-top: 24px;
  color: rgb(255 255 255 / 48%);
  border-top: 1px solid rgb(255 255 255 / 15%);
  font-size: 0.8rem;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .site-nav a:not(.site-nav__contact) {
    display: none;
  }

  .hero {
    min-height: min(720px, 82svh);
    background-position: 57% center;
  }

  .hero__shade {
    background: rgb(8 11 23 / 56%);
  }

  .hero h1 {
    font-size: 4.2rem;
  }

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

  .product__media {
    aspect-ratio: 16 / 9;
  }

  .product__media img {
    height: 100%;
  }

  .business-layout {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .business-layout .section-heading {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .hero__inner,
  .container,
  .site-footer__inner {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header__inner {
    min-height: 66px;
  }

  .wordmark {
    font-size: 0.96rem;
  }

  .wordmark__mark {
    width: 34px;
    height: 34px;
  }

  .site-nav__contact {
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: min(680px, 82svh);
    background-position: 63% center;
  }

  .hero__shade {
    background: rgb(8 11 23 / 66%);
  }

  .hero__inner {
    margin-top: 50px;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 1.55rem;
  }

  .hero__copy {
    font-size: 0.92rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2 {
    font-size: 1.85rem;
  }

  .product__body {
    padding: 28px 22px 30px;
  }

  .product h3 {
    font-size: 2rem;
  }

  .product__facts div {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .product__links {
    align-items: stretch;
    flex-direction: column;
  }

  .product__links .button {
    width: 100%;
  }

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

  .capabilities article,
  .capabilities article:first-child,
  .capabilities article:last-child {
    padding: 28px 0 30px;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 22%);
  }

  .capabilities article:last-child {
    border-bottom: 0;
  }

  .capabilities__number {
    margin-bottom: 14px;
  }

  .business-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sales-note {
    padding-left: 16px;
  }

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

  .contact-band {
    align-items: stretch;
    flex-direction: column;
    gap: 28px;
  }

  .contact-band h2 {
    font-size: 1.65rem;
  }

  .contact-band__actions {
    width: 100%;
    min-width: 0;
  }

  .contact-band__actions .button {
    width: 100%;
  }

  .site-footer__top {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
