﻿/*
Theme Name: CTC Renewal
Theme URI: https://crypto-t-chain.com/
Author: Crypto.T.Chain
Description: Renewal theme for Crypto.T.Chain corporate website.
Version: 1.0.5
Text Domain: ctc-renewal
*/
:root {
  --ink: #16213e;
  --text: #25324b;
  --muted: #667085;
  --line: #d8dee8;
  --paper: #fbfcfe;
  --white: #ffffff;
  --teal: #14b8a6;
  --teal-soft: #e7f8f5;
  --blue: #2563eb;
  --blue-soft: #edf4ff;
  --gold: #f4b84a;
  --gold-soft: #fff6df;
  --sage: #edf5ee;
  --shadow: 0 18px 48px rgba(22, 33, 62, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(20, 184, 166, 0.08), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.08), transparent 24%);
  content: "";
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 14px 48px;
  background: rgba(251, 252, 254, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand svg {
  display: block;
  width: 300px;
  height: auto;
}

.brand-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

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

.button.large {
  min-height: 56px;
  padding: 0 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  gap: 58px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 82px 48px 72px;
  animation: ctc-fade-up 720ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.22;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 36px;
  line-height: 1.34;
}

h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #39465f;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 690px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.hero-facts div {
  padding: 16px;
  background: var(--white);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.hero-visual {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 184, 166, 0.08), transparent 34%),
    var(--white);
  box-shadow: var(--shadow);
  animation: ctc-float-in 820ms ease 120ms both;
}

.visual-top,
.visual-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.visual-top {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.visual-top strong {
  color: var(--ink);
}

.metric-grid {
  display: grid;
  gap: 14px;
}

.metric {
  min-height: 126px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: transform 220ms var(--ctc-ease, ease), box-shadow 220ms var(--ctc-ease, ease);
}

.metric:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(22, 33, 62, 0.08);
}

.metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 23px;
}

.metric small {
  color: var(--muted);
  font-size: 13px;
}

.metric.teal {
  background: var(--teal-soft);
}

.metric.gold {
  background: var(--gold-soft);
}

.metric.blue {
  background: var(--blue-soft);
}

.chain-map {
  display: grid;
  grid-template-columns: 30px 1fr 30px 1fr 30px 1fr 30px;
  align-items: center;
  margin: 28px 0;
}

.chain-map span {
  width: 30px;
  height: 30px;
  border: 7px solid var(--teal);
  border-radius: 50%;
  background: var(--white);
  animation: ctc-pulse 2400ms ease-in-out infinite;
}

.chain-map span:nth-of-type(2) {
  border-color: var(--gold);
  animation-delay: 180ms;
}

.chain-map span:nth-of-type(3) {
  border-color: var(--blue);
  animation-delay: 360ms;
}

.chain-map span:nth-of-type(4) {
  border-color: var(--ink);
  animation-delay: 540ms;
}

.chain-map i {
  height: 2px;
  background: var(--line);
}

.visual-note {
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  background: var(--sage);
}

.visual-note img {
  width: 54px;
  flex: 0 0 auto;
}

.visual-note p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.band {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  max-width: 1240px;
  margin: 0 auto 32px;
  padding: 38px 48px;
  border-block: 1px solid var(--line);
}

.intro p:last-child {
  margin: 0;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 48px;
  animation: ctc-fade-up 720ms ease both;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 0;
}

.section-head p,
.section-lead {
  color: var(--muted);
}

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

.service-card {
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.interactive-card {
  position: relative;
}

.interactive-card::after {
  position: absolute;
  inset: auto 24px 0 24px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold));
  opacity: 0;
  content: "";
  transform: scaleX(0.72);
  transition: opacity 240ms ease, transform 240ms ease;
}

.interactive-card:hover {
  border-color: rgba(20, 184, 166, 0.42);
  box-shadow: 0 24px 54px rgba(22, 33, 62, 0.12);
  transform: translateY(-6px);
}

.interactive-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 700;
}

.service-card li::before {
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.text-link::after {
  margin-left: 8px;
  color: var(--teal);
  content: "->";
}

.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-button::after {
  margin-left: 10px;
  color: var(--gold);
  content: "->";
}

.service-button:hover,
.service-button:focus-visible {
  background: #0b1736;
  box-shadow: 0 16px 34px rgba(22, 33, 62, 0.18);
  transform: translateY(-2px);
}

@keyframes ctc-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctc-float-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ctc-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.page-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 82px 48px 48px;
}

.page-hero .lead {
  max-width: 820px;
}

.page-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-card p,
.content-block p {
  color: var(--muted);
}

.content-block {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 48px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.form-shell {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.embedded-form {
  overflow: hidden;
}

.embedded-form iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
}

.form-link-panel {
  align-content: center;
  min-height: 360px;
}

.form-link-panel h3 {
  margin-bottom: 8px;
  font-size: 26px;
}

.form-link-panel p {
  color: var(--muted);
}

.form-link-panel small {
  color: var(--muted);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
  font: inherit;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  padding: 18px;
  border: 1px solid rgba(244, 184, 74, 0.42);
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.reason-list {
  display: grid;
  gap: 16px;
}

.reason-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.reason-list span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.reason-list h3,
.reason-list p {
  grid-column: 2;
  margin: 0;
}

.reason-list p {
  color: var(--muted);
}

.process-section {
  background: linear-gradient(180deg, transparent, rgba(237, 245, 238, 0.78), transparent);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  border-radius: 8px;
  background: var(--line);
  list-style: none;
  overflow: hidden;
}

.process li {
  min-height: 250px;
  padding: 26px;
  background: var(--white);
}

.process span {
  display: block;
  margin-bottom: 52px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.process p {
  color: var(--muted);
}

.company {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: start;
}

.company-copy p {
  color: var(--muted);
}

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

.company-list div {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--ink);
  font-weight: 900;
}

.company-list dd {
  margin: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  max-width: 1144px;
  margin: 26px auto 76px;
  padding: 48px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.contact h2,
.contact .eyebrow {
  color: var(--white);
}

.contact p {
  margin-bottom: 0;
  color: #d7deea;
}

.contact .button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
  box-shadow: none;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 48px;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
}

.footer-logo svg {
  display: block;
  width: 260px;
  height: auto;
}

.footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 24px;
  }

  .nav {
    display: none;
  }

  .hero,
  .band,
  .split,
  .company,
  .content-block,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 24px;
  }

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

  .section,
  .band {
    padding-inline: 24px;
  }

  .service-grid,
  .detail-grid,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: auto;
    gap: 14px;
  }

  .brand img {
    width: 206px;
  }

  .brand svg {
    width: 216px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 17px;
  }

  .hero {
    gap: 38px;
  }

  .hero-facts,
  .service-grid,
  .detail-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process li {
    min-height: auto;
  }

  .reason-list article {
    grid-template-columns: 1fr;
  }

  .reason-list h3,
  .reason-list p {
    grid-column: 1;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact {
    margin-inline: 24px;
    padding: 32px 24px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}


