/* variables */
:root {
  --bkgd-gradient: linear-gradient(90deg, #2F2555 0%, #16112B 100%);
  --text-gradient: linear-gradient(90deg, #7D76FE 0%, #9BE6FE 80%);
  --button-gradient: linear-gradient(90deg, #50B1E3 0%, #453DE0 100%);
  --dark-bg: #191330;
  --dark-secondary: #16213e;
  --accent-purple: #7D76FE;
  --accent-blue: #3b82f6;
  --purple: #7D76FE;
  --blue: #3b82f6;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --success: #10b981;
  --danger: #ef4444;
}

/* google font hanken grotesk */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');

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

body {
    font-family: 'Hanken Grotesk', 'Arial', sans-serif;
    background: linear-gradient(135deg, #2D1B69 0%, #11182C 100%);
    color: white;
    line-height: 1.2;
}

/* general layout styles */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* header & nav */
.header {
    padding: 20px 0;
    position: relative;
    background-color: var(--dark-bg);
}

a {
    color: rgba(200,200,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav ul {
    list-style-type: none;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 0;
}

.nav-links a:not(.btn-secondary) {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

  #menu a[class*="btn"] {
    padding: .5em 1em;
  }

.nav-links a:hover {
    opacity: .87;
}

/* buttons */
.cta-button {
    background: var(--button-gradient);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
    cursor: pointer;
}

.cta-button:hover {
    opacity: .87;
}


.btn-secondary {
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.3s;
    background: var(--dark-bg);
    border: none;
    border-radius: 25px;
    /*margin: auto;*/
    position: relative;
}

.btn-secondary::before {
    background: var(--button-gradient);
    border-radius: inherit;
    bottom: 0;
    content: "";
    left: 0;
    margin: -2px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    filter: blur(3px);
}

.btn-secondary:hover::before {
    background: var(--button-gradient);
    border-radius: inherit;
    bottom: 0;
    content: "";
    left: 0;
    margin: -2px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    filter: blur(0px);
}

/* home page */
/* hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: var(--bkgd-gradient);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
    line-height: 1;
}

.hero-text p {
    font-size: 18px;
    text-align: left;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 0;
}

.hero-buttons * {
    margin: .5rem;
}

.hero-image {
    /*background: linear-gradient(45deg, #667EEA, #764BA2);*/
    margin: 0 auto;
}

.hero-image img {
    /*width: 100%;*/
    height: 400px;
}

.flashmessage {
    font-size: 2em;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--purple);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-header h4 {
    font-style: italic;
    font-weight: 300;
}

.works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.works-text ul {
    list-style: none;
    margin-bottom: 20px;
}

.works-text li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.works-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667EEA;
}

.chart-container {
    padding: 0;
    text-align: left;
}

.chart {
    width: 100%;
    height: auto;
}

/* Daily Routine Section */
.daily-routine {
    padding: 80px 0;
}

.routine-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.routine-step {
    background: rgba(255,255,255,0.1);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: left;
}

.step-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 2rem;
}

.step-title {
    font-weight: bold;
    margin-bottom: 10px;
}

/* Differentiators Section */
.differentiators {
    padding: 80px 0;
    background: var(--purple);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.diff-item {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: left;
}

.diff-item p {
    color: var(--dark-bg);
}

.diff-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 2rem;
    display: block;
}

.diff-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--purple);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial {
    background: rgba(102, 126, 234, 0.2);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #667EEA;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
    color: #667EEA;
}

/* Press Section */
.press {
    padding: 60px 0;
    background: var(--purple);
}

.press-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.press-logo img {
    width: 12rem;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.pricing-card {
    background: rgba(255,255,255,0.1);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(45deg, #667EEA, #764BA2);
    /*transform: scale(1.025);*/
}

.plan-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: white;
}

/* Footer CTA */
.footer-cta {
    padding: 80px 0;
    text-align: center;
    background: rgba(0,0,0,0.3);
}

.footer-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.footer-cta p {
    display: block;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
    text-align: left;
}

.subscription-form {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 16px;
    transition: border-color 0.3s;
}

.email-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.email-input:focus {
    outline: none;
    border-color: #667EEA;
    background: rgba(255,255,255,0.15);
}

.subscribe-btn {
    padding: 15px 25px;
    background: linear-gradient(45deg, #667EEA 0%, #764BA2 100%);
    color: white;
    border: none;
    border-radius: 64px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.disclaimer {
    font-size: 12px;
    opacity: 0.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #667EEA;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-column ul li a:hover {
    opacity: .87;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-logo .logo {
    font-size: 24px;
    font-weight: bold;
}

.footer-logo p {
    opacity: 0.7;
    font-size: 14px;
}

.copyright {
    text-align: left;
}

.copyright p {
    opacity: 0.6;
    font-size: 12px;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .works-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .routine-steps,
    .diff-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

/* show menu button */
    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .subscription-form {
        flex-direction: column;
    }

    .email-input {
        min-width: auto;
    }

    .hero-image {
        display: none;
    }

}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/** nav mobile/responsive **/

.nav {
  width: 100%;
  /*position: fixed;*/
  z-index: 10;
  clear: both;
}

ul#menu {
  display: none;
}

ul#menu li {
  list-style-type: none;
}

ul#menu li a {
  width: 100%;
  display: block;
  color: white;
  font-size: 1em;
  padding: 1.5em 1.6em;
  transition: background 0.2s;
  text-decoration: none;
}

ul#menu a:hover {
  opacity: .87;
}

@media screen and (max-width: 1000px) {
  .nav ul#menu {
    /*display: inline;*/
    position: absolute;
    z-index: 99;
    right: 0;
    top: 80px;
    padding: 20px;
    background: var(--dark-bg);
  }

  #menu li {
    padding: .5em 0;
  }

  ul#menu li a {
    padding: .5em .5em;
  }

}

@media screen and (min-width: 1001px) {
  .hamburger-container {
    display: none;
  }

  .nav ul#menu {
    display: inline;
  }

  .nav ul#menu li {
    display: inline-block;
    margin-right: -5px;
  }
}
ul.hamburger li {
  height: 5px;
  background: white;
  content: "";
  position: relative;
  transition: 0.25s ease-in-out;
}

.hidden {
  opacity: 0;
}

.rot45deg {
  transform: rotate(45deg);
  top: 10px !important;
}

.rot-45deg {
  transform: rotate(-45deg);
}

ul.hamburger {
  display: block;
}
ul.hamburger li:nth-child(1) {
  top: 0;
}
ul.hamburger li:nth-child(2) {
  top: 5px;
}
ul.hamburger li:nth-child(3) {
  top: 10px;
}

.hamburger-container {
  width: 38px;
  margin: 1.2em 1.6em;
  height: 30px;
  cursor: pointer;
  float: right;
}


/** forms: registration and contact **/
.registration,
#register {
    background: var(--dark-bg);
    margin: 0;
    padding: 4rem 5%;
    text-align: center;
}

.form-container {
    max-width: 250px;
    margin: 1rem auto;
}

.form-container form {
    text-align: left;
}

.form-group label {
    margin-bottom: .25em;
}

.form-group input,
.form-group textarea,
.form-group select {
    color-scheme: dark;
    flex: 1;
    min-width: 250px;
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 16px;
    transition: border-color 0.3s;
    margin-bottom: .5em;
}

.form-group select option {
    background: var(--dark-bg);
    color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667EEA;
    background: rgba(255,255,255,0.15);
}


/**************/
/* Additional page styles: blog, proof, about, FAQs, and how-to (blog post) pages */

/* Page Hero Variations */
.page-hero {
    padding: 60px 0;
}

.page-hero-title {
    text-align: center;
}

.page-hero-subtitle {
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
}

.page-hero-subtitle-large {
    text-align: center;
    font-size: 24px;
    margin-top: 20px;
    opacity: 0.9;
}

/* Blog Styles */
.blog-featured-section {
    padding: 60px 0;
    background: var(--purple);
}

.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
}

.blog-featured-link {
    text-decoration: none;
    color: inherit;
    display: contents;
}

.blog-featured-image {
    width: 100%;
    border-radius: 10px;
}

.blog-featured-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.blog-featured-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-featured-content span {
    color: var(--accent-purple);
    font-weight: bold;
}

.blog-posts-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.blog-post-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-post-card:hover {
    transform: translateY(-5px);
}

.blog-post-link {
    text-decoration: none;
    color: inherit;
}

.blog-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post-content {
    padding: 30px;
}

.blog-post-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.blog-post-content p {
    opacity: 0.8;
    margin-bottom: 15px;
}

.blog-post-content span {
    color: var(--accent-purple);
    font-weight: bold;
}

.blog-ai-thoughts-section {
    padding: 80px 0;
    background: var(--purple);
}

.read-more {
    color: white !important;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-featured {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-featured-content h3 {
        font-size: 24px;
    }
}

/* Proof Page Styles */
.proof-verification-section {
    padding: 60px 0;
    background: var(--purple);
    text-align: center;
}

.proof-verification-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.proof-verification-link {
    text-decoration: none;
    color: white;
    display: inline-block;
}

.proof-verification-logo {
    width: 200px;
    margin-bottom: 20px;
}

.proof-verification-rating {
    font-size: 20px;
    margin-bottom: 10px;
}

.proof-verification-stars {
    max-width: 200px;
    margin-bottom: 10px;
}

.proof-verification-badge {
    font-size: 18px;
}

.proof-paper-trading-section {
    padding: 80px 0;
}

.proof-performance-box {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.proof-performance-box p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.proof-stats-container {
    text-align: center;
    margin-bottom: 40px;
}

.proof-stat {
    display: inline-block;
    margin: 0 30px;
}

.proof-stat-label {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.proof-stat-value-large {
    font-size: 42px;
    color: var(--success);
    font-weight: bold;
}

.proof-stat-value-medium {
    font-size: 42px;
    color: var(--danger);
    font-weight: bold;
}

.proof-chart-box {
    /*background: white;*/
    padding: 20px;
    border-radius: 10px;
}

.proof-chart-image {
    width: 100%;
    height: auto;
}

.proof-test-case-section {
    padding: 80px 0;
    background: var(--purple);
}

.proof-test-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.proof-test-case-text p {
    margin-bottom: 20px;
}

.proof-test-case-link {
    color: white;
    text-decoration: underline;
}

.proof-results-box {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 15px;
    text-align: center;
}

.proof-results-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.proof-results-stat {
    font-size: 18px;
    margin-bottom: 10px;
}

.proof-results-highlight {
    font-size: 24px;
    /*color: var(--success);*/
    font-weight: bold;
    margin-top: 20px;
}

.proof-results-chart {
    /* Keep the source image at native size on desktop for a sharp chart. */
    width: auto;
    height: auto;
    max-width: none;
    margin: 30px auto 0;
    display: block;
}

.proof-historical-section {
    padding: 80px 0;
}

.proof-historical-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.proof-historical-card {
    background: rgba(255,255,255,0.1);
    padding: 30px 20px;
    border-radius: 15px;
}

.proof-historical-card h3 {
    margin-bottom: 15px;
}

.proof-historical-card p {
    margin-bottom: 10px;
}

.proof-historical-date {
    opacity: 0.8;
}

.proof-historical-label {
    font-weight: bold;
    margin-top: 10px;
}

.proof-historical-result {
    color: var(--success);
    font-weight: bold;
    margin-top: 15px;
}

/* Keep the four canonical return periods visible and easy to compare. */
.proof-headline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0 40px;
}

/* Match the existing translucent proof-card treatment. */
.proof-headline-card {
    min-width: 0;
    padding: 22px 18px;
    border: 1px solid rgba(155, 230, 254, 0.2);
    border-radius: 12px;
    background: rgba(22, 17, 43, 0.55);
}

/* Keep the period name compact above its three paired values. */
.proof-headline-card h3 {
    min-height: 2.4em;
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.2;
}

/* Remove default definition-list spacing inside each return card. */
.proof-headline-card dl {
    margin: 0;
}

/* Align each return label with its value without requiring a wide table. */
.proof-headline-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Keep headline labels visually secondary to the values. */
.proof-headline-card dt {
    color: var(--text-muted);
}

/* Use tabular numerals so percentages line up while scanning. */
.proof-headline-card dd {
    margin: 0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* Give ANNIE's result the same success emphasis as the prior headline. */
.proof-headline-annie,
.proof-positive {
    color: var(--success);
}

/* Reserve red for negative relative performance. */
.proof-negative {
    color: var(--danger);
}

/* Separate the optional detailed analytics from the always-visible chart. */
.history-analytics {
    margin-top: 32px;
    border: 1px solid rgba(155, 230, 254, 0.24);
    border-radius: 14px;
    background: rgba(22, 17, 43, 0.72);
    overflow: hidden;
}

/* Make the native expandable heading look like an intentional control. */
.history-analytics-summary {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 22px 24px;
    cursor: pointer;
    font-size: 22px;
    font-weight: 700;
    list-style-position: inside;
}

/* Keep the panel title and its disclosure state indicator on one readable line. */
.history-analytics-summary-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Draw a chevron so the collapsed panel visibly invites expansion. */
.history-analytics-toggle {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    transition: transform 160ms ease-in-out;
}

/* Turn the chevron upward when the native details control is expanded. */
.history-analytics[open] .history-analytics-toggle {
    transform: rotate(225deg) translate(-3px, -3px);
}

/* Keep the optional subtitle visually understated. */
.history-analytics-summary small {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}

/* Give the expanded content room without widening the surrounding page. */
.history-analytics-body {
    padding: 0 24px 26px;
}

/* Ensure native hidden state removes content from layout and keyboard flow. */
.history-analytics [hidden] {
    display: none !important;
}

/* Let period controls wrap naturally on narrower displays. */
.history-period-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

/* Style period selectors as compact dark-theme buttons. */
.history-period-tab {
    padding: 9px 15px;
    border: 1px solid rgba(155, 230, 254, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    cursor: pointer;
    font: inherit;
}

/* Identify the currently selected analytics period. */
.history-period-tab.is-selected,
.history-period-tab:hover,
.history-period-tab:focus-visible {
    border-color: var(--accent-purple);
    background: rgba(125, 118, 254, 0.28);
    outline: none;
}

/* Reserve a stable, compact line for loading and failure messages. */
.history-analytics-status {
    min-height: 1.4em;
    margin: 0 0 16px !important;
    color: var(--text-muted);
    font-size: 15px !important;
}

/* Present sample size before ratios so visitors can judge the evidence. */
.history-sample-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: baseline;
    margin-bottom: 18px;
    color: var(--text-muted);
}

/* Keep the selected period name visually primary. */
.history-sample-summary strong {
    color: var(--text-light);
    font-size: 20px;
}

/* Qualify one-month statistics without overpowering the results. */
.history-short-period-warning {
    padding: 10px 12px;
    border-left: 3px solid var(--accent-purple);
    background: rgba(125, 118, 254, 0.12);
    color: var(--text-muted);
    font-size: 14px !important;
}

/* Use independent metric cards instead of a mobile-hostile wide table. */
.history-metric-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* Keep every metric group within its grid column on small screens. */
.history-metric-group {
    min-width: 0;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
}

/* Give the three primary risk-adjusted ratios a subtle emphasis. */
.history-metric-group-prominent {
    border: 1px solid rgba(125, 118, 254, 0.55);
    background: rgba(125, 118, 254, 0.14);
}

/* Separate group headings from their definition lists. */
.history-metric-group h3 {
    margin-bottom: 13px;
    color: #c9c6ff;
    font-size: 19px;
}

/* Remove browser definition-list spacing. */
.history-metric-group dl {
    margin: 0;
}

/* Align each label and formatted value while allowing long labels to wrap. */
.history-metric-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Keep the metric name readable beside its compact value. */
.history-metric-row dt {
    min-width: 0;
    color: var(--text-muted);
}

/* Keep numeric metrics aligned and visually distinct. */
.history-metric-row dd {
    flex: 0 0 auto;
    margin: 0;
    color: var(--text-light);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* Provide a keyboard-focusable one-sentence metric explanation. */
.history-metric-help {
    position: relative;
    display: inline-grid;
    width: 17px;
    height: 17px;
    margin-left: 4px;
    place-items: center;
    border: 1px solid var(--text-muted);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: help;
    font-size: 11px;
    line-height: 1;
}

/* Reveal help text on mouse hover, keyboard focus, and tap-to-focus devices. */
.history-metric-help::after {
    position: absolute;
    z-index: 5;
    bottom: calc(100% + 9px);
    left: 50%;
    display: none;
    width: min(260px, 70vw);
    padding: 9px 10px;
    border: 1px solid rgba(155, 230, 254, 0.35);
    border-radius: 7px;
    background: #16112b;
    color: var(--text-light);
    content: attr(data-tooltip);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    transform: translateX(-50%);
    white-space: normal;
}

/* Keep the explanation available without requiring a mouse. */
.history-metric-help:hover::after,
.history-metric-help:focus::after {
    display: block;
}

/* Separate methodology from the metric-card grid. */
.history-methodology {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Keep status language compact and subordinate to metrics. */
.history-methodology p {
    margin-bottom: 7px !important;
    color: var(--text-muted);
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Place download controls after methodology as requested. */
.history-downloads {
    margin-top: 24px;
}

/* Keep the download heading compact. */
.history-downloads h3 {
    margin-bottom: 14px;
}

/* Let both downloadable datasets wrap cleanly on phones. */
.history-download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Keep generated download anchors above their decorative pseudo-element. */
.history-download-link {
    display: inline-block;
    z-index: 0;
}

/* Responsive Proof Styles */
@media (max-width: 768px) {
    .proof-headline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .history-metric-groups {
        grid-template-columns: 1fr;
    }

    .history-analytics-summary,
    .history-analytics-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .proof-stat {
        display: block;
        margin: 20px 0;
    }

    .proof-test-case-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .proof-historical-grid {
        grid-template-columns: 1fr;
    }

    .proof-stat-value-large {
        font-size: 36px;
    }

    .proof-stat-value-medium {
        font-size: 28px;
    }

    .proof-results-title {
        font-size: 24px;
    }

    .proof-results-chart {
        /* Fit the full-resolution chart within the mobile viewport. */
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

/* Stack headline cards and full-width downloads on narrow phones. */
@media (max-width: 480px) {
    .proof-headline-grid {
        grid-template-columns: 1fr;
    }

    .history-period-tab,
    .history-download-link {
        width: 100%;
        text-align: center;
    }
}

/* About Page Styles */
.about-content-section {
    padding: 80px 0;
}

.about-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.about-content-box {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.about-content-box p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content-link {
    color: var(--accent-purple);
    text-decoration: underline;
}

.about-creator-section {
    padding: 80px 0;
    background: var(--purple);
}

.about-creator-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-creator-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-creator-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-social-links {
    list-style: none;
    margin-bottom: 20px;
}

.about-social-links li {
    margin-bottom: 10px;
}

.about-social-links a {
    color: var(--white);
    text-decoration: underline;
}

.about-creator-image {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

/* Responsive About Styles */
@media (max-width: 768px) {
    .about-creator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-creator-image {
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }
}

/* FAQs Page Styles */
.faqs-content-section {
    padding: 80px 0;
}

.faqs-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.faq-question {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--accent-purple);
}

.faq-answer {
    font-size: 18px;
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-answer ol li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.faq-answer strong {
    color: white;
    font-weight: 600;
}

.faq-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(125, 118, 254, 0.3), transparent);
    margin: 40px 0;
}

/* Responsive FAQs Styles */
@media (max-width: 768px) {
    .faq-item {
        padding: 30px 20px;
    }

    .faq-question {
        font-size: 20px;
    }

    .faq-answer {
        font-size: 16px;
    }
}

/* How-To Page Styles */
.howto-content-section {
    padding: 80px 0;
}

.howto-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.howto-intro {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.howto-intro p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.howto-section {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.howto-section-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--accent-purple);
}

.howto-section-subtitle {
    font-size: 22px;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: 600;
}

.howto-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.howto-section ul,
.howto-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.howto-section li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.howto-section strong {
    color: white;
    font-weight: 600;
}

.howto-image-container {
    text-align: center;
    margin: 30px 0;
}

.howto-image {
    max-width: 100%;
    width: 360px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.howto-email-example {
    max-width: 400px;
}

.howto-screenshot {
    width: 640px;
    max-width: 100%;
}

.howto-highlight-box {
    background: rgba(125, 118, 254, 0.2);
    border-left: 4px solid var(--accent-purple);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.howto-highlight-box p {
    margin-bottom: 0;
    font-size: 16px;
}

.howto-cta-section {
    padding: 60px 0;
    background: var(--purple);
}

.howto-cta-box {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.howto-cta-box p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Responsive How-To Styles */
@media (max-width: 768px) {
    .howto-intro,
    .howto-section {
        padding: 30px 20px;
    }

    .howto-section-title {
        font-size: 24px;
    }

    .howto-section-subtitle {
        font-size: 20px;
    }

    .howto-section p,
    .howto-section li {
        font-size: 16px;
    }
}
.mathchallenge {
    padding: 0px;
    margin: 0px;
    opacity: 0.0 !important;
    width: 1px !important;
    height: 1px !important;
}
.mathchallenge input {
    padding: 0px;
    margin: 0px;
    opacity: 0.0 !important;
    width: 1px !important;
    height: 1px !important;
}

/* =========================
   HERO VIDEO COMPONENT
========================= */

.hero-video {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* Button wrapper */
.hero-video__btn {
  width: 200px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: width 220ms ease;
}

/* Video element */
.hero-video__el {
  width: 100%;
  height: auto;
  display: block;
}

/* Play overlay badge */
.hero-video__play {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  z-index: 2;
  pointer-events: none;
  transition: opacity 150ms ease;
}

/* Desktop expanded state */
.hero-video.is-open .hero-video__btn {
  width: 500px;
}

.hero-video.is-open .hero-video__play {
  opacity: 0;
}

/* =========================
   MOBILE BEHAVIOR
========================= */

@media (max-width: 768px) {

  .hero-video__btn {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    transition: none; /* no expansion animation */
  }

  .hero-video.is-open .hero-video__btn {
    width: 100%; /* stays full width */
  }
}

/* =========================
   ACCESSIBILITY / MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
  .hero-video__btn {
    transition: none;
  }
}

/* Two-Year Results milestone banner and fixed public snapshot. */
.two-year-results-banner {
    /* Keep the temporary top-of-History announcement compact and visually distinct. */
    padding: 18px 0;
    border-bottom: 1px solid rgba(155, 230, 254, 0.22);
    background: #0f1023;
}

.two-year-results-banner-inner {
    /* Align the milestone copy and its single action on desktop. */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 22px;
    border: 1px solid rgba(125, 118, 254, 0.46);
    border-radius: 14px;
    background: rgba(125, 118, 254, 0.1);
}

.two-year-results-banner-copy {
    /* Allow the title to use available space without forcing a tall banner. */
    min-width: 0;
}

.two-year-results-banner-eyebrow,
.two-year-results-eyebrow {
    /* Use one small all-caps treatment to identify evidence and milestone labels. */
    margin: 0 0 7px;
    color: #9be6fe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.two-year-results-banner h2 {
    /* Keep the banner hierarchy forceful without competing with the History H1. */
    margin: 0;
    color: #ffffff;
    font-size: clamp(21px, 2.1vw, 30px);
    line-height: 1.05;
}

.two-year-results-banner-copy > p:last-child {
    /* Make the three milestone terms easy to scan under the banner title. */
    margin: 7px 0 0;
    color: #c9c6ff;
    font-size: 15px;
    font-weight: 700;
}

.two-year-results-banner-cta {
    /* Make the complete CTA block one obvious, keyboard-accessible link. */
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid rgba(155, 230, 254, 0.74);
    border-radius: 999px;
    background: #f5f7ff;
    color: #16112b;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.two-year-results-banner-cta:hover,
.two-year-results-banner-cta:focus-visible {
    /* Preserve contrast while making the action feel responsive to input. */
    border-color: #ffffff;
    background: #9be6fe;
    color: #16112b;
    opacity: 1;
    outline: none;
}

.two-year-results-hero {
    /* Give the milestone opening a dense, dark engineering-announcement surface. */
    padding: 46px 0 34px;
    border-bottom: 1px solid rgba(155, 230, 254, 0.13);
    background: #15112b;
}

.two-year-results-hero-grid {
    /* Place the evidence chart beside the launch statement at desktop widths. */
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    gap: 38px;
    align-items: center;
}

.two-year-results-hero-copy {
    /* Prevent narrow copy from forcing the chart off its visual center. */
    min-width: 0;
}

.two-year-results-hero h1 {
    /* Use substantial type only where it strengthens the milestone statement. */
    max-width: 720px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 4.15vw, 64px);
    font-weight: 760;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.two-year-results-claims {
    /* Keep the requested three claims horizontally comparable on desktop. */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 20px;
}

.two-year-results-claims span {
    /* Delineate the three terms without using oversized decorative artwork. */
    padding: 11px 9px;
    border-top: 2px solid #7d76fe;
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
    font-size: clamp(15px, 1.5vw, 19px);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

.two-year-results-headline-metrics {
    /* Present result, annualization, and exact dates in a compact evidence row. */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.two-year-results-headline-metrics > div {
    /* Give each headline value a stable panel without extravagant padding. */
    min-width: 0;
    padding: 14px 13px 13px;
    border: 1px solid rgba(155, 230, 254, 0.19);
    border-radius: 10px;
    background: rgba(9, 11, 29, 0.42);
}

.two-year-results-headline-metrics dt {
    /* Keep data labels secondary to the values. */
    margin-bottom: 5px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.two-year-results-headline-metrics dd {
    /* Use tabular, large return numerals for fast scanning. */
    margin: 0;
    color: #9be6fe;
    font-size: clamp(24px, 2.35vw, 37px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 0.98;
}

.two-year-results-headline-metrics .two-year-results-date-range {
    /* Keep the date range legible without competing with headline returns. */
    color: #e2e8f0;
    font-size: clamp(14px, 1.35vw, 18px);
    line-height: 1.25;
}

.two-year-results-date-range span {
    /* Keep the separator visually modest between the two fixed dates. */
    color: #94a3b8;
    font-size: 0.8em;
    font-weight: 600;
}

.two-year-results-hero-note {
    /* Give the execution-policy clarification a short readable line. */
    max-width: 680px;
    margin: 18px 0 12px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.48;
}

.two-year-results-skip-link {
    /* Make the requested evidence shortcut conspicuous without becoming a second CTA. */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9be6fe;
    font-size: 15px;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.two-year-results-skip-band {
    /* Place the evidence shortcut directly after the hero and before the explanatory material. */
    padding: 13px 0 0;
    background: #100d22;
}

.two-year-results-chart-card {
    /* Let the static real-money image act as the hero's primary visual evidence. */
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(155, 230, 254, 0.32);
    border-radius: 14px;
    background: #07090f;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.23);
}

.two-year-results-chart-label {
    /* Identify the chart without making an unsupported benchmark claim. */
    margin: 0 0 10px;
    color: #c9c6ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.two-year-results-chart {
    /* Preserve the chart source's native desktop resolution while preventing overflow. */
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
}

.two-year-results-chart-card figcaption {
    /* State the current archived-chart boundary clearly until the final asset replaces it. */
    margin-top: 11px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.42;
}

.two-year-results-experiment {
    /* Keep the experiment and verification evidence compact in a second major area. */
    padding: 38px 0;
    background: #100d22;
}

.two-year-results-experiment-grid {
    /* Keep the personal protocol and Kinfo verification balanced on desktop. */
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.two-year-results-experiment-card,
.two-year-results-kinfo-card {
    /* Use restrained panels instead of tall isolated marketing sections. */
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.two-year-results-experiment-card h2,
.two-year-results-kinfo-card h2,
.two-year-results-data h2 {
    /* Maintain a decisive but compact heading scale across evidence sections. */
    margin: 0;
    color: #ffffff;
    font-size: clamp(27px, 2.65vw, 42px);
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.two-year-results-experiment-card > p:last-child,
.two-year-results-kinfo-card > p {
    /* Keep explanations readable in seconds and avoid long vertical copy blocks. */
    margin: 15px 0 0;
    color: #d5d9e5;
    font-size: 16px;
    line-height: 1.48;
}

.two-year-results-kinfo-card {
    /* Give third-party verification a subtle but visible separate evidence surface. */
    border-color: rgba(155, 230, 254, 0.35);
    background: rgba(59, 130, 246, 0.08);
}

.two-year-results-kinfo-heading {
    /* Align the existing Kinfo mark with its compact public evidence label. */
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 10px;
}

.two-year-results-kinfo-heading .two-year-results-eyebrow {
    /* Remove the shared bottom margin within the logo row. */
    margin: 0;
}

.two-year-results-kinfo-logo {
    /* Reuse the existing provider logo at an intentionally modest milestone-card size. */
    display: block;
    height: 38px;
}

.two-year-results-kinfo-links {
    /* Keep two fact-oriented external links compact and visually separate from the body copy. */
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.two-year-results-kinfo-links a {
    /* Use the same accessible link treatment for profile and methodology evidence. */
    color: #9be6fe;
    font-size: 14px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.two-year-results-annie-note {
    /* Place the direct-arrival ANNIE explanation in the existing second-screen information density. */
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
    margin-top: 16px;
    padding: 15px 18px;
    border-left: 3px solid #7d76fe;
    background: rgba(125, 118, 254, 0.09);
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.45;
}

.two-year-results-annie-note strong {
    /* Keep the short explanatory label visible while leaving prose as the supporting detail. */
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.two-year-results-data {
    /* Finish with a compact evidence and subscriber-action surface rather than another narrative section. */
    padding: 40px 0 46px;
    background: #15112b;
}

.two-year-results-data-header {
    /* Keep the final evidence title aligned to the same readable page measure. */
    max-width: 740px;
    margin-bottom: 22px;
}

.two-year-results-data-header > p:last-child {
    /* Make the evidence subheading concise and readable at a glance. */
    margin: 10px 0 0;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.45;
}

.two-year-results-data-grid {
    /* Pair the one download action with the always-visible dense metric grid. */
    display: grid;
    grid-template-columns: minmax(245px, 0.58fr) minmax(0, 1.42fr);
    gap: 18px;
    align-items: stretch;
}

.two-year-results-download-card,
.two-year-results-metrics-card {
    /* Use matching evidence-card edges while allowing their content densities to differ. */
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(155, 230, 254, 0.22);
    border-radius: 14px;
    background: rgba(7, 9, 15, 0.34);
}

.two-year-results-download-card h3,
.two-year-results-metrics-card h3 {
    /* Keep subheads prominent but restrained under the page-level evidence heading. */
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.two-year-results-download-card > p:last-of-type,
.two-year-results-metrics-pending,
.two-year-results-lot-note {
    /* Give data provenance and missing-input caveats a compact muted treatment. */
    margin: 13px 0 0;
    color: #aeb8ca;
    font-size: 14px;
    line-height: 1.47;
}

.two-year-results-download-links {
    /* Keep the three underlying broker records distinct without making the card oversized. */
    display: grid;
    gap: 9px;
    margin-top: 19px;
}

.two-year-results-download-link {
    /* Give each fixed broker export one consistent full-width download action. */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid rgba(155, 230, 254, 0.65);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.two-year-results-download-link:hover,
.two-year-results-download-link:focus-visible {
    /* Give the direct download a clear feedback state without a visual flourish. */
    border-color: #ffffff;
    background: rgba(155, 230, 254, 0.12);
    color: #ffffff;
    opacity: 1;
    outline: none;
}

.two-year-results-metrics-heading {
    /* Keep the optional static marker beside rather than above the metric heading. */
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.two-year-results-metrics-heading .two-year-results-eyebrow {
    /* Remove shared heading margin where the metric title follows immediately. */
    margin-bottom: 6px;
}

.two-year-results-static-badge {
    /* Label the generated snapshot without suggesting realtime calculation. */
    flex: 0 0 auto;
    padding: 6px 8px;
    border: 1px solid rgba(155, 230, 254, 0.35);
    border-radius: 999px;
    color: #9be6fe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.two-year-results-metric-grid {
    /* Fit defended closed-lot statistics into a dense four-column desktop grid. */
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.two-year-results-metric {
    /* Keep every label/value pair compact and readable in the shared metric surface. */
    min-width: 0;
    min-height: 72px;
    padding: 10px;
    background: #17142d;
}

.two-year-results-metric dt {
    /* Render metric names at a readable secondary scale. */
    overflow-wrap: anywhere;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.two-year-results-metric dd {
    /* Use tabular numerals so dense percentage and ratio values scan cleanly. */
    margin: 6px 0 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.two-year-results-bottom-cta {
    /* Reserve one page-level CTA below all evidence while retaining the required risk qualifier. */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.two-year-results-bottom-cta p {
    /* Keep the performance disclaimer visible but subordinate to the evidence. */
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.4;
}

#two-year-results-data {
    /* Leave enough in-page target offset to keep the evidence heading visible after anchor navigation. */
    scroll-margin-top: 24px;
}

/* Stack the milestone page deliberately at the existing public mobile breakpoint. */
@media (max-width: 768px) {
    .two-year-results-banner {
        /* Reduce only the outer banner spacing on handheld displays. */
        padding: 12px 0;
    }

    .two-year-results-banner-inner,
    .two-year-results-hero-grid,
    .two-year-results-experiment-grid,
    .two-year-results-data-grid {
        /* Replace desktop horizontal treatments with compact vertical reading order. */
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .two-year-results-banner-inner {
        /* Keep the top banner CTA full-width enough to be obvious on touch devices. */
        gap: 14px;
        padding: 16px;
    }

    .two-year-results-banner-cta {
        /* Let the single banner action fill the available touch target width. */
        width: 100%;
    }

    .two-year-results-hero {
        /* Tighten the dedicated page shell while preserving visual importance. */
        padding: 30px 0 28px;
    }

    .two-year-results-hero-grid {
        /* Keep chart evidence below the milestone statement on narrow screens. */
        gap: 24px;
    }

    .two-year-results-hero h1 {
        /* Avoid oversized copy that would create unnecessary mobile scrolling. */
        font-size: clamp(36px, 11vw, 49px);
    }

    .two-year-results-headline-metrics {
        /* Preserve result comparison while allowing the date panel to span cleanly. */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .two-year-results-headline-metrics > div:last-child {
        /* Give the two fixed dates enough width rather than squeezing them into one card column. */
        grid-column: 1 / -1;
    }

    .two-year-results-chart {
        /* Match the History chart rule by constraining the native source only on mobile. */
        width: 100%;
        max-width: 100%;
    }

    .two-year-results-experiment,
    .two-year-results-data {
        /* Trim only section edges while retaining the page's major visual hierarchy. */
        padding-top: 30px;
        padding-bottom: 32px;
    }

    .two-year-results-experiment-card,
    .two-year-results-kinfo-card,
    .two-year-results-download-card,
    .two-year-results-metrics-card {
        /* Use compact mobile card padding without reducing readable font sizes. */
        padding: 18px;
    }

    .two-year-results-annie-note,
    .two-year-results-bottom-cta {
        /* Stack the compact description and final action without horizontal overflow. */
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .two-year-results-metric-grid {
        /* Keep values dense but readable in a two-column touch layout. */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .two-year-results-bottom-cta .cta-button {
        /* Preserve a reliably tappable single CTA at the bottom of the page. */
        width: 100%;
        text-align: center;
    }
}

/* Keep the densest metric surface legible on very narrow phones. */
@media (max-width: 480px) {
    .two-year-results-claims {
        /* Stack the three exact milestone statements only when each needs more breathing room. */
        grid-template-columns: 1fr;
    }

    .two-year-results-metrics-heading {
        /* Prevent the static marker from forcing an awkward narrow heading line. */
        flex-direction: column;
    }

    .two-year-results-metric {
        /* Retain readable labels and numerals while limiting the final grid height. */
        min-height: 68px;
        padding: 9px;
    }
}
