/* ==========================================================================
   Tereapo Monster top page: one layout per section for the 540px LP canvas.
   Markup uses the tx- prefix; the generated keyword LPs still use
   canvas-content.css and are unaffected by this file.
   ========================================================================== */
.tereapo-shell {
    --tx-ink: #0b2a48;
    --tx-muted: #48607a;
    --tx-blue: #0a63c9;
    --tx-cyan: #12a7de;
    --tx-navy: #06264a;
    --tx-navy-2: #0b3b70;
    --tx-line: #d3e2ee;
    --tx-pale: #f2f8fd;
    --tx-amber: #b87a0c;
    --tx-red: #cf5a4e;
    --tx-gut: 20px;
    --tx-num: 'Outfit', 'Zen Kaku Gothic New', sans-serif;
}

@media (max-width: 400px) {
    .tereapo-shell { --tx-gut: 16px; }
}

/* ---- Section shell ------------------------------------------------------ */
.tereapo-shell section.tx-sec:not(.hero):not(.blog-post-section):not(.apls-expansion) {
    position: relative;
    padding: 68px 0 !important;
    overflow: hidden;
    color: var(--tx-ink);
}

.tereapo-shell .tx-sec > .container {
    width: calc(100% - var(--tx-gut) * 2) !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.tereapo-shell #service, .tereapo-shell #results, .tereapo-shell #human-value,
.tereapo-shell #revenue-lever, .tereapo-shell #customers, .tereapo-shell #flow,
.tereapo-shell #faq, .tereapo-shell #recommended {
    background: #fff !important;
}

.tereapo-shell #core-value, .tereapo-shell #methods, .tereapo-shell #risk-absorption,
.tereapo-shell #agency-value, .tereapo-shell #related-work, .tereapo-shell #pricing,
.tereapo-shell #company {
    background: var(--tx-pale) !important;
}

.tereapo-shell #strengths {
    background:
        radial-gradient(120% 70% at 100% 0%, rgba(18, 167, 222, .28), transparent 60%),
        linear-gradient(180deg, #05213f, #041830) !important;
    color: #fff;
}

.tereapo-shell #why-not-working {
    background: #fff8ea !important;
}

/* Text defaults: phrase-aware Japanese wrapping, no stray margins */
.tereapo-shell :where(.tx-sec) :where(h2, h3, h4, p, ul, ol, figure, blockquote) {
    margin: 0;
}

.tereapo-shell :where(.tx-sec) :where(h2, h3, h4, p, li, td, th, summary, small, strong) {
    word-break: normal;
    word-break: auto-phrase;
    overflow-wrap: break-word;
    line-break: strict;
}

.tereapo-shell :where(.tx-sec) :where(h2, h3, h4) {
    text-wrap: balance;
    letter-spacing: .03em;
}

.tereapo-shell :where(.tx-sec) :where(p, li) {
    text-wrap: pretty;
}

.tereapo-shell .tx-sec .ph {
    display: inline-block;
}

.tereapo-shell :where(.tx-sec) strong {
    font-weight: 900;
}

/* ---- Section heading ---------------------------------------------------- */
.tereapo-shell .tx-head {
    margin-bottom: 34px;
}

.tereapo-shell .tx-center { text-align: center; }
.tereapo-shell .tx-left { text-align: left; }

.tereapo-shell .tx-eyebrow {
    margin: 0 0 14px;
    color: var(--tx-blue);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .22em;
}

.tereapo-shell .tx-center .tx-eyebrow { padding-left: .22em; }

.tereapo-shell .tx-h2 {
    color: var(--tx-ink);
    font-size: clamp(1.5rem, 6.2vw, 2.05rem);
    font-weight: 900;
    line-height: 1.42;
}

.tereapo-shell .tx-h2--long {
    font-size: clamp(1.32rem, 5.4vw, 1.6rem);
}

.tereapo-shell .tx-h2 em,
.tereapo-shell .tx-subhead em {
    color: var(--tx-blue);
    font-style: normal;
}

.tereapo-shell .tx-rule {
    display: block;
    width: 44px;
    height: 2px;
    margin: 20px 0 0;
    background: var(--tx-blue);
}

.tereapo-shell .tx-lead {
    margin-top: 22px;
    color: var(--tx-muted);
    font-size: .92rem;
    line-height: 1.95;
    text-align: left;
}

.tereapo-shell .tx-left .tx-rule + .tx-lead { margin-top: 20px; }
.tereapo-shell .tx-lead--c { text-align: center; }

.tereapo-shell .tx-lead strong,
.tereapo-shell .tx-note strong,
.tereapo-shell .tx-quote strong,
.tereapo-shell .tx-cta strong {
    color: var(--tx-ink);
    background: linear-gradient(transparent 62%, rgba(18, 167, 222, .24) 62%);
}

.tereapo-shell #strengths .tx-eyebrow { color: #7fe3ff; }
.tereapo-shell #strengths .tx-h2 { color: #fff; }
.tereapo-shell #strengths .tx-h2 em { color: #7fe3ff; }

.tereapo-shell #why-not-working .tx-eyebrow { color: var(--tx-amber); }
.tereapo-shell #why-not-working .tx-h2 em { color: #b3620a; }
.tereapo-shell #why-not-working .tx-rule { background: #e4a72f; }
.tereapo-shell #why-not-working .tx-lead { color: #5a4a2a; }
.tereapo-shell #why-not-working .tx-lead strong { background: linear-gradient(transparent 62%, rgba(228, 167, 47, .3) 62%); }

.tereapo-shell .title-underline { display: block; }

/* ---- Buttons & links ---------------------------------------------------- */
.tereapo-shell .tx-cta {
    margin-top: 30px;
    text-align: center;
}

.tereapo-shell .tx-cta--after { margin-top: 40px; }

.tereapo-shell .tx-cta p {
    margin-bottom: 14px;
    color: var(--tx-muted);
    font-size: .9rem;
    line-height: 1.9;
}

.tereapo-shell .tx-cta p + p { margin-top: -4px; }

.tereapo-shell .tx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 22px;
    border: 1.5px solid var(--tx-blue);
    border-radius: 4px;
    font-size: .92rem;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s, color .2s, transform .2s;
}

.tereapo-shell .tx-btn--solid { background: var(--tx-blue); color: #fff; }
.tereapo-shell .tx-btn--solid:hover { background: var(--tx-navy); border-color: var(--tx-navy); }
.tereapo-shell .tx-btn--line { background: transparent; color: var(--tx-blue); }
.tereapo-shell .tx-btn--line:hover { background: var(--tx-blue); color: #fff; }
.tereapo-shell .tx-btn--white { background: #fff; border-color: #fff; color: var(--tx-navy); }
.tereapo-shell .tx-btn--wide { width: 100%; }

.tereapo-shell .tx-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--tx-blue);
    font-size: .86rem;
    font-weight: 900;
    line-height: 1.7;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.tereapo-shell .tx-inline-link {
    color: var(--tx-blue);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tereapo-shell .tx-linkcard {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
    padding: 18px 18px 16px;
    border: 1px solid var(--tx-line);
    border-left: 4px solid var(--tx-blue);
    border-radius: 0 6px 6px 0;
    background: #fff;
    color: var(--tx-ink);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(9, 60, 110, .06);
}

.tereapo-shell .tx-linkcard-text { font-size: .88rem; font-weight: 700; line-height: 1.9; }
.tereapo-shell .tx-linkcard-go { align-self: flex-end; color: var(--tx-blue); font-size: .88rem; font-weight: 900; }
.tereapo-shell .tx-linkcard--amber { border-color: #f0dcb4; border-left-color: #e4a72f; }
.tereapo-shell .tx-linkcard--amber .tx-linkcard-go { color: #b3620a; }

.tereapo-shell .tx-note {
    margin-bottom: 26px;
    padding: 18px;
    border-left: 4px solid var(--tx-blue);
    border-radius: 0 6px 6px 0;
    background: #fff;
    box-shadow: 0 2px 14px rgba(9, 60, 110, .05);
}

.tereapo-shell .tx-note p { color: var(--tx-muted); font-size: .88rem; line-height: 1.95; }

.tereapo-shell .tx-readmore {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--tx-line);
}

.tereapo-shell .tx-readmore p { color: var(--tx-muted); font-size: .86rem; line-height: 1.85; }

.tereapo-shell .tx-navybox {
    margin-bottom: 26px;
    padding: 24px 20px;
    border-radius: 8px;
    background: linear-gradient(150deg, var(--tx-navy), var(--tx-navy-2));
    color: #fff;
}

.tereapo-shell .tx-navybox strong { color: #fff; background: none; }

.tereapo-shell .tx-navybox-lead {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    font-size: 1.04rem;
    font-weight: 900;
    line-height: 1.7;
}

.tereapo-shell .tx-navybox-foot { color: #d5e6f5; font-size: .86rem; line-height: 1.9; }

.tereapo-shell .tx-ticks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

.tereapo-shell .tx-ticks li {
    position: relative;
    padding: 11px 12px 11px 34px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .09);
    font-size: .84rem;
    line-height: 1.65;
}

.tereapo-shell .tx-ticks li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    top: 10px;
    color: #7fe3ff;
    font-weight: 900;
}

.tereapo-shell .tx-numlist {
    display: grid;
    gap: 12px;
    margin: 16px 0;
    padding: 0;
    list-style: none;
    counter-reset: tx-n;
}

.tereapo-shell .tx-numlist li {
    position: relative;
    padding-left: 38px;
    color: #e6f1fa;
    font-size: .86rem;
    line-height: 1.8;
    counter-increment: tx-n;
}

.tereapo-shell .tx-numlist li::before {
    content: counter(tx-n);
    position: absolute;
    left: 0;
    top: 1px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #7fe3ff;
    color: var(--tx-navy);
    font: 800 .82rem/26px var(--tx-num);
    text-align: center;
}

/* ---- Tabs (shared behaviour; three different looks below) ------------------ */
.tereapo-shell .tx-tablist { position: relative; }
.tereapo-shell .tx-tablist button { font: inherit; cursor: pointer; }
.tereapo-shell .tx-panel[hidden] { display: none !important; }
.tereapo-shell .tx-tabs:not(.is-js) .tx-tablist { display: none; }
.tereapo-shell .tx-tabs:not(.is-js) .tx-panel + .tx-panel { margin-top: 14px; }

.tereapo-shell .tx-tag {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid var(--tx-line);
    border-radius: 3px;
    background: var(--tx-pale);
    color: var(--tx-blue);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.5;
}

/* ============================ 01 service: timeline ========================= */
.tereapo-shell .tx-timeline {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tereapo-shell .tx-timeline::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(var(--tx-blue), var(--tx-cyan));
    opacity: .35;
}

.tereapo-shell .tx-tl-item {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 0 0 26px;
}

.tereapo-shell .tx-tl-item:last-child { padding-bottom: 0; }

.tereapo-shell .tx-tl-node {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--tx-blue);
    border-radius: 50%;
    background: #fff;
    color: var(--tx-blue);
    font: 800 .95rem/1 var(--tx-num);
}

.tereapo-shell .tx-tl-body { padding-top: 9px; }
.tereapo-shell .tx-tl-body h3 { font-size: 1.06rem; font-weight: 900; line-height: 1.5; }
.tereapo-shell .tx-tl-body p { margin-top: 6px; color: var(--tx-muted); font-size: .88rem; line-height: 1.85; }

.tereapo-shell .tx-tl-item.is-key .tx-tl-node {
    background: var(--tx-blue);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(10, 99, 201, .14);
}

.tereapo-shell .tx-tl-item.is-key .tx-tl-body {
    margin-top: -2px;
    padding: 13px 16px 16px;
    border: 1px solid var(--tx-line);
    border-left: 3px solid var(--tx-blue);
    border-radius: 4px;
    background: var(--tx-pale);
}

/* service overview: key facts as a definition table (also read by search / AI answers) */
.tereapo-shell .tx-subhead--first { margin-top: 0; }

.tereapo-shell .tx-facts {
    margin: 0 0 6px;
    overflow: hidden;
    border: 1px solid var(--tx-line);
    border-radius: 8px;
    background: #fff;
}

.tereapo-shell .tx-facts > div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    border-top: 1px solid var(--tx-line);
}

.tereapo-shell .tx-facts > div:first-child { border-top: 0; }

.tereapo-shell .tx-facts dt {
    padding: 13px 10px 13px 14px;
    background: var(--tx-pale);
    color: var(--tx-blue);
    font-size: .8rem;
    font-weight: 900;
    line-height: 1.75;
}

.tereapo-shell .tx-facts dd {
    margin: 0;
    padding: 13px 14px;
    font-size: .85rem;
    line-height: 1.85;
}

@media (max-width: 400px) {
    .tereapo-shell .tx-facts > div { grid-template-columns: minmax(0, 1fr); }
    .tereapo-shell .tx-facts dt { padding: 10px 14px 0; background: #fff; }
    .tereapo-shell .tx-facts dd { padding: 2px 14px 12px; }
}

/* ======================== 02 core value: VS / tiles / band ================= */
.tereapo-shell .tx-quote {
    position: relative;
    margin: 0 0 30px;
    padding: 22px 20px 22px 22px;
    border-left: 4px solid var(--tx-blue);
    border-radius: 0 6px 6px 0;
    background: #fff;
    box-shadow: 0 2px 14px rgba(9, 60, 110, .06);
}

.tereapo-shell .tx-quote::before {
    content: '“';
    position: absolute;
    top: -4px;
    right: 14px;
    color: rgba(10, 99, 201, .12);
    font: 900 4.6rem/1 var(--tx-num);
}

.tereapo-shell .tx-quote p { position: relative; font-size: .98rem; font-weight: 700; line-height: 1.95; }

.tereapo-shell .tx-vs {
    position: relative;
    display: grid;
    margin-bottom: 46px;
}

.tereapo-shell .tx-vs-card {
    position: relative;
    padding: 22px 18px 18px;
    overflow: hidden;
    border: 1px solid var(--tx-line);
    border-radius: 6px;
    background: #fff;
}

.tereapo-shell .tx-vs-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--c);
}

.tereapo-shell .tx-vs-a { --c: #d9a05a; }
.tereapo-shell .tx-vs-b { --c: #cf5a4e; }

.tereapo-shell .tx-vs-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.08rem;
    font-weight: 900;
}

.tereapo-shell .tx-vs-card ul { margin: 12px 0 0; padding: 0; list-style: none; }

.tereapo-shell .tx-vs-card li {
    position: relative;
    padding: 9px 0 9px 24px;
    border-top: 1px dashed var(--tx-line);
    color: var(--tx-muted);
    font-size: .88rem;
    line-height: 1.75;
}

.tereapo-shell .tx-vs-card li::before {
    content: '✕';
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--tx-red);
    font-size: .8rem;
    font-weight: 900;
}

.tereapo-shell .tx-vs-foot {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 4px;
    background: #fff4f2;
    color: #9a3a30;
    font-size: .88rem;
    font-weight: 900;
    line-height: 1.7;
}

.tereapo-shell .tx-vs-badge {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    justify-self: center;
    width: 46px;
    height: 46px;
    margin: -14px 0;
    border: 3px solid var(--tx-pale);
    border-radius: 50%;
    background: var(--tx-navy);
    color: #fff;
    font: 800 .82rem/1 var(--tx-num);
    letter-spacing: .06em;
}

.tereapo-shell .tx-subhead {
    margin-bottom: 22px;
    font-size: 1.32rem;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
}

.tereapo-shell .tx-subhead--sm { font-size: 1.1rem; text-align: left; margin: 30px 0 18px; }

.tereapo-shell .tx-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
    gap: 12px;
    margin-bottom: 34px;
}

.tereapo-shell .tx-tile {
    padding: 16px 16px 18px;
    border: 1px solid var(--tx-line);
    border-top: 3px solid var(--tx-cyan);
    border-radius: 4px;
    background: #fff;
}

.tereapo-shell .tx-tile-no {
    display: block;
    margin-bottom: 10px;
    color: var(--tx-blue);
    font: 800 1.7rem/1 var(--tx-num);
}

.tereapo-shell .tx-tile h4 { font-size: .98rem; font-weight: 900; line-height: 1.5; }
.tereapo-shell .tx-tile p { margin-top: 6px; color: var(--tx-muted); font-size: .85rem; line-height: 1.8; }

.tereapo-shell .tx-band {
    padding: 24px 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--tx-navy), var(--tx-navy-2));
    color: #fff;
    text-align: center;
}

.tereapo-shell .tx-band-lead { font-size: 1rem; font-weight: 900; letter-spacing: .06em; }

.tereapo-shell .tx-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.tereapo-shell .tx-chips li {
    padding: 7px 12px 7px 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.5;
}

.tereapo-shell .tx-chips li::before { content: '✓'; margin-right: 6px; color: #7fe3ff; font-weight: 900; }

/* ==================== shared swipe track (03 strengths / 13 flow) ============= */
.tereapo-shell .tx-swipe { position: relative; }

.tereapo-shell .tx-swipe-track {
    position: relative;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 4px var(--tx-gut) 6px;
    overflow-x: auto;
    list-style: none;
    scroll-padding-inline: var(--tx-gut);
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tereapo-shell .tx-swipe-track::-webkit-scrollbar { display: none; }
.tereapo-shell .tx-swipe-track:focus-visible { outline: 2px solid var(--tx-cyan); outline-offset: -2px; }

.tereapo-shell .tx-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.tereapo-shell .tx-dots button {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(127, 227, 255, .35);
    cursor: pointer;
    transition: width .25s, background-color .25s;
}

.tereapo-shell .tx-dots button::after { content: ''; position: absolute; inset: -12px -4px; }
.tereapo-shell .tx-dots button.is-on { width: 24px; background: #7fe3ff; }
.tereapo-shell .tx-swipe--flow .tx-dots button { background: #c5d8e8; }
.tereapo-shell .tx-swipe--flow .tx-dots button.is-on { background: var(--tx-blue); }

/* ============================ 03 strengths: dark cards ==================== */
.tereapo-shell .tx-scard {
    position: relative;
    flex: 0 0 min(84%, 380px);
    padding: 28px 22px 26px;
    overflow: hidden;
    border: 1px solid rgba(127, 227, 255, .28);
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03));
    scroll-snap-align: start;
}

.tereapo-shell .tx-scard-no {
    position: absolute;
    right: 12px;
    top: -8px;
    color: rgba(127, 227, 255, .14);
    font: 800 5.6rem/1 var(--tx-num);
}

.tereapo-shell .tx-scard h3 {
    position: relative;
    padding-right: 30px;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1.6;
}

.tereapo-shell .tx-scard h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 14px;
    background: #7fe3ff;
}

.tereapo-shell .tx-scard p { position: relative; margin-top: 14px; color: #d5e6f5; font-size: .88rem; line-height: 1.95; }

/* ============================ 04 results: scoreboard ======================= */
.tereapo-shell .tx-scores { display: grid; gap: 14px; }

.tereapo-shell .tx-score {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--tx-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(9, 60, 110, .07);
}

.tereapo-shell .tx-score-num {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 16px 14px;
    background: linear-gradient(160deg, var(--tx-navy), var(--tx-navy-2));
    color: #fff;
}

.tereapo-shell .tx-score-badge { color: #9fe9ff; font-size: .72rem; font-weight: 900; letter-spacing: .06em; line-height: 1.4; }
.tereapo-shell .tx-score-num b { font: 800 3.3rem/1 var(--tx-num); letter-spacing: -.02em; }
.tereapo-shell .tx-score-num b small { margin-left: 2px; font-size: 1.3rem; }

.tereapo-shell .tx-gauge {
    position: relative;
    display: block;
    height: 5px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, .18);
}

.tereapo-shell .tx-gauge::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--v);
    border-radius: 3px;
    background: #7fe3ff;
}

.tereapo-shell .tx-score-body { padding: 16px; }
.tereapo-shell .tx-score-body h3 { font-size: 1.02rem; font-weight: 900; line-height: 1.55; }
.tereapo-shell .tx-score-body p { margin-top: 6px; color: var(--tx-muted); font-size: .85rem; line-height: 1.8; }

@media (max-width: 380px) {
    .tereapo-shell .tx-score { grid-template-columns: 98px minmax(0, 1fr); }
    .tereapo-shell .tx-score-num { padding: 14px 10px; }
    .tereapo-shell .tx-score-num b { font-size: 2.8rem; }
    .tereapo-shell .tx-score-body { padding: 14px 12px; }
}

/* ============================ 05 methods: icon tabs ======================== */
.tereapo-shell .tx-tabs--icons .tx-tablist {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.tereapo-shell .tx-tabs--icons .tx-tablist button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 2px 10px;
    border: 1px solid var(--tx-line);
    border-radius: 6px;
    background: #fff;
    color: var(--tx-muted);
    font-size: .8rem;
    font-weight: 900;
    transition: background-color .2s, color .2s, box-shadow .2s;
}

.tereapo-shell .tx-tab-ico { font-size: 1.5rem; line-height: 1; }

.tereapo-shell .tx-tabs--icons .tx-tablist button[aria-selected="true"] {
    border-color: var(--tx-navy);
    background: var(--tx-navy);
    box-shadow: 0 6px 16px rgba(6, 38, 74, .25);
    color: #fff;
}

.tereapo-shell .tx-method {
    padding: 22px 20px;
    border: 1px solid var(--tx-line);
    border-top: 4px solid var(--tx-blue);
    border-radius: 6px;
    background: #fff;
}

.tereapo-shell .tx-method h3 { margin-top: 14px; font-size: 1.18rem; font-weight: 900; line-height: 1.5; }
.tereapo-shell .tx-method h3 small { display: block; margin-top: 6px; color: var(--tx-blue); font-size: .8rem; font-weight: 700; line-height: 1.6; }
.tereapo-shell .tx-method-lead { margin-top: 14px; color: var(--tx-muted); font-size: .88rem; line-height: 1.9; }

.tereapo-shell .tx-checks {
    margin: 16px 0 20px;
    padding: 12px 0 0;
    border-top: 1px dashed var(--tx-line);
    list-style: none;
}

.tereapo-shell .tx-checks li { position: relative; padding: 5px 0 5px 26px; font-size: .86rem; line-height: 1.7; }

.tereapo-shell .tx-checks li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: .82em;
    width: 10px;
    height: 6px;
    border-bottom: 2px solid var(--tx-blue);
    border-left: 2px solid var(--tx-blue);
    transform: rotate(-45deg);
}

.tereapo-shell .tx-method .tx-btn { width: 100%; }

/* ============================ 06 human value: bento ======================== */
.tereapo-shell .tx-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tereapo-shell .tx-bento-item {
    position: relative;
    padding: 18px 16px;
    border: 1px solid var(--tx-line);
    border-radius: 6px;
    background: var(--tx-pale);
}

.tereapo-shell .tx-bento-no { display: block; margin-bottom: 10px; color: var(--tx-blue); font: 800 1.1rem/1 var(--tx-num); }
.tereapo-shell .tx-bento-item h3 { font-size: .96rem; font-weight: 900; line-height: 1.55; }
.tereapo-shell .tx-bento-item p { margin-top: 6px; color: var(--tx-muted); font-size: .82rem; line-height: 1.8; }

.tereapo-shell .tx-bento-wide {
    grid-column: 1 / -1;
    padding: 24px 20px;
    border-color: transparent;
    background: linear-gradient(135deg, var(--tx-navy), var(--tx-navy-2));
}

.tereapo-shell .tx-bento-wide .tx-bento-no { color: #7fe3ff; }
.tereapo-shell .tx-bento-wide h3 { color: #fff; font-size: 1.16rem; }
.tereapo-shell .tx-bento-wide p { color: #d5e6f5; font-size: .88rem; }
.tereapo-shell .tx-bento .tx-linkcard { grid-column: 1 / -1; margin-top: 6px; }
.tereapo-shell .tx-bento-label {
    grid-column: 1 / -1;
    margin-top: 18px;
    padding-left: 10px;
    border-left: 4px solid var(--tx-blue);
    color: var(--tx-ink);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.5;
}
.tereapo-shell .tx-bento-label:first-child { margin-top: 0; }

@media (max-width: 450px) {
    .tereapo-shell .tx-bento { grid-template-columns: minmax(0, 1fr); }
}

/* ===================== 07 risk: comparison table / 3 steps ================= */
.tereapo-shell .tx-scroll-wrap { position: relative; }

.tereapo-shell .tx-scroll-wrap.can-scroll:not(.at-end)::after {
    content: '→';
    position: absolute;
    right: 8px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-radius: 50%;
    background: var(--tx-navy);
    color: #fff;
    font: 700 .9rem/1 sans-serif;
    box-shadow: 0 4px 12px rgba(6, 38, 74, .3);
    pointer-events: none;
}

.tereapo-shell .tx-scroll {
    overflow-x: auto;
    border: 1px solid var(--tx-line);
    border-radius: 6px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.tereapo-shell .tx-cmp {
    width: 100%;
    min-width: 440px;
    border-collapse: collapse;
    table-layout: fixed;
}

.tereapo-shell .tx-cmp th,
.tereapo-shell .tx-cmp td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--tx-line);
    font-size: .84rem;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
}

.tereapo-shell .tx-cmp tr:last-child td { border-bottom: 0; }
.tereapo-shell .tx-cmp thead th { font-size: .86rem; font-weight: 900; }
.tereapo-shell .tx-cmp thead th.tx-cmp-ng { background: #efe9e4; color: #7a4b3a; }
.tereapo-shell .tx-cmp thead th.tx-cmp-ok { background: var(--tx-navy); color: #fff; }
.tereapo-shell .tx-cmp td { position: relative; padding-left: 32px; }
.tereapo-shell .tx-cmp td.tx-cmp-ng { background: #fbf9f7; color: var(--tx-muted); }
.tereapo-shell .tx-cmp td.tx-cmp-ok { background: #f2f8fd; font-weight: 700; }
.tereapo-shell .tx-cmp td::before { position: absolute; left: 12px; top: 14px; font-weight: 900; }
.tereapo-shell .tx-cmp td.tx-cmp-ng::before { content: '✕'; color: var(--tx-red); }
.tereapo-shell .tx-cmp td.tx-cmp-ok::before { content: '✓'; color: var(--tx-blue); }

.tereapo-shell .tx-steps3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.tereapo-shell .tx-steps3 li { position: relative; }

.tereapo-shell .tx-steps3 li:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 40px;
    right: -6px;
    top: 16px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--tx-blue) 0 5px, transparent 5px 9px);
    opacity: .6;
}

.tereapo-shell .tx-steps3-no {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--tx-blue);
    color: #fff;
    font: 800 .95rem/1 var(--tx-num);
}

.tereapo-shell .tx-steps3 strong { display: block; margin-top: 10px; font-size: 1.04rem; }
.tereapo-shell .tx-steps3 p { margin-top: 4px; color: var(--tx-muted); font-size: .8rem; line-height: 1.8; }

@media (max-width: 480px) {
    .tereapo-shell .tx-steps3 { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .tereapo-shell .tx-steps3 li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding-bottom: 20px; }
    .tereapo-shell .tx-steps3 li:last-child { padding-bottom: 0; }
    .tereapo-shell .tx-steps3-no { grid-row: 1 / 3; }
    .tereapo-shell .tx-steps3 strong { margin-top: 5px; }
    .tereapo-shell .tx-steps3 li:not(:last-child)::before {
        left: 16px;
        right: auto;
        top: 38px;
        bottom: 4px;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, var(--tx-blue) 0 5px, transparent 5px 9px);
    }
}

/* ============================ 08 revenue lever: stairs ===================== */
.tereapo-shell .tx-stairs { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.tereapo-shell .tx-stair {
    position: relative;
    padding: 20px 18px 20px 20px;
    overflow: hidden;
    border: 1px solid var(--tx-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(9, 60, 110, .06);
}

.tereapo-shell .tx-stair-1 { margin-right: 36px; border-left: 4px solid #8fd6f0; }
.tereapo-shell .tx-stair-2 { margin: 0 18px; border-left: 4px solid var(--tx-cyan); }
.tereapo-shell .tx-stair-3 { margin-left: 36px; border-color: var(--tx-blue); background: var(--tx-blue); color: #fff; }

.tereapo-shell .tx-stair-no {
    position: absolute;
    right: 10px;
    top: -4px;
    color: rgba(10, 99, 201, .09);
    font: 800 4.2rem/1 var(--tx-num);
}

.tereapo-shell .tx-stair-3 .tx-stair-no { color: rgba(255, 255, 255, .16); }
.tereapo-shell .tx-stair h3 { position: relative; font-size: 1.05rem; font-weight: 900; line-height: 1.55; }
.tereapo-shell .tx-stair p { position: relative; margin-top: 7px; color: var(--tx-muted); font-size: .86rem; line-height: 1.85; }
.tereapo-shell .tx-stair-3 p { color: #e3f0fb; }

@media (max-width: 400px) {
    .tereapo-shell .tx-stair-1 { margin-right: 18px; }
    .tereapo-shell .tx-stair-2 { margin: 0 9px; }
    .tereapo-shell .tx-stair-3 { margin-left: 18px; }
}

/* ===================== 09 why not working: caution notes ================== */
.tereapo-shell .tx-notes { display: grid; gap: 26px; padding-top: 8px; }

.tereapo-shell .tx-sticky {
    position: relative;
    padding: 26px 18px 20px;
    border: 1px solid #f0dcb4;
    border-top: 4px solid #e4a72f;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(150, 100, 10, .09);
}

.tereapo-shell .tx-sticky-no {
    position: absolute;
    left: 14px;
    top: -17px;
    display: grid;
    place-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 3px;
    background: #e4a72f;
    color: #fff;
    font: 800 .84rem/1 var(--tx-num);
    letter-spacing: .08em;
}

.tereapo-shell .tx-sticky-no::before { content: '! '; margin-right: 4px; }
.tereapo-shell .tx-sticky h3 { font-size: 1.04rem; font-weight: 900; line-height: 1.55; }
.tereapo-shell .tx-sticky p { margin-top: 7px; color: #5a4a2a; font-size: .86rem; line-height: 1.9; }

/* ============================ 10 agency value: zigzag ====================== */
.tereapo-shell .tx-zig { display: grid; gap: 14px; }

.tereapo-shell .tx-zig-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px 18px;
    border: 1px solid var(--tx-line);
    border-radius: 6px;
    background: #fff;
}

.tereapo-shell .tx-zig-rev { grid-template-columns: minmax(0, 1fr) 72px; }
.tereapo-shell .tx-zig-rev .tx-zig-no { order: 2; text-align: right; }

.tereapo-shell .tx-zig-no {
    color: transparent;
    font: 800 3.4rem/.95 var(--tx-num);
    letter-spacing: -.02em;
    -webkit-text-stroke: 1.5px var(--tx-blue);
}

.tereapo-shell .tx-zig-body h3 { font-size: 1.04rem; font-weight: 900; line-height: 1.55; }
.tereapo-shell .tx-zig-body p { margin-top: 7px; color: var(--tx-muted); font-size: .85rem; line-height: 1.85; }

.tereapo-shell .tx-ratio {
    display: flex;
    height: 10px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--tx-blue);
}

.tereapo-shell .tx-ratio i { display: block; width: var(--w); background: var(--tx-cyan); }

/* ============================ 11 customers: segment tabs =================== */
.tereapo-shell .tx-tabs--seg .tx-tablist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 16px;
    padding: 4px;
    border: 1px solid var(--tx-line);
    border-radius: 8px;
    background: var(--tx-pale);
}

.tereapo-shell .tx-tabs--seg .tx-tablist button {
    padding: 12px 6px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--tx-muted);
    font-size: .86rem;
    font-weight: 900;
    line-height: 1.4;
    transition: background-color .2s, color .2s;
}

.tereapo-shell .tx-tabs--seg .tx-tablist button[aria-selected="true"] {
    background: #fff;
    box-shadow: 0 2px 8px rgba(9, 60, 110, .16);
    color: #157a5f;
}

.tereapo-shell .tx-tabs--seg #fit-tab-2[aria-selected="true"] { color: #b3620a; }

.tereapo-shell .tx-fit { padding: 20px 18px; border: 1px solid var(--tx-line); border-radius: 8px; background: #fff; }
.tereapo-shell .tx-fit--ok { border-top: 4px solid #1c9c7a; }
.tereapo-shell .tx-fit--warn { border-top: 4px solid #e4a72f; }
.tereapo-shell .tx-fit-title { margin-bottom: 10px; font-size: 1.1rem; font-weight: 900; }
.tereapo-shell .tx-tabs.is-js .tx-fit-title { display: none; }
.tereapo-shell .tx-fit--ok .tx-tag { border-color: #bfe6da; background: #e7f6f1; color: #157a5f; }
.tereapo-shell .tx-fit--warn .tx-tag { border-color: #f0dcb4; background: #fff8ea; color: #b3620a; }
.tereapo-shell .tx-fit-list { margin: 10px 0 0; padding: 0; list-style: none; }

.tereapo-shell .tx-fit-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--tx-line);
}

.tereapo-shell .tx-fit-list li:first-child { margin-top: 10px; }

.tereapo-shell .tx-fit-ico {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1c9c7a;
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
}

.tereapo-shell .tx-fit--warn .tx-fit-ico { background: #e4a72f; }
.tereapo-shell .tx-fit-list h4 { font-size: .96rem; font-weight: 900; line-height: 1.55; }
.tereapo-shell .tx-fit-list p { margin-top: 3px; color: var(--tx-muted); font-size: .84rem; line-height: 1.8; }

.tereapo-shell .tx-fit-note {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    margin-top: 6px;
    padding: 14px;
    border-radius: 6px;
    background: #fff8ea;
}

.tereapo-shell .tx-fit-note p { color: #5a4a2a; font-size: .84rem; line-height: 1.85; }
.tereapo-shell .tx-fit-note p + p { margin-top: 8px; }

/* ============================ 12 related work: duo + banner ================ */
.tereapo-shell .tx-duo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
    gap: 12px;
}

.tereapo-shell .tx-duo-item { padding: 22px 18px; border: 1px solid var(--tx-line); border-radius: 8px; background: #fff; }

.tereapo-shell .tx-duo-ico {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: var(--tx-pale);
    font-size: 1.6rem;
}

.tereapo-shell .tx-duo-item h3 { font-size: 1.06rem; font-weight: 900; line-height: 1.5; }
.tereapo-shell .tx-duo-item p { margin-top: 6px; color: var(--tx-muted); font-size: .85rem; line-height: 1.85; }

.tereapo-shell .tx-banner {
    margin-top: 14px;
    padding: 28px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--tx-blue), #0a8fd0);
    color: #fff;
    text-align: center;
}

.tereapo-shell .tx-banner h3 { font-size: 1.14rem; font-weight: 900; }
.tereapo-shell .tx-banner p { margin: 10px 0 18px; color: #eaf5ff; font-size: .86rem; line-height: 1.9; }

/* ============================ 13 flow: horizontal timeline ================= */
.tereapo-shell .tx-htl-item {
    position: relative;
    display: flex;
    flex: 0 0 min(236px, 72%);
    flex-direction: column;
    padding-top: 52px;
    scroll-snap-align: start;
}

.tereapo-shell .tx-htl-item::before {
    content: '';
    position: absolute;
    left: 38px;
    right: -12px;
    top: 18px;
    height: 2px;
    background: var(--tx-blue);
    opacity: .35;
}

.tereapo-shell .tx-htl-item:last-child::before { display: none; }

.tereapo-shell .tx-htl-dot {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--tx-blue);
    border-radius: 50%;
    background: #fff;
    color: var(--tx-blue);
    font: 800 .88rem/1 var(--tx-num);
}

.tereapo-shell .tx-htl-card {
    flex: 1;
    padding: 18px 16px;
    border: 1px solid var(--tx-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(9, 60, 110, .07);
}

.tereapo-shell .tx-htl-card h3 { font-size: 1.08rem; font-weight: 900; line-height: 1.5; }
.tereapo-shell .tx-htl-card p { margin-top: 6px; color: var(--tx-muted); font-size: .85rem; line-height: 1.85; }
.tereapo-shell .tx-htl-item.is-key .tx-htl-dot { background: var(--tx-blue); color: #fff; }
.tereapo-shell .tx-htl-item.is-key .tx-htl-card { border-color: var(--tx-navy); background: var(--tx-navy); }
.tereapo-shell .tx-htl-item.is-key .tx-htl-card h3 { color: #fff; }
.tereapo-shell .tx-htl-item.is-key .tx-htl-card p { color: #d5e6f5; }

.tereapo-shell .tx-htl-item.is-key .tx-htl-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    color: #9fe9ff;
    font-size: .8rem;
}

.tereapo-shell .tx-footnote {
    margin-top: 22px;
    padding: 12px 14px;
    border-radius: 4px;
    background: var(--tx-pale);
    color: var(--tx-muted);
    font-size: .8rem;
    line-height: 1.85;
}

/* ============================ 14 pricing: figures + split bar ============== */
.tereapo-shell .tx-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.tereapo-shell .tx-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 18px 10px 16px;
    border: 1px solid var(--tx-line);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.tereapo-shell .tx-price-k { color: var(--tx-blue); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.tereapo-shell .tx-price b { color: var(--tx-navy); font: 800 2.5rem/1.15 var(--tx-num); }
.tereapo-shell .tx-price b small { margin-left: 2px; font-size: 1rem; font-weight: 800; }
.tereapo-shell .tx-price-s { color: var(--tx-muted); font-size: .72rem; }

.tereapo-shell .tx-split {
    margin: 0 0 20px;
    padding: 16px 16px 14px;
    border: 1px solid var(--tx-line);
    border-radius: 8px;
    background: #fff;
}

.tereapo-shell .tx-split-bar { display: flex; height: 34px; overflow: hidden; border-radius: 5px; }

.tereapo-shell .tx-split-bar i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .78rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.tereapo-shell .tx-split-a { flex: 9 1 0; background: var(--tx-blue); }
.tereapo-shell .tx-split-b { flex: 1 1 0; min-width: 48px; background: var(--tx-cyan); }
.tereapo-shell .tx-split figcaption { display: grid; gap: 6px; margin-top: 12px; }
.tereapo-shell .tx-split-key { position: relative; padding-left: 18px; color: var(--tx-muted); font-size: .8rem; line-height: 1.65; }
.tereapo-shell .tx-split-key::before { content: ''; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 2px; }
.tereapo-shell .tx-split-key-a::before { background: var(--tx-blue); }
.tereapo-shell .tx-split-key-b::before { background: var(--tx-cyan); }

/* ============================ 15 FAQ: hairline accordion =================== */
.tereapo-shell .tx-tabs--line .tx-tablist {
    display: flex;
    gap: 24px;
    margin: 0 calc(var(--tx-gut) * -1);
    padding: 0 var(--tx-gut);
    overflow-x: auto;
    border-bottom: 1px solid #cdd8e2;
    scroll-padding-inline: var(--tx-gut);
    scrollbar-width: none;
}

.tereapo-shell .tx-tabs--line .tx-tablist::-webkit-scrollbar { display: none; }

.tereapo-shell .tx-tabs--line .tx-tablist button {
    position: relative;
    flex: 0 0 auto;
    padding: 12px 0 13px;
    border: 0;
    background: none;
    color: #8296aa;
    font-size: .86rem;
    font-weight: 900;
    letter-spacing: .04em;
    white-space: nowrap;
}

.tereapo-shell .tx-tabs--line .tx-tablist button[aria-selected="true"] { color: var(--tx-ink); }

.tereapo-shell .tx-tabs--line .tx-tablist button[aria-selected="true"]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--tx-blue);
}

.tereapo-shell .tx-faq-cat { padding: 24px 0 10px; border-bottom: 1px solid #cdd8e2; font-size: .9rem; font-weight: 900; color: var(--tx-blue); }
.tereapo-shell .tx-tabs.is-js .tx-faq-cat { display: none; }

.tereapo-shell .tx-qa { border-bottom: 1px solid #cdd8e2; }

.tereapo-shell .tx-qa summary {
    position: relative;
    display: block;
    padding: 22px 40px 22px 0;
    color: var(--tx-ink);
    cursor: pointer;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.75;
    list-style: none;
}

.tereapo-shell .tx-qa summary::-webkit-details-marker { display: none; }

.tereapo-shell .tx-qa summary::before,
.tereapo-shell .tx-qa summary::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 16px;
    height: 1.5px;
    margin-top: -.75px;
    background: var(--tx-blue);
    transition: transform .25s;
}

.tereapo-shell .tx-qa summary::after { transform: rotate(90deg); }
.tereapo-shell .tx-qa[open] summary::after { transform: rotate(0); }
.tereapo-shell .tx-qa-a { padding: 0 8px 24px 0; }
.tereapo-shell .tx-qa-a p { color: var(--tx-muted); font-size: .88rem; line-height: 1.95; }
.tereapo-shell .tx-qa-a a { color: var(--tx-blue); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }

/* ============================ 16 company =================================== */
.tereapo-shell .tx-concept {
    margin-bottom: 16px;
    padding: 28px 18px;
    border: 1px solid var(--tx-line);
    border-top: 3px solid var(--tx-blue);
    border-radius: 6px;
    background: #fff;
    text-align: center;
}

.tereapo-shell .tx-concept h3 { color: var(--tx-blue); font-size: .74rem; font-weight: 900; letter-spacing: .24em; }
.tereapo-shell .tx-concept p { margin-top: 12px; font-size: 1.24rem; font-weight: 900; letter-spacing: .04em; line-height: 1.75; }

.tereapo-shell .tx-company {
    display: table;
    width: 100%;
    border: 1px solid var(--tx-line);
    border-collapse: collapse;
    background: #fff;
}

.tereapo-shell .tx-company th,
.tereapo-shell .tx-company td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--tx-line);
    font-size: .86rem;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
}

.tereapo-shell .tx-company tr:last-child th,
.tereapo-shell .tx-company tr:last-child td { border-bottom: 0; }
.tereapo-shell .tx-company th { width: 106px; background: var(--tx-pale); color: var(--tx-blue); font-weight: 900; white-space: nowrap; }
.tereapo-shell .tx-company td a { color: var(--tx-blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ============================ 17 recommended posts ========================= */
.tereapo-shell .tx-posts { display: grid; gap: 12px; }
.tereapo-shell .tx-post a { display: block; color: inherit; text-decoration: none; }

.tereapo-shell .tx-post-feature a {
    padding: 26px 22px;
    border-radius: 8px;
    background: linear-gradient(150deg, var(--tx-navy), var(--tx-navy-2));
    color: #fff;
}

.tereapo-shell .tx-post-feature .tx-post-ico { display: block; margin-bottom: 12px; font-size: 2.4rem; line-height: 1; }
.tereapo-shell .tx-post-feature h3 { color: #fff; font-size: 1.2rem; font-weight: 900; line-height: 1.6; }
.tereapo-shell .tx-post-feature p { margin-top: 10px; color: #d5e6f5; font-size: .86rem; line-height: 1.9; }
.tereapo-shell .tx-post-feature .tx-post-go { color: #7fe3ff; }

.tereapo-shell .tx-post:not(.tx-post-feature) a {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 16px;
    border: 1px solid var(--tx-line);
    border-radius: 8px;
    background: #fff;
}

.tereapo-shell .tx-post:not(.tx-post-feature) .tx-post-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--tx-pale);
    font-size: 1.4rem;
}

.tereapo-shell .tx-post:not(.tx-post-feature) h3 { font-size: .98rem; font-weight: 900; line-height: 1.6; }
.tereapo-shell .tx-post:not(.tx-post-feature) p { margin-top: 5px; color: var(--tx-muted); font-size: .82rem; line-height: 1.8; }
.tereapo-shell .tx-post-go { display: inline-block; margin-top: 12px; color: var(--tx-blue); font-size: .86rem; font-weight: 900; }

/* ============================ 18 contact heading =========================== */
.tereapo-shell #contact .tx-eyebrow--light { color: #7fe3ff; text-align: center; }
.tereapo-shell #contact .section-title { text-align: center !important; }

/* ==========================================================================
   Below: contact / footer rules carried over from canvas-content.css
   ========================================================================== */
.tereapo-shell #contact :is(h3, p, li, a),
.tereapo-shell .footer :is(h4, p, li, a) {
    overflow-wrap: anywhere;
}

.tereapo-shell section:not(.hero):not(.blog-post-section):not(.tx-sec) {
    padding: 52px 0 !important;
    overflow: hidden;
}

.tereapo-shell section:not(.hero):not(.tx-sec) > .container,
.tereapo-shell .footer > .container {
    width: calc(100% - 40px) !important;
    max-width: 500px !important;
    padding: 0 !important;
}

.tereapo-shell section:not(.hero):not(.tx-sec) .section-title {
    max-width: none;
    margin: 0 0 22px !important;
    font-size: 1.55rem !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-wrap: pretty;
}

.tereapo-shell section:not(.hero):not(.tx-sec) .section-title::after { display: none !important; }

.tereapo-shell .section-bg-shark,
.tereapo-shell .section-decorative-sharks,
.tereapo-shell .card-corner-shark,
.tereapo-shell .strength-shark-bg {
    display: none !important;
}

@media (max-width: 400px) {
    .tereapo-shell section:not(.hero):not(.blog-post-section):not(.tx-sec) { padding: 43px 0 !important; }

    .tereapo-shell section:not(.hero):not(.tx-sec) > .container,
    .tereapo-shell .footer > .container { width: calc(100% - 32px) !important; }

    .tereapo-shell section:not(.hero):not(.tx-sec) .section-title { font-size: 1.4rem !important; }
    .tereapo-shell .tx-sec { --tx-gut: 16px; }
}

/* Contact and footer fit the same readable measure. */
.tereapo-shell #contact .contact-content,
.tereapo-shell #contact .contact-methods {
    width: 100%;
    max-width: none;
}

.tereapo-shell #contact .contact-methods {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    margin: 0 0 18px !important;
}

.tereapo-shell #contact .section-title,
.tereapo-shell #contact .contact-description {
    color: #fff !important;
}

.tereapo-shell #contact .contact-intro {
    margin: 0 0 12px !important;
}

.tereapo-shell #contact .contact-description {
    margin: 0 0 18px !important;
    font-size: .92rem !important;
    line-height: 1.8;
}

.tereapo-shell #contact .contact-method {
    width: 100%;
    min-width: 0;
    padding: 15px !important;
    border-radius: 4px !important;
}

.tereapo-shell #contact .contact-method-shark {
    display: none;
}

.tereapo-shell #contact .contact-method-text {
    min-width: 0;
    font-size: .84rem;
}

.tereapo-shell #contact .contact-form-wrapper {
    width: 100%;
    max-width: none !important;
    margin: 27px 0 0 !important;
    padding: 20px 16px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.tereapo-shell #contact .contact-form-wrapper h3 {
    font-size: 1.04rem !important;
}

.tereapo-shell section:not(.hero) .button,
.tereapo-shell section:not(.hero) .button-large,
.tereapo-shell section:not(.hero) .results-cta-button {
    width: min(100%, 420px) !important;
    min-height: 44px;
    padding: 10px 14px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-size: .87rem !important;
    line-height: 1.45;
    white-space: normal !important;
    text-align: center;
}

.tereapo-shell section:not(.hero) .button-content {
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
}

.tereapo-shell #recommended .recommended-footer,
.tereapo-shell #methods .methods-cta,
.tereapo-shell #results .results-cta,
.tereapo-shell #faq .lp-faq-cta {
    margin-top: 24px !important;
}

.tereapo-shell .footer {
    padding: 30px 0 90px !important;
}

.tereapo-shell .footer-content {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    margin-bottom: 26px !important;
}

.tereapo-shell .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.tereapo-shell .tm-x-follow {
    border-radius: 4px !important;
    padding: 16px !important;
}

@media (max-width: 400px) {
    .tereapo-shell section:not(.hero):not(.blog-post-section) {
        padding: 43px 0 !important;
    }

    .tereapo-shell section:not(.hero) > .container,
    .tereapo-shell .footer > .container {
        width: calc(100% - 32px) !important;
    }

    .tereapo-shell section:not(.hero) .section-title {
        font-size: 1.4rem !important;
    }

    .tereapo-shell #company .company-table th {
        width: 88px;
    }
}
