/*
 * 徐國峰 x AI 賽事訓練方案獨立網站
 * Grace Drive v2.4 / mobile-first visual system
 */

:root {
    --krt-ink: #17221e;
    --krt-body: #46524d;
    --krt-muted: #8a9199;
    --krt-border: #e3ebe6;
    --krt-surface: #ffffff;
    --krt-soft: #f3f8f4;
    --krt-pale: #ebf4eb;
    --krt-primary: #00ab7b;
    --krt-dark: #004533;
    --krt-stage: #062b21;
    --krt-stage-deep: #031c16;
    --krt-gold: #f1c40f;
    --krt-glow: rgba(0, 171, 123, .28);
    --krt-shadow: 0 1px 2px rgba(16, 40, 32, .04), 0 10px 26px rgba(16, 40, 32, .05);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.krt-page {
    margin: 0;
    color: var(--krt-ink);
    background: #fbfdfb;
    font-family: "Noto Sans TC", "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.krt-page a {
    color: var(--krt-primary);
    text-decoration: none;
}

.krt-page a:hover,
.krt-page a:focus {
    text-decoration: underline;
}

.krt-page button,
.krt-page a {
    -webkit-tap-highlight-color: transparent;
}

.krt-page :focus-visible {
    outline: 3px solid var(--krt-primary);
    outline-offset: 4px;
}

.krt-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-right: 28px;
    padding-left: 28px;
}

.krt-section {
    position: relative;
    padding-top: clamp(64px, 9.5vw, 116px);
    padding-bottom: clamp(64px, 9.5vw, 116px);
}

.krt-section p {
    max-width: 75ch;
    margin-top: 0;
    margin-bottom: 20px;
}

.krt-eyebrow {
    margin: 0 0 15px;
    color: var(--krt-dark);
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.krt-section-title {
    max-width: 780px;
    margin: 0 0 22px;
    color: var(--krt-dark);
    font-family: "Outfit", "Noto Sans TC", "Open Sans", Arial, sans-serif;
    font-size: clamp(28px, 4.1vw, 48px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.18;
    text-wrap: balance;
}

.krt-section-lead {
    max-width: 720px;
    margin-bottom: 44px !important;
    color: var(--krt-body);
    font-size: clamp(16px, 1.55vw, 19px);
    line-height: 1.9;
}

.krt-figure {
    margin: 0;
}

.krt-figure img {
    display: block;
    max-width: 100%;
}

.krt-figure a {
    display: block;
}

/* Sticky navigation */
.krt-nav {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    color: #fff;
    background: rgba(3, 28, 22, .42);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    transition: background-color .35s ease, box-shadow .35s ease;
}

.krt-nav.scrolled {
    background: rgba(3, 28, 22, .94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.krt-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1180px;
    min-height: 68px;
    margin: 0 auto;
    padding: 10px 28px;
}

.krt-nav-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.krt-nav-logo img {
    display: block;
    width: auto;
    max-width: 152px;
    height: 28px;
}

.krt-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.krt-nav-link {
    color: rgba(255, 255, 255, .82) !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.krt-nav-link:hover,
.krt-nav-link:focus {
    color: #fff !important;
}

.krt-nav .krt-btn-cta {
    min-height: 40px;
    padding: 8px 17px;
    font-size: 13px;
}

.krt-nav-mobile,
.krt-nav-toggle {
    display: none;
}

/* Shared CTA */
.krt-cta-form {
    display: block;
    margin: 0;
}

.krt-btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 24px;
    color: #fff !important;
    background: var(--krt-primary);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 93, 68, .20);
    cursor: pointer;
    font-family: "Noto Sans TC", "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease;
}

.krt-btn-cta:hover,
.krt-btn-cta:focus {
    color: #fff !important;
    background: #00986d;
    box-shadow: 0 13px 28px rgba(0, 93, 68, .28);
    text-decoration: none;
    transform: translateY(-2px);
}

.krt-btn-cta-large {
    min-width: 258px;
    min-height: 58px;
    padding-right: 28px;
    padding-left: 28px;
}

.krt-btn-cta-nav {
    min-width: 0;
}

.krt-cta-price {
    margin-left: 8px;
    font-family: "Outfit", "Noto Sans TC", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.krt-btn-disabled {
    color: rgba(255, 255, 255, .72) !important;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: none;
    cursor: not-allowed;
}

.krt-btn-disabled:hover,
.krt-btn-disabled:focus {
    background: rgba(255, 255, 255, .12);
    box-shadow: none;
    transform: none;
}

.krt-cta-block {
    max-width: 480px;
    margin: 34px auto 0;
    text-align: center;
}

.krt-cta-block .krt-btn-cta,
.krt-price-cta .krt-btn-cta {
    width: 100%;
}

.krt-cta-notes {
    display: grid;
    gap: 5px;
    margin: 13px 0 0;
    padding: 0;
    color: var(--krt-muted);
    font-size: 12px;
    line-height: 1.55;
    list-style: none;
    text-align: left;
}

.krt-cta-notes li {
    position: relative;
    padding-left: 15px;
}

.krt-cta-notes li::before {
    position: absolute;
    top: .57em;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--krt-dark);
    border-radius: 50%;
    content: "";
}

/* Hero */
.krt-hero {
    display: flex;
    flex-direction: column;
    min-height: 760px;
    padding-top: 142px;
    padding-bottom: 36px;
    color: #fff;
    background: var(--krt-stage);
    overflow: hidden;
}

.krt-hero-media {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.krt-hero-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 66%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    opacity: .95;
}

.krt-hero-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--krt-stage) 0%, rgba(6, 43, 33, .97) 24%, rgba(6, 43, 33, .54) 55%, rgba(6, 43, 33, .14) 100%),
        linear-gradient(0deg, rgba(3, 28, 22, .72) 0%, transparent 35%, rgba(3, 28, 22, .24) 100%);
}

.krt-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 56%, transparent 100%);
}

.krt-hero-inner,
.krt-hero > .krt-container:last-child {
    position: relative;
    z-index: 1;
}

.krt-hero-inner {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    width: 100%;
}

.krt-hero-copy {
    max-width: 650px;
}

.krt-hero-tag {
    display: inline-block;
    margin: 0 0 18px;
    padding: 5px 11px;
    color: #d9f3e5;
    background: rgba(0, 171, 123, .14);
    border: 1px solid rgba(125, 235, 190, .34);
    border-radius: 999px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
}

.krt-hero-title {
    max-width: 660px;
    margin: 0 0 24px;
    color: #fff;
    font-family: "Noto Sans TC", "Outfit", "Open Sans", Arial, sans-serif;
    font-size: clamp(42px, 6.5vw, 78px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.04;
    text-wrap: balance;
}

.krt-hero-title > span {
    display: block;
}

.krt-product-x {
    color: inherit;
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    letter-spacing: -.04em;
    text-shadow: 0 0 22px rgba(157, 255, 214, .26);
}

.krt-hero-claim {
    display: grid;
    gap: 2px;
    max-width: 620px;
    margin-bottom: 23px !important;
    color: #eefaf2;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.55;
}

.krt-hero-claim em {
    position: relative;
    color: #fff;
    font-style: normal;
}

.krt-hero-claim em::after {
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 5px;
    background: rgba(0, 229, 161, .55);
    content: "";
    transform: skewX(-18deg);
}

.krt-hero-lead {
    max-width: 600px;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.85;
}

.krt-hero-cta {
    max-width: 420px;
    margin-top: 28px;
}

.krt-hero .krt-cta-notes {
    color: rgba(255, 255, 255, .66);
}

.krt-hero .krt-cta-notes li::before {
    background: var(--krt-gold);
}

.krt-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
    margin-top: 40px;
}

.krt-trust-card {
    display: flex;
    flex-direction: column;
    min-height: 104px;
    padding: 17px 18px;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
}

.krt-trust-card strong {
    color: #fff;
    font-family: "Outfit", "Noto Sans TC", sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.15;
}

.krt-trust-card span {
    margin-top: 8px;
    color: rgba(255, 255, 255, .70);
    font-size: 13px;
    line-height: 1.45;
}

/* Plan overview */
.krt-plan-showcase {
    background: var(--krt-surface);
}

.krt-plan-desktop {
    margin: 44px auto 28px;
    overflow: hidden;
    border: 1px solid var(--krt-border);
    border-radius: 18px;
    box-shadow: var(--krt-shadow);
}

.krt-plan-desktop img {
    width: 100%;
    height: auto;
}

.krt-plan-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 22px;
}

.krt-plan-step {
    position: relative;
    min-width: 0;
    padding: 27px 24px 25px;
    background: #fff;
    border: 1px solid var(--krt-border);
    border-radius: 18px;
    box-shadow: var(--krt-shadow);
    transition: box-shadow .28s ease, transform .28s ease;
}

.krt-plan-step:hover {
    box-shadow: 0 1px 2px rgba(16, 40, 32, .04), 0 13px 30px rgba(0, 171, 123, .12);
    transform: translateY(-3px);
}

.krt-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 17px;
    color: var(--krt-dark);
    background: var(--krt-pale);
    border-radius: 50%;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    font-weight: 700;
}

.krt-plan-step h3,
.krt-qa-card h3,
.krt-doubt h3,
.krt-how-align h3 {
    margin: 0 0 11px;
    color: var(--krt-dark);
    font-family: "Noto Sans TC", "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
}

.krt-plan-step p,
.krt-qa-card p,
.krt-doubt p,
.krt-how-align p {
    margin-bottom: 0;
    color: var(--krt-body);
    font-size: 15px;
    line-height: 1.85;
}

.krt-plan-mobile-image {
    display: none;
}

.krt-plan-lead {
    max-width: 680px;
    margin: 44px auto 28px !important;
    color: var(--krt-dark);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.krt-plan-pull {
    max-width: 760px;
    margin: 0 auto 38px !important;
    padding: 27px 30px;
    color: var(--krt-dark);
    background: var(--krt-pale);
    border-left: 4px solid var(--krt-dark);
    border-radius: 4px 16px 16px 4px;
    font-size: clamp(18px, 2.4vw, 29px);
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

.krt-plan-pull mark {
    display: inline;
    color: var(--krt-dark);
    background: linear-gradient(transparent 58%, rgba(0, 171, 123, .26) 58%);
}

.krt-plan-keypoints {
    display: grid;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.krt-plan-keypoints li {
    padding: 17px 0 17px 28px;
    color: var(--krt-body);
    border-top: 1px solid var(--krt-border);
    font-size: 15px;
    line-height: 1.7;
}

.krt-plan-keypoints li:last-child {
    border-bottom: 1px solid var(--krt-border);
}

.krt-plan-keypoints li::before {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: -23px;
    margin-right: 14px;
    background: var(--krt-dark);
    border-radius: 50%;
    content: "";
}

.krt-plan-keypoints strong {
    color: var(--krt-dark);
}

/* How the system works */
.krt-how {
    background: var(--krt-soft);
}

.krt-qa-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 38px 0 54px;
}

.krt-qa-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--krt-border);
    border-radius: 18px;
    box-shadow: var(--krt-shadow);
}

.krt-qa-card .krt-qa-answer {
    margin: -2px 0 17px;
    color: var(--krt-dark);
    font-family: "Outfit", "Noto Sans TC", sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
}

.krt-cycles {
    margin: 0 0 46px;
}

.krt-cycles-title {
    margin: 0 0 18px;
    color: var(--krt-dark);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.45;
}

.krt-cycle-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    list-style: none;
}

.krt-cycle {
    min-width: 0;
    min-height: 168px;
    padding: 19px 16px;
    color: var(--krt-dark);
}

.krt-cycle-1 {
    background: #eaf4ed;
}

.krt-cycle-2 {
    background: #dceee3;
}

.krt-cycle-3 {
    background: #cee6d8;
}

.krt-cycle-4 {
    background: #bddfce;
}

.krt-cycle-name {
    display: block;
    margin-bottom: 9px;
    font-family: "Outfit", "Noto Sans TC", sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.krt-cycle-desc {
    display: block;
    color: #365f50;
    font-size: 13px;
    line-height: 1.65;
}

.krt-cycles-note {
    max-width: 760px;
    margin: 17px 0 0 !important;
    color: var(--krt-body);
    font-size: 14px;
    line-height: 1.75;
}

.krt-weekly-figure {
    max-width: 820px;
    margin: 0 auto 60px;
}

.krt-weekly-figure > a {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--krt-border);
    border-radius: 16px;
    box-shadow: var(--krt-shadow);
}

.krt-weekly-figure img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.krt-weekly-figure figcaption,
.krt-condition-figure figcaption,
.krt-feedback-figure figcaption {
    margin-top: 12px;
    color: var(--krt-muted);
    font-size: 13px;
    line-height: 1.65;
    text-align: center;
}

.krt-weekly-figure figcaption strong {
    color: var(--krt-dark);
    font-weight: 700;
}

.krt-weekly-source {
    display: block;
    margin-top: 6px;
    color: var(--krt-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.krt-how-align {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.krt-how-align h3,
.krt-how-align p {
    margin-right: auto;
    margin-left: auto;
}

.krt-condition-figure {
    max-width: 960px;
    margin: 0 auto 42px;
}

.krt-condition-figure > a {
    padding: 15px;
    background: #fff;
    border: 1px solid var(--krt-border);
    border-radius: 16px;
    box-shadow: var(--krt-shadow);
}

.krt-condition-figure img {
    width: 100%;
    height: auto;
}

.krt-how-closing {
    max-width: 780px;
    margin: 0 auto 17px !important;
    color: var(--krt-dark);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.75;
    text-align: center;
}

.krt-how-credit {
    max-width: 720px;
    margin: 0 auto !important;
    color: var(--krt-muted);
    font-size: 13px;
    line-height: 1.75;
    text-align: center;
}

/* Daily feedback */
.krt-then {
    background: #fff;
}

.krt-then-intro {
    max-width: 780px;
    margin-bottom: 30px !important;
    color: var(--krt-dark);
    font-size: 18px;
    line-height: 1.85;
}

.krt-then-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

.krt-then-list li {
    min-width: 0;
    padding: 22px 20px;
    background: var(--krt-soft);
    border: 1px solid var(--krt-border);
    border-radius: 16px;
}

.krt-then-list strong,
.krt-then-list span {
    display: block;
}

.krt-then-list strong {
    margin-bottom: 8px;
    color: var(--krt-dark);
    font-size: 16px;
    line-height: 1.55;
}

.krt-then-list span {
    color: var(--krt-body);
    font-size: 14px;
    line-height: 1.7;
}

.krt-feedback-figure {
    max-width: 320px;
    margin: 42px auto 44px;
}

.krt-feedback-figure > a {
    padding: 10px;
    background: #fff;
    border: 1px solid var(--krt-border);
    border-radius: 18px;
    box-shadow: var(--krt-shadow);
}

.krt-feedback-figure img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.krt-then-closing {
    max-width: 760px;
    margin: 0 auto !important;
    color: var(--krt-body);
    font-size: 16px;
    line-height: 1.85;
    text-align: center;
}

/* Questions */
.krt-doubts {
    background: var(--krt-soft);
}

.krt-doubt {
    max-width: 820px;
    margin: 28px auto 0;
    padding-top: 29px;
    border-top: 1px solid var(--krt-border);
}

.krt-doubt h3 {
    font-size: 22px;
}

.krt-doubt p {
    max-width: 75ch;
    margin-bottom: 17px;
}

.krt-doubt ul {
    max-width: 75ch;
    margin: 0 0 19px;
    padding-left: 24px;
    color: var(--krt-body);
    font-size: 15px;
    line-height: 1.85;
}

/* Results */
.krt-results {
    background: #fff;
}

.krt-results-intro {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 44px;
    align-items: center;
    margin: 40px 0 50px;
}

.krt-results-intro-copy {
    max-width: 610px;
}

.krt-results-intro-copy p {
    margin: 0;
    color: var(--krt-body);
    font-size: 19px;
    line-height: 1.9;
}

.krt-manuscript {
    max-width: 370px;
    justify-self: end;
    padding: 12px 12px 15px;
    background: #fff;
    border: 1px solid #dfe7e1;
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(16, 40, 32, .14);
    transform: rotate(-1.2deg);
}

.krt-manuscript img {
    width: 100%;
    height: auto;
    border-radius: 9px;
}

.krt-manuscript figcaption,
.krt-result-case figcaption {
    display: grid;
    gap: 3px;
    margin-top: 12px;
}

.krt-manuscript figcaption strong,
.krt-result-case figcaption strong {
    color: var(--krt-dark);
    font-size: 16px;
    line-height: 1.45;
}

.krt-manuscript figcaption span,
.krt-result-case figcaption span {
    color: var(--krt-muted);
    font-size: 13px;
    line-height: 1.55;
}

.krt-result-cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.krt-result-case {
    min-width: 0;
}

.krt-result-case > a {
    overflow: hidden;
    background: var(--krt-soft);
    border-radius: 18px;
    box-shadow: var(--krt-shadow);
}

.krt-result-case img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.krt-results-statement {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0 .34em;
    max-width: 900px;
    margin: 62px auto 27px !important;
    padding: 32px 28px;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(241, 196, 15, .12), transparent 24%),
        linear-gradient(135deg, #063e2f, #004533 65%, #002f24);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(0, 69, 51, .18);
    font-family: "Outfit", "Noto Sans TC", sans-serif;
    font-size: clamp(24px, 4.2vw, 40px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.25;
    text-align: center;
}

.krt-results-statement::before {
    width: 28px;
    height: 28px;
    margin-right: 5px;
    border: 1px solid rgba(241, 196, 15, .68);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 7px rgba(241, 196, 15, .07), 0 0 24px rgba(241, 196, 15, .18);
}

.krt-results-statement span {
    color: var(--krt-gold);
}

.krt-results-statement strong {
    color: #65e7ad;
}

.krt-results-statement b {
    color: #fff;
    font-weight: 800;
}

.krt-results-disclosure {
    max-width: 840px;
    margin: 0 auto !important;
    color: var(--krt-muted);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

/* Dark cost block */
.krt-cost,
.krt-pricing {
    color: #fff;
    background:
        radial-gradient(circle at 88% 15%, rgba(0, 171, 123, .22), transparent 30%),
        linear-gradient(135deg, #004533 0%, #03382b 58%, #06251d 100%);
}

.krt-cost .krt-eyebrow,
.krt-pricing .krt-eyebrow {
    color: #b8eed2;
}

.krt-cost .krt-section-title,
.krt-pricing .krt-section-title {
    color: #fff;
}

.krt-cost .krt-section-title {
    max-width: 720px;
}

.krt-cost p:not(.krt-eyebrow),
.krt-pricing-sub {
    color: rgba(255, 255, 255, .77);
}

.krt-cost p:not(.krt-eyebrow) {
    max-width: 740px;
    font-size: 17px;
    line-height: 1.9;
}

/* Before starting */
.krt-ready {
    background: var(--krt-surface);
}

.krt-ready-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 40px 0 25px;
    padding: 0;
    list-style: none;
}

.krt-ready-list li {
    min-width: 0;
    padding: 24px 21px;
    background: var(--krt-soft);
    border: 1px solid var(--krt-border);
    border-radius: 16px;
}

.krt-ready-list strong,
.krt-ready-list span {
    display: block;
}

.krt-ready-list strong {
    margin-bottom: 8px;
    color: var(--krt-dark);
    font-size: 16px;
    line-height: 1.55;
}

.krt-ready-list span {
    color: var(--krt-body);
    font-size: 14px;
    line-height: 1.75;
}

.krt-ready-link {
    max-width: 760px;
    margin: 24px auto 0 !important;
    color: var(--krt-muted);
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
}

/* Pricing */
.krt-pricing {
    overflow: hidden;
}

.krt-pricing-sub {
    max-width: 760px;
    margin-bottom: 40px !important;
    font-size: 16px;
    line-height: 1.85;
}

.krt-price-card {
    position: relative;
    max-width: 560px;
    margin: 42px auto 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(154, 231, 194, .5);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(0, 20, 14, .28), 0 0 34px rgba(0, 171, 123, .13);
}

.krt-price-card::before,
.krt-price-card::after {
    position: absolute;
    z-index: 0;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(0, 171, 123, .16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.krt-price-card::before {
    top: -117px;
    right: -50px;
}

.krt-price-card::after {
    right: -85px;
    bottom: -126px;
}

.krt-price-card-head,
.krt-price-card-body {
    position: relative;
    z-index: 1;
}

.krt-price-card-head {
    padding: 30px 30px 27px;
    color: #fff;
    background: linear-gradient(135deg, #0a513d, #004533);
}

.krt-price-plan {
    margin: 0 0 16px !important;
    color: rgba(255, 255, 255, .78);
    font-family: "Outfit", "Noto Sans TC", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.krt-price-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 !important;
    color: #fff;
    font-family: "Outfit", "Noto Sans TC", sans-serif;
    line-height: 1;
}

.krt-price-amount span {
    font-size: 18px;
    font-weight: 600;
}

.krt-price-amount strong {
    font-size: clamp(42px, 7vw, 62px);
    font-weight: 800;
    letter-spacing: -.045em;
}

.krt-price-amount small {
    color: rgba(255, 255, 255, .70);
    font-family: "Noto Sans TC", sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.krt-price-pending {
    font-size: 28px;
    font-weight: 800;
}

.krt-price-card-body {
    padding: 30px;
    color: var(--krt-body);
}

.krt-price-card-body h3 {
    margin: 0 0 14px;
    color: var(--krt-dark);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.krt-price-features {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.krt-price-features li {
    position: relative;
    padding-left: 25px;
    font-size: 15px;
    line-height: 1.65;
}

.krt-price-features li::before {
    position: absolute;
    top: .46em;
    left: 0;
    width: 15px;
    height: 15px;
    background: var(--krt-pale);
    border-radius: 50%;
    content: "✓";
    color: var(--krt-dark);
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
}

.krt-price-cta {
    margin-top: 29px;
}

.krt-price-cta .krt-cta-notes {
    color: var(--krt-muted);
}

/* FAQ */
.krt-faq {
    background: var(--krt-soft);
}

.krt-accordion {
    max-width: 860px;
    margin-top: 38px;
    border-top: 1px solid var(--krt-border);
}

.krt-accordion-item {
    border-bottom: 1px solid var(--krt-border);
}

.krt-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 70px;
    padding: 18px 2px;
    color: var(--krt-dark);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: "Noto Sans TC", "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    text-align: left;
}

.krt-accordion-header:hover {
    color: var(--krt-primary);
}

.krt-accordion-title {
    padding-right: 20px;
}

.krt-accordion-icon {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1px solid var(--krt-dark);
    border-radius: 50%;
}

.krt-accordion-icon::before,
.krt-accordion-icon::after {
    position: absolute;
    top: 8px;
    left: 5px;
    width: 8px;
    height: 1px;
    background: var(--krt-dark);
    content: "";
    transition: transform .25s ease;
}

.krt-accordion-icon::after {
    transform: rotate(90deg);
}

.krt-accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .3s ease;
}

.krt-accordion-body p {
    min-height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--krt-body);
    font-size: 15px;
    line-height: 1.85;
}

.krt-accordion-item.active .krt-accordion-body {
    grid-template-rows: 1fr;
    visibility: visible;
}

.krt-accordion-item.active .krt-accordion-body p {
    padding: 0 44px 23px 2px;
}

.krt-accordion-item.active .krt-accordion-icon::after {
    transform: rotate(0);
}

/* Footer */
.krt-footer {
    padding: 52px 0 34px;
    color: rgba(255, 255, 255, .80);
    background: var(--krt-stage-deep);
}

.krt-footer .krt-container {
    text-align: center;
}

.krt-footer-disclosure {
    max-width: 760px;
    margin: 0 auto 20px;
    color: #8a9199;
    font-size: 12px;
    line-height: 1.7;
}

.krt-footer-crosslink {
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, .70);
    font-size: 14px;
    line-height: 1.7;
}

.krt-footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, .45);
    font-family: "Outfit", "Noto Sans TC", sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

/* Flash messages */
.krt-flash-wrap {
    position: fixed;
    z-index: 40;
    top: 82px;
    right: 18px;
    left: 18px;
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
}

.krt-flash {
    margin-bottom: 9px;
    padding: 13px 16px;
    border: 1px solid;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    font-size: 14px;
    line-height: 1.55;
}

.krt-flash-danger {
    color: #7b1e25;
    background: #fff1f1;
    border-color: #f2b8bb;
}

.krt-flash-success {
    color: #075d3e;
    background: #effbf5;
    border-color: #a9dfc5;
}

.krt-flash-warning {
    color: #70520a;
    background: #fff9e7;
    border-color: #efd994;
}

/* Reveal enhancement: content stays visible without JavaScript. */
.krt-js .krt-reveal,
.krt-js .krt-reveal-scale {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease-out, transform .65s ease-out;
}

.krt-js .krt-reveal-scale {
    transform: translateY(18px) scale(.985);
}

.krt-js .krt-reveal.visible,
.krt-js .krt-reveal-scale.visible {
    opacity: 1;
    transform: none;
}

/* Tablet */
@media (max-width: 900px) {
    .krt-container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .krt-nav-actions {
        gap: 13px;
    }

    .krt-nav-link {
        font-size: 12px;
    }

    .krt-cycle-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .krt-cycle {
        min-height: 145px;
    }

    .krt-results-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .krt-manuscript {
        width: min(100%, 420px);
        justify-self: start;
    }

    .krt-result-cases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .krt-result-case:last-child {
        grid-column: 1 / -1;
        width: min(100%, calc((100% - 22px) / 2));
    }

    .krt-ready-list {
        grid-template-columns: 1fr;
    }
}

/* Plan mobile composition */
@media (max-width: 860px) {
    .krt-plan-desktop {
        display: none;
    }

    .krt-plan-steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .krt-plan-mobile-image {
        display: block;
        margin: -27px -24px 23px;
        overflow: hidden;
        border-bottom: 1px solid var(--krt-border);
        border-radius: 17px 17px 0 0;
    }

    .krt-plan-mobile-image img {
        width: 100%;
        height: auto;
    }

    .krt-plan-step {
        padding-top: 24px;
    }
}

/* Phone */
@media (max-width: 768px) {
    html {
        scroll-behavior: auto;
    }

    .krt-nav-inner {
        min-height: 60px;
        padding: 9px 20px;
    }

    .krt-nav-actions {
        display: none;
    }

    .krt-nav-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 42px;
        height: 42px;
        padding: 0;
        color: #fff;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, .34);
        border-radius: 10px;
        cursor: pointer;
    }

    .krt-nav-toggle span {
        display: block;
        width: 17px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform .25s ease, opacity .25s ease;
    }

    .krt-nav-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .krt-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .krt-nav-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .krt-nav-mobile {
        display: flex;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        background: rgba(3, 28, 22, .97);
        transition: max-height .3s ease;
    }

    .krt-nav-mobile.active {
        max-height: 420px;
        visibility: visible;
    }

    .krt-nav-mobile a {
        min-height: 0;
        padding: 0 24px;
        overflow: hidden;
        color: rgba(255, 255, 255, .86) !important;
        font-size: 15px;
        line-height: 2.9;
    }

    .krt-nav-mobile a:first-child {
        margin-top: 8px;
    }

    .krt-nav-mobile a:last-child {
        margin-bottom: 10px;
    }

    .krt-hero {
        display: block;
        min-height: 0;
        padding-top: 0;
        padding-bottom: 30px;
    }

    .krt-hero-media {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: auto;
        height: clamp(360px, 108vw, 420px);
    }

    .krt-hero-photo {
        top: clamp(78px, 23vw, 90px);
        right: 0;
        width: 100%;
        height: clamp(280px, 85vw, 330px);
        background-position: 60% 0%;
    }

    .krt-hero-fade {
        background:
            linear-gradient(0deg, var(--krt-stage) 0%, rgba(6, 43, 33, .28) 44%, rgba(6, 43, 33, .12) 100%),
            linear-gradient(90deg, rgba(6, 43, 33, .35), transparent 70%);
    }

    .krt-hero-grid {
        background-size: 30px 30px;
        mask-image: linear-gradient(0deg, #000, transparent 90%);
    }

    .krt-hero-inner {
        display: block;
        padding-top: clamp(96px, 29vw, 112px);
        padding-bottom: 18px;
        background: transparent;
    }

    .krt-hero-copy {
        max-width: none;
    }

    .krt-hero-title {
        font-size: clamp(39px, 11.5vw, 62px);
        line-height: 1.08;
    }

    .krt-hero-claim {
        font-size: 18px;
    }

    .krt-hero-lead {
        font-size: 15px;
    }

    .krt-hero-cta {
        max-width: none;
    }

    .krt-hero-cta .krt-btn-cta {
        width: 100%;
    }

    .krt-trust-grid {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 4px;
    }

    .krt-trust-card {
        display: grid;
        grid-template-columns: minmax(94px, .45fr) 1fr;
        align-items: baseline;
        min-height: 0;
        padding: 14px 16px;
    }

    .krt-trust-card span {
        margin-top: 0;
        text-align: right;
    }

    .krt-section-title {
        font-size: clamp(28px, 8.2vw, 40px);
    }

    .krt-section-lead {
        margin-bottom: 33px !important;
        font-size: 16px;
    }

    .krt-qa-grid,
    .krt-then-list {
        grid-template-columns: 1fr;
    }

    .krt-qa-grid {
        gap: 15px;
        margin-top: 30px;
    }

    .krt-qa-card {
        padding: 23px 20px;
    }

    .krt-qa-card .krt-qa-answer {
        font-size: 22px;
    }

    .krt-result-cases {
        grid-template-columns: 1fr;
        gap: 26px;
        max-width: 420px;
    }

    .krt-result-case:last-child {
        grid-column: auto;
        width: auto;
    }

    .krt-results-statement {
        gap: 0 .25em;
        padding: 27px 20px;
    }

    .krt-results-statement::before {
        width: 22px;
        height: 22px;
        margin-right: 0;
    }

    .krt-price-card-body,
    .krt-price-card-head {
        padding-right: 22px;
        padding-left: 22px;
    }

    .krt-price-card {
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .krt-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .krt-nav-inner {
        padding-right: 18px;
        padding-left: 18px;
    }

    .krt-nav-logo img {
        max-width: 135px;
    }

    .krt-hero-title {
        font-size: clamp(36px, 11vw, 52px);
    }

    .krt-hero-claim {
        font-size: 17px;
    }

    .krt-cycle-band {
        grid-template-columns: 1fr;
    }

    .krt-cycle {
        min-height: 0;
        padding: 17px 16px;
    }

    .krt-plan-pull {
        padding: 23px 17px;
        font-size: 20px;
    }

    .krt-plan-mobile-image {
        margin-right: -20px;
        margin-left: -20px;
    }

    .krt-plan-step {
        padding-right: 20px;
        padding-left: 20px;
    }

    .krt-footer {
        padding-top: 43px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .krt-js .krt-reveal,
    .krt-js .krt-reveal-scale {
        opacity: 1;
        transform: none;
    }
}
