:root {
  --midnight: #061a36;
  --deep-blue: #082b59;
  --royal-blue: #0068df;
  --ink: #0b2247;
  --accent: #075dcc;
  --paper: #f8fafc;
  --line: #8fb6e2;
  --card-shadow: 0 18px 45px rgba(7, 28, 59, 0.08), 0 2px 7px rgba(7, 28, 59, 0.08);
}

* { box-sizing: border-box; }

html { color-scheme: light; scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--midnight);
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 235px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 12px 24px;
  color: #fff;
  background:
    radial-gradient(ellipse at 54% 43%, rgba(27, 81, 139, .34), transparent 36%),
    radial-gradient(ellipse at 8% 88%, rgba(8, 81, 163, .2), transparent 42%),
    linear-gradient(132deg, #04152c 0%, #071f40 52%, #0b315e 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .14;
  background-image:
    repeating-linear-gradient(16deg, transparent 0 7px, rgba(255,255,255,.022) 8px 9px),
    repeating-linear-gradient(96deg, transparent 0 11px, rgba(50,130,225,.025) 12px 13px);
}

.curve {
  position: absolute;
  z-index: -1;
  border: 0;
  border-radius: 48%;
  background: linear-gradient(120deg, rgba(23, 92, 157, 0), rgba(24, 112, 205, .18), rgba(91, 151, 205, .04));
  filter: blur(.2px);
}

.curve-left {
  width: 620px; height: 130px;
  left: -190px; bottom: 4px;
  transform: rotate(24deg);
  opacity: .7;
}

.curve-right {
  width: 730px; height: 155px;
  right: -210px; bottom: 9px;
  transform: rotate(-28deg);
  opacity: .75;
}

.curve-top {
  width: 720px; height: 120px;
  right: -145px; top: -63px;
  transform: rotate(-13deg);
  opacity: .5;
}

.hero-content {
  width: min(820px, 92vw);
  text-align: center;
}

.brand-lockup {
  width: min(218px, 50vw);
  margin: 0 auto;
  filter: drop-shadow(0 3px 7px rgba(0,0,0,.18));
}

.products {
  flex: 1;
  padding: 10px 4.7vw 12px;
  background:
    radial-gradient(circle at 50% 0, #fff 0, rgba(255,255,255,.72) 42%, transparent 74%),
    linear-gradient(180deg, #fbfcfd 0%, #f5f8fb 100%);
}

.section-heading {
  max-width: 930px;
  margin: 0 auto 7px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.section-heading span { height: 1px; background: var(--line); }

.section-heading h2 {
  margin: 0;
  color: #0755bd;
  font-size: .78rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.product-grid {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-height: 270px;
  padding: 7px 25px 8px;
  display: grid;
  grid-template-rows: 82px auto minmax(38px, auto) 14px 51px;
  justify-items: center;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,.8);
  border: 1px solid #ebeff4;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

.product-visual {
  height: 82px;
  display: grid;
  place-items: center;
  width: 100%;
}

.wewho-icon-frame {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #edf3ed;
}

.wewho-icon-frame img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex: none;
}

.threadfact-visual img {
  width: 98px;
  max-height: 80px;
  object-fit: contain;
}

.product-card h3 {
  margin: 0 0 3px;
  color: #071f45;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.product-description {
  max-width: 370px;
  margin: 0;
  font-size: .9rem;
  line-height: 1.26;
  text-wrap: balance;
}

.platform-label {
  margin: 8px 0 0;
  color: #0750ad;
  font-size: .63rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.store-badge { margin: 0; }
.store-badge img { width: 142px; height: auto; }

.product-action {
  min-height: 51px;
  display: grid;
  place-items: center;
  align-self: end;
}

.coming-soon {
  width: 150px;
  margin: 0;
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(100deg, #e3eef8, #d5e5f4);
  color: #0c376e;
  font-size: .9rem;
}

footer {
  padding: 12px 5.2vw;
  color: rgba(255,255,255,.75);
  background: linear-gradient(100deg, #061b38, #082c58);
}

.footer-content {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

footer p { margin: 0; font-size: .72rem; }

footer a {
  color: rgba(255,255,255,.88);
  font-size: .72rem;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

footer a:hover, footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .hero { min-height: 300px; padding: 36px 20px; }
  .brand-lockup { width: min(335px, 78vw); }
  .products { padding: 32px 20px 25px; }
  .section-heading { gap: 16px; }
  .product-grid { grid-template-columns: 1fr; max-width: 510px; }
  .product-card { min-height: 455px; padding: 24px 21px; grid-template-rows: 175px auto minmax(68px, auto) 18px 76px; }
  .product-visual { height: 175px; }
  .wewho-icon-frame { width: 170px; height: 170px; border-radius: 28px; }
  .wewho-icon-frame img { width: 192px; height: 192px; }
  .threadfact-visual img { width: 210px; max-height: 170px; }
  .product-card h3 { font-size: 2.35rem; }
  .product-description { font-size: 1.05rem; line-height: 1.35; }
  .platform-label { margin-top: 11px; font-size: .68rem; }
  .product-action { min-height: 76px; }
  .store-badge img { width: 192px; }
  .coming-soon { width: 228px; padding: 13px 20px; font-size: 1.05rem; }
  footer { padding-inline: 24px; }
}

@media (max-width: 440px) {
  .hero { min-height: 285px; }
  .products { padding-inline: 14px; }
  .section-heading { gap: 11px; }
  .section-heading h2 { font-size: .84rem; letter-spacing: .18em; }
  .product-card { padding: 25px 21px; }
  .footer-content { flex-direction: column; gap: 7px; text-align: center; }
}

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