*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #007bff;
}

html,
body {
  background: #fff;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
  color: var(--blue);
  -webkit-font-smoothing: antialiased;
}

/* Fixed-size frame, always centered. margin:auto centers it in the viewport
   and falls back to the start edge (still scrollable) if the viewport is smaller. */
.page {
  position: relative;
  flex: none;
  margin: auto;
  background: #fff;
  overflow: hidden;
}

.page--desktop {
  width: 1440px;
  height: 1024px;
}

.page--mobile {
  display: none;
  width: 360px;
  height: 800px;
}

/* Wide frame for computers, narrow frame for phones */
@media (max-width: 1440px) {
  .page--desktop { display: none; }
  .page--mobile  { display: block; }
}

/* Text: boxes in Figma are trimmed from cap-height to baseline */
.t {
  position: absolute;
  white-space: nowrap;
  line-height: 1.21875;
  text-box: trim-both cap alphabetic;
}

@supports not (text-box: trim-both cap alphabetic) {
  .t { margin-top: -0.249em; }
}

.logo {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  display: block;
  object-fit: cover;
  transform: rotate(-0.09deg);
}

.rule {
  position: absolute;
  left: 0;
  height: 1px;
  background: var(--blue);
}

/* ---------- Desktop 1440 x 1024 ---------- */
.d-note  { left: 1019px; top: 37px;  font-size: 24px; }
.d-title { left: 319px;  top: 205px; font-size: 128px; }
.d-sub   { left: 470px;  top: 337px; font-size: 40px; }

.d-logo { left: 20px; top: 18px; width: 56.003px; height: 56.003px; }
.d-logo img { width: 55.914px; height: 55.914px; }

.d-rule { top: 90px; width: 1440px; }

.d-hero {
  position: absolute;
  left: 321px;
  top: 416px;
  width: 799px;
  height: 608px;
  object-fit: cover;
}

/* ---------- Mobile 360 x 800 ---------- */
.m-note { left: 19px; top: 29px; font-size: 20px; }

.m-title {
  left: 180px;
  top: 130px;
  transform: translateX(-50%);
  text-align: center;
  font-size: 64px;
}

.m-logo { left: 118px; top: 338.2px; width: 124.307px; height: 124.307px; }
.m-logo img { width: 124.109px; height: 124.109px; }

.m-rule { top: 72px; width: 360px; }

.m-hero {
  position: absolute;
  left: 0;
  top: 526px;
  width: 360px;
  height: 274px;
  object-fit: cover;
}
