/* ============================================================
   REPERIO top page styles
   Shared header, footer, buttons, and base styles live in site.css.
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, #eaf0ff 0%, rgba(234, 240, 255, 0) 60%),
    radial-gradient(800px 460px at 8% 14%, #eafaf3 0%, rgba(234, 250, 243, 0) 55%),
    #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/2020/vision.jpg) right center / cover no-repeat;
  opacity: .36;
  -webkit-mask-image: linear-gradient(95deg, transparent 0%, transparent 34%, rgba(0, 0, 0, .8) 100%);
  mask-image: linear-gradient(95deg, transparent 0%, transparent 34%, rgba(0, 0, 0, .8) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: .04em;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(24, 176, 126, .18);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.28;
  letter-spacing: .005em;
  color: var(--ink);
  font-weight: 900;
  margin: 22px 0 22px;
}

.hero h1 .hl {
  position: relative;
  white-space: nowrap;
}

.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: .08em;
  height: .34em;
  background: linear-gradient(90deg, rgba(47, 91, 234, .18), rgba(24, 176, 126, .22));
  z-index: -1;
  border-radius: 4px;
}

.hero p.lead {
  font-size: 17px;
  color: var(--muted-text);
  max-width: 30em;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  flex: none;
}

/* hero visual */
.hero-visual {
  position: relative;
}

.pass-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px 22px 26px;
  position: relative;
  z-index: 2;
}

.pass-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pass-card-top .label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}

.pass-card-top .badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-2);
  background: rgba(24, 176, 126, .1);
  padding: 4px 10px;
  border-radius: 999px;
}

.pass-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s;
}

.pass-row.active {
  border-color: rgba(47, 91, 234, .35);
  box-shadow: 0 10px 26px -16px rgba(47, 91, 234, .65);
  background: linear-gradient(0deg, #fbfcff, #fff);
}

.pass-row .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.a-blue {
  background: linear-gradient(135deg, #4f7bff, #2f5bea);
}

.a-green {
  background: linear-gradient(135deg, #2dd0a0, #18b07e);
}

.a-amber {
  background: linear-gradient(135deg, #ffb057, #f59332);
}

.pass-row .body {
  flex: 1;
  min-width: 0;
}

.pass-row .body .t {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pass-row .body .s {
  font-size: 11.5px;
  color: var(--muted-text);
}

.pass-state {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  flex: none;
}

.st-delivered {
  color: #5d6b7e;
  background: #eef1f6;
}

.st-seen {
  color: #2f5bea;
  background: #eaf0ff;
}

.st-return {
  color: #f59332;
  background: #fff2e2;
}

.pass-return-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #b56a16;
  background: #fff6ea;
  border: 1px dashed #f3c98c;
  border-radius: 12px;
  padding: 10px 14px;
}

.hero-visual .floaty {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.floaty.f1 {
  top: -18px;
  left: -26px;
}

.floaty.f2 {
  bottom: 36px;
  right: -30px;
}

.floaty .ic {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
}

/* logos strip */
.compare-strip {
  border-top: 1px solid var(--line);
  margin-top: 70px;
  padding-top: 30px;
}

.compare-strip p {
  text-align: center;
  font-size: 13px;
  color: var(--muted-text);
  font-weight: 500;
}

.compare-strip .tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 16px;
}

.compare-strip .tools span {
  font-size: 13.5px;
  font-weight: 700;
  color: #8693a5;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
}

/* ---------- Sections ---------- */
section.block {
  padding: 96px 0;
}

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

.sec-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.sec-head.left {
  text-align: left;
  margin-left: 0;
}

.kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent);
  text-transform: uppercase;
}

.sec-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 900;
  margin: 14px 0 16px;
  letter-spacing: .01em;
}

.sec-head p {
  font-size: 16px;
  color: var(--muted-text);
}

/* problem cards */
.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.problem {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.problem .num {
  font-size: 13px;
  font-weight: 800;
  color: #b9c2d0;
}

.problem h3 {
  font-size: 18px;
  color: var(--navy);
  margin: 10px 0 10px;
  line-height: 1.6;
}

.problem p {
  font-size: 14.5px;
  color: var(--muted-text);
}

.problem .scene {
  margin-top: 16px;
  font-size: 13px;
  color: #8693a5;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

/* pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 91, 234, .25);
}

.pillar .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}

.pillar h3 {
  font-size: 19px;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 12px;
}

.pillar p {
  font-size: 14.5px;
  color: var(--muted-text);
}

/* product card */
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fbfcff, #f5f7fb);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  margin-bottom: 30px;
}

.product-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.product-head h3 {
  font-size: clamp(20px, 2.6vw, 27px);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
  margin: 14px 0 12px;
}

.product-head p {
  font-size: 15px;
  color: var(--muted-text);
  max-width: 40em;
}

.product-feature-head {
  margin: 4px 0 22px;
}

.product-feature-head h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 6px;
}

.product-feature-head p {
  color: var(--muted-text);
  font-size: 14.5px;
}

@media (max-width: 720px) {
  .product-card {
    padding: 28px 22px;
  }

  .product-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-head .btn {
    width: 100%;
  }
}

/* feature rows */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 44px 0;
}

.feature+.feature {
  border-top: 1px solid var(--line);
}

.feature.rev .ftext {
  order: 2;
}

.ftext .tag {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--accent-2);
  text-transform: uppercase;
}

.ftext h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--ink);
  line-height: 1.5;
  margin: 12px 0 14px;
  font-weight: 800;
}

.ftext p {
  font-size: 15.5px;
  color: var(--muted-text);
  margin-bottom: 18px;
}

.flist {
  list-style: none;
  display: grid;
  gap: 10px;
}

.flist li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: var(--text);
  align-items: flex-start;
}

.flist li svg {
  flex: none;
  margin-top: 5px;
}

/* visual panels */
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfcff, #f3f6fc);
  box-shadow: var(--shadow);
  padding: 26px;
}

.mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}

.mini:last-child {
  margin-bottom: 0;
}

.mini .chk {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--accent);
  flex: none;
  display: grid;
  place-items: center;
}

.mini .chk.done {
  background: var(--accent);
}

.mini .mt {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
}

.mini.done .mt {
  color: #9aa6b6;
  text-decoration: line-through;
}

.mini .who {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}

.tag-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
}

.grant-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border: 1px solid #d8e2f4;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 28px -20px rgba(20, 35, 61, .4);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.grant-badge svg {
  color: var(--accent-2);
  flex: none;
}

.sec-head .grant-badge {
  margin: 0 0 16px;
}

/* pass flow diagram */
.flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flow .step {
  flex: 1;
  min-width: 0;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.flow .step .en {
  display: block;
  font-size: 10.5px;
  color: var(--muted-text);
  font-weight: 700;
  margin-top: 3px;
}

.flow .arrow {
  color: #c4cdda;
  flex: none;
}

.flow-return {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff6ea;
  border: 1px solid #f6d6a6;
  border-radius: 14px;
  padding: 14px 16px;
}

.flow-return .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fbe3bd;
  color: #b56a16;
  display: grid;
  place-items: center;
  flex: none;
}

.flow-return .txt {
  font-size: 13.5px;
  color: #8a5a14;
}

.flow-return .txt b {
  color: #b56a16;
}

/* monthly cycle */
.cycle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cycle .col {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.cycle .col.now {
  border-color: rgba(47, 91, 234, .4);
  background: linear-gradient(180deg, #fbfcff, #fff);
  box-shadow: 0 10px 26px -18px rgba(47, 91, 234, .6);
}

.cycle .col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 12px;
  color: var(--muted-text);
}

.cycle .col.now h4 {
  color: var(--accent);
}

.cycle .chiplet {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  background: #f1f4f9;
  border-radius: 8px;
  padding: 7px 9px;
  margin-bottom: 7px;
}

.cycle .col.now .chiplet {
  background: var(--accent-soft);
  color: var(--accent);
}

/* comparison */
.compare-wrap {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  background: var(--bg-deep);
  color: #fff;
}

.compare-head>div {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 14px;
}

.compare-head .hl-col {
  background: var(--accent);
  text-align: center;
}

.compare-head .other-col {
  text-align: center;
  color: #aeb9c9;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-top: 1px solid var(--line);
}

.compare-row>div {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.compare-row .feat {
  font-weight: 600;
  color: var(--navy);
}

.compare-row .yes,
.compare-row .no {
  justify-content: center;
}

.compare-row .yes {
  background: #f6f9ff;
}

.compare-row .yes svg {
  color: var(--accent);
}

.compare-row .no svg {
  color: #cbd3df;
}

.compare-foot {
  font-size: 12.5px;
  color: var(--muted-text);
  text-align: center;
  margin-top: 16px;
}

/* AI note */
.ai-note {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcff, #f5f7fb);
  padding: 30px 34px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.ai-note .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex: none;
}

.ai-note h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

.ai-note p {
  font-size: 14.5px;
  color: var(--muted-text);
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(700px 360px at 84% 10%, rgba(47, 91, 234, .5), transparent 60%),
    radial-gradient(600px 340px at 6% 90%, rgba(24, 176, 126, .35), transparent 55%),
    var(--bg-deep);
  color: #fff;
  border-radius: 26px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 16px;
}

.cta-band p {
  color: #c3cee0;
  font-size: 16px;
  margin-bottom: 30px;
}

.cta-band .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.cta-band .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

/* statement band (image + navy overlay) */
.statement {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  color: #fff;
}

.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/2020/service.jpg) center 30% / cover no-repeat;
  opacity: .3;
  transform: scale(1.04);
}

.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(10, 18, 32, .94) 12%, rgba(12, 22, 38, .68) 100%),
    radial-gradient(680px 380px at 84% 16%, rgba(47, 91, 234, .42), transparent 62%);
}

.statement .wrap {
  position: relative;
  z-index: 1;
}

.statement .kicker {
  color: #93acff;
}

.statement .sec-head h2 {
  color: #fff;
}

/* mission */
.mission {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.statement .mission p.big {
  color: #fff;
}

.statement .mission p {
  color: #c4cee0;
}

.mission p {
  font-size: 16.5px;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 2;
}

.mission p.big {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.7;
}

/* company / news tables */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.info-grid h3 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 800;
}

.info-grid h3 .en {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.info-table th,
.info-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.info-table th {
  width: 96px;
  color: var(--muted-text);
  font-weight: 700;
  white-space: nowrap;
}

.info-table td {
  color: var(--text);
}

.news-list {
  list-style: none;
  margin-top: 18px;
}

.news-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.news-list li .date {
  flex: none;
  width: 84px;
  color: var(--muted-text);
  font-weight: 700;
  font-size: 13px;
}

.news-list li a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.alert {
  border: 1px solid #f3c0c0;
  background: #fff6f6;
  border-left: 4px solid #e53e3e;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.alert .head {
  color: #d23b3b;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert p {
  font-size: 13px;
  color: #4a5360;
  line-height: 1.8;
}

.alert small {
  color: #8693a5;
}


/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    max-width: 460px;
  }

  .feature,
  .info-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature.rev .ftext {
    order: 0;
  }

  .problems,
  .pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 120px 0 70px;
  }

  .compare-head>div,
  .compare-row>div {
    padding: 12px 10px;
    font-size: 12.5px;
  }

  section.block {
    padding: 70px 0;
  }

  .cta-band {
    padding: 48px 22px;
  }

  .ai-note {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .floaty {
    display: none !important;
  }
}
