/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #ffffff;
    color: #111827;
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Typography */
h1 {
    font-size: 2.4rem;
    margin-bottom: 18px;
    color: #020617;
}

.intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    max-width: 820px;
}

/* Card */
.card {
    background-color: #f9fafb;
    border-radius: 16px;
    padding: 34px;
    margin-top: 40px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Image */
.image-wrapper {
    text-align: center;
    margin-bottom: 28px;
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 10px;
}

/* Text inside card */
.card p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #374151;
}

/* CTA */
.cta {
    text-align: center;
    margin-top: 32px;
}

.cta .btn {
    display: block;
    width: 260px;
    margin: 0 auto 12px auto;
    text-align: center;
}

.cta a {
    display: inline-block;
    padding: 15px 34px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(37,99,235,0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37,99,235,0.35);
}

/* Footer */
footer {
    margin-top: 70px;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

.site-footer {
    margin-top: 60px;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    background: #2563eb;      /* modern blå */
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-sigma {
    font-family: "STIX Two Math", "Latin Modern Math", serif;
    font-size: 42px;
    font-weight: 400;
    color: #4A9536; /* volatilitet-grön */
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;   /* <-- centrerar underrubriken */
}

.logo-main {
    font-size: 24px;
    font-weight: 600;
    color: #0B1220;
    letter-spacing: 0.2px;
    font-family: inherit;
}

.logo-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    text-align: center;    /* <-- säkerställer centrerad text */
}
.market-strip {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    font-size: 12px;
    color: #0B1220;
    flex-wrap: wrap;
}

.market-item {
    display: flex;
    gap: 6px;
    align-items: center;
    white-space: nowrap;
}

.market-label {
    font-weight: 600;
    color: #374151;
}

.market-value {
    font-variant-numeric: tabular-nums;
}

.market-up {
    color: #16a34a;
}

.market-down {
    color: #dc2626;
}

.market-neutral {
    color: #6b7280;
}

.loading {
    color: #9ca3af;
}

/* =========================
   Stripe success page
========================= */

.success-box {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.success-box h1 {
  color: #1e7f3c;
  margin-bottom: 20px;
}

.success-box p {
  font-size: 16px;
}

.session-id {
  font-size: 13px;
  color: #666;
  margin-top: 20px;
}

/* =========================
   Stripe cancel page
========================= */

.cancel-box {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.cancel-box h1 {
  color: #b00020;
  margin-bottom: 20px;
}

.cancel-box p {
  font-size: 16px;
}

/* =========================
   Konto / saldo
========================= */

.account-box {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.account-box h1 {
  margin-bottom: 30px;
}

.account-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.account-actions {
  margin-top: 30px;
  text-align: center;
}


