:root {
  --ink: #111318;
  --paper: #f7f5ef;
  --muted: #5d6571;
  --line: rgba(17, 19, 24, 0.14);
  --blue: #235cff;
  --yellow: #ffc400;
  --orange: #ff7a1a;
  --green: #15a46a;
  --old-blue: #003399;
  --old-red: #cc0000;
  --old-gray: #d7d7d7;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #cfcfcf;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  letter-spacing: 0;
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.045) 0 1px, transparent 1px 8px),
    linear-gradient(#eeeeee, #cfcfcf 420px, #e9e9e9);
  background-size: 10px 10px, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, calc(100% - 18px));
  margin: 10px auto 0;
  padding: 7px;
  gap: 8px;
  border: 4px ridge #f6f6f6;
  background: var(--old-gray);
  box-shadow: 0 0 0 1px #777;
}

.brand,
.site-nav {
  pointer-events: auto;
}

.brand {
  display: inline-grid;
  min-height: 34px;
  padding: 0 12px;
  align-items: center;
  border: 3px outset #ffffff;
  border-radius: 0;
  color: #ffff00;
  background: #003399;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 2px 2px 0 #000;
}

.site-nav {
  display: flex;
  min-height: 34px;
  padding: 0;
  gap: 0;
  align-items: center;
  border: 2px inset #ffffff;
  border-radius: 0;
  background: #eeeeee;
  box-shadow: none;
}

.site-nav a {
  display: inline-grid;
  min-height: 32px;
  padding: 0 12px;
  place-items: center;
  border-right: 1px solid #999;
  border-radius: 0;
  color: #0000ee;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.site-nav a:last-child {
  color: #0000ee;
  background: #ffffcc;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  width: min(1080px, calc(100% - 18px));
  min-height: 0;
  margin: 10px auto 0;
  padding: 22px;
  gap: 24px;
  align-items: center;
  border: 4px ridge #ffffff;
  background: #fffbd1;
  box-shadow: 0 0 0 1px #777;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 14px;
  padding: 3px 8px;
  border: 2px inset #ffffff;
  border-radius: 0;
  color: #ffffff;
  background: var(--old-red);
  font-family: "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: none;
  margin: 0;
  color: #000080;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 2px 2px 0 #ffef73;
}

.keep-line {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

.lead {
  margin: 16px 0 0;
  color: #990000;
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.18;
}

.sublead {
  max-width: 660px;
  margin: 18px 0 0;
  color: #111;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  line-height: 1.65;
  overflow-wrap: normal;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: clamp(28px, 4vw, 46px);
}

.primary-cta {
  display: inline-flex;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  border: 4px outset #ffffff;
  border-radius: 0;
  color: #0000ee;
  background: #eeeeee;
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 900;
  text-decoration: underline;
  box-shadow: none;
}

.note {
  max-width: 360px;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.hero-image {
  margin: 0;
  max-width: 100%;
  border: 4px inset #ffffff;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  filter: contrast(0.9) saturate(0.8);
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1080px, calc(100% - 18px));
  margin: 10px auto 0;
  border: 4px ridge #ffffff;
  background: #eeeeee;
  box-shadow: 0 0 0 1px #777;
}

.proof article {
  min-height: 190px;
  padding: 20px;
  border-right: 2px groove #ffffff;
}

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

.proof span,
.section-head p,
.demo-kicker,
.contact p {
  display: block;
  margin: 0 0 12px;
  color: var(--old-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof h2 {
  margin: 0;
  color: #000080;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.18;
  overflow-wrap: normal;
}

.proof p {
  margin: 14px 0 0;
  color: #222;
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: normal;
}

.patterns {
  position: relative;
  margin-top: 34px;
  padding: clamp(70px, 10vw, 132px) clamp(20px, 6vw, 92px);
  color: #f7f9ff;
  background:
    linear-gradient(180deg, #070a12 0%, #0c1320 48%, #090a0f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.section-head {
  max-width: 980px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(38px, 6.5vw, 92px);
  font-weight: 950;
  line-height: 0.98;
}

.patterns .section-head p {
  color: #8ee0ff;
}

.switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 26px;
}

.switcher span,
.switcher button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f7f9ff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  backdrop-filter: blur(14px);
}

.switcher span {
  display: inline-grid;
  place-items: center;
  color: #08111d;
  background: #8ee0ff;
}

.switcher button {
  cursor: pointer;
}

.switcher button[aria-selected="true"] {
  color: #08111d;
  background: #ffffff;
  box-shadow: 0 0 28px rgba(142, 224, 255, 0.26);
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  min-height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.demo-info {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(142, 224, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.demo-info p {
  margin: 0 0 14px;
  color: #8ee0ff;
  font-size: 14px;
  font-weight: 950;
}

.demo-info h3 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 950;
  line-height: 1.04;
}

.demo-site {
  display: grid;
  min-height: 650px;
  padding: clamp(22px, 4vw, 54px);
  align-content: start;
  color: #0e1420;
  transition: background 0.2s ease, color 0.2s ease;
}

.fusion-result[hidden] {
  display: none;
}

.fusion-result {
  min-height: 100%;
}

.fusion-result--apple,
.fusion-result--amazon,
.fusion-result--cat {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.result-nav,
.market-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.fusion-result--apple {
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.result-nav strong,
.market-bar strong {
  font-size: 24px;
  font-weight: 950;
}

.result-nav span {
  color: #667085;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.result-nav a,
.market-bar a,
.apple-hero button,
.market-layout button,
.cat-hero a {
  display: inline-grid;
  min-height: 42px;
  padding: 0 16px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
}

.apple-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 36px);
  align-items: center;
  margin-top: 44px;
}

.apple-hero figure {
  width: 100%;
  justify-self: end;
}

.apple-hero p,
.market-layout p,
.cat-hero p {
  margin: 0 0 12px;
  color: #536071;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 850;
  line-height: 1.6;
}

.apple-hero h3,
.market-layout h3,
.cat-hero h3 {
  margin: 0 0 18px;
  color: #0d1321;
  font-size: clamp(22px, 2.7vw, 38px);
  font-weight: 950;
  line-height: 1.08;
}

.apple-hero figure,
.market-layout figure,
.cat-hero figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #101624;
}

.apple-hero img,
.market-layout img,
.cat-hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.apple-hero figure {
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.18);
}

.result-cards,
.cat-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.result-cards section,
.cat-process section {
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.result-cards span,
.cat-process span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
}

.result-cards strong,
.cat-process strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.15;
}

.result-cards small,
.cat-process small {
  display: block;
  margin-top: 12px;
  color: #5f6b7b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.fusion-result--amazon {
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #f6f9ff, #edf4ff);
}

.market-bar {
  margin: -18px -18px 18px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(90deg, #111827, #192338);
  border-radius: 8px 8px 0 0;
}

.market-bar label {
  display: flex;
  flex: 1;
  max-width: 560px;
  min-height: 42px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
}

.market-bar label span {
  display: grid;
  min-width: 70px;
  place-items: center;
  color: var(--ink);
  background: #ffb703;
  font-weight: 950;
}

.market-bar input {
  width: 100%;
  border: 0;
  padding: 0 16px;
  font: inherit;
  font-weight: 850;
}

.market-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
}

.market-layout aside {
  display: grid;
  padding: 16px;
  gap: 12px;
  align-content: start;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(22, 32, 42, 0.12);
}

.market-layout aside span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.market-layout aside strong {
  font-size: 15px;
}

.market-layout main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(22, 32, 42, 0.11);
}

.fusion-result--amazon .result-cards section {
  border: 0;
  box-shadow: 0 16px 34px rgba(22, 32, 42, 0.1);
}

.fusion-result--cat {
  padding: 24px;
  color: #fff;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 7, 7, 0.94), rgba(19, 19, 17, 0.82)),
    repeating-linear-gradient(135deg, #202020 0 14px, #252525 14px 28px);
}

.cat-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: stretch;
}

.cat-hero figure {
  border: 2px solid rgba(255, 196, 0, 0.74);
  background: #111;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.cat-hero img {
  height: 100%;
  opacity: 0.88;
  filter: saturate(0.85) contrast(1.05);
}

.cat-hero div {
  display: grid;
  align-content: center;
  padding: 28px 0;
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
}

.cat-hero p {
  color: #f0d676;
}

.cat-hero h3 {
  color: #fff;
}

.cat-hero a {
  width: fit-content;
  color: #111;
  background: var(--yellow);
}

.cat-process section {
  border: 2px solid rgba(255, 196, 0, 0.74);
  background: rgba(0, 0, 0, 0.42);
}

.cat-process span,
.cat-process small {
  color: #f0d676;
}

.english {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
  gap: clamp(32px, 6vw, 84px);
  padding: clamp(70px, 10vw, 124px) clamp(20px, 6vw, 92px);
  color: #fff;
  background: var(--ink);
}

.english .eyebrow {
  color: var(--ink);
}

.english h2,
.contact h2 {
  margin: 0;
  font-size: clamp(40px, 6.5vw, 96px);
  font-weight: 950;
  line-height: 0.98;
}

.english p {
  max-width: 850px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 760;
  line-height: 1.7;
}

.english ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 16px;
  list-style: none;
  align-content: center;
}

.english li {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
  line-height: 1.5;
}

.pricing {
  padding: clamp(70px, 10vw, 124px) clamp(20px, 6vw, 92px);
  background: #fff;
  border-bottom: 2px solid var(--ink);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.pricing-grid article {
  min-height: 190px;
  padding: clamp(24px, 4vw, 44px);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
}

.pricing-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
}

.pricing-grid strong {
  display: block;
  font-size: clamp(38px, 6vw, 86px);
  font-weight: 950;
  line-height: 1;
}

.contact {
  padding: clamp(70px, 10vw, 124px) clamp(20px, 6vw, 92px);
  background: #fff;
}

.contact h2 {
  max-width: 900px;
}

.contact .primary-cta {
  display: flex;
  width: fit-content;
  margin-top: 30px;
}

@media (max-width: 1040px) {
  .hero,
  .demo-shell,
  .english {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-width: 860px;
  }

  .demo-info {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    max-width: none;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .site-nav a:first-child {
    display: inline-grid;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  h1 {
    font-size: clamp(22px, 6.1vw, 24px);
  }

  .lead {
    font-size: clamp(16px, 4.35vw, 20px);
  }

  .sublead {
    font-size: 16px;
  }

  .primary-cta {
    width: calc(100% - 8px);
    padding: 0 14px;
    font-size: 16px;
  }

  .proof h2 {
    font-size: clamp(17px, 4.7vw, 21px);
  }

  .section-head h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .switcher {
    gap: 7px;
  }

  .switcher span,
  .switcher button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

  .contact h2 {
    font-size: clamp(27px, 7vw, 34px);
  }

  .contact .primary-cta {
    width: calc(100% - 8px);
  }

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

  .proof article {
    min-height: 0;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

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

  .demo-site {
    min-height: 0;
    padding: 16px;
  }

  .apple-hero,
  .market-layout,
  .market-layout main,
  .cat-hero,
  .result-cards,
  .cat-process {
    grid-template-columns: 1fr;
  }

  .result-nav,
  .market-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .market-bar label {
    width: 100%;
  }

  .apple-hero,
  .market-layout main,
  .cat-hero {
    gap: 18px;
  }

  .apple-hero h3,
  .market-layout h3,
  .cat-hero h3 {
    font-size: clamp(16px, 4.1vw, 20px);
  }

  .apple-hero p,
  .market-layout p,
  .cat-hero p {
    font-size: 12px;
  }

  .apple-hero img,
  .market-layout img,
  .cat-hero img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

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

  .pricing-grid article {
    min-height: 138px;
  }
}
