/*
Theme Name: Sample Trade
Theme URI: https://example.com/
Author: Sample Trade
Description: ダークなヒーローと明朝体の見出しを基調とした、日本語の金融・FXサイト向けテーマ。ページ本文は「カスタムHTML」ブロックに付属のHTMLを貼り付けて使用します。ブランド名・登録情報は「外観 → カスタマイズ → ブランド情報」で変更できます。
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sample-trade
*/

:root {
  --st-night: #06080d;
  --st-navy: #243040;
  --st-navy-2: #1a2330;
  --st-ink: #1b1f24;
  --st-body: #3a4048;
  --st-muted: #7a818a;
  --st-line: #d8dce1;
  --st-soft: #f5f6f8;
  --st-white: #ffffff;
  --st-amber: #f0a23b;
  --st-blue: #4a8cff;

  --st-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --st-sans:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  --st-wrap: 1160px;
  --st-pad: clamp(20px, 5vw, 56px);
  --st-sec: clamp(72px, 10vw, 128px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--st-white);
  color: var(--st-body);
  font-family: var(--st-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--st-navy);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--st-blue);
}
:focus-visible {
  outline: 2px solid var(--st-amber);
  outline-offset: 3px;
}
h1,
h2,
h3,
h4 {
  color: var(--st-ink);
  line-height: 1.5;
  margin: 0 0 0.7em;
  font-weight: 700;
  letter-spacing: 0.05em;
}
h1,
h2,
h3,
.st-lede {
  word-break: auto-phrase;
  text-wrap: balance;
}
h3 {
  font-size: 18px;
}
p {
  margin: 0 0 1.3em;
}
ul,
ol {
  padding-left: 1.3em;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 16px;
  background: #fff;
}

.st-wrap {
  width: 100%;
  max-width: calc(var(--st-wrap) + var(--st-pad) * 2);
  margin: 0 auto;
  padding: 0 var(--st-pad);
}

/* ------------------------------------------------------------
   Header: sits over the dark hero on every page
------------------------------------------------------------ */
.st-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: linear-gradient(
    180deg,
    rgba(4, 6, 10, 0.78) 0%,
    rgba(4, 6, 10, 0.55) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-bar .st-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .st-header {
    top: 46px;
  }
}
.st-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 0 clamp(20px, 3vw, 40px);
}
.st-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--st-white);
}
.st-logo:hover {
  color: var(--st-white);
}
.st-logo__mark {
  width: 44px;
  height: 44px;
  flex: none;
}
.st-logo__text {
  font-family: var(--st-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.st-logo__text small {
  display: block;
  font-family: var(--st-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--st-amber);
}
.custom-logo {
  max-height: 64px;
  width: auto;
}

.st-menu,
.st-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.st-menu {
  display: flex;
  gap: clamp(20px, 3vw, 52px);
}
.st-menu > li {
  position: relative;
}
.st-menu a {
  display: block;
  color: var(--st-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 30px 0;
}
.st-menu > li > a:hover,
.st-menu > .current-menu-item > a,
.st-menu > .current_page_item > a,
.st-menu > .current-menu-ancestor > a {
  color: var(--st-amber);
}
/* chevron under parent items, as in the reference */
.st-menu > .menu-item-has-children > a::after,
.st-menu > .page_item_has_children > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 7px;
  height: 7px;
  margin-left: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.st-menu .sub-menu,
.st-menu .children {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 230px;
  background: rgba(10, 14, 20, 0.96);
  border-top: 2px solid var(--st-amber);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
}
.st-menu li:hover > .sub-menu,
.st-menu li:focus-within > .sub-menu,
.st-menu li:hover > .children,
.st-menu li:focus-within > .children {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.st-menu .sub-menu a,
.st-menu .children a {
  padding: 10px 24px;
  font-weight: 500;
  font-size: 14px;
}
.st-menu .sub-menu a:hover,
.st-menu .children a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--st-amber);
}

.st-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
  color: var(--st-white);
}
.st-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  margin: 6px 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s;
}
.st-open .st-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.st-open .st-toggle span:nth-child(2) {
  opacity: 0;
}
.st-open .st-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 980px) {
  .st-header__inner {
    min-height: 76px;
  }
  .st-toggle {
    display: block;
  }
  .st-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 8, 13, 0.98);
    padding: 8px var(--st-pad) 24px;
  }
  .st-open nav {
    display: block;
  }
  .st-menu {
    flex-direction: column;
    gap: 0;
  }
  .st-menu a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .st-menu > .menu-item-has-children > a::after,
  .st-menu > .page_item_has_children > a::after {
    display: none;
  }
  .st-menu .sub-menu,
  .st-menu .children {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
    border: 0;
    padding: 0 0 0 18px;
    min-width: 0;
  }
  .st-menu li:hover > .sub-menu,
  .st-menu li:focus-within > .sub-menu {
    transform: none;
  }
  .st-menu .sub-menu a,
  .st-menu .children a {
    padding: 12px 0;
  }
}

/* ------------------------------------------------------------
   Hero
------------------------------------------------------------ */
.st-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--st-night) center / cover no-repeat;
  color: var(--st-white);
  padding: 140px var(--st-pad) 140px;
  overflow: hidden;
}
.st-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 8, 13, 0.35) 0%,
    rgba(6, 8, 13, 0.05) 70%
  );
}
.st-hero__inner {
  position: relative;
}
.st-hero h1 {
  font-family: var(--st-serif);
  font-weight: 600;
  color: var(--st-white);
  font-size: clamp(30px, 5.6vw, 76px);
  line-height: 1.45;
  letter-spacing: 0.08em;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.st-hero__sub {
  margin: 28px auto 0;
  max-width: 40em;
  font-size: clamp(14px, 1.4vw, 16px);
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.st-scroll {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  color: var(--st-white);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding-bottom: 72px;
}
.st-scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.35);
}
.st-scroll::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 40px;
  width: 1px;
  height: 16px;
  background: var(--st-white);
  z-index: 1;
  animation: st-drop 2.2s ease-in-out infinite;
}
@keyframes st-drop {
  0% {
    transform: translateY(-40px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(40px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .st-scroll::before {
    animation: none;
  }
}
.st-scroll:hover {
  color: var(--st-amber);
}

/* Page header (inner pages) */
.st-pagehead {
  position: relative;
  background: var(--st-night) center / cover no-repeat;
  color: var(--st-white);
  text-align: center;
  padding: clamp(150px, 16vw, 210px) var(--st-pad) clamp(64px, 7vw, 96px);
}
.st-pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 13, 0.45);
}
.st-pagehead > * {
  position: relative;
}
.st-pagehead h1 {
  font-family: var(--st-serif);
  font-weight: 600;
  color: var(--st-white);
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.1em;
  margin: 0;
}
.st-pagehead p {
  margin: 10px 0 0;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.75);
}

/* ------------------------------------------------------------
   Sections and headings
------------------------------------------------------------ */
.st-sec {
  padding: var(--st-sec) 0;
}
.st-sec--soft {
  background: var(--st-soft);
}
.st-sec--tight {
  padding: calc(var(--st-sec) * 0.55) 0;
}
.st-sec:not(.st-sec--soft) + .st-sec:not(.st-sec--soft) {
  padding-top: 0;
}

/* English title, Japanese subtitle, short vertical rule */
.st-head {
  text-align: center;
  margin: 0 auto 44px;
}
.st-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 0;
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.st-head span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--st-body);
}
.st-head::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: var(--st-ink);
  margin: 26px auto 0;
}
.st-lede {
  text-align: center;
  font-weight: 700;
  color: var(--st-ink);
  max-width: 46em;
  margin: 0 auto 48px;
  font-size: clamp(15px, 1.5vw, 17px);
}
.st-center {
  text-align: center;
}
.st-muted {
  color: var(--st-muted);
}
.st-small {
  font-size: 13px;
  line-height: 1.8;
}

/* Counterparty grid (placeholder slots) */
.st-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 1040px;
  margin: 0 auto;
}
.st-logos > div {
  flex: 0 0 20%;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  color: var(--st-muted);
  font-size: 13px;
}
.st-logos > div span {
  display: block;
  width: 100%;
  border: 1px dashed #c5cbd2;
  padding: 18px 8px;
}
.st-logos img {
  max-height: 56px;
  width: auto;
}
@media (max-width: 900px) {
  .st-logos > div {
    flex-basis: 33.333%;
  }
}
@media (max-width: 560px) {
  .st-logos > div {
    flex-basis: 50%;
    min-height: 90px;
  }
}

/* Tiles: centered icon items */
.st-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--st-line);
  border: 1px solid var(--st-line);
}
.st-tiles--4 {
  grid-template-columns: repeat(4, 1fr);
}
.st-tile {
  background: var(--st-white);
  padding: 44px 30px 38px;
  text-align: center;
}
.st-sec--soft .st-tile {
  background: var(--st-white);
}
.st-tile svg {
  width: 46px;
  height: 46px;
  margin: 0 auto 20px;
  fill: none;
  stroke: var(--st-navy);
  stroke-width: 1.3;
}
.st-tile svg .a {
  stroke: var(--st-amber);
}
.st-tile h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.st-tile p {
  font-size: 14px;
  color: var(--st-muted);
  margin: 0;
  line-height: 1.85;
  text-align: left;
}
@media (max-width: 960px) {
  .st-tiles,
  .st-tiles--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .st-tiles,
  .st-tiles--4 {
    grid-template-columns: 1fr;
  }
}

/* Rows: image beside text */
.st-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.st-row + .st-row {
  margin-top: clamp(56px, 8vw, 96px);
}
.st-row__img {
  aspect-ratio: 4 / 3;
  background: var(--st-night) center / cover no-repeat;
}
.st-row--rev .st-row__img {
  order: 2;
}
.st-row h3 {
  font-family: var(--st-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  margin-bottom: 18px;
}
.st-row__en {
  display: block;
  font-size: 13px;
  color: var(--st-amber);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-weight: 500;
}
@media (max-width: 860px) {
  .st-row {
    grid-template-columns: 1fr;
  }
  .st-row--rev .st-row__img {
    order: 0;
  }
}

/* Market list */
.st-markets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.st-market {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 22px;
  background: var(--st-night) center / cover no-repeat;
  color: var(--st-white);
  text-decoration: none;
  overflow: hidden;
}
.st-market::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.1), rgba(6, 8, 13, 0.8));
  transition: background 0.2s;
}
.st-market > * {
  position: relative;
}
.st-market b {
  font-family: var(--st-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.st-market small {
  font-size: 12px;
  color: var(--st-amber);
  letter-spacing: 0.12em;
}
.st-market:hover {
  color: var(--st-white);
}
.st-market:hover::before {
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.3), rgba(6, 8, 13, 0.9));
}
@media (max-width: 1000px) {
  .st-markets {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .st-markets {
    grid-template-columns: 1fr 1fr;
  }
  .st-market {
    min-height: 150px;
  }
}

/* News list */
.st-news {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  border-top: 1px solid var(--st-line);
}
.st-news li {
  display: grid;
  grid-template-columns: 7.5em 7em 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--st-line);
}
.st-news time {
  font-variant-numeric: tabular-nums;
  color: var(--st-muted);
  font-size: 14px;
}
.st-news .tag {
  font-size: 12px;
  text-align: center;
  border: 1px solid var(--st-navy);
  color: var(--st-navy);
  padding: 1px 6px;
}
.st-news a {
  color: var(--st-ink);
  text-decoration: none;
}
.st-news a:hover {
  color: var(--st-blue);
  text-decoration: underline;
}
@media (max-width: 600px) {
  .st-news li {
    grid-template-columns: auto auto;
  }
  .st-news li > :last-child {
    grid-column: 1 / -1;
  }
}

/* Flow (a real sequence) */
.st-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  counter-reset: f;
}
.st-flow li {
  counter-increment: f;
  position: relative;
  text-align: center;
}
.st-flow li::before {
  content: counter(f);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border: 1px solid var(--st-navy);
  border-radius: 50%;
  font-family: var(--st-serif);
  font-size: 24px;
  color: var(--st-navy);
}
.st-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(50% + 44px);
  right: calc(-50% + 26px);
  border-top: 1px dashed #aab2bb;
}
.st-flow h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.st-flow p {
  font-size: 14px;
  color: var(--st-muted);
  margin: 0;
  text-align: left;
}
@media (max-width: 860px) {
  .st-flow {
    grid-template-columns: 1fr 1fr;
  }
  .st-flow li::after {
    display: none;
  }
}
@media (max-width: 500px) {
  .st-flow {
    grid-template-columns: 1fr;
  }
}

/* Tables */
.st-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 18px;
}
.st-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 15px;
  background: var(--st-white);
}
.st-table th,
.st-table td {
  border: 1px solid var(--st-line);
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
}
.st-table thead th {
  background: var(--st-navy);
  color: var(--st-white);
  font-weight: 500;
  border-color: var(--st-navy);
}
.st-table tbody th {
  background: var(--st-soft);
  color: var(--st-ink);
  font-weight: 500;
  width: 28%;
}
.st-table--c td,
.st-table--c thead th:not(:first-child) {
  text-align: center;
}
.st-table .hl {
  background: #fff7ea;
}
.st-table--narrow {
  min-width: 0;
}
.st-note {
  font-size: 13px;
  color: var(--st-muted);
  line-height: 1.8;
}

/* Symbols */
.st-symbols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.st-symbols div {
  background: var(--st-white);
  border-left: 3px solid var(--st-navy);
  padding: 14px 16px;
}
.st-symbols b {
  display: block;
  color: var(--st-ink);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.st-symbols span {
  font-size: 13px;
  color: var(--st-muted);
}

/* Two columns */
.st-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
@media (max-width: 860px) {
  .st-cols {
    grid-template-columns: 1fr;
  }
}
.st-cols h3 {
  font-family: var(--st-serif);
  font-weight: 600;
  font-size: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--st-ink);
  margin-bottom: 20px;
}

/* Bullet list with amber marks */
.st-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3em;
}
.st-list li {
  position: relative;
  padding: 8px 0 8px 22px;
}
.st-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 8px;
  height: 8px;
  background: var(--st-amber);
}

/* FAQ */
.st-faq {
  max-width: 880px;
  margin: 0 auto;
}
.st-faq details {
  background: var(--st-white);
  border: 1px solid var(--st-line);
  margin-bottom: 10px;
}
.st-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 58px;
  position: relative;
  font-weight: 700;
  color: var(--st-ink);
}
.st-faq summary::-webkit-details-marker {
  display: none;
}
.st-faq summary::before {
  content: "Q";
  position: absolute;
  left: 22px;
  top: 16px;
  font-family: var(--st-serif);
  font-size: 20px;
  color: var(--st-amber);
}
.st-faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 14px;
  font-size: 22px;
  font-weight: 300;
  color: var(--st-navy);
}
.st-faq details[open] summary::after {
  content: "−";
}
.st-faq details > div {
  padding: 0 24px 20px 58px;
}
.st-faq details > div p {
  margin: 0;
}

/* Definition list */
.st-dl {
  display: grid;
  grid-template-columns: 13em 1fr;
  margin: 0 auto;
  max-width: 900px;
  border-top: 1px solid var(--st-ink);
}
.st-dl dt,
.st-dl dd {
  margin: 0;
  padding: 20px 8px;
  border-bottom: 1px solid var(--st-line);
}
.st-dl dt {
  font-weight: 700;
  color: var(--st-ink);
}
@media (max-width: 600px) {
  .st-dl {
    grid-template-columns: 1fr;
  }
  .st-dl dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .st-dl dd {
    padding-top: 4px;
  }
}

/* Notice */
.st-notice {
  background: var(--st-soft);
  border-top: 3px solid var(--st-navy);
  padding: 28px 32px;
  font-size: 14px;
  line-height: 1.9;
}
.st-notice h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.st-notice p {
  margin-bottom: 0.7em;
}
.st-notice p:last-child {
  margin-bottom: 0;
}

/* Contact cards */
.st-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.st-contact > div {
  background: var(--st-white);
  border: 1px solid var(--st-line);
  padding: 32px 28px;
  text-align: center;
}
.st-contact h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.st-contact .big {
  font-size: 22px;
  font-weight: 700;
  color: var(--st-navy);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  word-break: break-all;
}
.st-contact p {
  margin: 0;
}
@media (max-width: 860px) {
  .st-contact {
    grid-template-columns: 1fr;
  }
}
.st-form-slot {
  border: 1px dashed #b7bec6;
  background: var(--st-white);
  padding: 48px 24px;
  text-align: center;
  color: var(--st-muted);
  font-size: 14px;
  max-width: 880px;
  margin: 0 auto;
}

/* Buttons */
.st-btn {
  display: inline-block;
  min-width: 240px;
  text-align: center;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--st-white);
  background: var(--st-navy);
  border: 1px solid var(--st-navy);
  transition:
    background 0.2s,
    color 0.2s;
}
.st-btn:hover {
  background: var(--st-white);
  color: var(--st-navy);
}
.st-btn--amber {
  background: var(--st-amber);
  border-color: var(--st-amber);
  color: var(--st-night);
}
.st-btn--amber:hover {
  background: transparent;
  color: var(--st-amber);
}
.st-btn--line {
  background: transparent;
  color: var(--st-white);
  border-color: rgba(255, 255, 255, 0.7);
}
.st-btn--line:hover {
  background: var(--st-white);
  color: var(--st-night);
}
.st-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* CTA over the dark image */
.st-cta {
  position: relative;
  background: var(--st-night) center / cover no-repeat;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: clamp(72px, 10vw, 120px) 0;
}
.st-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 13, 0.6);
}
.st-cta > * {
  position: relative;
}
.st-cta h2 {
  font-family: var(--st-serif);
  font-weight: 600;
  color: var(--st-white);
  font-size: clamp(24px, 3.4vw, 40px);
  letter-spacing: 0.08em;
}

/* Legal documents */
.st-doc {
  max-width: 860px;
  margin: 0 auto;
}
.st-doc h2 {
  font-size: 19px;
  margin: 2.6em 0 0.9em;
  padding-left: 14px;
  border-left: 3px solid var(--st-amber);
}
.st-doc p,
.st-doc li {
  font-size: 15px;
}
.st-doc .st-table td:first-child {
  white-space: nowrap;
  color: var(--st-ink);
}

/* Backgrounds (bundled SVG; replace with your own photos) */
.st-bg-hero {
  background-image: url("assets/img/hero.svg");
}
.st-bg-stream {
  background-image: url("assets/img/stream.svg");
}
.st-bg-net {
  background-image: url("assets/img/network.svg");
}
.st-bg-city {
  background-image: url("assets/img/city-night.svg");
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
.st-footer__reg {
  background: var(--st-navy);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 34px var(--st-pad);
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 2;
}
.st-footer__reg span {
  display: inline-block;
  margin: 0 0.7em;
}
.st-footer__links {
  padding: 34px var(--st-pad) 10px;
}
.st-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.st-footer__links li + li::before {
  content: "|";
  color: var(--st-muted);
  margin: 0 clamp(14px, 2.4vw, 34px);
}
.st-footer__links a {
  color: var(--st-ink);
  text-decoration: none;
  font-size: 15px;
}
.st-footer__links a:hover {
  color: var(--st-blue);
}
.st-footer__legal ul {
  margin-top: 12px;
}
.st-footer__legal a {
  font-size: 13px;
  color: var(--st-muted);
}
.st-footer__disc {
  max-width: 900px;
  margin: 22px auto 0;
  padding: 0 var(--st-pad);
  font-size: 12px;
  color: var(--st-muted);
  line-height: 1.9;
  text-align: center;
}
.st-footer__copy {
  text-align: center;
  font-size: 12px;
  color: var(--st-muted);
  padding: 16px 0 36px;
  letter-spacing: 0.08em;
}

/* Fallback templates */
.st-archive {
  padding: var(--st-sec) 0;
}
.st-post {
  padding: 24px 0;
  border-bottom: 1px solid var(--st-line);
}
.st-post time {
  font-size: 13px;
  color: var(--st-muted);
}
.st-post h2 {
  font-size: 19px;
  margin: 4px 0 8px;
}
.st-post h2 a {
  color: var(--st-ink);
  text-decoration: none;
}
.st-entry {
  padding: var(--st-sec) 0;
}
.st-entry .entry-content {
  max-width: 860px;
  margin: 0 auto;
}
.nav-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

/* ------------------------------------------------------------
   Contact Form 7
------------------------------------------------------------ */
.cf-form {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--st-line);
}
.cf-row {
  display: grid;
  grid-template-columns: 15em 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--st-line);
}
.cf-row:first-child {
  padding-top: 0;
}
.cf-row > label {
  font-weight: 500;
  color: var(--st-ink);
  padding-top: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.cf-req,
.cf-opt {
  flex: none;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 5px 7px;
  letter-spacing: 0.06em;
}
.cf-req {
  background: var(--st-amber);
  color: var(--st-night);
}
.cf-opt {
  background: var(--st-soft);
  color: var(--st-muted);
}
.cf-field .wpcf7-form-control-wrap {
  display: block;
}
.cf-form input[type="text"],
.cf-form input[type="email"],
.cf-form input[type="tel"],
.cf-form select,
.cf-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--st-ink);
  background: #fff;
  border: 1px solid #c3c9cf;
  border-radius: 0;
  padding: 11px 14px;
  line-height: 1.6;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.cf-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--st-ink) 50%),
    linear-gradient(135deg, var(--st-ink) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.cf-form textarea {
  min-height: 200px;
  resize: vertical;
}
.cf-form input:focus,
.cf-form select:focus,
.cf-form textarea:focus {
  outline: none;
  border-color: var(--st-navy);
  box-shadow: 0 0 0 3px rgba(36, 48, 64, 0.15);
}
.cf-form ::placeholder {
  color: #a3a9b0;
}
.cf-help {
  font-size: 12px;
  color: var(--st-muted);
  margin: 8px 0 0;
  line-height: 1.7;
}
.cf-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 10px;
}
.cf-form .wpcf7-list-item {
  margin: 0;
}
.cf-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cf-form input[type="radio"],
.cf-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--st-navy);
  margin: 0;
}
.cf-consent {
  text-align: center;
  margin: 32px 0 8px;
}
.cf-consent .wpcf7-list-item label {
  justify-content: center;
}
.cf-submit {
  text-align: center;
  margin-top: 20px;
}
.cf-form input[type="submit"] {
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  min-width: 260px;
  padding: 16px 40px;
  cursor: pointer;
  background: var(--st-navy);
  color: #fff;
  border: 1px solid var(--st-navy);
  border-radius: 0;
  transition:
    background 0.2s,
    color 0.2s,
    opacity 0.2s;
}
.cf-form input[type="submit"]:hover {
  background: #fff;
  color: var(--st-navy);
}
.cf-form input[type="submit"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.cf-form .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}
.cf-form input.wpcf7-not-valid,
.cf-form select.wpcf7-not-valid,
.cf-form textarea.wpcf7-not-valid {
  border-color: #c0392b;
}
.wpcf7 .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 13px;
  margin-top: 6px;
}
.wpcf7 form .wpcf7-response-output {
  max-width: 880px;
  margin: 20px auto 0;
  padding: 14px 18px;
  font-size: 14px;
  border-width: 1px;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2f8a57;
  background: #eef7f1;
  color: #1f5e3b;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #c0392b;
  background: #fdf1ef;
  color: #8c2a1f;
}
.cf-form p {
  margin: 0;
}
.cf-form br {
  display: none;
}
@media (max-width: 700px) {
  .cf-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .cf-row > label {
    padding-top: 0;
    justify-content: flex-start;
  }
  .cf-form input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}
